ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - Certified Platform Developer II discussion

Report
Export

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep.

Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?

A.
Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage.
Answers
A.
Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage.
B.
Turn off all Workflow Rules, then turn them on one at time to see which one causes the error.
Answers
B.
Turn off all Workflow Rules, then turn them on one at time to see which one causes the error.
C.
add system.debug() statements to the code and use the Developer Console logs to trace the code.
Answers
C.
add system.debug() statements to the code and use the Developer Console logs to trace the code.
D.
Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions.
Answers
D.
Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions.
Suggested answer: C
asked 23/09/2024
Baheilu Tekelu
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first