Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam SY0-701 Topic 5 Question 26 Discussion

Actual exam question for CompTIA's SY0-701 exam
Question #: 26
Topic #: 5
[All SY0-701 Questions]

Which of the following examples would be best mitigated by input sanitization?

Show Suggested Answer Hide Answer
Suggested Answer: A

This example of a script injection attack would be best mitigated by input sanitization. Input sanitization involves cleaning or filtering user inputs to ensure that they do not contain harmful data, such as malicious scripts. This prevents attackers from executing script-based attacks (e.g., Cross-Site Scripting or XSS).

Nmap command is unrelated to input sanitization, as it is a network scanning tool.

Email phishing attempts require different mitigations, such as user training.

Browser warnings about insecure connections involve encryption protocols, not input validation


Contribute your Thoughts:

Janine
2 months ago
D seems more like a TLS/SSL configuration problem, not an input sanitization issue. I'm voting for C.
upvoted 0 times
Helaine
1 months ago
B doesn't seem like it needs input sanitization, it's more about network scanning.
upvoted 0 times
...
Iola
1 months ago
I think A is a dangerous example that needs to be mitigated with input sanitization.
upvoted 0 times
...
Apolonia
1 months ago
I agree, C is definitely a good example for input sanitization.
upvoted 0 times
...
...
Kenneth
2 months ago
B is just a standard network scanning tool, not really a security issue. I'd go with C on this one.
upvoted 0 times
Rhea
2 months ago
C) Email message: \'Click this link to get your free gift card.\'
upvoted 0 times
...
...
Ellsworth
2 months ago
I think option A could also benefit from input sanitization, as it can prevent cross-site scripting attacks.
upvoted 0 times
...
Kristin
2 months ago
Haha, looks like someone's trying to hack the exam questions! But seriously, A is the obvious choice.
upvoted 0 times
...
Jennie
2 months ago
Option A looks like a clear case of cross-site scripting (XSS) vulnerability. Input sanitization would definitely help mitigate that.
upvoted 0 times
Layla
1 months ago
Input sanitization would help prevent that kind of phishing attack.
upvoted 0 times
...
Malika
1 months ago
C) Email message: Click this link to get your free gift card.
upvoted 0 times
...
Patti
2 months ago
That looks like a cross-site scripting vulnerability.
upvoted 0 times
...
Chauncey
2 months ago
A)
upvoted 0 times
...
...
Venita
2 months ago
C is the clear winner here. Unsanitized email links can lead to phishing attacks. Input sanitization is crucial for that.
upvoted 0 times
...
Bettyann
3 months ago
B seems pretty harmless to me, but A is the clear choice. Gotta keep those script kiddies at bay!
upvoted 0 times
Fletcher
1 months ago
Definitely, can't be too careful with security.
upvoted 0 times
...
Jamika
1 months ago
Agreed, we need to protect against malicious scripts.
upvoted 0 times
...
Dortha
2 months ago
A is definitely the best choice for input sanitization.
upvoted 0 times
...
Carmen
2 months ago
D) Browser message: \'Your connection is not private.\'
upvoted 0 times
...
Rory
2 months ago
C) Email message: \'Click this link to get your free gift card.\'
upvoted 0 times
...
Tyra
2 months ago
B) nmap - 10.11.1.130
upvoted 0 times
...
Michael
2 months ago
A)
upvoted 0 times
...
...
Troy
3 months ago
I agree with Nan, because input sanitization can help prevent malicious code in email messages.
upvoted 0 times
...
Elina
3 months ago
I say C. Those phishing emails are the worst, gotta watch out for that stuff.
upvoted 0 times
Tasia
1 months ago
I say C. Those phishing emails are the worst, gotta watch out for that stuff.
upvoted 0 times
...
Detra
2 months ago
D) Browser message: \'Your connection is not private.\'
upvoted 0 times
...
Wendell
2 months ago
C) Email message: \'Click this link to get your free gift card.\'
upvoted 0 times
...
Verda
2 months ago
B) nmap - 10.11.1.130
upvoted 0 times
...
Silva
2 months ago
A)
upvoted 0 times
...
...
Noemi
3 months ago
Definitely option A! That script tag is just begging to be sanitized.
upvoted 0 times
Paulina
3 months ago
A)
upvoted 0 times
...
...
Nan
3 months ago
I think the best example for input sanitization would be option C.
upvoted 0 times
...

Save Cancel