Which aspect of Apex programming is limited due to multitenancy?
A. The number of active Apex classes
B. The number of methods in an Apex Class
C. The number of records processed in a loop
D. The number of records returned from database queries
D. The number of records returned from database queries
Explanation:
Salesforce operates in a multitenant architecture, meaning multiple organizations share the same infrastructure. To ensure fair resource distribution and prevent individual tenants from monopolizing system resources, Salesforce imposes governor limits, including constraints on database queries.
Governor Limit on SOQL Queries:
Apex allows a maximum of 50,000 records to be retrieved per transaction.
If a query exceeds this limit, it throws an exception, preventing excessive database resource consumption.