Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Salesforce Salesforce Developer Plat-Arch-202 Questions and answers with CertsForce

Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions
Questions # 11:

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


Expert Solution
Questions # 12:

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


Expert Solution
Questions # 13:

Universal Containers has five development teams. The performance of the teams has been good, but the number of bugs has been increasing. After each sprint, they need more time to understand the code and make changes.

What are two ways to improve the performance? Choose 2 answers

Options:

A.

Define a team that will analyze/approve all changes.


B.

Define and follow code standards.


C.

Sprint review process.


D.

Version control system to identify who is generating the bugs.


Expert Solution
Questions # 14:

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.


Expert Solution
Questions # 15:

In the effort of improving the code quality, Universal Containers (UC) has asked a third-party system integrator to perform some independent code reviews. One piece of the feedback is the development team is seemingly not doing enough negative unit testing.

Which are three usual symptoms of inadequate negative tests? Choose 3 answers

Options:

A.

Developers often have to turn to the debug log for details of the failed Apex executions.


B.

When an Apex batch job runs at a scheduled time, an increased number of Apex execution errors occur over all.


C.

An Apex process runs into an un-handled exception when an HTTP callout has an unexpected status code in the response body.


D.

Developers constantly ask the testers for a screenshot of the error and the exact steps of reproducing the error.


E.

The delivered user interfaces are regularly not meeting the expectations of the business users.


Expert Solution
Questions # 16:

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.


Expert Solution
Questions # 17:

Universal Containers (UC) has been on the org development model with scratch orgs are already enabled, but they haven ' t been taking advantage of the scratch orgs.

Now UC is ready to move to the package development model. What step must be done by an administrator?

Options:

A.

In setup, switch both the Enable Dev Hub and Enable 2nd-Generation Managed Packages to Enabled.


B.

In setup, switch the Enable Unlocked Packages to Enabled, keep the Enable Second Generation Managed Packages as disabled.


C.

In setup, switch the Enable Unlocked Packages and Second-Generation Managed Packages to Enabled.


D.

In setup, switch the Enable Dev Hub to Enabled, then switch the Enable Source Tracking for Scratch Orgs to Enabled.


Expert Solution
Questions # 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


Expert Solution
Questions # 19:

The CEO at Universal Containers (UC) is receiving constant complaints from business stakeholders that the development teams are not frequently delivering value to the end-user. The CEO talked with the CTO, who argues the opposite, explaining that the development teams are delivering value every Sprint.

The architect suggests to the CTO to implement Kanban to solve this disagreement. How can Kanban help clarify whether value is being delivered to the business?

Options:

A.

Kanban teams respond to unplanned work and changes by dropping everything and jumping on the new request, ensuring agility.


B.

Kanban traits includes metrics, like lead time and throughput, which increases transparency.


C.

Kanban can make use of the Salesforce Agile Accelerator to speed up delivery.


D.

Kanban limits work in progress, so the executives will know the development team is not overworked.


Expert Solution
Questions # 20:

Metadata API supports deploy() and retrieve() calls for file-based deployment.

Which two scenarios are the primary use cases for writing code to call retrieve() and deploy() methods directly? Choose 2 answers

Options:

A.

Team development of an application in a Developer Edition organization. After completing development and testing, the application is Distributed via Lightning Platform AppExchange.


B.

Development of a custom application in a scratch org. After completing development and testing, the application is then deployed into an upper sandbox using Salesforce CLI (SFDX)


C.

Development of a customization in a sandbox organization. The deployment team then utilize the Ant Migration Tool to deploy the customization to an upper sandbox for testing.


D.

Development of a custom application in a sandbox organization. After completing development and testing, the application is then deployed Into a production organization using Metadata API.


Expert Solution
Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions