Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam SAP-C02 Topic 2 Question 47 Discussion

Actual exam question for Amazon's SAP-C02 exam
Question #: 47
Topic #: 2
[All SAP-C02 Questions]

A company hosts an application that uses several Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). During the initial startup of the EC2 instances, the EC2 instances run user data scripts to download critical content for the application from an Amazon S3 bucket.

The EC2 instances are launching correctly. However, after a period of time, the EC2 instances are terminated with the following error message: "An instance was taken out of service in response to an ELB system health check failure." EC2 instances continue to launch and be terminated because of Auto Scaling events in an endless loop.

The only recent change to the deployment is that the company added a large amount of critical content to the S3 bucket. The company does not want to alter the user data scripts in production.

What should a solutions architect do so that the production environment can deploy successfully?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Dominga
2 months ago
Increasing the health check timeout for the ALB seems like a good option too. That way, the instances have more time to download the content before the ALB gives up on them.
upvoted 0 times
Veronika
29 days ago
I agree, it's worth a try to prevent the instances from being terminated in an endless loop.
upvoted 0 times
...
Pearly
1 months ago
Yeah, that could give the instances enough time to download the content before being terminated.
upvoted 0 times
...
Yoko
1 months ago
I think increasing the health check timeout for the ALB could help in this situation.
upvoted 0 times
...
...
Corazon
2 months ago
Haha, what if they just increased the size of the EC2 instances? That would be like trying to fit an elephant in a shoebox!
upvoted 0 times
Verda
29 days ago
C: Increasing the health check grace period for the Auto Scaling group could also prevent the instances from being terminated too quickly.
upvoted 0 times
...
Mary
30 days ago
B: I think changing the health check path for the ALB might be a better solution.
upvoted 0 times
...
Roxane
1 months ago
A: Maybe increasing the size of the EC2 instances could help handle the large amount of content.
upvoted 0 times
...
...
Merlyn
2 months ago
I agree with Miss, changing the health check path for the ALB might be a better solution in this case.
upvoted 0 times
...
Miss
2 months ago
That could work too, but I'm worried it might not solve the issue completely.
upvoted 0 times
...
Teresita
2 months ago
But wouldn't it be better to increase the health check grace period for the Auto Scaling group instead?
upvoted 0 times
...
Diego
2 months ago
I think changing the health check path for the ALB might work too. The instances could be failing the health check because the new content has changed the expected response.
upvoted 0 times
...
Deangelo
2 months ago
The solution is to increase the health check grace period for the Auto Scaling group. This will give the instances more time to download the content and become healthy before the ALB starts checking their health.
upvoted 0 times
Nidia
2 months ago
D) Increase the health check grace period for the Auto Scaling group.
upvoted 0 times
...
Titus
2 months ago
B) Increase the health check timeout for the ALB.
upvoted 0 times
...
...
Miss
3 months ago
I think we should increase the health check timeout for the ALB.
upvoted 0 times
...

Save Cancel