Question 1 of 30
A developer is using Salesforce CLI to manage a project that involves multiple scratch orgs. They need to create a new scratch org with specific features enabled, including \"Salesforce Mobile\" and \"Service Cloud.\" The developer also wants to set the org to expire in 30 days. Which command should the developer use to achieve this configuration?
`sfdx force:org:create -f config/project-scratch-def.json -d 30 -a MyScratchOrg -s -v DevHub -o "Salesforce Mobile, Service Cloud"`
`sfdx force:org:create -f config/project-scratch-def.json -d 30 -a MyScratchOrg -s -v DevHub --features "Salesforce Mobile, Service Cloud"`
`sfdx force:org:create -f config/project-scratch-def.json -d 30 -a MyScratchOrg -s -v DevHub --setalias "Salesforce Mobile, Service Cloud"`
`sfdx force:org:create -f config/project-scratch-def.json -d 30 -a MyScratchOrg -s -v DevHub --setdefaultusername --features "Salesforce Mobile, Service Cloud"`

Preparing for SalesForce Certified B2C Commerce Developer Certified B2C Commerce Developer? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free