AWS Certified Security – Specialty (SCS-C02) — Question 195

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because integrating the Amazon CloudWatch agent allows for real-time log collection and retention, ensuring logs are securely stored and accessible for review. Options A and B do not directly ensure durability and accessibility of logs post-termination, while option D delays instance termination but does not provide a long-term solution for log retention.