Which two tools can they use to run a script that deploys to a sandbox?

A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.

Which two tools can they use to run a script that deploys to a sandbox? Choose 2 answers
A . VSCode
B . Developer Console
C . Change Sets
D . SFOX CLI

Answer: A, D

Explanation:

To run a script that deploys to a sandbox:

Option A: VSCode

Visual Studio Code with the Salesforce Extensions Pack allows developers to deploy code using scripts and integrates with Salesforce CLI. Option D: SFDX CLI

The Salesforce CLI (SFDX CLI) can be used to script deployments to any org, including

sandboxes.

Example Command:

sfdx force:source:deploy -u sandboxAlias -p path/to/source

Reference: "Use Salesforce CLI to easily create environments for development and testing, synchronize source code, and execute tests."

― Salesforce CLI Command Reference Why Other Options Are Incorrect:

Option B: Developer Console does not support running deployment scripts.

Option C: Change Sets cannot be scripted; they are manually created and deployed through the Salesforce UI.

Latest DEX-450 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments