AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A financial services company uses AWS Organizations to manage a multi-account environment. A dedicated Security account (111111111111) is used by the central security team to conduct audits. This team needs read-only access to audit logs stored in hundreds of Amazon S3 buckets across multiple member accounts (e.g., Production account 999999999999, Development account 888888888888). The solution must be scalable, centrally manageable, and adhere to the principle of least privilege. Which approach is the most effective and secure for granting this cross-account access?
In the organization's management account, attach a Service Control Policy (SCP) to the relevant Organizational Units (OUs) that explicitly allows the Security account's role to perform read-only actions on S3 buckets in the member accounts.
In each member account, modify the S3 bucket policies to grant s3:GetObject and s3:ListBucket permissions directly to the ARN of the security team's IAM role in the Security account (111111111111).
In each member account, create an IAM role with a permissions policy granting read-only access to the S3 buckets. Configure the role's trust policy to allow a specific IAM role from the Security account (111111111111) to assume it.
In each member account, create a new set of IAM users for the security team. Attach an IAM policy to these users that grants read-only access to the local S3 buckets.
The correct approach is to create a dedicated IAM role in each member account with read-only permissions to the S3 buckets and a trust policy that allows an IAM role in the Security account to assume it. This is the AWS best practice for scalable and secure cross-account access. When a principal assumes a role, they temporarily acquire the permissions of that role, which supports the principle of least privilege by not granting persistent broad access. This method is highly scalable as the role creation can be automated across accounts using AWS CloudFormation StackSets.
Granting access directly via S3 bucket policies to a principal in another account is a valid method for cross-account access, but it is less scalable. Managing hundreds of individual bucket policies is more complex and error-prone than managing a single, centrally-deployed IAM role definition.
Creating IAM users in each member account is an anti-pattern. It leads to a proliferation of long-lived credentials, creates significant management overhead, and increases the security risk. Centralizing identities is a core security best practice.
Service Control Policies (SCPs) do not grant permissions. Instead, they act as permission guardrails, defining the maximum allowable permissions for an account or Organizational Unit (OU). An SCP alone cannot grant the security team access; permissions must still be explicitly granted via IAM policies or resource-based policies.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is creating IAM roles for cross-account access considered a best practice?
Open an interactive chat with Bash
What is the purpose of the trust policy in an IAM role?
Open an interactive chat with Bash
How do AWS Service Control Policies (SCPs) differ from IAM policies?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Design Solutions for Organizational Complexity
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .