Learn how Azure Front Door processes requests with multiple rules in this detailed AZ-700 exam scenario. Understand why a request to app1.contoso.com/media/users/user1.jpg matches Rule2 only.
Table of Contents
Question
You have an Azure subscription that contains an Azure Front Door instance named FD1. FD1 has the following rules:
Rule1:
Host: app1.contoso.com
Path: /*
Rule2:
Host: app1.contoso.com
Path: /media/*
A user makes a request to URL http://app1.contoso.com/media/users/user1.jpg.
How does FD1 process the request?
A. matches to Rule1 only
B. matches to Rule1 and Rule2
C. matches to Rule2 only
D. returns a 400 Bad Request
Answer
C. matches to Rule2 only
Explanation
Frontend host matching occurs first, since it looks at the hostname. So, in this case, both rules match.
The second step is path matching, which would only be Rule2. If none matched, a 400 Bad Request is sent returned to the requester.
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.