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.
Option C, Regression testing is designed to catch issues from new code changes like this, so it's most efficient here.
C . Regression testing finds bugs after code changes, like that memory leak. Other options don’t target new issues from recent updates as directly. If anyone sees it differently let me know.
C tbh, had something like this in a mock before. Regression testing is what catches sneaky bugs from code updates, including memory leaks. Not 100% but seems best fit for preventing repeats here.
Definitely C
Its C
So tired of how these questions always try to trip you up with similar-sounding test types. C
Maybe C is the best pick. Regression testing is what finds bugs added by new code, like this memory leak. A (load) would stress the system, but wouldn't always reveal these code issues unless they're hit under specific test cases. Open to other takes if someone thinks load fits better.
Probably C. Regression is aimed at catching bugs caused by recent code changes like this memory leak.
Why is everyone considering A? Memory leak from a code change usually gets caught by regression, not just load. Load testing might help in general but wouldn't target new bugs introduced by tiny updates. Thoughts on that?
Be respectful. No spam.