Skip to Content

AZ-700: How to Block Traffic Based on User Agent for Specific Paths in Azure WAF?

Learn how to configure a per-URI policy in Azure Web Application Firewall (WAF) to block traffic based on user agent for specific paths like /media/* in this AZ-700 exam preparation guide. Master key concepts to ace the Designing and Implementing Microsoft Azure Networking Solutions certification!

Table of Contents

Question

You have an Azure subscription that contains a Web Application Firewall (WAF) named WAF1. WAF1 protects a web app.
You need to block traffic from any user agent that does not contain “Edg” for only the /media/* path.
What should you configure?

A. bot protection rule set
B. global WAF policy
C. per-site WAF policy
D. per-URI policy

Answer

D. per-URI policy

Explanation

The preference order is global -> per-site -> per-URI. So, by setting this rule at the per-URI level, it will not affect any other site.

Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.