Amazon SCS-C02 Exam - Topic 1 Question 37 Discussion
A company is running an application on Amazon EC2 instances in an Auto Scaling group. The application stores logs locally. A security engineer noticed that logs were lost after a scale-in event. The security engineer needs to recommend a solution to ensure the durability and availability of log data All logs must be kept for a minimum of 1 year for auditing purposes. What should the security engineer recommend?
C) Add an Amazon CloudWatch agent into the AMI used in the Auto Scaling group. Configure the CloudWatch agent to send the logs to Amazon CloudWatch Logs for review,
A) Within the Auto Scaling lifecycle, add a hook to create and attach an Amazon Elastic Block Store (Amazon EBS) log volume each time an EC2 instance is created. When the instance is terminated, the EBS volume can be reattached to another instance for log review.
B) Create an Amazon Elastic File System (Amazon EFS) file system and add a command in the user data section of the Auto Scaling launch template to mount the EFS file system during EC2 instance creation. Configure a process on the instance to copy the logs once a day from an instance Amazon Elastic Block Store (Amazon EBS) volume to a directory in the EFS file system.
D) Within the Auto Scaling lifecycle, add a lifecycle hook at the terminating state transition and alert the engineering team by using a lifecycle notification to Amazon Simple Notification Service (Amazon SNS). Configure the hook to remain in the Terminating:Wait state for 1 hour to allow manual review of the security logs prior to instance termination.
Lino
6 months agoSheron
6 months agoJina
7 months agoDylan
7 months agoLouvenia
7 months agoJeniffer
7 months agoStephania
7 months agoErin
8 months agoRicarda
8 months agoLatrice
8 months agoLatricia
8 months agoPilar
8 months agoLatrice
8 months agoRashad
2 years agoSantos
2 years agoMarti
2 years agoLayla
2 years agoAmalia
1 year agoCarin
1 year agoAleta
1 year agoTracie
1 year agoPete
2 years agoStaci
2 years agoHannah
1 year agoBarrett
1 year agoElinore
1 year agoCarmela
2 years agoAretha
1 year agoCheryll
1 year agoMaxima
1 year agoLonna
2 years ago