Question 16 of 19
Single answerCertylQ 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 lostafter a scale-in event.The security engineer needs to year for auditing purposes. What should the security engineer recommend?
AWithin 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.
BCreate an Amazon Elastic File System (Amazon EFS) file system and add a command in the user data section 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. agent to send the logs to Amazon CloudWatch Logs for review. 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.
✓COption C text unavailable (OCR).
✓
Correct Answer: C
Option C text unavailable (OCR).
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of AWS certification topics.