What cost-effective solution can you use to reduce the …

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

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

A.
Create a new Auto Scaling group with 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.
Modify the application running on the instances to put itself into an Auto Scaling Standby state while it processes a task and return
itself to InService when the processing is complete.



Leave a Reply 13

Your email address will not be published. Required fields are marked *


raysmithvic1978

raysmithvic1978

D

Phi Nguyen

BTuan

BTuan

I think B too

sporokh

sporokh

AWS calls it “Instance Protection” and not “Termination Protection”
http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html
So I guess it’s D, despite I initially thought it is B as well.

Arrold

Arrold

Yep, “Termination Protection” is not valid, this should be “Instance Protection”; Termination Protection exists but it is to prevent “Manual termination through the Amazon EC2 console” not termination when an AS is scaling in

sporokh

sporokh

Answer is B.

Sadeel Anjum

Sadeel Anjum

B.
D is not the right answer.

Sadeel Anjum

Sadeel Anjum

C.
Instance in standby, stops receiving new traffic and it can’t be terminated by the auto scaling group as long as it is in standby mode (as its not the part of auto scaling group).
So C is the right answer.