
AWS Certified Developer - Associate
Get started today
Ultimate access to all questions.
How should a company implement versioning for a REST service using Amazon API Gateway and AWS Lambda for testing purposes?
How should a company implement versioning for a REST service using Amazon API Gateway and AWS Lambda for testing purposes?
Explanation:
The correct answer is D: Deploy the API versions as unique stages with unique endpoints and use stage variables to provide further context. This approach allows you to manage and deploy different versions of your APIs effectively. API Gateway deployment stages can represent different environments such as alpha, beta, and production, each with its own configuration. By using stage variables, you can customize the behavior and interactions of each deployment stage with different backend endpoints, thereby providing a straightforward and scalable method to handle multiple versions.