A financial services company manages its multi-account environment using AWS Organizations. To ensure strict compliance, the security team wants to restrict member accounts in the Development Organizational Unit (OU) to only use Amazon S3, Amazon EC2, and Amazon DynamoDB. A solutions architect creates a custom Service Control Policy (SCP) that allows all actions (`*`) for `s3`, `ec2`, and `dynamodb`. The architect attaches this SCP to the Development OU and removes the default `FullAWSAccess` SCP. Shortly after, a developer in a development member account attempts to upload objects to an S3 bucket. The S3 bucket is encrypted with a Customer Managed Key (CMK) stored in the same account. The developer's IAM role has the AWS-managed policy `AmazonS3FullAccess` attached. However, the developer receives an 'Access Denied' error. What is the root cause of this issue?
- AThe custom SCP on the OU automatically overrides the developer's local IAM policies and grants S3 access directly, but the developer must use an IAM role in the Organizations management account to inherit the SCP permissions.
- BThe S3 bucket is encrypted using an AWS-managed KMS key (aws/s3), which does not support policy modifications, and the developer must modify the key policy of the AWS-managed KMS key to allow the member account's role access.
- CThe developer's IAM role is missing a trust relationship with the AWS Organizations management account, which prevents the role from inheriting permissions from the newly attached Service Control Policy.
- The custom SCP implicitly denies AWS KMS actions because the default FullAWSAccess SCP was removed. The developer's IAM role lacks permission to use the Customer Managed Key (CMK) for encryption because the SCP blocks the required Key Management Service (KMS) actions.Cevap