AP-222 practice question 2 of 10

A Technical Consultant is implementing an experience site for a government agency where they will be accepting grant applications during a specific window of time. The Technical Consultant expects a high volume of interest in this grant offering. What three steps or tools should be leveraged to ensure the solution can support this surge?

Full set: 112 questions
Answer options
A: Implement CDN and waiting rooms Correct answer
B: Set up IP restrictions to control who can access the website and when
C: Identify expensive processes to offload to asynchronous processes. Correct answer
D: Analyze and test the application for the expected load with a load testing tool Correct answer
E: Perform UAT testing to find defects in the code
Correct Answer:
A. Implement CDN and waiting rooms; C. Identify expensive processes to offload to asynchronous processes.; D. Analyze and test the application for the expected load with a load testing tool
Explanation

To manage a high-volume surge for a grant application portal, a multi-layered approach is essential. Implementing a Content Delivery Network (CDN) and waiting rooms (A) manages the initial traffic influx and user experience. Offloading computationally intensive operations to asynchronous processes (C), such as Apex Batch or Queueable jobs, prevents synchronous transaction limits from being exceeded and keeps the user interface responsive. Finally, conducting thorough load testing (D) is critical to validate that the entire architecture—including code, configuration, and infrastructure—can withstand the anticipated peak user load and identify potential bottlenecks before the launch window opens.

Why Incorrect

B. IP restrictions are an access control mechanism to limit who can access the site, not a tool to manage a high volume of legitimate traffic.
E. User Acceptance Testing (UAT) focuses on functional correctness and business process validation from an end-user perspective, not on performance under high load.

References

1. Salesforce Architects. (n.d.). Architect's Guide to Building Forms on Experience Cloud. Salesforce. Retrieved from https://architect.salesforce.com/design/decision-guides/forms-experience-cloud. See section: "Scale and Performance Considerations".

2. Salesforce Help. (n.d.). Asynchronous Processing in Apex. Retrieved from https://help.salesforce.com/s/articleView?id=sf.codeapexasynch.htm&type=5. See section: "When to Use Asynchronous Apex".

3. Salesforce Developers. (n.d.). Best Practices for Improving Visualforce Performance. Retrieved from https://developer.salesforce.com/docs/atlas.en-us.salesforcevisualforcebestpractices.meta/salesforcevisualforcebestpractices/visualforcebestpracticesloadtesting.htm. See section: "Load Testing Your Applications".

4. Salesforce Help. (n.d.). Experience Cloud Sites with Salesforce CDN. Retrieved from https://help.salesforce.com/s/articleView?id=sf.networkscdnoverview.htm&type=5.

Scroll to Top