ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 323 - SY0-701 discussion

Report
Export

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

A.
<script>alert ('Warning!') ,-</script>
Answers
A.
<script>alert ('Warning!') ,-</script>
B.
nmap - 10.11.1.130
Answers
B.
nmap - 10.11.1.130
C.
Email message: 'Click this link to get your free gift card.'
Answers
C.
Email message: 'Click this link to get your free gift card.'
D.
Browser message: 'Your connection is not private.'
Answers
D.
Browser message: 'Your connection is not private.'
Suggested answer: A

Explanation:

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

asked 02/10/2024
Ramon Lim
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first