Skip to content
Sharp

Networking · interview question

When versioning an API, which practice helps maintain backward compatibility?

Multiple choiceHardchapter-11-curatedpremiumnetworkingjson-serialization
Choose one answer
Answer and explanation

Correct answer

D. Using URL versioning like /v1/

Why

Using URL versioning, such as /v1/, clearly communicates the API version to clients and allows multiple versions to coexist. This practice helps maintain backward compatibility, enabling clients to continue using older versions while new ones are developed.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →