You currently run your infrastructure on Amazon EC2 instances behind an Auto Scaling group. All logs for you application are currently written to ephemeral storage. Recently your company experienced a major bug in code that made it through testing and was ultimately deployed to your fleet. This bug triggered your Auto Scaling group to scale up and back down before you could successfully retrieve the logs off your server to better assist you in troubleshooting the bug. Which technique should you use to make sure you are able to review your logs after your instances have shut down?
A) Configure the ephemeral policies on your Auto Scaling group to back up on terminate.
B) Configure your Auto Scaling policies to create a snapshot of all ephemeral storage on terminate.
C) Install the CloudWatch Logs Agent on your AMI, and configure CloudWatch Logs Agent to stream your logs.
D) Install the CloudWatch monitoring agent on your AMI, and set up new SNS alert for CloudWatch metrics that triggers the CloudWatch monitoring agent to backup all logs on the ephemeral drive.
E) Install the CloudWatch monitoring agent on your AMI, Update your Auto Scaling policy to enable automated CloudWatch Log copy.
Correct Answer:
Verified
Q389: A user has created a new EBS
Q390: There are a number of ways to
Q391: Your DevOps team is responsible for a
Q392: You have written a server-side Node.Js application
Q393: You would like to run automated, continuous
Q395: Your application Amazon Elastic Compute Cloud (EC2)
Q396: Your application has an Auto Scaling group
Q397: You manage a web advertising platform on
Q398: You are responsible for a large-scale video
Q399: You are responsible for a popular file
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents