A company wants to implement a centralized logging solution for all VPCs in their AWS Organization. They need to capture VPC Flow Logs, AWS CloudTrail logs, and DNS logs, and store them in a central Amazon S3 bucket. The logs must be encrypted with a customer-managed KMS key. Which solution meets these requirements with the least operational overhead?
Trap 1: Create an S3 bucket in the central account with KMS encryption
Requires manual configuration for each log type and account.
Trap 2: Create separate S3 buckets for each log type in the central account…
Does not centralize log delivery; requires multiple buckets.
Trap 3: Use Amazon S3 with default encryption and enable S3 Cross-Region…
Does not use customer-managed KMS key.
- A
Create an S3 bucket in the central account with KMS encryption. Configure each account to send logs to that bucket using cross-account permissions.
Why wrong: Requires manual configuration for each log type and account.
- B
Create separate S3 buckets for each log type in the central account and configure KMS encryption. Use AWS Glue to crawl and catalog the logs.
Why wrong: Does not centralize log delivery; requires multiple buckets.
- C
Use the AWS Centralized Logging with OpenSearch Service solution, which sets up the necessary infrastructure to collect and store logs from multiple accounts in a central S3 bucket with KMS encryption.
Automated solution reduces operational overhead.
- D
Use Amazon S3 with default encryption and enable S3 Cross-Region Replication to a central bucket.
Why wrong: Does not use customer-managed KMS key.