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?
- 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
- B.Create a revision of version 1 and publish only the latest revision as the replacement for all clients.
- C.Create a separate product for version 2 and rely on the product name to route requests to the new contract.
- 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
- An API is published through Azure API Management with subscription enforcement enabled. Which HTTP header should a client normally send to…
- An API Management administrator wants to allow each subscription to make at most 100 calls every 60 seconds. Calls exceeding the limit shou…
- 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