DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-ARCHITECT practice question 27 of 30
An Architect is working on a Universal Containers project, and due to security concerns they cannot provide the Architect with production access…
Full set: 227 questionsThe Metadata API's deploy() function requires a specific format: a .zip file containing a package.xml manifest file and directories with the corresponding metadata components. The package.xml file explicitly lists every component to be deployed. The architect should prepare this .zip package, which is a self-contained, version-controllable artifact, and provide it to the release management team. This ensures a clear, complete, and deployable set of instructions for the team that has production access.
A. Change sets are a UI-based deployment tool and do not produce a downloadable package.xml or .zip file suitable for a Metadata API tool.
B. The readMetadata call is for retrieving metadata, not deploying it. A spreadsheet is not a machine-readable deployment manifest for the API.
C. The setup audit trail is a log of changes and is not a deployable artifact; it's unsuitable for constructing a precise deployment.
1. Salesforce Developer Documentation. (2023). Metadata API Developer Guide. The "Deploying and Retrieving Metadata" section specifies the required structure of the .zip file for the deploy() call, which includes the package.xml manifest and component files.
2. Salesforce CLI Command Reference. (2023). sf project deploy start. The documentation for this command, which uses the Metadata API, shows that it operates on a set of source files and a manifest, which are typically packaged for deployment.
3. Salesforce Developer Documentation. (2023). Sample package.xml Manifest Files. This page provides examples of the package.xml file, which is the core component for defining a package to be deployed via the Metadata API.
Keep practicing
Take the free DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-ARCHITECT practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-ARCHITECT practice questions
- Question 1Universal Containers (UC) has multiple development teams that work on separate streams of…
- Question 2In architect is working on a project that relies on functionality that cannot be deployed…
- Question 3Universal Containers (UC) wants to shorten their deployment time to production by control…
- Question 4What is the process used to initiate a connection for change sets?
- Question 5Universal Containers is looking to construct a continuous integration process to help man…
- Question 6Universal Containers has three types of releases in their release management strategy: da…
