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.

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