Month End Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: w75best

Salesforce Plat-Arch-202 Dumps

Platform Development Lifecycle and Deployment Architect Questions and Answers

Question 1

Universal Containers (UC) has multiple development teams that work on separate streams of work, with different timelines. Each stream has different releases of code and config, and the delivery dates differ between them.

What is a suitable branching policy to recommend?

Options:

A.

GitHub flow

B.

Leaf-based development

C.

Trunk-based development

D.

Scratch-org-based development

Question 2

Which two options should be considered when making production changes in a highly regulated and audited environment? Choose 2 answers

Options:

A.

No manual steps should be carried out.

B.

All changes including hotfixes should be reviewed Salesforce Partner Against security principles.

C.

Any production change should have explicit stakeholder approval.

D.

After deployment, the development team should test and verify functionality in production.

Question 3

Universal Containers has seven orgs in different regions. Its processes are global and standardized but each region needs the flexibility to be able to understand the global code and customize some aspects for its regions.

Which development model is optimized for this need?

Options:

A.

Create a centralized Git with all the code and where the global team approves the changes made by the local teams.

B.

Use a managed package for global code and another managed package for all regions code.

C.

Use unlocked packages to deploy the global code and allow each country to create its customized unlocked package extensions.

D.

Use a managed package to deploy the global code and allow local teams to request the addition of code within that package.

Question 4

Which two statements are accurate about why Mock objects are needed when writing test classes? Choose 2 answers

Options:

A.

Mock is needed whenever the code makes an HTTP callout.

B.

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

C.

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

D.

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.

Question 5

Universal Containers has started building a customer Lightning community that contains a few dozen Aura components. The development team lead has come to the Salesforce architect about questions regarding testing the Lightning components.

What two knowledge points can the architect pass to the development team lead? Choose 2 answers

Options:

A.

There is a $T test helper object that can be used to create the instance of the Lightning component, and it is promise enabled.

B.

The testing of the JavaScript part of the Aura component can be tested in the Jest framework and the Apex controllers can be tested using test classes.

C.

Install the Lightning test service AppExchange package to enable the Aura component testing.

D.

The testing can be viewed in the lightning.force.com/c/jasminetests.app URL. The page loads and runs Jasmine test and writes pass/fail information to the screen.

Question 6

Universal Containers wants to delete the day ' s test data in a partial copy sandbox every night, setting the sandbox back to a fresh state for tomorrows testing. The test data is approximately 1GB.

What is the best strategy the architect should recommend?

Options:

A.

Manually delete all records individually.

B.

Execute a batch job that deletes all records created on the day.

C.

Create a new developer copy sandbox every night.

D.

Refresh the sandbox every night.

Question 7

Universal Containers has decided on a single-org strategy, despite having to deal with the complexity of having multiple lines of business (LOBS) inside a single org.

What are two common challenges in single-org strategy for multiple LOBS? Choose 2 answers

Options:

A.

Lack of declarative sharing and visibility capabilities to ensure correct visibility of objects and records.

B.

Apex design will need to be mature and adhere to strict guidelines to support a large enterprise model.

C.

Making Salesforce work with multiple currencies.

D.

The data model becomes more complex the scope in the org increases.

Question 8

Universal Containers has a highly customized Salesforce org, with many different pieces of configuration and code.

Which configuration item should be covered by executable tests?

Options:

A.

Active Process Builders

B.

Validation Rules

C.

Workflow Rules

D.

Case Assignment Rules

Question 9

Universal Containers is adopting Scrum as an agile methodology and wants to choose a software tool to support the adoption.

What three key features of an agile development support tool should an architect look for? Choose 3 answers

Options:

A.

Product backlog prioritization

B.

Sprint backlog management

C.

Work (for example, user stories or tasks) assignment

D.

Kanban board

E.

Email notifications when work is created or changed

Question 10

Northern Trail Outfitters (NTO) recently acquired Eastern Trail Outfitters (ETO). NTO ' s sales leadership team had hands-on experience with the ETO ' s Sales Optimization app and have given the feedback that the app would benefit NTO ' s sales team.

Which option should the architect recommend for having ETO ' s Sales Optimization app in NTO ' s Salesforce org in the shortest possible time?

Options:

A.

Create users in ETO ' s org and provide access to NTO ' s sales team.

B.

Create an unmanaged package of the app and deploy in NTO ' s org.

C.

