You deploy Azure Front Door (Standard/Premium) in front of two multi-region web workloads: /api and /web. Requirements: route /api/* to Origin Group A and /web/* to Origin Group B; each origin exposes a health endpoint at /healthz returning HTTP 200; apply a WAF policy with a custom rule that blocks specific user-agents only for requests to /api. Which two configurations should you implement? Choose two.
Choose an answer
Tap an option to check your answer.
Correct answer: Create two routes: one matching /api/* to Origin Group A and one matching /web/* to Origin Group B; associate a WAF policy with the /api route that includes the custom block rule., Set the health probe path to “/healthz” on each origin group and require HTTP 200 for healthy status..
Why this is the answer
Creating two routes, one for /api/ to Origin Group A and another for /web/ to Origin Group B, directly addresses the requirement to route traffic based on URL paths to specific origin groups. Associating the WAF policy with the custom block rule specifically to the /api route ensures the user-agent blocking is applied only where needed, fulfilling that requirement. Setting the health probe path to /healthz and requiring HTTP 200 accurately reflects the origins' health endpoint, ensuring Azure Front Door correctly monitors their availability. Configuring a single origin group with weighted load balancing would not separate traffic for /api and /web. Using the default health probe path “/” would likely fail, as the origins expose /healthz. Attaching the WAF policy at the Front Door endpoint and relying on global exclusions for /web is less efficient and more complex than applying the policy directly to the /api route.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed