Soru

Zorluk: OrtaCentralized Monitoring, Logging, and Auditing Solutions

A manufacturing corporation uses AWS Organizations to manage 3030 member accounts. The security team is designing a centralized logging and auditing solution. They want to collect AWS CloudTrail logs from all accounts and regions into a single Amazon S3 bucket located in a dedicated Security account. The solution must ensure that all log data is encrypted at rest using an AWS KMS key managed by the security team, member accounts cannot disable logging, and log delivery follows the principle of least privilege. Which combination of actions should the Solutions Architect perform to meet these requirements? (Select TWO.)

  1. Create an organization trail in the AWS Organizations management account that delivers logs to the central S3 bucket in the Security account, and apply an S3 bucket policy that allows write operations from the CloudTrail service principal under the condition that the organization ID matches the management account's organization.Cevap
  2. B
    Enable encryption on the organization trail using the default AWS-managed KMS key for CloudTrail in the Security account to automatically secure all logs sent from member accounts.
  3. Create a customer managed KMS key in the Security account, configure the key policy to allow the CloudTrail service principal to generate data keys and decrypt logs across the organization, and associate this key with the organization trail.Cevap
  4. D
    Configure the central S3 bucket policy to grant write access directly to the root IAM user of each member account individually to verify identity before log delivery.
  5. E
    Attach a Service Control Policy (SCP) to the organization's Root OU that grants write permissions to the central S3 bucket for all member accounts to allow their local CloudTrail configurations to deliver logs.

Cevap

Create an organization trail in the AWS Organizations management account that delivers logs to the central S3 bucket in the Security account, apply a bucket policy allowing the CloudTrail service principal restricted by the organization ID, and create a customer managed KMS key in the Security account with a key policy allowing cross-account CloudTrail access.
The correct solution uses an organization trail to consolidate log files from all AWS accounts within the Organization. The S3 bucket policy must allow the CloudTrail service principal to write logs, restricted by the organization ID to secure access. Because AWS-managed KMS keys cannot be shared across accounts, a customer managed key must be created in the Security account with a policy allowing the CloudTrail service principal to perform encryption operations.

Adım Adım Çözüm

1
Establish Centralized Organization Trail
An organization trail is created in the management account, which automatically deploys and locks the trail configuration across all member accounts, ensuring logs from all accounts and regions are routed to a central S3 bucket.
This prevents local administrators in member accounts from stopping the trail or modifying its delivery destination.
2
Configure the S3 Bucket Policy in the Security Account
The central S3 bucket policy is configured to allow the CloudTrail service principal to put objects, restricted by the organization ID condition.
This ensures the S3 bucket accepts writes only from authenticated CloudTrail deliveries belonging to the specific AWS Organization.
3
Create and Configure a Customer Managed KMS Key
A customer managed key is deployed in the Security account with a key policy that grants permissions to the CloudTrail service principal for cross-account log encryption.
AWS-managed KMS keys cannot be shared or modified for cross-account usage, making a customer managed key necessary to encrypt centralized logs.

Anahtar Kavram

Centralized auditing requires an organization-wide trail, a service-principal-aware S3 bucket policy restricted by organization ID, and a customer managed KMS key to handle cross-account encryption permissions.
Bu soruyu puanla