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

Home > Salesforce > Salesforce Developer > Plat-Arch-202

Plat-Arch-202 Platform Development Lifecycle and Deployment Architect Question and Answers

Question # 4

Product owners at Universal Containers want to ensure that all the requirements have test cases associated with them so that no functionality is left untested during user acceptance testing.

What project artifact can help meet the needs of the business?

A.

User acceptance test scripts

B.

Testing strategy

C.

Test execution plan

D.

Requirement traceability matrix

Full Access
Question # 5

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?

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.

Full Access
Question # 6

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?

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.

Full Access
Question # 7

Universal Containers (UC) innovative apps division is releasing an application that can be installed in its trading partners Salesforce environments. The application lets the trading partners book containers from UC directly without leaving their own Salesforce environment.

The partners can then build on top of the application with process builders and triggers so the container booking process can be integrated with the trading partners ' own processes.

What is the recommended mechanism for releasing the application considering the innovative apps division wants to keep the application up to date in various environments?

A.

Change sets

B.

Unmanaged package

C.

Managed package

D.

Zip file deployable by SFDX or ANT

Full Access
Question # 8

Ursa Major Solar (UMS) has used Aura components significantly in its Salesforce application development. UMS has established a robust test framework and the development team follows the Salesforce recommended testing practices. UMS team uses Salesforce ' s test tool To check for common accessibility issues.

In which two environments the UMS team can call Aura accessibility tests? Choose 2 answers

A.

JSTEST

B.

ACCTEST

C.

WebDriver Test

D.

AuraDriver Test

Full Access
Question # 9

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

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.

Full Access
Question # 10

Universal Containers (UC) is an enterprise financial company that operates in EMEA, AMER, and APAC. Because of regulatory requirements, UC has a separate Salesforce org for each region. Each org has its own customizations that fit for the region needs, but there are also standard processes that apply to all region ' s requirements.

As the deployment architect, what should be considered for the multi-org deployment strategy?

A.

Deploy metadata to production orgs using change sets.

B.

Deploy metadata to production orgs using package development model.

C.

Deploy metadata to production orgs using unmanaged packages.

D.

Deploy metadata to production orgs using managed packages.

Full Access
Question # 11

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

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.

Full Access
Question # 12

Salesforce has three major releases a year.

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

A.

New Apex methods

B.

Metadata schema changes

C.

DOM changes

D.

New standard fields

Full Access
Question # 13

Universal Containers (UC) is using Salesforce Performance Edition. They are planning to host weekly training sessions for the next four weeks. Each training will be five days long and a new set of trainees will attend every week. UC wants to train these users on samples of production data and delete all the data generated during the training session at the end of the week.

What optimal option should a technical architect recommend?

A.

Refresh a Developer Pro sandbox every weekend and include an appropriate sandbox template.

B.

Refresh a Partial Copy sandbox every weekend and include an appropriate sandbox template.

C.

Refresh a Partial Copy sandbox every weekend and load data needed using data loader.

D.

Refresh a Developer Pro sandbox every weekend and load data needed using data loader.

Full Access
Question # 14

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

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.

Full Access
Question # 15

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?

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.

Full Access
Question # 16

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

A.

REST API SObject Tree Request

B.

Bulk API 2.0

C.

REST API Composite Request

D.

Streaming API

Full Access
Question # 17

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

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.

Full Access
Question # 18

Universal Containers is a global organization that maintains regional production instances of Salesforce. One region has created a new application to track shipping containers. The CIO has requested that this new application be used globally by all the Salesforce instances and further maintained and modified regionally by local administrators.

Which two deployment tools will support the request? Choose 2 answers

A.

Change Sets

B.

Developer Console

C.

ANT Migration Tool

D.

VS Code with Salesforce Extension

Full Access
Question # 19

Universal Containers has discovered a Servo defect in production. Tens of thousands of records will be created with incorrect data in minutes, producing significant brand damage as a consequence.

The Salesforce administrator has suggested that the defective text field be replaced with a new picklist field directly in production. The page layout will be modified so that the text field is removed and the new picklist field added.

