Question 1
IntermediateDeveloper Fundamentals · Multi-Tenant Architecture and Design Frameworks
Universal Containers utilizes a strict multi-tenant environment. A developer is designing a complex Apex process that processes thousands of Opportunity records nightly. To ensure the logic does not monopolize shared resources and violate governor limits, which architectural pattern should be prioritized?
Answer and explanation
Correct answer: A
In a multi-tenant architecture, long-running processes on large data volumes must be broken down to avoid hitting CPU and heap limits. The Batchable interface allows the system to process records in chunks (batches), where each batch gets a fresh set of governor limits, ensuring fair resource usage.
