Development-Lifecycle-and-Deployment-Designer Salesforce Certified Development Lifecycle and Deployment Designer

Loading demo links...

Showing 1–3 of 10 questions

Question 1

Which two statements are accurate about why Mock objects are needed when writing test classes? (Choose two.)

Select all that apply, then click Submit answer.

  • Mock can also be used on the classes that extend the batchable interface to bypass the batch jobs.

  • Using a Mock allows the test class to bypass the dependencies of other objects, methods, state, or behaviors. Therefore, the developer has total control of his own code.

  • A Mock is needed whenever the code makes an HTTP callout.

  • Some methods are invoking long running processes, using Mock is a shortcut of bypassing the long executions.

Question 2

Universal Containers (UC) is considering implementing a minor change policy for a series of lowrisk user stories that are commonly received by the UC admins. The policy would allow admins to make these changes directly in production. UC does not have continuous integration/continuous delivery (CI/CD) in place.

Which three best practices should the architect suggest UC follow for their new change policy?

(Choose three.)

Select all that apply, then click Submit answer.

  • Minor changes do not need to be documented and can be made at any time

  • All changes should still be tested

  • CI/CD is required in to successfully manage minor changes

  • Downstream environments will not be automatically updated when production changes

  • Minor changes should be thoroughly documented and follow some type of standard cadence

Question 3

A developer was trying to retrieve the metadata from an org and ran the sfdx force:source:retrieve command. When the command was run, the developer received the error message: “This command is required to run from within an SFDX project”.

What can be two possible reasons that caused this problem? (Choose two.)

Select all that apply, then click Submit answer.

  • The developer created the project, but ran the command outside of the project directory

  • The developer created the project within VSCode, but ran the command in a separate terminal

  • The developer hadn’t run the sfdx force:project:create command

  • The developer forgot to add the –n option with a project name as a command line argument