What should the Salesforce architect advise?

A.

Deny the suggestion and explain to everyone that the risk is too high and the next release window is on the weekend

B.

Pair with the administrator, and review each change as it happens

C.

Call the security team and begin organizing a penetration test.

D.

Explain that only developers are certified to make changes directly in production.

Full Access
Question # 20

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

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.

Full Access
Question # 21

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?

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.

Full Access
Question # 22

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?

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.

Full Access
Question # 23

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?

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.

Full Access
Question # 24

Universal Containers (UC) just started configuration and customization of its Salesforce organization. The architect suggested the definition of an application lifecycle management (ALM) process.

What are three benefits of following an ALM process? Choose 3 answers

A.

Avoiding defects from being deployed to production.

B.

Training new users after each minor and major release.

C.

Defining metrics for application development project success.

D.

Releasing new features on a consistent schedule.

E.

Preventing existing working functionality from stopping.

Full Access
Question # 25

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?

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.

Full Access
Question # 26

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?

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.

Full Access
Question # 27

What are three advantages of using the SFDX? Choose 3 answers

A.

Can store code on a local machine, or a version control system.

B.

Can use native Deployment Rollback Tool to quickly revert to prior state.

C.

Can quickly deploy metadata using Execute Anonymous

D.

Can install application metadata from a central repository.

E.

Can create scratch orgs.

Full Access
Question # 28

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

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.

Full Access
Question # 29

Universal Containers (UC) has a large backlog of work. They have noticed that despite their best efforts, valuable enhancements and updates are not being completed because they do not have the bandwidth to get them done. Many of these items are low effort and would not require experienced resources.

What should the architect recommend that will minimize additional costs and allow UC to accomplish more from the backlog?

A.

UC should hire a partner to complete the needed backlog items.

B.

UC should eliminate low-value items from the backlog.

C.

UC should hire additional resources to reduce the backlog.

D.

UC should start a citizen development program.

Full Access
Question # 30

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?

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.

Full Access
Question # 31

Universal Containers (UC) has decided to improve the quality of work by the development teams. As part of the effort, UC has acquired some code review software Licenses to help the developers with code quality.

Which are two recommended practices to follow when conducting secure code reviews? Choose 2 answers

A.

Conduct a review that combines human efforts and automatic checks by the tool to detect all flaws.

B.

Use the code review software as the tool to flag which developer has committed the errors, so the developer can improve.

C.

Generate a code review checklist to ensure consistency between reviews and different reviewers.

D.

Focus on the aggregated reviews to save time and effort, to remove the need to continuously monitor each meaningful change.

Full Access
Question # 32

A team has completed a sprint and intends to deploy these changes after business approval, but they will immediately begin the next sprint.

What strategy should an architect recommend?

A.

The first task of the new sprint must be the deployment approval. After that, the other tasks of the sprint can be performed in the environments and Git.

B.

Migrate the current code to the UAT sandbox. Begin new sprint development in the Dev sandbox. Make fixes in the UAT environment and deploy UAT for production after business approval.

C.

Commit upcoming changes to the features branch without merging into the develop branch. Deploy from the develop branch and then merge new sprint features develop branch.

D.

Using Git, create a release branch from the develop branch. All fixes must be made in the release branch. After deployment, merge release with develop.

Full Access
Question # 33

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?

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.

Full Access
Question # 34

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?

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.

Full Access
Question # 35

Universal Containers (UC) is hiring offshore agile development teams to decrease costs and enhance UC ' s capability of delivering new features to its customers. However, the CTO is not able to follow or measure the work of those teams. What should an architect recommend to increase transparency?

A.

Request the offshore teams to send daily emails to the CTO with the progress of the teams.

B.

Schedule a daily stand-up meeting with representatives of all offshore teams to share the progress of the teams.

C.

Ask the offshore teams to add their progress and status in a shared spreadsheet.

D.

Request the offshore teams to share their work in progress in a virtual Kanban board tool.

Full Access