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 210 discussion

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

A team of developers must migrate an application running inside an AWS Elastic Beanstalk environment from a Classic Load Balancer to an Application Load Balancer.

Which steps should be taken to accomplish the task using the AWS Management Console?

  • A. 1. Update the application code in the existing deployment.
    2. Select a new load balancer type before running the deployment
    3. Deploy the new version of the application code to the environment
  • B. 1. Create a new environment with the same configurations except for the load balancer type.
    2. Deploy the same application version as used in the original environment.
    3. Run the swap-environment-cnames action
  • C. 1. Clone the existing environment, changing the associated load balancer type.
    2. Deploy the same application version as used in the original environment.
    3. Run the swap-environment-cnames action
  • D. 1. Edit the environment definitions in the existing deployment.
    2. Change the associated load balancer type according to the requirements.
    3. Rebuild the environment with the new load balancer type.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
xdkonorek2
1 year, 5 months ago
Selected Answer: B
You can't change load balancer type while cloning environment
upvoted 1 times
...
CrescentShared
1 year, 6 months ago
Selected Answer: C
Understand that Beanstalk does not support changing of loader balancer type, that's why we clone an existing environment instead of editing it directly (like D).
upvoted 1 times
...
YanisGTR
1 year, 9 months ago
Currently, Beanstalk does not support changing of Load Balancer type. If you want to change the Load Balancer type, you need to create a new environment with the desired Load Balancer type. I see you have made changes to the environment resources out-of-band which is not recommended as it might break the environment like the issue that you are encountering. Therefore, to fix this issue, the only option we have is to create a new environment. <<< This answer from AWS support team link Below https://repost.aws/questions/QUEemsrTM_TPG3r_HdoG08EQ/how-to-remove-or-change-a-load-balancer-type-with-elastic-beanstalk
upvoted 1 times
...
Sardor_uz
1 year, 11 months ago
Is there even correct answer? For me it looks like it doesn't. B is closes, but 2nd step looks incorrect, since we need to deploy to new version of the app, don't we?
upvoted 1 times
...
rcaliandro
1 year, 11 months ago
Selected Answer: B
If we clone we also clone the type of load balancer. If we want an Application Load Balancer, we have to create a new environmment with the same configurations, deploy the application that is current running on the classic load balancer then use swap-environment-cnames action to point the same url to the new ALB
upvoted 1 times
...
BATSIE
2 years ago
c,The Elastic Beanstalk environment is designed to abstract the underlying resources used to run the application. When the load balancer type is changed, the entire environment must be recreated with the new load balancer. Therefore, to migrate an Elastic Beanstalk environment from a Classic Load Balancer to an Application Load Balancer, the recommended steps are to clone the existing environment and associate it with the Application Load Balancer. After cloning, the same application version as used in the original environment is deployed to the new environment. Finally, the swap-environment-cnames action is run to swap the environment URLs so that the new environment takes over the traffic.
upvoted 1 times
...
MrTee
2 years, 1 month ago
Selected Answer: C
By cloning the existing environment and changing the associated load balancer type, the developers can create a new environment with an Application Load Balancer. They can then deploy the same application version as used in the original environment and run the swap-environment-cnames action to switch traffic from the old environment to the new one.
upvoted 1 times
...
Syre
2 years, 1 month ago
Selected Answer: C
C is the correct answer here. Option B is incorrect because creating a new environment is not necessary and can result in additional cost and maintenance overhead.
upvoted 2 times
...
A_Q
2 years, 3 months ago
Selected Answer: B
you need to create a new environment with the desired Load Balancer type.
upvoted 1 times
...
Krt5894
2 years, 3 months ago
Selected Answer: B
https://repost.aws/questions/QUEemsrTM_TPG3r_HdoG08EQ/how-to-remove-or-change-a-load-balancer-type-with-elastic-beanstalk
upvoted 1 times
...
hb0011
2 years, 4 months ago
Selected Answer: B
Never mind. Cloning will clone it with a classic load balancer. Won't let you change it. B it is.
upvoted 1 times
...
hb0011
2 years, 4 months ago
Why B over C? Cloning the environment is a valid option
upvoted 2 times
...
SoMaL69
2 years, 6 months ago
Selected Answer: B
https://repost.aws/questions/QUEemsrTM_TPG3r_HdoG08EQ/how-to-remove-or-change-a-load-balancer-type-with-elastic-beanstalk
upvoted 1 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: B
Will need to create a new application to change the ELB type
upvoted 3 times
k1kavi1
2 years, 6 months ago
https://www.examtopics.com/discussions/amazon/view/6571-exam-aws-certified-developer-associate-topic-1-question-200/
upvoted 1 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 ...