Secure 75% Off All Exam Bundles This Black Friday! Use coupon code below to save! - Ends in 0d 00h 00m 00s - Coupon code: 75only

Salesforce Plat-Arch-202 Platform Development Lifecycle and Deployment Architect Exam Practice Test

Demo: 35 questions
Total 118 questions

Platform Development Lifecycle and Deployment Architect Questions and Answers

Question 1

What are two advantages of automated test data loads over manual data loads? Choose 2 answers

Options:

A.

Automated loads can be done with no human oversight.

B.

Automated loads are reliable in their results.

C.

Automated loads cannot be scripted by CICD tools.

D.

Automated loads will increase costs.

Question 2

Northern Trail Outfitter ' s development team has built new features for its sales team in the Asia-Pacific region. While testing the Apex classes, the developers are constantly hitting the governor limits.

What should the architect recommend during the review to address this issue?

Options:

A.

Use test.startTest() and test.stopTest() methods to reset governor limits.

B.

Use an AppExchange product which can temporarily increase the governor limits.

C.

Use the auto reset property to automatically reset governor limits during off-hours.

D.

Use test.setLimit() and test.resetLimit() methods to reset governor limits.

Question 3

Universal Containers (UC) has multi-cloud architecture in a single org. The Sales Cloud dev team is working in a Dev Pro sandbox (DevPro1) of delivering a release in three months. The business requirements from Service Cloud warrant a quicker release in four weeks, but need part of the Sales Cloud work that is completed in DevPro1. The decision of using a separate Dev Pro sandbox (DevPro2) is still pending. The DevPro1 was upgraded to preview for next Salesforce major release two weeks ago.

What should an Architect recommend?

Options:

A.

Ask the second work stream team to work on the same DevPro1 sandbox.

B.

Push back on the requirements because adding another work stream will bring some risks with it.

C.

Clone the DevPro1 sandbox and name it DevPro2 for the second work stream to work on the Service Cloud requirements.

D.

DevPro1 cannot be cloned because it is on a different version from Production. Just create new DevPro2, and migrate metadata from DevPro1.

Question 4

Universal Containers (UC) started to use the GitHub workflow. For the current minor release, an Experience Cloud developer and a Service Cloud developer both need to work on the Case object and codes that reference the Case object. Both developers branched off the same UCDev branch and started working. The Experience Cloud development team had finished early, and the change was successfully merged into the UCDev branch. The local Git branch used by the Service Cloud developer is called ServiceCase.

At what point will the Service Cloud developer see the conflict and need to resolve the conflict?

Options:

A.

At command: git commit -m " Service Cloud Notes "

B.

The conflict would show in GitHub when a pull request is created from ServiceCase to UCDev.

C.

At command: git push origin ServiceCase

D.

At Command: git add force-app/main/default

Question 5

Universal Containers (UC) is using custom metadata types to control the behavior of a few of the custom functionalities. UC wants to Deploy custom metadata types to production using Metadata API.

Which two data types does UC need to include? Choose 2 answers

Options:

A.

CustomMetadataType

B.

CustomMetadata

C.

CustomObject

D.

Custom Field

Question 6

Universal Containers (UC) is a large enterprise with a complex system landscape. UC is currently rolling out new infrastructure and strategies around Salesforce DevOps. Some of the key feature ' s UC

is looking to support is rollback of metadata after a deployment, and the backup and restore of data to help recover from deployment issues, system bugs, or outages in their downstream systems.

Regulations in the industry mean that UC must be able to provide strategies to recover and rollback from issues. The regulator has discovered UC is not currently providing these, and must do so as soon as possible to remain compliant.

What should an architect advise?

Options:

A.

Salesforce backs up all data and will restore it for customers on request.

B.

Evaluate third-party and AppExchange products.

C.

Advise stakeholders that rollback is not possible for Salesforce.

D.

Custom build a feature rollback and data restore tool for Salesforce.

Question 7

Universal Containers (UC) development team is developing a managed package for AppExchange. The product team has finished developing and testing, and wants to submit a Security Review. However, the product manager has concerns on the few errors from the Checkmarx code scanner.

How should the product team proceed?

Options:

A.

Review the Checkmarx errors. If there is no need to fix, mark them as false positive and attach explanation, then submit.

B.

Leave them to the Salesforce security review team, they would catch it if those are true problems.

C.

Leave a partner support case, the partner manager will engage Salesforce support resources to help.

D.

Review the Checkmarx errors and fix all of them before submitting security review. Salesforce security review team will reject the request if any error remains.

Question 8

Universal Containers is having trouble deploying metadata from SIT to UAT. UAT is complaining that it does not recognize some new Salesforce metadata types to be deployed. The deployment from Dev to SIT worked perfectly.

What could be the problem?

Options:

A.

There is no problem, this is expected behavior.

B.

UAT is on a preview release and SIT is not.

C.

SIT is on a preview release and UAT is not.

D.

Use the DX command line instead.

Question 9

Universal Containers (UC) uses a managed package to install an internal Sales app in five orgs. Within each org there are integrations and local processes with the objects of the managed package. UC wants to use unlocked packages for better integration with CI/CD processes.

What would the Salesforce architect recommend for this migration?

Options:

A.

Export all data from objects/fields of the managed package, uninstall it, install the unlocked package with the same namespace as the Managed package and restore all data.

B.

Export all data from objects/fields of the managed package, uninstall it, install the unlocked package without namespace and restore all data.

C.

Do not change to unlocked package as it is possible to perform all CI/CD processes with the managed package.

D.

Migrate all classes, Visualforce, and components from the managed package to the unlocked package. Install the new version of the managed package (objects/fields only) and the unlocked package with the other components.

Question 10

What are the three considerations that the architect should recommend for Change Set deployment? Choose 3 answers

Options:

A.

Change Sets cannot be automated.

B.

Change Sets cannot be validated before deployment

C.

Change Sets cannot be used for orgs affiliated with same production org.

D.

Change Sets cannot be rolled back.

E.

Change Sets cannot be reused between Production Salesforce orgs.

Question 11

What are three advantages of the package development model? Choose 3 answers

Options:

A.

Improving team development and collaboration

B.

Providing its own source control, so the source can be deployed in any sandbox orgs

C.

Facilitating automated testing and continuous integration.

D.

Significantly reducing the need for manually tracking changes.

E.

Eliminating the need of using change set, which should no longer be used as it can get messy working with package development models.

Question 12

Universal Containers is reviewing its environment strategy. They have identified a need for a new hotfix environment to resolve any urgent production issues.

Which two sandbox types would be appropriate to use as the hotfix environment? Choose 2 answers

Options:

A.

Partial Copy sandbox

B.

Developer sandbox

C.

Full sandbox

D.

Developer Pro sandbox

Question 13

Universal Containers (UC) had been using change sets for deploying all of the modifications to its Sales Cloud apps. After multiple business units joined the single Salesforce instance, there is a need to evaluate which development model is the most suitable for UC. The IT management has shown a particular interest in finding out more about the package development model.

As an architect, which two statements can be made to articulate the differences between the change set model and package development model? Choose 2 answers

Options:

A.

In package development, the source of truth is the metadata in the package project, which makes it easy to integrate to a version control System.

B.

A change set can be retrieved from the developer ' s workbench as a package, then pushed into the version control system to achieve the Versioning control.

C.

In change set development, the source of truth is a combination of the metadata already in the environment and the content of your change Set.

D.

In package development, the best practice is to consider the dependencies and build the dependencies into the package so it can be deployed In any other target orgs.

Question 14

Universal Containers is about to begin the release of a major project. To facilitate this, they have several sandboxes to make their deployment train. These sandboxes are a mix of preview and non- preview instances.

What should the architect recommend?

Options:

A.

Refresh all non-preview sandboxes during the release preview window.

B.

No advice needed, mixing instance types is important for regression testing.

C.

Refresh all non-preview sandboxes when the release management team has time.

D.

Contact support to rollback the release when Salesforce upgrades the sandboxes.

Question 15

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.

Question 16

At Universal Containers, Salesforce administrators are making changes to the permission sets under instruction from the business. Randomly, various SOQL statements are failing.

What strategy could be advised to bring this issue to the developer ' s attention earlier?

Options:

A.

Extract each permission set, commit and merge to source control, and run through CI checks.

B.

Ask administrators to only make changes to profiles instead

C.

