CompTIA SecurityX (CAS-005) — Question 120

A developer makes a small change to a resource allocation module on a popular social media website and causes a memory leak. During a peak utilization period, several web servers crash, causing the website to go offline. Which of the following testing techniques is the most efficient way to prevent this from reoccurring?

Answer options

Correct answer: A

Explanation

Load testing is essential to simulate high traffic conditions and identify performance issues like memory leaks before they affect users. Smoke testing is a preliminary check, regression testing focuses on ensuring existing functionality remains intact after changes, and canary testing is a deployment strategy rather than a performance test, making them less effective for this specific situation.