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?

  1. A.Ocp-Apim-Subscription-KeyCorrect answer
  2. B.Ocp-Apim-Backend-Key
  3. C.X-Azure-Resource-Token
  4. 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

All of Azure API Management

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 free

Free to start · No credit card needed