73 questions
Async Apex interview questions
Original verified answers. Tag what matters in your dashboard.
- SF-0345 What is asynchronous apex? Concept Easy
- SF-0346 What are different asynchronous features available in Salesforce? Concept Easy
- SF-0347 When to use asynchronous apex? Scenario Medium
- SF-0348 What is a future method? Concept Easy
- SF-0349 Does the future method support all the data types as parameters or arguments? Concept Medium
- SF-0350 Why does the future method not support sObject data types as arguments? Concept Medium
- SF-0351 What if we have the requirement to work with sObjects in the future method? Scenario Medium
- SF-0352 Can we make a callout to external web services using future methods and how to do it? Scenario Medium
- SF-0353 Write a sample code utilizing a future method? Coding Medium
- SF-0354 Can we call a future method from another future method? Scenario Medium
- SF-0355 Can we call future methods from a batch job? Scenario Medium
- SF-0356 Can we call future methods from a Trigger? Scenario Medium
- SF-0357 Given a scenario where we have written a future call in the Opportunity Trigger update operation. And we have a batch job running on opportunity records and updates the records, Does the future call be invoked after the update? Scenario Hard
- SF-0358 How can we avoid the above exception? Scenario Hard
- SF-0359 What if we want to call a future method from a future method, is there any workaround? Scenario Hard
- SF-0360 Can we trace or track the execution of future methods? Scenario Medium
- SF-0361 How to write the test class for a future method? Coding Medium
- SF-0362 What are some limitations of future methods? Concept Medium
- SF-0363 What is a batch apex? Concept Easy
- SF-0364 How to use a batch apex? Scenario Medium
- SF-0365 Why do we implement Database.batchable interface or what happens when we implement Database.batchable interface? Concept Medium
- SF-0366 Can you explain about three methods of batch apex? Concept Medium
- SF-0367 Can you write a sample Batch apex class? Coding Medium
- SF-0368 Explain about Database.Querylocator in batch apex? Concept Medium
- SF-0369 Explain about Iterable in batch apex? Concept Medium
- SF-0370 How to invoke a batch Class? Scenario Medium
- SF-0371 Can we track the progress of the batch job? Scenario Medium
- SF-0372 What is the maximum and minimum size of the optional parameter "scope"? Concept Medium
- SF-0373 What is the batch size if we don't use optional scope parameters? Concept Medium
- SF-0374 Do the batches of records execute in the order they are received from the start method? Scenario Hard
- SF-0375 What is Database.BatchableContext? Concept Medium
- SF-0376 Can we Query related records or child records using Database.QueryLocator? Scenario Medium
- SF-0377 Can we use FOR UPDATE in SOQL using Database.QueryLocator? Scenario Hard
- SF-0378 What is "state" in batch apex? Or What is Database.Stateful? Concept Medium
- SF-0379 Can you give an example of maintaining the state of a batch apex? Scenario Medium
- SF-0380 What will happen if we don't use Database.Stateful? Scenario Medium
- SF-0381 Can you write a sample batch apex with Database.Stateful? Coding Medium
- SF-0382 Can we callouts in batch apex? Scenario Medium
- SF-0383 Given a scenario, we have to process a batch apex with 1000 records with 200 records in each transaction and the last transaction failed while doing the DML operation. What will happen to the processed records? Scenario Hard
- SF-0384 Can we call a future method from a Batch apex? Scenario Medium
- SF-0385 How to stop or abort a Batch job? Scenario Medium
- SF-0386 What is the apex flex queue? Concept Medium
- SF-0387 What is the maximum limit of the apex flex queue? Concept Medium
- SF-0388 What would happen if we added more than 100 jobs like 125 jobs at a time? Scenario Medium
- SF-0389 What will be the status of the job in the apex flex queue? Concept Medium
- SF-0390 Can we change the order of already queued Batch jobs? Scenario Medium
- SF-0391 How can we schedule a batch apex? Scenario Medium
- SF-0392 How can we test a batch apex? Coding Medium
- SF-0393 What is Scheduled Apex? Concept Easy
- SF-0394 When should we use scheduled apex? Scenario Medium
- SF-0395 Which interface should be implemented for schedulable class? Concept Easy
- SF-0396 Is there any mandatory method(s) that must be implemented? Concept Medium
- SF-0397 What is schedulableContext? Concept Medium
- SF-0398 What is CronTrigger? Concept Medium
- SF-0399 How can we schedule the apex class? Scenario Medium
- SF-0400 What is CORN_EXP? Concept Medium
- SF-0401 Can you explain or elaborate all the special characters used in CORN_EXP? Concept Medium
- SF-0402 Can you explain or elaborate all the values used in CORN_EXP? Concept Medium
- SF-0403 Can you write some examples of how to use the expressions or CORN_EXP? Coding Medium
- SF-0404 Which all types of classes or asynchronous processes we can schedule? Concept Medium
- SF-0405 Among Batch apex, Future method and Queueable apex, which one can cause issues if we schedule them? Scenario Hard
- SF-0406 Can you update the class or any classes referenced in a scheduled job? Scenario Hard
- SF-0407 What is the maximum number of jobs that can be scheduled at a given time? Concept Medium
- SF-0408 How to count the number of scheduled jobs? Scenario Medium
- SF-0409 Does scheduled apex support Callout? Scenario Medium
- SF-0410 If callout is not supported in scheduled apex then what is the alternate way to callout from scheduled apex? Scenario Hard
- SF-0411 Can you tell me about some best practices for scheduled apex? Concept Medium
- SF-0412 What is a queueable apex? Concept Easy
- SF-0413 Which interface is implemented for Queueable class? Concept Easy
- SF-0414 Can you write the sample code for a queueable class? Coding Medium
- SF-9277 Batch processing 1000 records in 200-record batches — identify potential DML limit hits Scenario Hard
- SF-9278 Batch with 1000 records (5 batches of 200) — what is the rollback scope when the 5th batch fails? Scenario Hard
- SF-9279 On batch job completion, send an email with success/failure counts to the user Scenario Easy
Track your prep
Open this list in your dashboard.
Star questions, set status, group them — synced across devices.