DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-ARCHITECT practice question 17 of 30

Why does Salesforce prohibit Stress Testing against Production?

Full set: 227 questions
Answer options
A: There is not enough CPU
B: It is a shared environment Correct answer
C: It is blocked by data center infrastructure
D: It causes Internet congestion
Correct Answer:
B. It is a shared environment
Explanation

Salesforce operates on a multi-tenant architecture, where multiple customers (tenants) share the same computing resources, including application servers, databases, and network infrastructure. Stress testing generates extreme loads that can consume a disproportionate amount of these shared resources. This can severely degrade performance and availability for all other tenants on the same instance. To ensure stability and fair resource allocation for all customers, Salesforce prohibits performance and stress testing in production environments and requires such tests to be conducted in isolated sandbox environments.

Why Incorrect

A. The issue is not an absolute lack of CPU but the fair allocation of shared CPU resources among all tenants on an instance.
C. The infrastructure does not inherently block testing; it is a strict policy to protect the health of the shared platform for all customers.
D. The performance bottleneck and impact would be on the Salesforce application and database servers, not the broader public internet.

References

1. Salesforce. Architect's Guide to Performance Testing on the Salesforce Platform. This official guide explicitly states, "Performance and load tests are not permitted on the production environment... because Salesforce is a multi-tenant environment." It details the risks to other customers and the proper procedure for testing in sandboxes.

2. Salesforce Developers Documentation. How to Write Good Code. "Execution Governors and Limits". This page explains that governor limits exist to "ensure that runaway code from one tenant doesn’t monopolize resources for other tenants" on the shared platform, which is the core principle behind the stress testing prohibition.

3. Salesforce Trust. Salesforce Security, Privacy, and Architecture. "Our Multitenant Architecture". This document describes how the shared infrastructure works and the safeguards in place to protect tenants from each other, which includes policies like the prohibition on stress testing production.

Scroll to Top