Medium1 markMultiple Choice
AZ-305 · Question 44 · Domain 4.2: Application Architecture
You are designing an API architecture using Azure API Management (APIM).
You have a backend legacy API that returns XML data. You are exposing this API to external mobile developers who require JSON responses. Additionally, to protect the backend from being overwhelmed, you must restrict each developer to a maximum of 100 API calls per minute.
Which TWO APIM policies should you configure? (Select TWO)
You are designing an API architecture using Azure API Management (APIM).
You have a backend legacy API that returns XML data. You are exposing this API to external mobile developers who require JSON responses. Additionally, to protect the backend from being overwhelmed, you must restrict each developer to a maximum of 100 API calls per minute.
Which TWO APIM policies should you configure? (Select TWO)
Answer options:
A.
xml-to-json
B.
json-to-xml
C.
rate-limit-by-key
D.
quota-by-key
E.
check-header
How to approach this question
Identify the policy for data transformation (XML to JSON) and the policy for short-term throttling (rate limiting).
Full Answer
Azure API Management uses policies to encapsulate common API behaviors. To satisfy the mobile developers' requirement for JSON, you apply the `xml-to-json` transformation policy on the outbound processing step. To protect the backend from being overwhelmed, you apply the `rate-limit-by-key` policy on the inbound processing step, setting it to 100 calls per 60 seconds, keyed by the developer's subscription ID. Quotas are generally for billing (e.g., per month), while rate limits are for protecting against spikes.
Common mistakes
Confusing `rate-limit` with `quota`. Rate limits prevent sudden spikes (per minute/second), quotas enforce business models (per month).
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 5
55 questions · hints · full answers · grading
More questions from this exam
Q01Contoso Ltd has 50 subscriptions across 3 business units. Each business unit manages its own IT o...EasyQ02You are designing a monitoring solution for a hybrid environment. The environment consists of 200...MediumQ03Your company uses Microsoft Sentinel integrated with a Log Analytics workspace. The workspace ing...HardQ04You are designing an application monitoring strategy using Application Insights. The application ...MediumQ05A highly regulated financial institution is migrating to Microsoft 365 and Azure. They currently ...Hard
Expert