An API Gateway REST API has test and production stages pointing to the same deployment. After changing a method's integration, how should a developer expose the change only through the test stage?
Show the answer
Correct answerA. Create a deployment and associate it with the test stage.
AWhy this is right: The test stage can reference a new deployment while production retains the existing snapshot.
BWhy not this: Stage variables can parameterize configured integrations but do not deploy API configuration changes.
CWhy not this: A method test can exercise changes but does not expose them through the test stage's endpoint.
DWhy not this: Execution logging records request processing; it does not update the stage's deployment.
A REST API deployment is a snapshot of the API configuration, and each stage references a deployment. Deploy the changed API to the test stage while leaving production on its existing deployment; changing a stage variable does not publish integration changes.