Salesforce Certified Development Lifecycle and Deployment Architect — Question 28

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 two.)

Answer options

Correct answer: B, D

Explanation

Option B is correct because it describes a scenario where the Metadata API is used to move an application from a sandbox to production after development. Option D is also correct as it highlights the use of the Ant Migration Tool for deployment, which is a common practice in testing scenarios. Options A and C involve distribution methods that do not directly relate to the Metadata API's retrieve() and deploy() functions.