AZ-305 ยท Application architecture design
Azure API Management: tiers, policies and network modes
Azure API Management tiers, policies (rate limiting, transformation, auth), products and subscriptions, self-hosted gateway, internal vs external VNet mode.
Key points
- API Management gateway policies: rate limits, quotas, JWT validation, transformation (JSON to XML), caching.
- Products: subscribe, call with a subscription key.
- Consumption: serverless, no developer portal; Developer: no SLA.
- VNet injection: Developer, Premium, Premium v2; internal mode: VNet only; Standard v2 reaches VNet backends without injection.
- Classic Premium only: multi-region; self-hosted gateway: Developer, Premium.
Source: https://learn.microsoft.com/en-us/azure/api-management/api-management-features
Practice questions
In API Management, what do API consumers subscribe to in order to get a key that grants access to a bundle of APIs?
- A policy
- A product
- A named value
- A backend
Show answer
Answer: B. A product
A product groups one or more APIs with terms of use; subscribing to it issues the subscription key the caller sends. A policy defines gateway behavior, a named value stores configuration, and a backend describes the target service.
Which tasks can an API Management policy perform on the gateway without changing the backend code?
- Limit each subscription to a set number of calls per minute
- Validate a JWT access token before forwarding the call
- Convert a JSON response body to XML for a legacy client
- Deploy a new version of the backend web app
- Add a second Azure region to the gateway
Show answer
Answer: A. Limit each subscription to a set number of calls per minute, B. Validate a JWT access token before forwarding the call, C. Convert a JSON response body to XML for a legacy client
Policies can throttle callers (rate limits and quotas), validate JWTs issued by Microsoft Entra ID, and transform requests or responses such as converting JSON to XML. Policies do not deploy backend code, and they do not create multi-region gateway deployments; that is a tier and infrastructure choice.
When API Management is injected into a virtual network in internal mode, its gateway can still be called directly from the public internet.
Show answer
Answer: False
False. Internal mode exposes the gateway only inside the virtual network (and connected networks). To publish such APIs externally you place something like Application Gateway in front. External mode is the one that keeps a public gateway endpoint.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
