A developer updated a custom application that runs on AWS Elastic Beanstalk. Which of the following methods will deploy the new application version to the Elastic Beanstalk environment after the changes are complete? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create a .zip package of the application code. Use the AWS Management Console to upload the .zip file and deploy the packaged application., Create a .zip package of the application code. Use the AWS CLI to create a new application version from the .zip file and then update the environment..
Why this is the answer
Elastic Beanstalk expects application source bundles to be in .zip or .war format. Therefore, creating a .tar package is incorrect. The first correct option describes using the AWS Management Console to upload a .zip file directly, which Elastic Beanstalk then deploys. This is a straightforward method for updating an application. The second correct option outlines using the AWS CLI. First, you create a .zip package of your application code. Then, you use the AWS CLI to create a new application version from this .zip file. Finally, you use the AWS CLI to update the Elastic Beanstalk environment to use this new application version. This provides programmatic control over deployments. Rebuilding the environment (as suggested in one incorrect option) is a more drastic action than simply updating it with a new application version and is not typically required for a standard application update.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed