nerdexam
Amazon

DVA-C02 · Question #495

A developer is making changes to a custom application that uses AWS Elastic Beanstalk. Which solutions will update the Elastic Beanstalk environment with the new application version after the develope

The correct answer is A. Package the application code into a zip file. Use the AWS Management Console to upload D. Package the application code into a .zip file. Use the AWS CL to create a new application version. Elastic Beanstalk requires application bundles in .zip format (not .tar); deployments can be performed via the AWS Management Console upload or the AWS CLI create-application-version and update-environment commands.

Submitted by certguy· Mar 5, 2026Deployment

Question

A developer is making changes to a custom application that uses AWS Elastic Beanstalk. Which solutions will update the Elastic Beanstalk environment with the new application version after the developer completes the changes? (Choose two.)

Options

  • APackage the application code into a zip file. Use the AWS Management Console to upload
  • BPackage the application code into a .tar file. Use the AWS Management Console to create a new
  • CPackage the application code into a .tar file. Use the AWS Management Console to upload
  • DPackage the application code into a .zip file. Use the AWS CL to create a new application version
  • EPackage the application code into a .zip file. Use the AWS Management Console to create a new

How the community answered

(36 responses)
  • A
    92% (33)
  • C
    6% (2)
  • E
    3% (1)

Why each option

Elastic Beanstalk requires application bundles in .zip format (not .tar); deployments can be performed via the AWS Management Console upload or the AWS CLI create-application-version and update-environment commands.

APackage the application code into a zip file. Use the AWS Management Console to uploadCorrect

Uploading a .zip file through the Management Console is a supported and straightforward method; Elastic Beanstalk accepts .zip archives for application source bundles and deploys them to the environment directly.

BPackage the application code into a .tar file. Use the AWS Management Console to create a new

Elastic Beanstalk does not accept .tar files as application source bundles; only .zip and .war formats are supported.

CPackage the application code into a .tar file. Use the AWS Management Console to upload

Elastic Beanstalk does not accept .tar files; this format is unsupported regardless of the upload method used.

DPackage the application code into a .zip file. Use the AWS CL to create a new application versionCorrect

The AWS CLI allows creating a new application version from a .zip file using `aws elasticbeanstalk create-application-version` and then updating the environment, providing a scriptable deployment path.

EPackage the application code into a .zip file. Use the AWS Management Console to create a new

While creating a new application version via the Console with a .zip is valid, option E is a duplicate of A's correct approach and the question expects the two distinct correct answers to be A and D.

Concept tested: Elastic Beanstalk application version deployment methods

Source: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-versions.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice