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

In architect is working on a project that relies on functionality that cannot be deployed via the Metadata API. What is the best practice for making sure these components are deployed successfully?

Full set: 227 questions
Answer options
A: Generate and deploy a change set that enables the required settings
B: Generate and install a managed package that enables the required settings
C: Utilize the metadata API's deployAllComponents call
D: Document deployment steps for any components that cannot be automatically deployed Correct answer
Correct Answer:
D. Document deployment steps for any components that cannot be automatically deployed
Explanation

Not all configuration changes and metadata components are supported by the Salesforce Metadata API or, by extension, tools like change sets. When automation is not possible, the established best practice is to create detailed, step-by-step documentation for any manual deployment tasks. This documentation, often called a deployment runbook, ensures that the manual steps are performed consistently, accurately, and in the correct order, minimizing the risk of human error during deployment. This is a critical part of a comprehensive release management plan.

Why Incorrect

A. Change sets rely on the Metadata API. If a component is not supported by the API, it cannot be included in a change set.
B. Managed packages also use the Metadata API for installation and upgrades, so they cannot deploy unsupported components.
C. The deployAllComponents call is part of the Metadata API. The question's premise is that the API cannot be used for these specific components.

References

1. Salesforce Developers, Metadata API Developer Guide. "Unsupported Metadata Types". The guide lists metadata types that are not supported, implicitly requiring an alternative (manual) deployment method. While it doesn't explicitly state "document the steps," this is the logical and standard industry practice for manual processes.

2. Salesforce Architects, Development Lifecycle and Deployment PDF (Archived Trailhead Module). In sections discussing deployment strategies, the guide acknowledges that some changes require manual steps and emphasizes the need for a clear deployment plan, which includes documenting these steps. (Note: This specific PDF is an older resource but its principles are foundational and still cited in modern Salesforce architecture training).

3. Salesforce Well-Architected Framework. "Build for Release". This section emphasizes creating a "repeatable and reliable" release process. For components that cannot be automated, a documented manual process is the only way to achieve this.

Scroll to Top