Answer – A
This is also mentioned in the AWS Documentation.
In API Gateway, a deployment is represented by a Deployment resource. It is like an executable of an API represented by a RestApi resource. For the client to call your API, you must create a deployment and associate a stage to it. A stage is represented by a Stage resource and represents a snapshot of the API, including methods, integrations, models, mapping templates, Lambda authorizers (formerly known as custom authorizers), etc.
Option B is incorrect since this is only required for cross-domain requests.
Option C is incorrect since this is only required when you want to use your code to call the API gateway, and there is no mention of that requirement in the question.
Option D is incorrect since this is only required if the request is not text-based. There is no mention of the type of payload in the question.
For more information on setting up deployments, please refer to the below URL-
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-deployments.html