When using Salesforce DX, what does a developer need to enable to create and manage scratch orgs?
Correct Answer: A
When using Salesforce DX, developers need to enable the Dev Hub in their org to create and manage scratch orgs.
Option A: Dev Hub
Correct Answer.
The Dev Hub is a feature that must be enabled in a Salesforce org (usually in a Developer Edition or a production org).
It allows developers to create and manage scratch orgs using Salesforce DX commands.
Dev Hub is the central point for creating and managing your scratch orgs.
While Dev Hub can be enabled in a production org, simply having a production org is not sufficient. Dev Hub must be explicitly enabled.
Option C: Environment Hub
Incorrect.
The Environment Hub is used to manage multiple orgs but is not required for Salesforce DX scratch orgs.
Option D: Sandbox
Incorrect.
Scratch orgs are not created from sandboxes, and enabling scratch org creation requires Dev Hub.
Conclusion:
To create and manage scratch orgs with Salesforce DX, the developer needs to enable Dev Hub.
Reference:
Enable Dev Hub in Your Org
Salesforce DX Developer Guide
Incorrect Options:
Option B: Production
Incorrect.