Interview Question
Why should trigger logic be bulkified?
Direct Answer
Trigger logic should be bulkified because a trigger can run for many records in one transaction, and the code must handle that safely.
Detailed Explanation
A strong answer explains collection-based processing, consolidated queries, and batched DML as core patterns. It may also mention that bulkification is not only about avoiding errors but about supporting data operations and integrations reliably.
Why the Interviewer Asks This
The interviewer wants evidence that you can write production-safe code.
Weak Answer Warning
A weak answer says bulkification is only important for large data loads.
Stronger Answer Direction
Show that every trigger must assume multi-record execution.
Follow-up Question
What are two common signs that a trigger is not bulk safe?