Testing and Deployment

Which part of a default API Gateway REST API invoke URL identifies the deployment environment, such as test or production?

Show the answer

Correct answerB. The stage name

AWhy not this: The resource path identifies the requested API resource rather than the deployment environment.

BWhy this is right: The stage name selects the named environment associated with an API deployment.

CWhy not this: The API identifier identifies the REST API, which can have multiple stages.

DWhy not this: The Region identifies where the API is hosted rather than which environment is invoked.

The stage name identifies a named environment in a default REST API invoke URL. The resource path identifies an API resource within that stage, not the deployment environment.