Queueable Batchable Apex in Interview Questions 1729324642
Queueable Batchable Apex in Interview Questions 1729324642
What is Queueable Apex, and how does it differ from @future methods?
How do you enqueue a Queueable Apex job, and what are the limits?
N.Veera Raghavamma
Can Queueable Apex be scheduled?
■ You can monitor jobs in the Salesforce UI under Setup > Apex Jobs.
■ The Job ID is returned when a job is enqueued, which can be tracked
programmatically.
N.Veera Raghavamma
What are the governor limits for Batchable Apex?
■ Batchable Apex can process 200 records per batch by default, but you
can specify a batch size (up to 2,000 records per batch).
■ Each batch operates in its own transaction, meaning governor limits are
reset for each batch.
■ There can be up to 5 concurrent batches running.
■ You can monitor batch jobs in the Salesforce UI under Setup >
Apex Jobs.
■ Each batch is logged separately with its own status, and you can
view details like the number of processed batches.
N.Veera Raghavamma
What happens if a batch fails?
What are the key differences between Queueable Apex and Batchable Apex?
N.Veera Raghavamma
What limits do you need to consider when using asynchronous Apex?
N.Veera Raghavamma