exam questions

Exam SY0-701 All Questions

View all questions & answers for the SY0-701 exam

Exam SY0-701 topic 1 question 8 discussion

Actual exam question from CompTIA's SY0-701
Question #: 8
Topic #: 1
[All SY0-701 Questions]

An organization’s internet-facing website was compromised when an attacker exploited a buffer overflow. Which of the following should the organization deploy to best protect against similar attacks in the future?

  • A. NGFW
  • B. WAF
  • C. TLS
  • D. SD-WAN
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CookieChip
Highly Voted 1 year, 2 months ago
B is the correct one B. WAF (Web Application Firewall) A. NGFW (Next-Generation Firewall) C. TLS (Transport Layer Security) D. SD-WAN (Software-Defined Wide Area Network)
upvoted 20 times
AaronR2000
5 months, 4 weeks ago
A lot of the questions test your knowledge of the acronyms. Spelling it out like this helps!
upvoted 7 times
...
...
Mehsotopes
Highly Voted 1 year, 2 months ago
Selected Answer: B
A Web Application Firewall (WAF) is for ensuring the security of an HTTP application like WordPress, or Magneto against threats like SQL injection, or XSS.
upvoted 18 times
...
Kevhack787
Most Recent 2 weeks, 6 days ago
Selected Answer: C
A buffer overflow is an attack that exploits poor input handling in applications, allowing attackers to run malicious code or crash systems. A WAF helps protect against application-layer attacks like: Buffer overflows SQL injection Cross-site scripting (XSS)
upvoted 1 times
...
learnin25
3 weeks, 3 days ago
Selected Answer: D
SD-WAN
upvoted 1 times
...
Wagone
3 weeks, 6 days ago
Selected Answer: B
The correct answer is: B. WAF (Web Application Firewall) Explanation: A Web Application Firewall (WAF) is specifically designed to protect web applications by filtering and monitoring HTTP/HTTPS traffic between a web application and the Internet. It can: Detect and block common web exploits, including buffer overflows, SQL injection, cross-site scripting (XSS), etc. Help defend against application-layer attacks, like the one described in your scenario. Why not the others? A. NGFW (Next-Generation Firewall) While NGFWs provide deep packet inspection and application awareness, they are network-level defenses and not as tailored for protecting web applications from specific exploits like buffer overflows. C. TLS (Transport Layer Security) TLS encrypts data in transit but does not protect against buffer overflows or application-layer exploits. D. SD-WAN (Software-Defined Wide Area Network) SD-WAN is focused on network connectivity and performance, not application security or vulnerability mitigation.
upvoted 2 times
...
JackExam2025
5 months, 1 week ago
Selected Answer: B
WAF is the best solution for preventing application-specific attacks like buffer overflows
upvoted 3 times
...
Hasss
5 months, 3 weeks ago
Selected Answer: B
web APP fireeall
upvoted 2 times
...
AlternateEgo
7 months ago
Selected Answer: B
I can see why the "correct" answer is WAF, but the question is silly. Why use your WAF to try to block buffer overflow attacks? Why not have the application developers add or fix input validation on the web forms, which is what's really needed. How would you know what bit-length to restrict inputs to for your WAF rule without consulting the developers? And if you are consulting the developers about this, just have then fix it at the source. I'm all for defense in depth, but it doesn't seem realistic to try to block this at the WAF or NGFW.
upvoted 3 times
...
Fatneck
8 months ago
Selected Answer: B
The answer is B and not A because it says "internet-facing website was compromised." That is specifically what WAF's are designed for. Next-Gen's operate at Layer 7 and provide application-level inspection but are designed for network level protection across services.
upvoted 5 times
...
viktorrdlyi
8 months ago
Selected Answer: A
NGFW is much more effective then WAF.
upvoted 1 times
...
braveheart22
9 months, 1 week ago
Selected Answer: A
NGFW is the correct answer. When it comes to defending against buffer overflow attacks, a Next-Generation Firewall (NGFW) is generally more effective than a Web Application Firewall (WAF). Here's why: NGFW Capabilities: NGFWs provide deep packet inspection, advanced threat detection, and the ability to identify and block malicious traffic based on patterns and behaviors. They can also enforce security policies at the network level, which helps prevent exploitation attempts before they reach the application. WAF Limitations: While WAFs are designed to protect web applications by filtering and monitoring HTTP traffic, they primarily focus on application-layer attacks like SQL injection and cross-site scripting (XSS). Buffer overflow attacks, which often target vulnerabilities in software rather than web applications, may not be as effectively mitigated by a WAF.
upvoted 4 times
...
JoeShmo
9 months, 2 weeks ago
Selected Answer: A
A NGFW would better protect against buffer overflow attacks thanks to deep packet inspection and IDS/IPS. A WAF would protect better against SQL injections and XSS.
upvoted 2 times
...
Markeze
10 months, 2 weeks ago
Selected Answer: A
cuz its a web application fire, and it's main purpose is to protect web applications from external threats
upvoted 1 times
Markeze
10 months, 2 weeks ago
sorry, was meant to select option b
upvoted 2 times
...
...
dbrowndiver
1 year ago
Selected Answer: B
A WAF inspects incoming and outgoing web traffic to detect and block malicious payloads that may exploit application vulnerabilities, such as buffer overflows.
upvoted 4 times
...
shady23
1 year, 2 months ago
Selected Answer: B
b.WAF Web Application Firewall
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...