Microsoft Certified: Azure Fundamentals (AZ-900) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Certified: Azure Fundamentals (AZ-900) Practice Exam with our comprehensive quiz. Study with flashcards, multiple choice questions, and detailed explanations to ace your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


In which two situations would using an Application Gateway be necessary?

  1. A web application program interface (API) that must be load-balanced across three instances

  2. A web application that must access an on-premises service through Azure

  3. A web application that uses path-based routing for images and videos

  4. A web application program interface (API) that must be located near the user calling it to reduce latency

The correct answer is: A web application program interface (API) that must be load-balanced across three instances

Using an Application Gateway is vital in scenarios where specific routing and load-balancing functionalities are required to effectively manage web traffic and optimize performance. One situation where an Application Gateway would be necessary is when a web application needs path-based routing for different types of content, such as images and videos. This feature allows the Application Gateway to direct requests to different back-end servers depending on the URL path, enhancing the efficiency and performance of the web application. It manages incoming traffic intelligently, ensuring that users receive the optimal resources tailored to their requests, improving both user experience and resource utilization. In addition to path-based routing, another common scenario would involve load balancing for a web application program interface (API) that must effectively distribute incoming requests across multiple instances to ensure high availability and reliability of the service. The Application Gateway can balance the load among three instances of the API, thus preventing any single instance from becoming a bottleneck and ensuring that the application remains responsive to user requests, even during peak usage. These functionalities highlight the importance of the Application Gateway in managing web traffic and resource allocation intelligently, making it a crucial tool in specific web application scenarios.