ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

37 / 500

Question 37:

You have an Auto Scaling group of Instances that processes messages from an Amazon Simple Queue Service (SQS) queue. The Auto Scaling group scales on the size of the queue. Processing involves a third-party web service. The web service is complaining about the number of failed and repeated calls received from you. When the Auto Scaling group scales in, you have noticed that instances are being terminated while they are processing. What cost-effective solution can you use to reduce the number of incomplete processing?

Answer options:

A.Create a new Auto Scaling group with a minimum and maximum of 2 and instances running web proxy software. Configure the VPC route table to route HTTP traffic to these web proxies.
B.Modify the application running on the instances to enable termination protection while it processes a task and disable it when the processing is complete.
C.Increase the minimum and maximum size for the Auto Scaling group, and change the scaling policies, so they scale less dynamically.
D.Add a lifecycle hook in the Auto Scaling group to put the instances into the Terminating:Wait status when the ASG scales in to finish the ongoing tasks before being terminated.