Subdomain 1.2: Design and implement logging solutions
1.A Security Engineer is tasked with designing a centralized logging solution for an AWS Organization. The solution must capture API activity for all AWS accounts in the organization, ensure log integrity, and provide strong encryption using customer-controlled keys. Which approach represents the most efficient and secure configuration?
- A.Create a trail in the management account, enable it for all accounts, configure SSE-S3 encryption, and enable log file validation.
- B.Create an organization trail in the delegated administrator account, configure SSE-KMS encryption using a CMK, and enable log file validation.
- C.Create a separate trail in each member account, route them to a central S3 bucket, configure SSE-KMS encryption, and enable log file validation.
- D.Create an organization trail in the delegated administrator account, configure SSE-KMS encryption using an AWS managed key, and enable log file validation.
Show answer & explanation
Correct answer: B — Create an organization trail in the delegated administrator account, configure SSE-KMS encryption using a CMK, and enable log file validation.
- A. Creating a trail in the management account is possible, but AWS best practices recommend using a delegated administrator account for security tooling to limit management account access. Additionally, SSE-S3 does not provide the same level of control, auditability, or key policy granularity as SSE-KMS with a CMK.
- B. This is the correct approach. An organization trail created in a delegated administrator account (such as a security tooling account) centralizes management across the AWS Organization. Using SSE-KMS with a Customer Managed Key (CMK) allows for granular access control and rotation, while log file validation ensures that any unauthorized changes to the logs are detectable.
- C. Creating individual trails in every member account is administratively burdensome and difficult to scale. An organization trail is the standard, centralized mechanism for capturing activity across all accounts automatically, including new accounts as they are added.
- D. While this uses an organization trail and log file validation, AWS managed keys (aws/cloudtrail) do not offer the same level of control as a Customer Managed Key (CMK). For highly sensitive audit trails, CMKs are preferred to allow for custom key policies, separation of duties, and rotation management.