Microsoft Azure Developer Associate AZ-204 Practice Question
Your Azure API Management (APIM) instance exposes a Payments API that is already published in the Public product, which requires callers to pass a valid subscription key. Internal services that run inside your company's virtual network must call the same Payments API without including a subscription key, while external partners must continue to provide the key. What is the most straightforward way to achieve this requirement?
Turn off the Subscription required setting on the Payments API so that only the Public product enforces the key requirement.
Change the required header name from Ocp-Apim-Subscription-Key to X-Internal-Key so that internal calls omit the header.
Add an inbound rate-limit-by-key policy that skips validation when the request originates from the virtual network.
Create a new Internal product with Subscription required set to Off, add the Payments API to this product in addition to the existing Public product, and grant only the internal services access to the Internal product.
An API can belong to more than one product. Each product has an independent Subscription required setting. By creating a second product (for example, Internal) with Subscription required disabled and adding the Payments API to that product as well, the internal services can call the API without a key by using the Internal product's endpoint. At the same time, external partners that access the API through the existing Public product must still supply a valid subscription key. Disabling the subscription requirement on the API itself would remove the key requirement for everyone, renaming the header does not remove the need for a key, and a rate-limit policy cannot selectively bypass subscription validation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the 'Subscription required' setting in Azure API Management?
Open an interactive chat with Bash
How can an API belong to more than one product in Azure API Management?
Open an interactive chat with Bash
How does adding APIs to specific products help manage access for internal and external users?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .