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

A company needs to retain data that is stored in Amazon CloudWatch Logs log groups. The company must retain this data for 90 days. The company must receive notification in AWS Security Hub when log group retention is not compliant with this requirement.

Which solution will provide the appropriate notification?

Answer options

Correct answer: D

Explanation

AWS Config provides a managed rule specifically designed to check if Amazon CloudWatch Logs log groups meet a minimum retention period. By enabling AWS Config integration with AWS Security Hub, any non-compliance detected by this rule will automatically generate a finding in Security Hub. Security Hub custom actions, automation rules, and CloudWatch Logs data protection policies are not designed to natively perform this resource configuration compliance check.