PROFESSIONAL-CLOUD-ARCHITECT · Question #230
Your company provides a recommendation engine for retail customers. You are providing retail customers with an API where they can submit a user ID and the API returns a list of recommendations for tha
The correct answer is C. Use a versioning strategy for the APIs that increases the version number on every backward-. All Google API interfaces must provide a major version number, which is encoded at the end of the protobuf package, and included as the first part of the URI path for REST APIs. If an API introduces a breaking change, such as removing or renaming a field, it must increment its AP
Question
Options
- ACreate a distribution list of all customers to inform them of an upcoming backward-incompatible
- BCreate an automated process to generate API documentation, and update the public API
- CUse a versioning strategy for the APIs that increases the version number on every backward-
- DUse a versioning strategy for the APIs that adds the suffix "DEPRECATED" to the current API
How the community answered
(27 responses)- A7% (2)
- B4% (1)
- C78% (21)
- D11% (3)
Explanation
All Google API interfaces must provide a major version number, which is encoded at the end of the protobuf package, and included as the first part of the URI path for REST APIs. If an API introduces a breaking change, such as removing or renaming a field, it must increment its API version number to ensure that existing user code does not suddenly break.
Topics
Community Discussion
No community discussion yet for this question.