ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 208 - Certified Development Lifecycle and Deployment Architect discussion

Report
Export

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
Answers
A.
Create test data in production before deploying the test classes
B.
Set SeeAllData to True to use the data in production.
Answers
B.
Set SeeAllData to True to use the data in production.
C.
Explicitly set SeeAllData to True and generate data in test methods.
Answers
C.
Explicitly set SeeAllData to True and generate data in test methods.
D.
Do not use SeeAllData and generate data in the test methods
Answers
D.
Do not use SeeAllData and generate data in the test methods
Suggested answer: D
asked 23/09/2024
Matteo Di Pomponio
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first