Azure API Management · AZ-204: Developing Solutions for Microsoft Azure Connect to and Consume Azure and Third-party Services
An API is published through Azure API Management with subscription enforcement enabled. Which HTTP header should a client normally send to authentica…
Practice question from Azure API Management (AZ-204: Developing Solutions for Microsoft Azure Connect to and Consume Azure and Third-party Services), with the correct answer and a step-by-step solution.
easy · MCQ · Q-715C95
An API is published through Azure API Management with subscription enforcement enabled. Which HTTP header should a client normally send to authenticate its subscription when calling the API?
- A.Ocp-Apim-Subscription-KeyCorrect answer
- B.Ocp-Apim-Backend-Key
- C.X-Azure-Resource-Token
- D.Authorization-Subscription
Solution
The standard header for an Azure API Management subscription key is Ocp-Apim-Subscription-Key. A subscription key can also be supplied as the subscription-key query-string parameter unless that option is disabled.
More from Azure API Management
- An API Management administrator wants to allow each subscription to make at most 100 calls every 60 seconds. Calls exceeding the limit shou…
- A company exposes a customer API through Azure API Management. The company must introduce a breaking contract change while continuing to su…
- An Azure API Management API has a backend service configured at https://api.contoso.com. One operation must instead send requests to https:…
- An API Management policy must add a payment-provider secret to an outbound request. The secret must not be stored as plaintext in the polic…
Practise more Connect to and Consume Azure and Third-party Services
Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.
Start practising freeFree to start · No credit card needed