Question 110
A public API is under SQL injection attack and the team proposes allowing only TCP port 443 with an NSG. What is the MOST appropriate correction for the described design problem?
Explanation
Correct Answer
Deploy a supported WAF for HTTP request inspection in front of the API. This choice directly addresses the stated failure because network port restrictions cannot identify malicious HTTP parameters or payload patterns. Verify with this concrete result: A harmless SQL-injection simulation triggers a WAF detection while normal API requests pass. To prevent recurrence: Tune managed rule sets and monitor false positives.
Incorrect Answers
WAF association scope can provide different protections for selected app listeners. Here, network port restrictions cannot identify malicious HTTP parameters or payload patterns.
A managed rule set does not apply to traffic outside its associated Front Door security policy scope. Here, network port restrictions cannot identify malicious HTTP parameters or payload patterns.
WAF policy association and supported rule behavior depend on the hosting delivery service. Here, network port restrictions cannot identify malicious HTTP parameters or payload patterns.