An automotive company operates an IoT connected vehicle platform that transmits real-time telemetry data, location records, and vehicle diagnostic logs from vehicles to an Amazon S3 bucket in a Production AWS account. Due to new industry compliance mandates, the company must enhance data protection and auditability for this platform.
The solutions architect must implement a security solution that satisfies the following requirements:
- All telemetry data written to the S3 bucket must be encrypted at rest using an AWS KMS key that is rotated annually.
- Key management must be strictly segregated: the security team in a separate Central Security AWS account must control the KMS key and its policy, while the application in the Production account must only be granted permission to encrypt and decrypt the telemetry files.
- Access to the telemetry files must be audited. Any unauthorized access attempts must trigger an immediate notification.
- The telemetry data must remain completely immutable and protected against deletion or modification by any user, including the root user, for a retention period of 7 years.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Create a Customer Managed Key (CMK) in the Central Security account with key rotation enabled. Update the CMK key policy in the Central Security account to grant kms:GenerateDataKey and kms:Decrypt permissions to the application's IAM role in the Production account. In the Production account, configure the application's IAM role with a policy allowing these same KMS actions on the Central Security account's CMK ARN, and configure the S3 bucket to use this key for default encryption.Answer
- Enable versioning on the S3 bucket and configure S3 Object Lock in compliance mode with a retention duration of 7 years. Configure AWS CloudTrail to log data events for the S3 bucket, and create an Amazon EventBridge rule that filters for S3 API call errors containing AccessDenied, triggering an Amazon SNS topic to notify the security team.Answer
- CConfigure the S3 bucket in the Production account to use the default AWS managed S3 KMS key (aws/s3). In the Central Security account, create an IAM policy that delegates cross-account access to the Production application's IAM role, and configure the key policy of the AWS managed key to trust the Production account.
- DApply a Service Control Policy (SCP) at the Organizational Unit (OU) level containing the Production account that explicitly grants kms:GenerateDataKey and kms:Decrypt permissions on the Central Security account's KMS key to the application's IAM role, and rely on this SCP to authorize the cross-account access.
- EEnable versioning and configure S3 Object Lock in governance mode on the S3 bucket. Create an S3 bucket policy in the Production account that allows only the Central Security account's root user to bypass retention policies and delete previous object versions, while blocking all other users.