A biotechnology firm uses AWS Organizations to manage its multi-account environment, which is structured into several Organizational Units (OUs), including Core-Security, Workloads-Prod, and Workloads-Dev. The solutions architect must establish governance controls to satisfy the following requirements:
1. Security logging (AWS CloudTrail) and compliance auditing (AWS Config) must remain enabled in all workload accounts, and member account administrators must be prevented from disabling or deleting these resources.
2. Developers in the Workloads-Dev OU must be restricted to launching only pre-approved configurations of Amazon EC2, Amazon RDS, and AWS Lambda resources to ensure compliance and cost control.
Which two actions should the solutions architect implement to meet these requirements?
- Attach a Service Control Policy (SCP) to the Workloads-Prod and Workloads-Dev OUs that denies cloudtrail:StopLogging, cloudtrail:UpdateTrail, cloudtrail:DeleteTrail, and config:DeleteConfigRule actions.Answer
- BConfigure an organizational CloudTrail trail in the management account to write logs to an S3 bucket in the Core-Security account, encrypting the trail using the default AWS-managed KMS key (aws/cloudtrail) to automatically allow member accounts to write encrypted logs.
- Create AWS Service Catalog portfolios of approved EC2, RDS, and Lambda configurations in the management account, share them with the Workloads-Dev OU using AWS Service Catalog portfolio sharing, and attach an SCP to the Workloads-Dev OU that denies direct resource creation actions unless the request is made via servicecatalog.amazonaws.com using the aws:CalledVia condition.Answer
- DCreate an IAM permissions boundary in each member account that permits only the creation of EC2, RDS, and Lambda resources, and assign local administrators the responsibility of attaching this boundary to all IAM users and roles, assuming this delegates enforcement without needing an SCP.
- ECreate AWS Service Catalog portfolios containing the approved configurations in the management account, share the portfolios with the Workloads-Dev OU using AWS Resource Access Manager (RAM), and attach an SCP to the Workloads-Dev OU that allows only servicecatalog:* actions.