Create a managed package of the app and deploy in NTO ' s org.

D.

Create a core team and build the Sales Optimization app in NTO ' s org.

Question 11

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 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) is on the Unlimited Edition of Salesforce orgs. Currently, there are four Developer Pro sandboxes used by dev teams for various purposes, one partial copy sandboxes used for training, one full sandbox used for user acceptance testing. There is another full sandbox used for performance Testing during the initial launch, and it is no longer being actively used.

A system administrator had reported yesterday that none of the sandboxes can be refreshed. What is the most probable action an architect can help the system administrator with?

Options:

A.

Contact the Salesforce Account Team to do a sandbox License Count.

B.

It appears the org is using more sandboxes than the license permits. The Partial Copy sandbox shouldn ' t be used.

C.

Create a Salesforce support case, someone should know what is wrong.

D.

Delete the full sandbox used for performance testing.

Question 14

Cloud Kicks is switching to Salesforce from a different CRM. They have existing datasets for all standard Salesforce objects.

In which optimized order should the architect recommend these objects be loaded?

Options:

A.

Accounts, Contacts, Leads, Products, Opportunities, Opportunity Line Items

B.

Leads, Contacts, Accounts, Opportunities, Products, Opportunity Line Items

C.

Leads, Accounts, Contacts, Products, Opportunities, Opportunity Line Items

D.

Accounts, Contacts, Opportunities, Products, Opportunity Line Items, Leads

Question 15

Universal Containers (UC) has multiple teams with major projects working concurrently in their own developer sandboxes. After deploying to production, a bug is discovered. Due to tight timelines, the development team has suggested correcting the bug in the user acceptance testing (UAT) environment, which is a full copy sandbox.

What should the architect recommend?

Options:

A.

UC should spin up a new sandbox to use as a hot fix environment. Once the bug is corrected, the change should be applied to production and downstream environments.

B.

The fix should be made in the developer environment where the project work was done. Once the fix has been made, it should go through a full deployment/testing process and adhere to the normal project cadence.

C.

Since the issue was found in production, it should be treated as a change request and go into the backlog as an enhancement.

D.

Correcting the bug in UAT is ideal. Since UAT is a full copy, it will be the fastest location to fix and test the resolution.

Question 16

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 17

Universal Containers (UC) is considering implementing a minor change policy for a series of low-risk 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 3 answers

Options:

A.

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

B.

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

C.

Downstream environments will not be automatically updated when production changes.

D.

All changes should still be tested.

E.

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

Question 18

Salesforce has three major releases a year.

Which type of change introduced by a release can cause automated browser tests to need updating?

Options:

A.

New Apex methods

B.

Metadata schema changes

C.

DOM changes

D.

New standard fields

Question 19

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 20

What are three benefits of managing change with Packaged Development? Choose 3 answers

Options:

A.

Manage the number of sandboxes needed to successfully deploy.

B.

Clearly divides developers and testers.

C.

Modular development process with specification of dependencies among packages.

D.

Versioning to help with change management.

E.

Making the release cycle more efficient and agile.

Question 21

What is a main characteristic of an agile team?

Options:

A.

The team uses Scrum, Kanban, and Extreme Programming.

B.

The team has biweekly sprints to ensure on-time delivery.

C.

The team delivers new releases on dates defined in the beginning of the project, following a project plan

D.

The team improves and evolves its processes and frequently delivers value to the end users.

Question 22

What advice should a technical architect provide in a Change Advisory Board meeting?

Options:

A.

Functionality meets the business needs.

B.

Solution is usable by the business.

C.

Solution is technically sound.

D.

Troubleshooting strategies for deployment issues.

Question 23

What are two limitations an architect should consider when designing a strategy for managing technical reference data, with multiple related objects? Choose 2 answers

Options:

A.

HTTP response size

B.

Apex CPU limits

C.

Circular relationships

D.

Depth of nested relationships

Question 24

Cloud Kicks is considering using an automated testing tool to help manage deployments between environments.

When should the architect recommend the use of an automated testing tool?

Options:

A.

Automated tests should be run when branches are merged.

B.

Automated tests should be run daily in all Developer Orgs.

C.

Automated tests should be run only when merging into Full or Partial Copy sandboxes.

D.

Automated tests should be run daily in all Developer Orgs, and when branches are merged.

Question 25

