CompTIA Security+ (SY0-501) — Question 580

Which of the following is the BEST use of a WAF?

Answer options

Correct answer: A

Explanation

The correct answer is A because a Web Application Firewall (WAF) is specifically designed to safeguard publicly accessible web servers from attacks such as SQL injection and cross-site scripting. Options B and C do not align with the primary purpose of a WAF, which focuses on external threats, while D is too broad and not the main function of a WAF.