Q: 3
[Security Architecture]
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?
Options
Discussion
Option C fits best. Regression testing specifically checks if new code changes break existing things, like memory handling. The memory leak could’ve been caught with good regression tests. Pretty sure that's what they're looking for here, but open to other thoughts.
C, Nice straightforward scenario, regression is the go-to here from what I remember reading in similar exam questions.
C vs A. Even though load testing can reveal some issues under heavy usage, it doesn't specifically catch bugs introduced by code changes like regression testing does. Regression tests are designed to flag problems like memory leaks after updates. So I think C is more efficient for preventing this exact scenario, unless I'm missing something.
Its C, regression. Had something like this pop up in a mock and it was definitely about catching bugs from recent changes, like memory leaks. Load or smoke testing won’t cover that specific module issue as directly.
Be respectful. No spam.