AWS Certified Developer – Associate — Question 39

A developer is creating a serverless web application and maintains different branches of code. The developer wants to avoid updating the Amazon API Gateway target endpoint each time a new code push is performed.
What solution would allow the developer to perform a code push efficiently, without the need to update the API Gateway?

Answer options

Correct answer: C

Explanation

Creating aliases and versions in AWS Lambda allows the developer to manage different iterations of the function without changing the API Gateway endpoint. The other options do not provide a mechanism for seamless updates linked to the API Gateway, necessitating manual changes which the developer wants to avoid.