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

In Architect has been working on a large project for the past 6 months. This project must be live by the end of the current month. Which two planning techniques should the Architect use to ensure all metadata changes deploy smoothly and on time? Choose 2 answers

Full set: 227 questions
Answer options
A: Ensure all code that is being deployed is checked into source control Correct answer
B: Validate the final deployment package against production prior to go-live Correct answer
C: Create a new sandbox and perform a test deployment to that environment
D: Upload a change set from sandbox to production as early as possible
Correct Answer:
A. Ensure all code that is being deployed is checked into source control; B. Validate the final deployment package against production prior to go-live
Explanation

For a large, time-sensitive project, a robust governance and deployment strategy is critical. Using a version control system (A) is a foundational best practice. It provides an audit trail, facilitates collaboration, manages conflicts, and is the source of truth for deployments. Validating the deployment package against the production org (B) is a crucial risk-mitigation step. It simulates the deployment, catching potential errors and missing dependencies without making any actual changes, allowing the team to resolve issues before the final go-live.

Why Incorrect

C. While a test deployment to a staging sandbox is a good practice, validating against the actual production target (B) is a more direct and final check before go-live.
D. Uploading a change set to production early does not ensure a smooth deployment; it only stages the components and can introduce risk if deployed accidentally.

References

1. Salesforce Architects, Salesforce Application Lifecycle Management Guide, Version 5.0, p. 13, "Why Use a Version Control System?". It states, "A version control system (VCS) is the foundation of a good development process."

2. Salesforce Metadata API Developer Guide, deploy() Call, "checkOnly". The documentation specifies this parameter is used "to validate the specified files without saving them to the organization... This is useful when you want to verify a set of changes before you deploy them to your organization."

3. Salesforce Trailhead, Org Development Model, "Deploy Changes". This module emphasizes the importance of validating changes before deploying to production to minimize deployment failures.

Scroll to Top