Interview prep
Filter the bank, open any question, or practise the filtered set with answers hidden.
Type
Difficulty
5 questions
- β APEX-Q01Future, Queueable, Batch or Scheduled Apex: when do you use each?Decision by need: callouts and chaining β Queueable; volume β Batch or Cursor + Queueable; timetable β Scheduled; decoupling β Platform Events.Conceptual Intermediate
- APEX-Q05Batch Apex or Apex Cursors with chained Queueables for processing 20 million records?Batch: familiar, stateful, finish step, 5-slot concurrency. Cursor + Queueable: no batch slot, flexible chunks, but quotas and more code.Trade-off Advanced
- β APEX-Q06An integration queueable fails intermittently when ERP times out, and failures go unnoticed. How do you make it robust?Finalizer-based retry with back-off, idempotency, logging and alerting, circuit breaking, and replay.Scenario Advanced
- APEX-Q09How do you test asynchronous Apex and callouts?startTest/stopTest boundaries, mocks, one execute per batch, first job per chain, and asserting outcomes.Design Intermediate
- APEX-Q11You need to create a user and assign permission sets when a contact is approved. The code fails with a mixed DML error. Why, and what do you do?Setup vs non-setup objects in one transaction; isolate with async (Queueable or future); runAs in tests.Scenario Intermediate