SALESFORCE-PD1 Process Automation And Logic Practice Question
In an after insert trigger on the Account object, a developer attempts to modify a field on Trigger.new[0] and performs an update DML statement. What happens?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A System.SObjectException is thrown because Trigger records are read-only in after triggers.
Modifying Trigger.new records in an after trigger and running DML causes a read-only exception or recursive trigger loop.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The transaction is rolled back due to governor limits.
Why it's wrong here
It throws an sObject exception rather than a governor limit exception.
- ✓
A System.SObjectException is thrown because Trigger records are read-only in after triggers.
Why this is correct
Trigger records in after triggers cannot be modified directly without re-querying or instantiating a new sObject instance for DML.
- ✗
The trigger fires infinitely without stopping.
Why it's wrong here
Salesforce stops recursion after a specific depth limit, but here an sObject exception occurs first.
- ✗
The record updates successfully without issues.
Why it's wrong here
After trigger records are read-only and DML on them causes recursion or errors.
About these practice questions
This SALESFORCE-PD1 question is part of Courseiva's 493-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Salesforce exam blueprint
This SALESFORCE-PD1 practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SALESFORCE-PD1 exam.