Question 44:
A developer is using Amazon API Gateway as an HTTP proxy to a backend endpoint. There are three separate environments: Development, Testing, Production, and three corresponding stages in the API gateway. How should traffic be directed to different backend endpoints for each of these stages without creating a separate API for each?
Answer options:
A.Add a model to the API and add a schema to differentiate different backend endpoints. B.Use stage variables and configure the stage variables in the HTTP integration Request of the API. C.Use API Custom Authorizers to create an authorizer for each of the different stages. D.Update the Integration Response of the API to add different backend endpoints.