InterviewStack.io LogoInterviewStack.io

API Versioning, Deprecation and Backward Compatibility Questions

Evolving an API without breaking existing consumers: versioning strategies (URI, header, media-type), distinguishing breaking from non-breaking changes, deprecation policies and sunset timelines, and coordinating migrations at scale. Covers communicating changes, supporting multiple versions concurrently, and compatibility guarantees across heterogeneous clients.

MediumTechnical
70 practiced

Given a microservice in your language that serializes and deserializes protobuf messages, describe how to handle schema evolution safely: adding/removing fields, default values, unknown fields, and breaking changes. Provide code or configuration examples that show backward and forward compatibility handling.

That is every published API Versioning, Deprecation and Backward Compatibility question for Site Reliability Engineer (SRE) so far. Browse the other topics in this category, or practice this one interactively.