nerdexam
Salesforce

PDI · Question #219

A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing. What is the first step towards troubleshooting the issue?

The correct answer is A. Check the asynchronous job monitoring page to view the job status and logs. The initial troubleshooting step for a timing out batch Apex job is to check the asynchronous job monitoring page to review its status and any associated logs for insights into the failure.

Submitted by priya_blr· Apr 18, 2026Logic and Process Automation

Question

A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing. What is the first step towards troubleshooting the issue?

Options

  • ACheck the asynchronous job monitoring page to view the job status and logs.
  • BCheck the debug logs for the batch job.
  • CDecrease the batch size to reduce the load on the system.
  • DDisable the batch job and recreate it with a smaller number of records.

How the community answered

(13 responses)
  • A
    92% (12)
  • D
    8% (1)

Why each option

The initial troubleshooting step for a timing out batch Apex job is to check the asynchronous job monitoring page to review its status and any associated logs for insights into the failure.

ACheck the asynchronous job monitoring page to view the job status and logs.Correct

The Asynchronous Apex Jobs page (or Apex Jobs in Setup) provides a centralized location to monitor the status, progress, and error messages for all asynchronous jobs, including Batch Apex, making it the primary and first place to look for information about why a job failed or timed out.

BCheck the debug logs for the batch job.

While debug logs are useful, they might not capture the full context of a timeout error across an entire batch job, and checking the job status page first often reveals a more direct cause or high-level error message without needing to sift through extensive logs.

CDecrease the batch size to reduce the load on the system.

Decreasing the batch size is a potential solution for a timeout, but it's a corrective action, not the *first* troubleshooting step; you need to understand *why* it's timing out before implementing a solution.

DDisable the batch job and recreate it with a smaller number of records.

Disabling and recreating the job with a smaller number of records is a drastic measure and a potential solution, but it's not the initial troubleshooting step; you should first diagnose the problem before attempting to redesign or re-run the job.

Concept tested: Batch Apex job monitoring and troubleshooting

Source: https://help.salesforce.com/s/articleView?id=sf.monitoring_apex_jobs.htm&type=5

Topics

#Batch Apex#Asynchronous Apex#Job Monitoring#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PDI Practice