Medium1 markMultiple Choice
Domain 4.2: Design an application architectureDomain 4Application ArchitectureAPI ManagementOptimization

AZ-305 · Question 44 · Domain 4.2: Design an application architecture

A company exposes several REST APIs to third-party developers using Azure API Management (APIM).

The backend API is hosted on Azure App Service and is struggling to handle the load. The database queries are slow, but the data only changes once per hour.

You need to optimize the architecture to protect the backend from being overwhelmed and to improve response times for the third-party developers.

Which TWO APIM policies should you implement? (Select TWO)

Answer options:

A.

rate-limit-by-key

B.

ip-filter

C.

cache-store and cache-lookup

D.

check-header

E.

rewrite-uri

How to approach this question

Identify the policy to 'protect the backend' (rate limiting) and the policy to 'improve response times for static data' (caching).

Full Answer

rate-limit-by-key, cache-store and cache-lookup
Azure API Management uses policies to alter API behavior. To protect the backend from being overwhelmed by too many requests, you implement a `rate-limit-by-key` policy (throttling). Because the data only changes once per hour, you should implement `cache-lookup` and `cache-store` policies. This caches the API response at the APIM layer. Subsequent requests are served directly from the cache, providing instant response times and zero load on the backend database.

Common mistakes

Overlooking caching as a primary performance optimization tool in APIM.

Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 3

55 questions · hints · full answers · grading

More questions from this exam