PDI · Question #201
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?…
The correct answer is A. VSCode C. SFDX CLI. For automated script-based deployments to sandboxes, developers can leverage the SFDX CLI directly or through its integration with VSCode.
Question
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
Options
- AVSCode
- BChange Sets
- CSFDX CLI
- DDeveloper Console
How the community answered
(24 responses)- A75% (18)
- B8% (2)
- D17% (4)
Why each option
For automated script-based deployments to sandboxes, developers can leverage the SFDX CLI directly or through its integration with VSCode.
Visual Studio Code (VSCode) with the Salesforce Extensions Pack provides an integrated development environment that allows developers to write and execute deployment scripts using the underlying SFDX CLI commands, facilitating automated deployments to sandboxes.
Change Sets are a declarative, point-and-click tool within the Salesforce user interface for deploying metadata between related orgs, and they cannot be used to run automated deployment scripts.
The Salesforce DX Command Line Interface (SFDX CLI) is a powerful tool specifically designed for programmatic development and automated deployments, enabling developers to write and execute scripts for deploying metadata and code to sandboxes.
The Developer Console is an in-browser development environment primarily used for writing and testing Apex code, Visualforce pages, and SOQL queries, and it does not support running external deployment scripts.
Concept tested: Salesforce CLI and IDEs for automated deployments
Source: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm
Topics
Community Discussion
No community discussion yet for this question.