Universal Containers (UC) is midway through a large enterprise project. UC is working in an agile model, and currently has four-week iterations, with a branching strategy supporting this approach. UC operates in a strict regulatory environment, and has dedicated teams for security, QA, and release management. The system is live with users, and a serious production issue is identified at the start of a sprint, which is narrowed down to a bug in some Apex code.

Which three approaches should an architect recommend to address this bug? Choose 3 answers

Options:

A.

Investigate potential data impacts.

B.

Fix the bug in a hotfix branch.

C.

Wait until the next release to deploy the fix.

D.

Attempt to fix the bug directly in production.

E.

Seek stakeholder approval for the hotfix.

Question 26

Universal Containers (UC) has noticed that unit tests are failing in production during deployments and in no other environments. Investigations have revealed that administrators are making minor changes in production without regard to dependent components.

What two suggestions can the architect make to help UC discover these failing unit tests earlier? Choose 2 answers

Options:

A.

Stop administrators from making all changes.

B.

Ask administrators to run unit tests before every change.

C.

Train the administrators to make their changes in a special " admin changes " sandbox, and then promote to production.

D.

Ensure a metadata backup is committed to version control every day and a diff published to the release team.

Question 27

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 28

A team of developers at Universal Containers has developed Apex Triggers and Apex Classes in a sandbox. The team has also written test classes to unit test these triggers and classes. When executed in the sandbox, all the test methods pass and all the classes meet the minimum code coverage requirement. But when they tried deploying these components to production, a few of these test methods failed.

What should an architect recommend?

Options:

A.

Create test data in production before deploying the test classes

B.

Set SeeAllData to True to use the data in production.

C.

Explicitly set SeeAllData to True and generate data in test methods.

D.

Do not use SeeAllData and generate data in the test methods.

Question 29

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 30

Universal Containers has an active production org and they are planning to release some new features to it next month. The team is working to prepare a deployment plan and reached out to the technical architect for inputs on rollback strategy.

What should a technical architect recommend?

Options:

A.

Backup the existing metadata using ANT Migration Tool. To roll back deployment, manually delete new components and deploy again to production using backed up metadata.

B.

Backup the existing metadata using the ANT Migration Tool. To roll back deployment, deploy again to production using backed up metadata.

C.

Create a sandbox from production to take the backup of existing metadata. To roll back deployment, manually delete new components and then deploy again to production Using metadata from this sandbox.

D.

Create a sandbox from production to take the backup of existing metadata. To roll back deployment, use destructivechanges.xml to delete new components and then Deploy again to production using metadata from this sandbox.

Question 31

The opportunityService and opportunityServiceTest classes are in package A but are used only in package B. Both second-generation packages have the same namespace. Therefore, they should be moved to package B for better organization and control.

What should the architect recommend for this process?

Options:

A.

Set the classes as deprecated in package A and recreate them in package B.

B.

Move the classes of package A to package B and change the code for package B that called this class from package A.

C.

Move the classes of package A to package B and create new package versions.

D.

Set the classes as deprecated in package A and recreate them in package B with new names.

Question 32

Universal Containers (UC) maintains its Salesforce org using its internal tools and processes for managing its application lifecycle. The UC team has been facing challenges on their development processes in their recent two releases. The architect has recommended the UC team to follow the org development model to address the challenges faced.

Which two characteristics of the org development model will help UC address the challenges? Choose 2 answers

Options:

A.

Automated deployment

B.

Automated defect fixing

C.

Automated sandbox provisioning

D.

Automated change tracking

Question 33

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.

Question 34

Universal Containers would like to conduct performance testing on its new major release.

What three things should the architect consider when discussing performance testing? Choose 3 answers

Options:

A.

Salesforce must be informed at least 7 days before starting performance tests.

B.

Salesforce will monitor test activity to ensure there are no issues with Salesforce Services.

C.

Performance tests must be run in a sandbox.

D.

A business justification must be provided to Salesforce in order to run performance testing.

E.

Performance tests may be run without advanced notice, but Salesforce will not store performance logs.

Question 35

Universal Containers is delivering many changes to its Salesforce system. Adoption reports are discovering that many features are unused. The steering committee wants this to change and is looking to the architect for advice.

What should an architect recommend to overcome this?

Options:

A.

Using Lightning Web Components for every user interface.

B.

Adopting user centered design to understand user needs before building the solution.

C.

Stop development until current features start being used.

D.

Sending weekly communication emails reporting on least engaged users.

Page: 1 / 12
Total 118 questions