What is the recommended process for deploying the code and configurations to Production?
Show answerHide answer
Correct answer: A Use a change set to deploy the Apex code and Lightning Components.
Explanation
Explanation:Change Sets are the recommended and declarative way to migrate metadata (including Apex classes, triggers, Lightning Components, and configurations) from a Sandbox to Production when both environments are connected via Salesforce Deployment Connections.
- They are user-friendly and do not require coding expertise.
-
They support a wide range of metadata types, including custom objects, profiles, and Lightning components.
Why Not Other Options?
B) Force.com IDE is outdated and no longer recommended by Salesforce.
C) Ant Migration Tool is a legacy tool (XML-based) and requires scripting knowledge, making it less efficient for simple deployments.
D) Salesforce CLI is powerful but is more suited for DevOps/CI-CD pipelines and requires technical expertise. While it can deploy metadata, it is not the simplest option for basic deployments compared to Change Sets.
Key Consideration:
If Universal Containers is using source-driven development (DevOps), then Salesforce CLI (Option D) would be more appropriate.
However, since the question asks for the recommended process (without specifying DevOps), Change Sets (Option A) is the best answer for most standard deployments.