Salesforce Platform Developer I (legacy) — Question 276

Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment.

What is the recommended process for deploying the code and configurations to Production?

Answer options

Correct answer: A

Explanation

The Salesforce CLI is the most efficient tool for deploying Apex code and Lightning Components as it offers streamlined commands for this purpose. While the Ant Migration Tool and Force.com IDE can also be used for deployments, they are not as commonly recommended for this particular scenario compared to the Salesforce CLI. Change sets are generally used for less complex deployments and may not support all components effectively.