exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 102 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 102
Topic #: 1
[All AWS Certified Developer Associate Questions]

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.)

  • A. Package the application code into a .zip file. Use the AWS Management Console to upload the zip file and deploy the packaged application.
  • B. Package the application code into a .tar file. Use the AWS Management Console to create a new application version from the .tar file. Update the environment by using the AWS CLI.
  • C. Package the application code into a .tar file. Use the AWS Management Console to upload the .tar file and deploy the packaged application.
  • D. Package the application code into a .zip file. Use the AWS CLI to create a new application version from the .zip file and to update the environment.
  • E. Package the application code into a .zip file. Use the AWS Management Console to create a new application version from the .zip file. Rebuild the environment by using the AWS CLI.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JonasKahnwald
4 months, 2 weeks ago
Selected Answer: AD
I never saw anything in AWS that uses *.tar files, which rules out B and C.
upvoted 1 times
...
sumanshu
4 months, 2 weeks ago
Selected Answer: AD
Elastic Beanstalk supports updating an environment with a new application version in multiple ways, primarily through the AWS Management Console or the AWS CLI. Elastic Beanstalk does not support .tar files;
upvoted 1 times
sumanshu
4 months, 2 weeks ago
E) Eliminated - Rebuilding the environment is unnecessary for deploying a new application version. This approach would recreate resources (e.g., instances, load balancers), leading to increased downtime and resource usage, which is not required to update the environment
upvoted 1 times
...
...
xdkonorek2
1 year, 4 months ago
Selected Answer: AD
elasticbeanstalk is allergic to .tar files: 2023/12/09 17:38:45.327466 [INFO] Executing instruction: StageApplication 2023/12/09 17:38:45.327795 [ERROR] An error occurred during execution of command [app-deploy] - [StageApplication]. Stop running the command. Error: staging application failed due to invalid zip file
upvoted 1 times
...
RachitNandi1997
1 year, 8 months ago
Selected Answer: CD
My opinion will be C and D
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: AD
In my opinion is A and D. We need a .zip to be uploaded in Elastic Beanstalk and we can do that by using the AWS Management Console or AWS CLI
upvoted 1 times
...
sichilam
2 years, 3 months ago
A and D
upvoted 1 times
...
KT_Yu
2 years, 3 months ago
The CLI command for Elastic Beanstalk deployment is eb deploy
upvoted 1 times
...
haazybanj
2 years, 7 months ago
Selected Answer: AD
A and D more realistic
upvoted 2 times
...
JOL86
2 years, 8 months ago
This should be A and D I think? Elastic beanstalk won't take .tar files and E seems strange to use AWS Management console and then CLI to rebuild.
upvoted 4 times
...
LEHUY
2 years, 8 months ago
Selected Answer: AD
A,D looking more realistic. When you go to your EB console and any application ; rightaway on the console you can see a BIG option to upload and deploy ;thats where I lean to A. (Upload zip and Deploy). And to D obviously you can do the same with AWS EB CLI , by creating application new version and updating environment fot the target app. https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/update-environment.html
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago