PR000041 practice question 5 of 15
Which is the correct priority of assigning a mapping variable?
Choose your answer, then check it against the explanation and the full breakdown below.
Question breakdown
Key idea: The Integration Service takes a mapping variable's start value from the highest-priority source available: parameter files, then pre-session assignment, then repository-saved value, then declared initial value, then datatype default.
How to reach the answer
- Recall the core order: parameter file, then repository value, then initial value, then datatype default.
- Add the runtime overrides: a workflow parameter file outranks a session parameter file, and pre-session variable assignments also sit above the persisted value.
- Check each option for a repository value placed above parameter files. C does this, which is wrong.
- Discard options that omit sources (B, D).
- Only A includes every source in descending priority.
Each option
Common trap: Because mapping variables persist their last value in the repository, people assume that saved value always wins. A parameter file value overrides it.
In practice: In incremental loads that use $$LastRunDate, developers override the persisted value with a parameter file to reprocess history. Otherwise they reset the value in the repository.
Remember: Parameter file beats repository value, which beats initial value, which beats datatype default.
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free PR000041 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PR000041 practice questions
- Question 2What function could be used to exchange 'i' with 'I' in the COMPANY port given the follow…
- Question 3Which of the following statements is correct on workflow events?
- Question 4Which port types are applicable to the Stored Procedure transformation?(Choose all that a…
- Question 6Two pipelines (A & B) are entering a Joiner transformation with each having a record size…
- Question 7Referring to the Sequence Generator transformation, which statement is correct and true?
- Question 8Which statement on workflows is correct?
