exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 44 discussion

Actual exam question from Microsoft's AZ-204
Question #: 44
Topic #: 5
[All AZ-204 Questions]

You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway.

You plan to use APIM1 to publish an API named API1 that uses a backend database that supports only a limited volume of requests per minute. You also need a policy for API1 that will minimize the possibility that the number of requests to the backend database from an individual IP address you specify exceeds the supported limit.

You need to identify a policy for API1 that will meet the requirements.

Which policy should you use?

  • A. ip-filter
  • B. quota-by-key
  • C. rate-limit-by-key
  • D. rate-limit
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
macobuzi
Highly Voted 1 year, 8 months ago
Selected Answer: C
C is correct: Rate limits are usually used to protect against short and intense volume bursts. For example, if you know your backend service has a bottleneck at its database with a high call volume, you could set a rate-limit-by-key policy to not allow high call volume by using this setting. https://learn.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling#rate-limits-and-quotas
upvoted 8 times
...
DamuKeesh
Most Recent 2 months, 2 weeks ago
Selected Answer: A
I feel like it should be both ip-filter and rate-limit-by-key
upvoted 1 times
...
Vichu_1607
5 months, 1 week ago
Selected Answer: C
rate-limit-by-key
upvoted 1 times
...
1CY1
10 months, 1 week ago
quota-by-key vs rate-limit-by-key The quota-by-key policy enforces a renewable or lifetime call volume and/or bandwidth quota, on a per key basis. The rate-limit-by-key policy prevents API usage spikes on a per key basis by limiting the call rate to a specified number per a specified time period. Per the question : '..supports only a limited volume of requests per minute.' rate-limit-by-key limits access for a specified time period.
upvoted 1 times
...
dddddd111
1 year, 6 months ago
Selected Answer: C
C is correct.
upvoted 1 times
...
Ciupaz
1 year, 7 months ago
Selected Answer: C
The "rate-limit-by-key" policy in Azure API Management allows you to apply rate limiting based on a specific key, which can be an IP address or any other attribute that you want to use for rate limiting.
upvoted 3 times
...
drogbix
1 year, 8 months ago
Selected Answer: C
Correct Answer. https://learn.microsoft.com/en-us/azure/api-management/api-management-policies
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago