Multiple Choice
A streaming services company has a three-tier web application hosted on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB) . When the Auto Scaling group scales in, a deregistration delay occurs and the delay is sometimes longer than the time required to terminate the EC2 instance. A SysOps administrator must ensure that the latest logs are delivered to an external system before the EC2 instance is terminated. Which solution will solve this problem?
A) Add a lifecycle hook to the Auto Scaling group to put the EC2 instance in a wait state until the log files have been delivered.
B) Configure a fixed response for the ALB to use custom error messages to respond to incoming requests with HTTP error response codes.
C) Create an Amazon CloudWatch alarm based on the RequestCountPerTarget metric for the Auto Scaling group. Modify the cooldown period to wait until the EC2 instance is terminated.
D) Update the launch configuration to enable scale-in protection for the Auto Scaling group and detach the EC2 instance protected for termination.
Correct Answer:

Verified
Correct Answer:
Verified
Q797: You have set up Individual AWS accounts
Q798: What does Amazon RDS perform?<br>A) It tests
Q799: A user has setup a custom application
Q800: The Security team at AnyCompany discovers that
Q801: A user has created an Auto Scaling
Q803: A company recently migrated from a third-party
Q804: An organization is planning to use AWS
Q805: A user is trying to create a
Q806: In AWS Identity and Access Management, roles
Q807: You are setting up security groups for