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 SY0-701 Exam - Topic 3 Question 50 Discussion

Posted by Eun on Mar 03, 2026 at 11:25 AM

During a recent log review, an analyst discovers evidence of successful injection attacks. Which of the following will best address this issue?

Suggested Answer: D

Input validation (D)is the most effective way to preventinjection attacks, such asSQL injection, XSS, etc. It ensures that only correctly formatted and expected inputs are processed by the application.

This is clearly identified underDomain 2.3: Application security techniques, whereinput validationis listed as aprimary defense against injection attacks.


Get Premium SY0-701 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
EA
Earlean 3 months ago
True, but without proper input validation, static analysis won't fix the issue.
DE
Deeann 3 months ago
But what about C) Static code analysis? It helps find vulnerabilities too.
JU
Junita 3 months ago
Agreed! Input validation stops injections at the source.
MA
Malissa 3 months ago
I think D) Input validation is the best choice. It prevents bad data.
ER
Erick 3 months ago
Definitely input validation. It’s the first line of defense against injections!
BU
Bulah 4 months ago
I feel like secure cookies are not really related to injection attacks.
CU
Curt 4 months ago
Agreed! Static code analysis helps too, but it’s more about finding issues in the code.
MA
Maynard 4 months ago
I think input validation is key here. It stops bad data from entering.
KA
Katie 4 months ago
True, but if you don't validate input, the code won't matter. Input validation is key!
KI
Kiley 4 months ago
But what about C) Static code analysis? It helps find vulnerabilities in the code before deployment.
AL
Alishia 5 months ago
I agree! Input validation is crucial for stopping injection attacks.
SA
Samira 5 months ago
I think D) Input validation is the best choice. It prevents bad data from entering the system.
MY
Myrtie 5 months ago
Authentication doesn't really address this problem.
WI
Wilda 5 months ago
Secure cookies won't fix injection issues.
GL
Glen 7 months ago
Wait, are we sure input validation is enough?
SH
Shayne 7 months ago
I think static code analysis helps too!
RY
Ryann 7 months ago
Definitely input validation is key here.
ME
Melda 7 months ago
Authentication is not the answer here, just saying.
BE
Berry 7 months ago
Secure cookies won't help with this issue at all.
TA
Tandra 7 months ago
Wait, can input validation really stop all injection attacks?
YE
Yesenia 8 months ago
I think static code analysis is also important though.
ER
Erin 8 months ago
Definitely input validation! That's the key.
FE
Felix 8 months ago
I’m leaning towards input validation too, but I wonder if authentication plays a role in preventing these types of attacks as well.
HE
Helaine 8 months ago
Secure cookies seem relevant, but I don’t see how they would directly address injection attacks.
JO
Johana 8 months ago
I remember a practice question where static code analysis was mentioned, but I feel like it’s more about finding vulnerabilities than preventing them.
RO
Rosenda 8 months ago
I think input validation is the key here, but I’m not entirely sure if it’s the only solution we need.
0/2000 characters

Save Cancel