General Security Concepts

A change updates an API gateway and the backend service it calls. The new gateway calls an endpoint that exists only in the new backend, which still supports old calls. What should the change plan specify?

Show the answer

Correct answerC. Deploy the backend first, then the gateway

AWhy not this: Leaving the backend old means the new gateway calls an endpoint that does not exist.

BWhy not this: The gateway would call a missing endpoint until the backend is updated, causing errors.

CWhy this is right: The gateway depends on the new endpoint, and the backward-compatible backend keeps old calls working meanwhile.

DWhy not this: Simultaneous deployment risks errors that an ordered rollout avoids completely.

The gateway depends on the new endpoint, so the backend must be updated first. Because the new backend still supports old calls, the old gateway keeps working in between. Deploying the gateway first would send calls to an endpoint that does not exist yet.