nerdexam
CompTIA

SY0-301 · Question #297

Which of the following devices is BEST suited to protect an HTTP-based application that is susceptible to injection attacks?

The correct answer is D. Layer 7 firewall. A Layer 7 firewall, also called a Web Application Firewall, is best suited for protecting HTTP applications from injection attacks because it inspects traffic at the application layer.

Security architecture

Question

Which of the following devices is BEST suited to protect an HTTP-based application that is susceptible to injection attacks?

Options

  • AProtocol filter
  • BLoad balancer
  • CNIDS
  • DLayer 7 firewall

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    11% (4)
  • C
    3% (1)
  • D
    81% (29)

Why each option

A Layer 7 firewall, also called a Web Application Firewall, is best suited for protecting HTTP applications from injection attacks because it inspects traffic at the application layer.

AProtocol filter

A protocol filter examines traffic at lower OSI layers based on protocol type and port numbers and cannot parse or inspect HTTP payload content for injection patterns.

BLoad balancer

A load balancer distributes incoming traffic across multiple servers to improve availability and performance but does not perform application-layer security inspection.

CNIDS

A Network Intrusion Detection System passively monitors and alerts on suspicious traffic patterns but does not actively block or filter malicious HTTP requests in real time.

DLayer 7 firewallCorrect

A Layer 7 firewall operates at the application layer of the OSI model and can deeply inspect HTTP request and response content - including query strings, headers, and body data - to detect and block injection attacks such as SQL injection and cross-site scripting that exploit web application logic.

Concept tested: Web Application Firewall for injection attack protection

Source: https://owasp.org/www-community/Web_Application_Firewall

Topics

#WAF#Layer 7 firewall#injection attack mitigation#application security

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice