ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 201 - DOP-C02 discussion

Report
Export

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? (Select THREE.)

A.
Create a new launch template that uses the new AMI.
Answers
A.
Create a new launch template that uses the new AMI.
B.
Update the Auto Scaling group to use the new launch template.
Answers
B.
Update the Auto Scaling group to use the new launch template.
C.
Reduce the Auto Scaling group's desired capacity to O.
Answers
C.
Reduce the Auto Scaling group's desired capacity to O.
D.
Increase the Auto Scaling group's desired capacity by I.
Answers
D.
Increase the Auto Scaling group's desired capacity by I.
E.
Create a new AMI from a running EC2 instance in the Auto Scaling group.
Answers
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.
Answers
F.
Create a new AMI by copying the most recent public AMI of the operating system that the EC2 instances use.
Suggested answer: A, B, F

Explanation:

To restore the functionality of the Auto Scaling group after the AMI was deleted, the DevOps engineer needs to create a new AMI and update the Auto Scaling group to use it. The DevOps engineer can create a new AMI by copying the most recent public AMI of the operating system that the EC2 instances use. This will ensure that the new AMI has the same operating system as the custom AMI that was deleted. The DevOps engineer can then create a new launch template that uses the new AMI and update the Auto Scaling group to use the new launch template. This will allow the Auto Scaling group to launch new instances with the new AMI.

asked 16/09/2024
Conceicao Damasceno
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first