Create a sandbox refresh strategy to ensure each sandbox is refreshed every day.

D.

Advice developers to switch to SOSL queries that are more robust instead.

Question 17

What three tools should an architect recommend to support application lifecycle methodology? Choose 3 answers

Options:

A.

Database management systems

B.

Version control repository

C.

Middleware

D.

Continuous integration tool

E.

Issue tracking Tool

Question 18

Universal Containers (UC) Customer Community is scheduled to go live in the Europe, Middle East, and Africa (EMEA) region in 3 months. UC follows a typical centralized governance model. Two weeks ago, the project stakeholders informed the project team about the recent changes in mandatory compliance Requirements needed to go live. The project team analyzed the requirements and have estimated additional budget needs of 30% of the project cost for incorporating the compliance requirements.

Which management team is empowered to approve this additional budget requirements?

Options:

A.

Executive Steering Committee

B.

Change Control Board DEPLOYMENT LIFECYCLE WI24

C.

Security Review Committee

D.

Project Management Committee

Question 19

A technical lead is performing all code reviews for a team and is finding many errors and improvement points. This is delaying the team ' s Deliveries.

Which two actions can effectively contribute to the quality and agility of the team? Choose 2 answers

Options:

A.

Choose the most senior developer to help the technical lead in the code review.

B.

Create development standards and train teams in those standards.

C.

Skip the code review and focus on functional tests and UAT.

D.

Use static code analysis tool in the pipeline before manual code review.

Question 20

All AppExchange products are subject to Salesforce security reviews.

What is the most common reason that the prospect AppExchange products fail the security review?

Options:

A.

Session hacking

B.

CRUD/FLS (field level security)

C.

SOQL injection

D.

Cross-site scripting

Question 21

Universal Containers (UC) has developed extensions of Salesforce Service Cloud for the use of its customer service Teams using the change set development model.

Recently, UC acquired a company that develops extensions of an AppExchange app. The development team of the acquired company uses the org development model. The Universal Containers CTO wants both teams to work on a single org and follow the same set of processes.

Which development model should the architect recommend to be used by the consolidated development team?

Options:

A.

Org development model, because the acquired company ' s team is already using it, and it is better than the change set development model.

B.

Package development model, because it allows packages to be created and deployed using declarative (point-and-click) development tools, without writing code.

C.

Change set development model, because UC is already using it, so it will face less resistance.

D.

Package development model, so teams can build release artifacts that can be tested and released independently from artifacts for other projects.

Question 22

Universal Containers has many backlog items and competing stakeholders who cannot agree on priority.

What should an architect do to overcome this?

Options:

A.

Take over prioritization for the stakeholders.

B.

Facilitate the design of a prioritization model with the stakeholders.

C.

Organize a sprint planning meeting with the Scrum team.

D.

Allow the delivery teams to pick the best work for the business.

Question 23

What would a technical architect recommend to avoid possible delays while deploying a change set?

Options:

A.

Change set performance is independent of included components.

B.

Manually validate change sets before deployment.

C.

Manually create new custom objects and new custom fields.

D.

Manually apply the field type changes.

Question 24

Cloud Kicks (CK) is launching a new sneaker line during the upcoming holiday season and needs to do a thorough batch data testing before Go-Live. CK is using Salesforce unlimited edition.

What two sandbox types should the architect recommend for batch data testing? Choose 2 answers

Options:

A.

Developer sandbox

B.

Developer Pro sandbox

C.

Partial Copy sandbox

D.

Full sandbox

Question 25

The CTO at Universal Containers decided to implement the Scrum framework for its agile teams, and communicated a set of Scrum principles to the company.

Which describes a Scrum principle?

Options:

A.

Create transparency by being honest and clear about timing, planning, and obstacles

B.

Respect other teams by not doing their work (a developer should not test the software).

C.

Deliver working software, so if a software component is working, avoid changing it

D.

Embrace change by working on a different scope every day.

Question 26

Universal Containers (UC) has multiple teams working on different projects. Multiple projects will be deployed to many production orgs. During code reviews, the architect finds inconsistently named variables and lack of best practices.

What should an architect recommend to improve consistency?

Options:

A.

Execute regression testing before code can be committed.

B.

Require pull requests to be reviewed by two developers before merging.

C.

Create a Center of Excellence for release management.

