Salesforce Certified Development Lifecycle and Deployment Architect — Question 23

Universal Containers (UC) currently uses the org development model and utilizes the Salesforce CLI as the deployment tool. After the feature release artifact (a .zip file) has been tested in a lower sandbox, it is being deployed to the full sandbox for performance testing and production deployment readiness check.
Since quick deployment options are not being used, what is the correct way to deploy the artifact to the full sandbox?

Answer options

Correct answer: D

Explanation

The correct answer is D because it appropriately uses the sfdx:source:deploy command for validation, which is suitable for source deployments, followed by the sfdk:mdapi:deploy command for the actual deployment. Options A and B incorrectly suggest deploying with source commands after validation, while option C repeats the same command for both validation and deployment, which is not ideal for the process described.