SALESFORCE-PD1 Process Automation And Logic Practice Question
A developer wrote a batch job that encounters unhandled exceptions on specific records. To ensure that processing of other records continues despite errors in a chunk, what parameter should be configured in the start method or execution?
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
✓
Database.upsert with allOrNone set to false
Using Database.executeBatch with the default scope or handling exceptions within the execute method using try/catch ensures successful records are committed while failed ones can be logged.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Database.allowsCallouts
Why it's wrong here
allowsCallouts is used for making callouts, not error handling.
- ✗
System.abortJob()
Why it's wrong here
abortJob cancels the entire batch job.
- ✓
Database.upsert with allOrNone set to false
Why this is correct
Setting allOrNone to false during DML operations in batch allows partial success and failure logging.
- ✗
Database.rollback()
Why it's wrong here
Rollback completely aborts the transaction, preventing partial commits.
About these practice questions
One of 493 original SALESFORCE-PD1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.