D.

Use static code analysis to enforce coding standards.

Question 27

Universal Containers wants to introduce data volume testing to resolve ongoing performance defects earlier in the lifecycle. Regulations prohibit the use of production data in non-production environments.

Which two options can the architect recommend? Choose 2 answers

Options:

A.

Perform data masking on full sandbox after a refresh.

B.

Generate mock data that mimics production data shape and volume.

C.

Use Query Analyzer in production.

D.

Request a partial Sandbox copy after the next Salesforce release.

Question 28

Universal Containers ' architect is documenting the application lifecycle management (ALM) process to communicate it to the development teams from different Implementation partners.

Which three steps apply to any Salesforce development project? Choose 3 answers

Options:

A.

Build Release

B.

Test

C.

Develop

D.

Continuous Integration.

E.

Change Sets

Question 29

Universal Containers uses multiple Salesforce orgs for its different lines of business (LOBS). In a recent analysis, the architect found that UC could have a more complete view of its customers by gathering customer data from different orgs.

What two options can an architect recommend to accomplish the customer 360-degree view? Choose 2 answers

Options:

A.

Implement a Complete Graph multi-org strategy by allowing each org to connect directly to every other, reading and writing customer data from the orgs where it has originally created.

B.

Migrate from multi-org to single-org strategy, consolidating customer data in the process.

C.

Implement a Single Package multi-org strategy by developing and deploying to all orgs a managed package which reads and consolidates customer 360-degree view from the different orgs.

D.

Implement a Hub-and-Spoke multi-org strategy by consolidating customer data in a single org, which will be the master of customer data, and using integration strategies to let the LOBS orgs read and write from it.

Question 30

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 web service callout during the execution.

B.

The test class fails and the developer will see a message stating: Methods defined as TestMethod 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.

Question 31

Universal Containers (UC) is planning to move to Salesforce Sales Cloud and retire its homegrown on-premise system. As part of the project, UC will need to migrate 5 million Accounts, 10 million Contacts, and 5 million Leads to Salesforce.

Which three areas should be tested as part of data migration? Choose 3 answers

Options:

A.

Page layout assignments

B.

Lead assignment

C.

Account and Lead ownership

D.

Data transformation against source system

E.

Contact association with contact account

Question 32

Universal Containers has a highly integrated environment with significant process orchestration between systems. When refreshing UAT, Objects that have external Ids from Production no longer point to valid External Ids in the UAT environment.

What should an Architect do to resolve this?

Options:

A.

Mask the External Id so nobody can see the production value.

B.

In the post refresh plan, modify external ids to a known valid set of values for UAT.

C.

Let UAT point to production integrations and rollback each transaction after it finishes.

D.

Delete all the data and use an Automated testing tool to create new data across all the systems in UAT.

Question 33

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 struggling with scope creep between the different projects.

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

Options:

A.

Change managers

B.

Scrum master

C.

Product owner

D.

Release managers

Question 34

Universal Containers (UC) currently uses the org development model and utilizes the Salesforce CLI as the deployment tool. After the feature release artifact file has been tested in a lower sandbox, it is being deployed to the full sandbox for performance testing and production deployment readiness check.

Since quick deployment options are not being used, what is the correct way to deploy the artifact to the full sandbox?

Options:

A.

Authorize to the Full sandbox; Validate with sfdx:source:deploy. On successful validation, deploy with sfdx:mdapi:deploy

B.

Authorize to the Full sandbox org; Validate with sfdx:mdapi:deploy On successful validation, deploy with sfdx:mdapi:deploy

C.

Authorize to the Full sandbox org; Validate with sfdx:source:deploy; On successful validation, deploy with sfdx:source:deploy

D.

Authorize to the Full sandbox org; Validate with sfdx:mdapi:deploy; On successful validation, deploy with sfdx:source:deploy

Question 35

Universal Containers has many development teams deploying into a single org. The business is very seasonal and approaching its busiest season. The business owner comes to you asking for your advice about its next major production release.

What best practice should an architect recommend?

Options:

A.

Make declarative changes in production only.

B.

Bypass regression testing for minor changes.

C.

Avoid releasing near peak business periods.

D.

Developers should conduct user acceptance testing.

Demo: 35 questions
Total 118 questions