Microsoft Azure Developer Associate AZ-204 Practice Question

You manage an Azure API Management instance that exposes several APIs to tenants who authenticate with a subscription key. The solution must block a tenant that makes more than 50 requests within any 60-second window, but never throttle requests originating from the corporate VNet (10.0.0.0/16). Which policy configuration meets the requirement?

  • Configure a validate-subscription policy in the outbound section and use a header transform rule to return HTTP 429 after 50 calls.

  • Apply a rate-limit policy with calls set to 50 and renewal-period set to 60 seconds in the backend section of the API.

  • Add an ip-filter policy that allows 10.0.0.0/16, followed by a rate-limit-by-key policy with calls set to 50, renewal-period set to 60 seconds, and counter-key set to the subscription key.

  • Add an ip-filter policy that allows 10.0.0.0/16, followed by a quota-by-key policy with calls set to 50, renewal-period set to 60 seconds, and counter-key set to the subscription key.

Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot