Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free Salesforce Development-Lifecycle-and-Deployment-Architect Practice Exam with Questions & Answers

Questions 1

Universal Containers (UC) is a high-tech company using SFDX tools and methodologies for its Salesforce development. T UC has moved some of its code and configuration to Unlocked Packages.

Which two best practices should an architect recommend to support UC's new package development strategy?

Choose 2 answers

Options:
A.

Version control does not need to be used, as packages manage all the code and configuration.

B.

Test developed packages in test environments before installing to production.

C.

Move everything in the existing codebase to a single monolithic package.

D.

Consult the metadata coverage report to identify features supported by packages.

Salesforce Development-Lifecycle-and-Deployment-Architect Premium Access
Questions 2

A developer on the Universal Containers team has written a test class to test a method

that involves a web service callout. Within the test class, the developer is supposed to load test

data, create an instance of the Mock object, set the Test.setMock() to that Mock object, call

startTest(), execute the code that makes the callout, call stopTest(), and compare the result with

expectations. Unfortunately, the Developer forgot to use the Test.setMock() method step.

What would happen when the developer runs this test class?

Options:
A.

The test class fails without error message since the test class will simply skip the webservice callout during the execution.

B.

The test class fails and the developer will see a message stating: Methods defined asTestMethod do not support Web service callouts.

C.

The test class would make the web service callout and may or may not fail depending on the circumstances on the web service end

D.

It is impossible to miss the Test.setMock() statement, the Developer Console will not let the developer save it since the test method callout

Questions 3

Universal Containers (UC) had implemented two full sandboxes. One, known as Stage,

is used for performance, regression testing, and production readiness check. The other is used primarily for user acceptance testing (UAT). Both full sandboxes were refreshed two months ago. Currently, UC is targeting to start user acceptance testing in two weeks, and do production release in four weeks. An admin also realized Salesforce will have a major release in six weeks.

UC needs to release on the current Salesforce version, but also wants to make sure the new

Salesforce release does not break anything

What should an architect recommend?

Options:
A.

Refresh Stage now, and do not refresh UAT. This way, Stage will be on preview and UAT will not.

B.

Use the Sandbox Preview Guide to check if there is any necessary action needed. UC might have to prepare, refresh, and redeploy to UAT.

C.

Visit trust.salesforce.com to figure out the preview cutoff dates, if the dates had passed, work with support to get on the preview instance.

D.

Refresh Stage from UAT now. After preview cutoff, use the upgraded one for regression test, use the non-upgraded one for user acceptance Test.

Questions 4

Universal Containers (UC) have developed a managed package targeted for AppExchange. The product includes some Apex code to customize and create layouts. UC is in the testing phase of the package, so it's not certified yet. During testing on the target org, the Apex code for the layouts fails.

Why are the Apex classes not able to access the metadata of the target org during testing?

Options:
A.

Apex Settings to allow the access to metadata is not switched on.

B.

UC needs to turn on Apex Settings within the custom metadata type.

C.

The solution is flawed. UC should utilize the Tooling API from a web service call to modify the layouts.

D.

UC needs to get the managed package certified by the Salesforce security review.

Questions 5

Universal Containers has just initiated a project to implement partner community. The application will be deployed into a production environment currently in use by a large Salesforce user base. The project manager has insisted that the development and testing team use a single developer sandbox. What is the risk with this approach?

Options:
A.

Tester will encounter platform limits due to developer sandbox capacity limits.

B.

Testers will experience functional changes throughput testing due to not having isolation form development.

C.

Testers will hit governor limits due to large volume of users in the developer sandbox.

D.

Refreshing the developer sandbox will take significant time.

Questions 6

Universal Containers (UC) has a recruiting application using Metadata API version 35, and deployed it in production last year. The current Salesforce platform is running on API version 36.A new field has been introduced on the object Apex page in API version 36. A UC developer has developed a new Apex page that contains the new field and is trying to deploy the page using the previous deployment script that uses API version 35. What will happen during the deployment?

Options:
A.

The deployment script will pass because the new field is backward compatible with the previous API version 35.

B.

The deployment script will fail because the new field is not known for the previous API version 35.

C.

The deployment script will pass because the new field is supported on the current platform version.

D.

The deployment script will fail because the platform doesn't support the previous API version 35.

Questions 7

Universal Containers (UC) is embarking on a large program of work, with different projects and different vendors. UC created a center of excellence (COE) that is struggling with scope creep between the different projects.

What role should the architect suggest be added to the COE?

Options:
A.

Scrum master

B.

Release managers

C.

Product owner

D.

Change managers

Questions 8

Universal Containers (UC) has a customized repository that represents lots of different

apps or projects. UC currently is trying to shift from the org development model to the package

development model to manage changes. In the org development model, each developer starts

their work within their own personal sandbox.

When it comes to choosing development environments, what should a Salesforce architect

recommend?

Options:
A.

Start using scratch orgs because a developer can spin up a scratch org to start a new

project, start a new feature branch, or start automated Testing.

B.

Start using scratch orgs that tracks all of the changes automatically and proceed with a

staggered approach since scratch orgs can coexist with other models.

C.

Keep developing in the dev sandboxes because scratch orgs are not within the code

deployment path.

D.

Keep developing in the dev sandboxes, so that the developers feel no impact at all as they

are used to the sandbox development.

Questions 9

Which two ways should a developer working on a data loading integration that operates

between different Salesforce environments insert multiple related records in one call or

transaction?

Choose 2 answers

Options:
A.

REST API SObject Tree Request

B.

Bulk API 2.0

C.

REST API Composite Request

D.

Streaming API

Questions 10

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