Salesforce Certified Platform Development Lifecycle and Deployment Architect free question 5 / 10 · Domain 4: Building
An administrator enables source tracking in the production org for all Developer and Developer Pro sandboxes. The team's existing Developer sandbox does not show tracked changes afterward. What does the Salesforce DX Developer Guide explain?
- New and refreshed sandboxes use source tracking, and an existing sandbox gets it after a refresh or when it is enabled in that sandbox
- Existing sandboxes get source tracking at the next Salesforce release, applying the production setting to them
- Existing sandboxes get source tracking right away, but the first retrieval has to rebuild the tracking files before changes show
- The setting applies to Full sandboxes and Partial Copy sandboxes, so a Developer sandbox needs a separate license first
Show the answer and explanation
Answer: A
Why this is correct
The guide explains that you can enable source tracking in Developer and Developer Pro sandboxes in two ways: in your production org for all sandboxes created from it, or for a specific sandbox. When you enable the feature in production, all newly created and refreshed sandboxes use source tracking, and existing sandboxes don't have source tracking enabled until you refresh them. To avoid a refresh, you can enable it directly in the sandbox from the Sandbox Settings Setup page.
Why the other options are wrong
"Existing sandboxes get source tracking at the next Salesforce release, applying the production setting to them" … The guide says existing sandboxes don't have source tracking enabled until you refresh them. A release does not apply the setting.
"The setting applies to Full sandboxes and Partial Copy sandboxes, so a Developer sandbox needs a separate license first" … The guide says source tracking isn't supported for Partial Copy and Full sandboxes. It applies to Developer and Developer Pro sandboxes, with no extra license.
"Existing sandboxes get source tracking right away, but the first retrieval has to rebuild the tracking files before changes show" … The guide says existing sandboxes don't have source tracking enabled until you refresh them, or enable it directly in the sandbox.
Key points
When you change a sandbox-wide setting, list which sandboxes it reaches now and which only after a refresh.