Salesforce Certified Platform Development Lifecycle and Deployment Architect (Plat-Arch-202) Development-Lifecycle-and-Deployment-Architect Question # 7 Topic 1 Discussion

Salesforce Certified Platform Development Lifecycle and Deployment Architect (Plat-Arch-202) Development-Lifecycle-and-Deployment-Architect Question # 7 Topic 1 Discussion

Development-Lifecycle-and-Deployment-Architect Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

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


Get Premium Development-Lifecycle-and-Deployment-Architect Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.