nerdexam
Salesforce

PDI · Question #114

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

The correct answer is B. Dev Hub. Salesforce DX (SFDX) uses scratch orgs as short-lived, configurable development environments. To create and manage scratch orgs, a developer must enable Dev Hub in a production org, a Developer Edition org, or a trial org. Dev Hub acts as the central hub that tracks and manages t

Submitted by kwame.gh· Apr 18, 2026Testing, Debugging, and Deployment

Question

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

Options

  • AProduction
  • BDev Hub
  • CEnvironment Hub
  • DSandbox

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    89% (17)
  • C
    5% (1)

Explanation

Salesforce DX (SFDX) uses scratch orgs as short-lived, configurable development environments. To create and manage scratch orgs, a developer must enable Dev Hub in a production org, a Developer Edition org, or a trial org. Dev Hub acts as the central hub that tracks and manages the scratch org licenses. Without Dev Hub enabled, the CLI commands to create scratch orgs (e.g., sf org create scratch) will fail. Environment Hub (choice C) is used for connecting and managing multiple orgs but is not required for scratch org creation. Sandbox (choice D) and Production (choice A) are different org types and are not the prerequisite feature needed.

Topics

#Salesforce DX#Scratch Orgs#Dev Hub#Deployment Tools

Community Discussion

No community discussion yet for this question.

Full PDI Practice