Salesforce-Platform-Integration-Architect Practice Test
Salesforce Spring 25 Release 106 Questions
Universal Containers has a requirement for all accounts that do NOT qualify for a business extension (Custom field on the account record) for the next month to send a meeting invite to their contacts from the marketing automation system to discuss the next steps. It is estimated there will be approximately 1MilIion contacts per month. What is the recommended solution?
A.
Use Batch Apex
B.
Use Time-based workflow rule
C.
Use Process builder
D.
Use Trigger.
A.
Use Batch Apex
Explanation:
Processing ~1 million records requires an asynchronous, scalable mechanism:
✔ Batch Apex is explicitly designed for large volumes (up to 50 million records) by breaking them into manageable chunks, each with its own governor limits, and running asynchronously on the Apex batch queue.
✔ Time-based workflows and Process Builder are subject to limits on queued actions and are not designed for massive data volumes. They risk queue overflows and unpredictable performance.
✔ Triggers (even @future) are synchronous per transaction context and cannot handle this scale without violating governor limits.
With Batch Apex, you can schedule a monthly job to:
✔ Query Accounts where Business_Extension__c = false and related Contacts.
✔ Iterate through each contact batch, invoke the marketing automation API to create invites.
✔ Handle retries or failures per batch.
This approach is the most robust and maintainable for high-volume, scheduled processing.