QuestionQ19

Security and Compliance

A company uses Amazon RDS for every database in its AWS accounts. The company uses AWS Control Tower to create a landing zone with an audit and logging account. For compliance, all databases must be encrypted at rest. The company's security engineer needs to be notified of any noncompliant databases in the company’s accounts.

Which solution meets these requirements with the MOST operational efficiency?

  • A Use AWS Control Tower to activate the optional detective control (guardrail) to determine whether the RDS storage is encrypted. Create an Amazon Simple Notification Service (Amazon SNS) topic in the company's audit account. Create an Amazon EventBridge rule to filter noncompliant events from the AWS Control Tower control (guardrail) to notify the SNS topic. Subscribe the security engineer's email address to the SNS topic.
  • B Use AWS CloudFormation StackSets to deploy AWS Lambda functions to every account. Write the Lambda function code to determine whether the RDS storage is encrypted in the account the function is deployed to. Send the findings as an Amazon CloudWatch metric to the management account. Create an Amazon Simple Notification Service (Amazon SNS) topic. Create a CloudWatch alarm that notifies the SNS topic when metric thresholds are met. Subscribe the security engineer's email address to the SNS topic.
  • C Create a custom AWS Config rule in every account to determine whether the RDS storage is encrypted. Create an Amazon Simple Notification Service (Amazon SNS) topic in the audit account. Create an Amazon EventBidge rule to filter noncompliant events from the AWS Control Tower control (guardrail) to notify the SNS topic. Subscribe the security engineer's email address to the SNS topic.
  • D Launch an Amazon C2 instance. Run an hourly cron job by using the AWS CLI to determine whether the RDS storage is encrypted in each AWS account. Store the results in an RDS database. Notify the security engineer by sending email messages from the EC2 instance when noncompliance is detected
Explanation

AWS Control Tower provides a strongly recommended detective control that detects Amazon RDS DB instances whose storage is not encrypted at rest. The control is implemented by the AWS Config managed rule RDS_STORAGE_ENCRYPTED. Enabling this managed control centrally and using EventBridge with Amazon SNS to send notifications avoids maintaining custom rule code, Lambda functions, scheduled scans, and per-account operational components.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!