Microsoft Azure Developer Associate AZ-204 Practice Question
An Azure API Management instance publishes several APIs through a product that requires a subscription key. You must add a new API that will be accessed only by a confidential Azure AD client using a JWT access token. This API must not be required to send an APIM subscription key, but existing APIs must still require it. According to recommended practice, which initial change should you make in APIM?
Create a new product, disable the Requires subscription setting on that product, and add the new API to it.
Add an inbound validate-jwt policy to the new API without changing any product settings.
Set the Subscription required property to Disabled on the API's Settings page while keeping it in the current product.
Turn off the Requires subscription setting on the existing product that contains all APIs.
A product-level subscription requirement cannot be overridden at the API or operation level. To let just one API be called without a key, place that API in its own product and disable the Requires subscription setting for that product. Afterward, you can attach a validate-jwt policy to enforce Azure AD authentication. Turning off subscription on the existing product would expose all other APIs, and disabling it only at the API level or merely adding a policy would leave key validation in effect.
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 a product in Azure API Management?
Open an interactive chat with Bash
What is a validate-jwt policy in APIM?
Open an interactive chat with Bash
How does the 'Requires subscription' setting work in APIM?
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 .