You have a web application running on Azure VMs behind an Azure Application Gateway. You need to protect the application from SQL injection and cross-site scripting (XSS) attacks. Which feature of Application Gateway provides this?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Enable the Web Application Firewall (WAF) on Application Gateway with OWASP ruleset

The Web Application Firewall (WAF) on Azure Application Gateway uses OWASP Core Rule Sets (CRS) to inspect HTTP/HTTPS traffic and block common web exploits including SQL injection,...

๐Ÿ“‹Part of Microsoft Certified: Azure Security Engineer Associate (AZ-500) ยท Azure Certification Practice
Real Exam ScenarioNetwork Security

You have a web application running on Azure VMs behind an Azure Application Gateway. You need to protect the application from SQL injection and cross-site scripting (XSS) attacks. Which feature of Application Gateway provides this?

โœ“ Correct Answer & ExplanationNetwork Security

Correct Answer

Enable the Web Application Firewall (WAF) on Application Gateway with OWASP ruleset

Why This Answer Is Correct

The Web Application Firewall (WAF) on Azure Application Gateway uses OWASP Core Rule Sets (CRS) to inspect HTTP/HTTPS traffic and block common web exploits including SQL injection, XSS, and other OWASP Top 10 threats. DDoS Protection defends against volumetric attacks at the network layer, not application-layer exploits.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Network Security โ€” a core concept tested in Microsoft Certified: Azure Security Engineer Associate (AZ-500). Understanding Network Security is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.