Courseiva
Process Automation And LogichardMultiple ChoiceObjective-mapped

SALESFORCE-PD1 Process Automation And Logic Practice Question

A developer implements a Batch Apex class that updates millions of records. During the execution of the execute method, a transient database error occurs on a single record. What happens to the batch job by default if Database.executeBatch is called without additional parameters?

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

The entire batch job fails immediately, and no further chunks are processed.

By default, if an unhandled exception occurs in a batch chunk, the entire batch job fails and the error is logged, unless Database.insert is used with allOrNone set or exception handling is implemented.

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 failed record is placed in a retry queue for asynchronous reprocessing.

    Why it's wrong here

    Incorrect. Salesforce does not automatically retry failed batch records unless custom error handling is written.

  • The entire batch job fails immediately, and no further chunks are processed.

    Why this is correct

    Correct. Uncaught exceptions in a batch execution cause the transaction to fail and the entire batch job to be marked as Failed.

  • Only the failed record is rolled back, and the batch continues processing the remaining records.

    Why it's wrong here

    Incorrect. By default, unhandled exceptions in the execute method will cause the entire transaction for that batch chunk to fail.

  • The entire database transaction is rolled back, but the batch continues to the next execute method.

    Why it's wrong here

    Incorrect. A failure in the execute method aborts the batch job execution entirely.

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 →

How Courseiva writes practice questions · Editorial policy

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.