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 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

Universal Containers is having trouble aligning releases between major, minor, and Salesforce seasonal releases.

What should an architect recommend?

Options:

A.

Create a release calendar, train and align all the teams.


B.

Share the test plans between the teams on each release type.


C.

Create a spreadsheet of metadata changes and reconcile the overlaps.


D.

Gate all release decisions at the center of excellence.


Expert Solution
Questions # 22:

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.


Expert Solution
Questions # 23:

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.


Expert Solution
Questions # 24:

The team at Universal Containers is building an application on Java that will interact with its Salesforce application. They want to use SOQL queries to retrieve and make changes to smaller pieces of Salesforce metadata through this application.

Which API should the team leverage?

Options:

A.

Metadata API


B.

User Interface API


C.

Tooling API


D.

Any Salesforce API


Expert Solution
Questions # 25:

A developer was trying to retrieve the metadata from an org and ran the sfdx force:source:retrieve command. When the command was run, the developer received the error message: " This command is required to run from within an SFDX project. "

What can be two possible reasons that caused this problem? Choose 2 answers

Options:

A.

The developer created the project, but ran the Command outside of the project directory.


B.

The developer hadn ' t run the sfdx force:project:create command.


C.

The developer forgot to add then option with a project name as a command line argument.


D.

The developer created the project within VSCode, but ran the command in a separate terminal


Expert Solution
Questions # 26:

Universal Containers has 80% code coverage. Despite the creation of a test plan for each sprint, the number of defects is large.

What two items should the architect recommend to reduce defects? Choose 2 answers

Options:

A.

The test script should be used to define the test classes.


B.

The code coverage should be increased to 95%. The test analyst who creates the test plan must also create the test classes.


C.

The acceptance criteria should have more details.


Expert Solution
Questions # 27:

Universal Containers has a full sandbox that will be used to analyze and fix bugs found in production.

Which two items should the architect recommend to ensure that bugs found in production are more easily analyzed in this full sandbox? Choose 2 answers

Options:

A.

Refresh the full sandbox after every deployment in production.


B.

Create a daily process of copying new and changed data in production to the full sandbox.


C.

Before any deployment in production, the same process must be performed in this sandbox.


D.

Perform a Refresh Data in the full sandbox.


Expert Solution
Questions # 28:

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.


Expert Solution
Questions # 29:

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.


Expert Solution
Questions # 30:

Which are two recommended methods of creating test data in Salesforce? Choose 2 answers

Options:

A.

Utilize Heroku Connect to provide test class data.


B.

Reference data from middleware directly within your test class.


C.

Host a mock endpoint to produce sample information from an endpoint.


D.

Load a CSV as a static resource and reference it in a test class.


Expert Solution
Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions