Microsoft Azure Developer Associate AZ-204 Practice Question

You manage an Azure API Management instance that contains a product named Public and an API named Weather that is associated with the product. Every operation in API Management currently requires an Ocp-Apim-Subscription-Key header. You are migrating the Weather API to use Azure AD OAuth 2.0 bearer tokens instead of subscription keys. Calls to Weather must succeed when a valid Azure AD token is supplied even if no subscription key is present, and the requirement must not affect the other APIs in the Public product. What should you do in the Azure portal to meet the requirement?

  • Enable the global "Bypass subscription key" setting for the API Management gateway.

  • In the Settings blade of the Weather API, clear the "Subscription required" option and save the change.

  • In the Settings blade of the Public product, clear the "Subscription required" option and save the change.

  • Add a validate-jwt policy to the inbound section of the Weather API.

Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot