Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Salesforce Developer Development-Lifecycle-and-Deployment-Architect Syllabus Exam Questions Answers

Salesforce Certified Development Lifecycle and Deployment Architect (SP23) Questions and Answers

Question 45

Universal Containers (UC) has two major releases every year and the team always runs into longer deployment times. In which 2 ways can UC reduce deployment time? Choose 2 answers?

Options:

A.

Use recent deployment validations and the quick deploy feature.

B.

Deploy components in groups to reduce deployment time.

C.

Specify the test to run by using the RunSpecified Tests test level.

D.

Validate the deployment before migrating components to production.

Question 46

Universal Containers (UC) wants to shorten their deployment time to production by controlling which tests to run in production. UC's Architect has suggested that they run only subsets of tests. Which two statements are true regarding running specific tests during deployments? Choose 2 answers

Options:

A.

To run a subset of tests, set the Run Specified Tests test level on the Deploy Options objects and pass it as an argument to deploy () call.

B.

run a subset of tests, set the RunLocalTests test level on the DeployOptions object and pass it as an argument to deploy() call.

C.

Specify both test classes and individual test methods that are required to be executed as both are supported in DeployOptions.

D.

Specifying the test method is supported in DeployOptions, therefore specify only the test classes that are required to be executed.

Question 47

Universal Containers (UC) is implementing Salesforce and wants the custom code to be unit-tested for all adverse conditions. Which two best practices should an Architect recommend while implementing Test Classes? Choose 2 answers

Options:

A.

Execute test classes under various profiles

B.

Test classes should not create custom setting data.

C.

Test classes must use existing data in the environment.

D.

Test data must have positive as well as negative data.

Question 48

Universal Containers has several concurrent projects building new functionality, fixing bugs, and modifying existing functionality. Management would like features to be available to users as quickly as possible, even if the entire project is incomplete. What should an Architect recommend to maintain quality?

Options:

A.

Require developers to deploy completed code and unit tests directly to production

B.

Deploy all functionality together to ensure all functionality works together without error

C.

Use a spreadsheet to track approved changes that should be released with change sets

D.

Utilize automated source control, test, and build systems to test and deploy to production