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.

Which is the correct priority of assigning a mapping variable?
Answer options
Question 5 of 15

Question breakdown

Tests
Mapping parameters and variables: start value precedence
Difficulty
Medium

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

  1. Recall the core order: parameter file, then repository value, then initial value, then datatype default.
  2. Add the runtime overrides: a workflow parameter file outranks a session parameter file, and pre-session variable assignments also sit above the persisted value.
  3. Check each option for a repository value placed above parameter files. C does this, which is wrong.
  4. Discard options that omit sources (B, D).
  5. Only A includes every source in descending priority.

Each option

  • ACorrect. It lists all sources in descending priority, from parameter files and pre-session assignment down to the repository value, initial value, and default.
  • BIncorrect. It omits the pre-session assignment and datatype default, and it puts the session parameter file ahead of the workflow parameter file.
  • CIncorrect. It ranks the repository value above parameter files, but parameter files override persisted values.
  • DIncorrect. It lists only the lowest-priority fallbacks and ignores all runtime overrides.

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.

Start the free practice test

More questions

Other PR000041 practice questions

Scroll to Top