AZ-305 Question 182
Single answerA manufacturing company hosts several microservices in Azure, each exposing its own REST API. They want to unify these APIs behind a single endpoint, apply consistent security and usage policies, support transformations in requests and responses, and track analytics without rewriting the existing APIs. Which solution should you recommend?
- A
Configure an Azure Load Balancer to distribute requests across all microservices
- B
Implement Azure API Management in front of the microservices
- C
Use Azure Logic Apps to orchestrate HTTP triggers and outputs for each microservice
- D
Deploy Azure Traffic Manager to direct client requests to each microservice
Show answer and explanation
Correct answer: B
Explanation
Azure API Management is designed to act as a front door for multiple backend services, enabling organizations to apply policies (such as rate limiting, authentication, and transformations), enforce consistent security measures, and provide a single endpoint for clients. It also offers extensive analytics to monitor usage. These features align with the company's requirements. For more information, refer to Microsoft's documentation on API Management at https://learn.microsoft.com/azure/api-management.
- A. Incorrect.
Option 1: Configure an Azure Load Balancer, This primarily manages network-level load balancing and does not provide the policy management, transformation, or analytics features required for unified API governance.
- B. Correct.
Option 2: Implement Azure API Management, Correct. Azure API Management offers a single endpoint for multiple APIs, allows you to define and apply policies for security and usage, supports transforming requests and responses, and tracks detailed analytics without code changes in existing APIs.
- C. Incorrect.
Option 3: Use Azure Logic Apps, While Logic Apps can help with orchestration and workflow automation, they are not primarily designed to unify multiple APIs under a single endpoint or apply consistent policies and analytics across all APIs.
- D. Incorrect.
Option 4: Deploy Azure Traffic Manager, This service focuses on global DNS-based load balancing to route requests to different endpoints based on geographical proximity, latency, or other rules. It does not provide the policy enforcement, transformation, or usage analytics needed for a unified API layer.