Azure API Management · AZ-204: Developing Solutions for Microsoft Azure Connect to and Consume Azure and Third-party Services

A company exposes a customer API through Azure API Management. The company must introduce a breaking contract change while continuing to support exis…

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.

hard · MCQ · Q-7BE7E9

A company exposes a customer API through Azure API Management. The company must introduce a breaking contract change while continuing to support existing clients that use version 1. Which API Management design is most appropriate?

  1. A.Create version 2 in the same API version set, select a versioning scheme such as URL path, and keep version 1 available.Correct answer
  2. B.Create a revision of version 1 and publish only the latest revision as the replacement for all clients.
  3. C.Create a separate product for version 2 and rely on the product name to route requests to the new contract.
  4. D.Change the backend URL for version 1 so that it points to the implementation of version 2.

Solution

API Management versions are intended for breaking contract changes and allow multiple versions to be available simultaneously through a version set. Revisions are intended for controlled, non-breaking changes to an API and are not a substitute for maintaining distinct API contracts.

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