exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 165 discussion

A company builds an application that uses an Application Load Balancer in front of Amazon EC2 instances that are in an Auto Scaling group. The application is stateless. The Auto Scaling group uses a custom AMI that is fully prebuilt. The EC2 instances do not have a custom bootstrapping process.

The AMI that the Auto Scaling group uses was recently deleted. The Auto Scaling group's scaling activities show failures because the AMI ID does not exist.

Which combination of steps should a DevOps engineer take to meet these requirements? (Choose three.)

  • A. Create a new launch template that uses the new AMI.
  • B. Update the Auto Scaling group to use the new launch template.
  • C. Reduce the Auto Scaling group's desired capacity to 0.
  • D. Increase the Auto Scaling group's desired capacity by 1.
  • E. Create a new AMI from a running EC2 instance in the Auto Scaling group.
  • F. Create a new AMI by copying the most recent public AMI of the operating system that the EC2 instances use.
Show Suggested Answer Hide Answer
Suggested Answer: ABE 🗳️

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
jamesf
9 months, 1 week ago
Selected Answer: ABE
ABE other options not related to solve problem
upvoted 1 times
...
dkp
1 year ago
Selected Answer: ABE
ans ABE
upvoted 2 times
...
WhyIronMan
1 year, 1 month ago
Selected Answer: ABE
A,B,E The others do not actually help solve the problem
upvoted 1 times
...
DanShone
1 year, 1 month ago
Selected Answer: ABE
ABE E - Create new AMI from existing EC2 (we can do this as they are stateless) A - New lanuch template with the new AMI B - Tell autoscaling to use this new launch template
upvoted 2 times
...
thanhnv142
1 year, 2 months ago
Selected Answer: ABE
ABE are correct: <The AMI that the Auto Scaling group uses was recently deleted> means we need a new AMI image from a runnung EC2 instance C and D: irrelevant, auto Scaling group's desired capacity has nothing to do here F: This option doesnt make sense
upvoted 4 times
...
promo286
1 year, 3 months ago
Selected Answer: ABE
To address the issue of the deleted AMI in the Auto Scaling group, you can follow these steps: Create a new AMI from a running EC2 instance in the Auto Scaling group. (Option E) This will ensure that you have a new AMI based on the current state of one of the running instances in the group. Create a new launch template that uses the new AMI. (Option A) After creating the new AMI, update the launch template to use this new AMI. Launch templates provide a versioned and more structured way to define the launch configuration for your Auto Scaling group. Update the Auto Scaling group to use the new launch template. (Option B) Update the Auto Scaling group to use the new launch template that includes the new AMI. This will ensure that new instances launched by the Auto Scaling group will use the updated configuration.
upvoted 2 times
...
sksegha
1 year, 3 months ago
Selected Answer: ABE
Create a new AMI from running instance, Update launch template to use new AMI, update ASG to use new launch template
upvoted 1 times
...
a54b16f
1 year, 3 months ago
Selected Answer: ABE
create a new image and use it
upvoted 1 times
...
d262e67
1 year, 4 months ago
Selected Answer: ABE
Only viable steps
upvoted 1 times
...
csG13
1 year, 4 months ago
Selected Answer: ABE
Create a new AMI from a running instance in ASG. Use it to create a new launch template, finally update ASG to use the new template.
upvoted 2 times
csG13
1 year, 4 months ago
btw, creating a new launch template in this case can also mean a new version of it.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago