Microsoft Azure Security Engineer Associate AZ-500 Practice Question
An Azure Application Gateway v2 is running WAF in Prevention mode with the default OWASP CRS 3.2 rule set. Legitimate requests to /api/orders are blocked by managed rule 942100. You must allow requests whose URI path starts with /api/ while keeping rule 942100 active for the rest of the site. What should you configure?
Disable managed rule 942100 in the policy.
Add a high-priority custom rule with the Allow action that matches RequestUriPath that starts with /api/*.
Create a path-based routing rule that sends /api/* traffic to a backend pool outside the WAF.
Change the WAF policy to Detection mode and leave the rules unchanged.
Create a custom WAF policy that includes a high-priority custom rule with the Allow action. Configure the rule to match requests when the RequestUriPath begins with /api/*. Because Allow rules short-circuit evaluation, these API requests bypass the managed rule set, so rule 942100 still protects all other paths. Switching the WAF to Detection mode would stop blocking traffic everywhere, disabling the rule globally would remove protection from the whole site, and path-based routing or separate listeners cannot bypass WAF inspection without a dedicated policy.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the OWASP CRS 3.2 rule set do?
Open an interactive chat with Bash
What is a custom WAF rule and how does it work?
Open an interactive chat with Bash
Why is Prevention mode different from Detection mode in WAF?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure networking
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .