Salesforce-Platform-Development-Lifecycle-and-Deployment-Architect Practice Test

Salesforce Spring 25 Release
226 Questions

Metadata API supports deploy () and retrieve () calls for file-based deployment. Which two scenarios are the primary use cases for writing code to call retrieve () and deploy () methods directly? (Choose 2 answers)

A. Team development of an application in a Developer Edition organization. After completing development and testing, the application is Distributed via Lightning Platform AppExchange.

B. Development of a custom application in a scratch org. After completing development and testing, the application is then deployed into an upper sandbox using Salesforce CLI(SFDX)

C. Development of a customization in a sandbox organization. The deployment team then utilize the Ant Migration Tool to deploy the customization to an upper sandbox for testing.

D. Development of a custom application in a sandbox organization. After completing development and testing, the application is then deployed into a production organization usingMetadata API.

A.   Team development of an application in a Developer Edition organization. After completing development and testing, the application is Distributed via Lightning Platform AppExchange.
D.   Development of a custom application in a sandbox organization. After completing development and testing, the application is then deployed into a production organization usingMetadata API.

Explanation:
The Metadata API is mainly used for file-based deployment, such as deploying an application from a Developer Edition org to the AppExchange, or from a sandbox org to a production org. The Ant Migration Tool is a wrapper around the Metadata API, so it is not a direct use case for writing code to call retrieve() and deploy() methods. The Salesforce CLI (SFDX) uses the Source-Driven Development model, which relies on the source code as the source of truth, rather than the Metadata API.

Salesforce-Platform-Development-Lifecycle-and-Deployment-Architect Practice-Test - Home Previous
Page 5 out of 226 Pages