nerdexam
Google

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

Submitted by chen.hong· Mar 30, 2026Managing implementation

Question

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 that user. You are responsible for the API lifecycle and want to ensure stability for your customers in case the API makes backward-incompatible changes. You want to follow Google-recommended practices. What should you do?

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)
  • A
    7% (2)
  • B
    4% (1)
  • C
    78% (21)
  • D
    11% (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

#API versioning#backward compatibility#API lifecycle management#versioning strategy

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice