BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA CAS-005 Exam - Topic 4 Question 11 Discussion

Posted by Alba on Mar 09, 2025 at 10:12 AM

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?

Suggested Answer: C

Comprehensive and Detailed Step-by-Step

Regression testing ensures that new changes do not break existing functionality. It would have identified the memory leak before deployment, preventing downtime.


Get Premium CAS-005 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
FA
Fabiola 12 months ago
Not sure if smoke testing would help in this case.
DE
Denae 1 year ago
Definitely need to do load tests during peak times.
MO
Mozell 1 year ago
Wait, canary testing? That’s a new one for me!
FA
Fausto 1 year ago
I think regression testing would be more effective.
SH
Shannon 1 year ago
Load testing is key to catch those issues!
DE
Denny 1 year ago
Smoke testing seems too basic for this situation; I don't think it would catch something like a memory leak.
PE
Peggy 1 year ago
I feel like canary testing might be useful too, but I can't recall if it directly addresses memory leaks.
GE
Genevieve 1 year ago
I remember practicing regression testing questions, and it seems like that would catch the memory leak after changes are made.
LA
Laura 1 year ago
I think load testing could help identify issues under peak conditions, but I'm not entirely sure if it's the best choice here.
SO
Sonia 1 year ago
Canary testing sounds interesting, but I'm not sure it's the most efficient approach here. Wouldn't that be more for rolling out new features gradually?
LA
Latrice 1 year ago
Regression testing could be a good way to catch this kind of bug, especially if it's a change to an existing module. I'd want to make sure we have a solid regression suite in place.
HI
Hildred 1 year ago
Hmm, I'm a bit confused here. Is smoke testing really the best option to prevent a memory leak issue? I feel like we need something more comprehensive.
TW
Twila 1 year ago
This seems like a tricky one. I'm thinking load testing might be the way to go, since the issue was caused by high utilization. But I'm not totally sure.
LA
Lauran 1 year ago
Canary testing could be really useful here. We can roll out the change to a small subset of servers first to see how it performs.
FR
Frank 1 year ago
Regression testing could be a solid option to ensure no regressions are introduced with the code change. Gotta cover all our bases.
JO
Joesph 1 year ago
Hmm, I'm a bit unsure here. Smoke testing might be a good place to start, but I'm not sure if that would be the most efficient way to prevent this issue.
LA
Lacey 1 year ago
This seems like a tricky one. I'm thinking load testing might be the best approach to catch memory leaks during peak usage.
HU
Hubert 2 years ago
Canary testing could also be useful to gradually roll out changes and monitor for any issues.
WH
Whitley 2 years ago
I believe Regression testing is also important to ensure the fix didn't break anything else.
AU
Audra 2 years ago
I agree with Xuan, Load testing can help identify performance issues.
LA
Laticia 2 years ago
Smoke testing is the way to go. Keep it simple, keep it fast, and keep those servers from crashing again.
LE
Leontine 2 years ago
↳ replying to Laticia
A: Let's make sure to include smoke testing in our regular testing process to prevent this from happening again.
DE
Della 2 years ago
↳ replying to Laticia
A: Let's make sure to include smoke testing in our regular testing process to avoid any future issues with resource allocation.
RO
Rossana 2 years ago
↳ replying to Laticia
B: Agreed, smoke testing is quick and efficient. It's a good way to prevent any memory leaks from causing problems.
AD
Adolph 2 years ago
↳ replying to Laticia
B: Agreed, smoke testing is quick and effective at catching major issues like this.
MI
Mira 2 years ago
↳ replying to Laticia
A: We should definitely do some smoke testing to catch any potential issues before they cause the servers to crash again.
KA
Katina 2 years ago
↳ replying to Laticia
A: We should definitely do some smoke testing to catch any memory leaks before they cause servers to crash.
MA
Margret 2 years ago
Hey, at least it wasn't a Titanic-sized memory leak, am I right? Load testing all the way!
MA
Margarita 2 years ago
Regression testing, for sure. Can't let those previous bugs sneak back in. Gotta keep an eye on the whole system.
GR
Gracia 2 years ago
↳ replying to Margarita
D) Canary
CA
Cary 2 years ago
↳ replying to Margarita
C) Regression
HA
Haydee 2 years ago
↳ replying to Margarita
A) Load
AM
Amira 2 years ago
I'm thinking Canary would be the way to go. Roll out the changes gradually and catch any issues early on.
XU
Xuan 2 years ago
I think the answer is A) Load testing.
YA
Yaeko 2 years ago
Definitely go with load testing. Gotta stress that system and find those pesky memory leaks!
ME
Mertie 2 years ago
↳ replying to Yaeko
B: I agree, we can't afford to have the website crash again during peak utilization. Load testing is key.
MI
Micheline 2 years ago
↳ replying to Yaeko
A: Load testing is definitely the way to go. We need to stress test the system to find those memory leaks.
0/2000 characters

Save Cancel