AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

An AWS account (ID 111111111111) hosts an S3 bucket named corp-finance. The CloudOps engineer must allow only the IAM role AuditorsRole in an external account (ID 222222222222) to list the bucket and read objects. No other principal in that account should gain access. To meet the requirement, the engineer will use a resource-based policy and follow least privilege. Which configuration satisfies these goals?

  • Create a bucket policy with two statements that grant s3:ListBucket on arn:aws:s3:corp-finance and s3:GetObject on arn:aws:s3:corp-finance/*, setting "Principal": "arn:aws:iam::222222222222:role/AuditorsRole" in each statement.

  • Attach an inline IAM policy to AuditorsRole that allows s3:GetObject and s3:ListBucket on the corp-finance bucket; no bucket policy changes are needed.

  • Create a bucket policy that grants s3:* on the bucket and its objects to "Principal": "arn:aws:iam::222222222222:*" and add a Deny statement that blocks access when aws:PrincipalArn is not equal to AuditorsRole.

  • Create a bucket policy that grants s3:GetObject and s3:ListBucket to "Principal": "arn:aws:iam::222222222222:root".

AWS Certified CloudOps Engineer Associate SOA-C03
Security and Compliance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot