Amazon

DVA-C02 practice question 15

AWS Certified Developer - Associate (DVA-C02) · free question 15 of 20

Question

A developer is deploying an AWS Lambda function. The developer wants the ability to return to older versions of the function quickly and seamlessly. How can the developer achieve this goal with the LEAST operational overhead?
  • A. Use AWS OpsWorks to perform blue/green deployments.
  • B. Use a function alias with different versions. Correct
  • C. Maintain deployment packages for older versions in Amazon S3.
  • D. Use AWS CodePipeline for deployments and rollbacks.

Explanation

Using a function alias with different versions (Option B) allows the developer to quickly switch between Lambda function versions with minimal operational overhead, as it leverages native AWS Lambda features designed specifically for version control and management.

Need the theory? Learn it free in the DVA-C02 course on Godlike Academy

Practice the whole free set

Answer all 20 free DVA-C02 questions with instant feedback, or unlock all 557 questions with Learn and Exam modes.