Top Salesforce Interview Questions: Governor Limits, Roles, Triggers, Sandboxes, and Security

What are Governor Limits in Salesforce? Explain the concept and why it's important. Ans- Governor Limits in Salesforce are the runtime limits enforced by Salesforce to ensure efficient use of shared resources on its multi-tenant architecture. These limits prevent any single organization (tenant) from monopolizing system resources, ensuring that all customers have reliable and consistent performance. Why Governor Limits Exist: Salesforce operates on a multi-tenant platform, meaning multiple organizations share the same infrastructure. To maintain system performance and stability, Salesforce enforces Governor Limits to control how resources like CPU, memory, and database queries are consumed. Types of Governor Limits: Apex Code Execution Limits : These limits govern the execution of Apex code. SOQL Query Limit : Maximum 100 SOQL queries per transaction (synchronous). Maximum 200 SOQL queries per transaction (asynchronous). DML Statements : Maximum 150 DML statements per transactio...