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 days 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
...
Corazon
9 days 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
...
Merlyn
17 days 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
18 days ago
That could work too, but I'm worried it might not solve the issue completely.
upvoted 0 times
...
Teresita
19 days ago
But wouldn't it be better to increase the health check grace period for the Auto Scaling group instead?
upvoted 0 times
...
Diego
20 days 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
25 days 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
Titus
12 days ago
B) Increase the health check timeout for the ALB.
upvoted 0 times
...
...
Miss
1 months ago
I think we should increase the health check timeout for the ALB.
upvoted 0 times
...

Save Cancel