An enterprise manages a multi-account environment using AWS Organizations with consolidated billing. A solutions architect is designing a shared networking and security architecture with the following requirements:
* Subnets from a single VPC in a central Network account must be shared with multiple Application accounts inside specific Organizational Units (OUs) to run a combination of Amazon EC2 instances and AWS Fargate tasks.
* All Amazon EBS volumes launched within the Application accounts must be encrypted at rest using a Key Management Service (KMS) key managed in a centralized Shared Services account.
* API activity across all organizational accounts must be logged to a central S3 bucket in a Security account using an organizational trail.
* The enterprise wants to maximize discount coverage across both the EC2 instances and Fargate tasks.
Which of the following strategies should the solutions architect implement?
- Enable sharing with AWS Organizations in AWS Resource Access Manager (RAM). In the Network account, create a resource share for the subnets and associate it with the Application OUs. In the Shared Services account, create a Customer Managed Key (CMK) and configure its key policy to allow the Application accounts' IAM roles to perform key operations and create grants. In the Security account, configure the S3 bucket policy to allow the cloudtrail.amazonaws.com service principal to perform s3:PutObject with a condition matching aws:PrincipalOrgID. Purchase Compute Savings Plans in the Management account.Answer
- BEnable sharing with AWS Organizations in AWS Resource Access Manager (RAM). In the Network account, create a resource share for the subnets and associate it with the Application OUs. In the Shared Services account, create a Customer Managed Key (CMK) and configure its key policy to allow the Application accounts' IAM roles to perform key operations and create grants. In the Security account, configure the S3 bucket policy to allow the cloudtrail.amazonaws.com service principal to perform s3:PutObject with a condition matching aws:PrincipalOrgID. Purchase EC2 Instance Savings Plans in the Management account.
- CEnable sharing with AWS Organizations in AWS Resource Access Manager (RAM). In the Network account, create a resource share for the subnets and associate it with the Application OUs. In the Shared Services account, use the AWS-managed KMS key (aws/ebs) and modify its key policy to allow cross-account access for the Application accounts. In the Security account, configure the S3 bucket policy to allow the cloudtrail.amazonaws.com service principal to perform s3:PutObject with a condition matching aws:PrincipalOrgID. Purchase Compute Savings Plans in the Management account.
- DEnable sharing with AWS Organizations in AWS Resource Access Manager (RAM). In the Network account, create a resource share for the subnets and associate it with the Application OUs. In the Shared Services account, create a Customer Managed Key (CMK) and configure its key policy to allow the Application accounts' IAM roles to perform key operations and create grants. In the Security account, configure the S3 bucket with an IAM policy attached to the logging role in the management account to grant write permissions. Purchase Compute Savings Plans in the Management account.