DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-ARCHITECT practice question 14 of 30

Universal Containers requires its developers to develop and test code in one sandbox per developer before deploying to a common sandbox for code review. Which deployment strategy should be used in this environment?

Full set: 227 questions
Answer options
A: Refresh the developer's sandbox, develop changes, refresh the common sandbox, deploy to the common sandbox, test changes Correct answer
B: Refresh the developer's sandbox, develop changes, test changes, refresh the developer's sandbox, deploy to the common sandbox
C: Refresh the developer's sandbox, develop changes, refresh the developer's sandbox, deploy to the common sandbox, test changes
D: Refresh the common sandbox, develop changes, refresh the developer sandbox, deploy to the common sandbox, test changes
Correct Answer:
A. Refresh the developer's sandbox, develop changes, refresh the common sandbox, deploy to the common sandbox, test changes
Explanation

The correct development lifecycle process involves starting with a clean, up-to-date environment. A developer refreshes their sandbox from a source of truth (like production or the common sandbox) to get the latest baseline. After development and local testing, the changes are deployed to a common integration sandbox. Refreshing the common sandbox before deployment ensures it's a clean target, preventing conflicts from other parallel development streams. This sequence ensures isolated development and clean integration.

Why Incorrect

B. Refreshing the developer's sandbox after developing changes would delete all the work that was just completed, making this an illogical step.
C. This option also includes refreshing the developer's sandbox after development, which would erase the new code and configuration before deployment.
D. This option incorrectly suggests refreshing the developer sandbox after development work has been done, which would result in losing the changes.

References

1. Salesforce Architects, Salesforce Application Lifecycle Management Guide, Version 5.0, p. 10, "Development Models". The guide describes a model where developers work in their own sandboxes and then migrate changes to a common sandbox for integration, implying a refresh is done at the start of a task, not after.

2. Salesforce Help, Create or Refresh a Sandbox. "Refreshing a sandbox updates its metadata from its source org. If the sandbox is a clone or if it uses a sandbox template, the refresh process updates the org’s data in addition to its metadata." This confirms a refresh overwrites the target sandbox.

Scroll to Top