exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 63 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 63
Topic #: 1
[All Certified Platform Developer II Questions]

A developer gets an error saying 'Maximum Trigger Depth Exceeded'.
What is a possible reason to get this error message?

  • A. The SOQL governor limits are being hit.
  • B. A process Builder is running that sends mass emails.
  • C. There are numerous DML operations in the trigger logic.
  • D. A trigger is recursively invoked more than 16 times.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BrainMelt12
1 month, 3 weeks ago
Selected Answer: D
The "Maximum Trigger Depth Exceeded" error occurs when a trigger keeps calling itself in a recursive loop more than 16 times, which is Salesforce’s limit. This typically happens when a trigger performs DML operations (like insert, update, or delete) that cause it to fire again, leading to an infinite loop or excessive recursion.
upvoted 1 times
...
karappo
8 months, 3 weeks ago
Check trigger governor limit per transactions https://help.salesforce.com/s/articleView?id=000386331&type=1
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago