Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a developer create a development environment with minimal effort to test code changes in a web application using AWS API Gateway and Lambda, ensuring the production environment remains unaffected and changes are not overwritten?
A
Introduce a new resource and method in the existing stage with Lambda proxy integration, assign the hotfix alias, redeploy, and validate.
B
Modify the API Gateway to use a hotfix alias for the Lambda function, deploy to a new 'hotfix' stage, and conduct backend tests.
C
Adjust the Lambda function, establish an alias 'hotfix' pointing to the $LATEST version, and perform function tests.
D
After code correction, publish a new Lambda version, create a 'hotfix' alias for this version, and ensure it's tested.
E
For development, establish a new API Gateway with a dedicated stage incorporating the Lambda function and 'hotfix' alias, then test.