The correct answer is that the write is allowed because the policy grants access to the root user of account 123456789012. When an S3 bucket policy specifies the root user of an AWS account as the Principal, it effectively delegates permissions to every IAM user, role, and service within that account, since the root user owns all identities. In this case, the policy allows s3:PutObject on the prefix AWSLogs/123456789012/*, so a service in the target account writing to s3://my-log-bucket/AWSLogs/123456789012/logfile.txt inherits that permission. On the SAP-C02 exam, this scenario tests your understanding that cross-account S3 bucket policies with a root Principal grant account-wide access, not just to the root user’s own actions—a common trap is assuming a service needs an explicit IAM role or user ARN. Remember the tip: “Root ARN in Principal = all identities in the account.”
SAP-C02 Practice Question: Design Solutions for Organizational Complexity
This SAP-C02 practice question tests your understanding of design solutions for organizational complexity. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Refer to the exhibit. This S3 bucket policy is attached to a bucket in the security account (111111111111). The policy grants access to account 123456789012. A service in account 123456789012 tries to write a log file to s3://my-log-bucket/AWSLogs/123456789012/logfile.txt. What will happen?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The write is allowed because the policy grants access to the root of account 123456789012.
The S3 bucket policy grants access to the root user of account 123456789012 (the `Principal` is the AWS account root user via the account ARN). When a service in that account writes to the bucket, the request is made on behalf of the account, and the root user effectively owns all identities in the account. The policy allows `s3:PutObject` on the `AWSLogs/123456789012/*` prefix, so the write to `s3://my-log-bucket/AWSLogs/123456789012/logfile.txt` is permitted. Option B correctly identifies that the root user grant covers the service's action.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
The write is denied because the principal is the root user, not an IAM role.
Why it's wrong here
Root principal includes all IAM entities.
✓
The write is allowed because the policy grants access to the root of account 123456789012.
Why this is correct
Correct: the root principal covers all IAM entities in that account.
Related concept
Read the scenario before looking for a memorised answer.
✗
The write is denied because the policy only allows GetObject, not PutObject.
Why it's wrong here
PutObject is in the action list.
✗
The write is allowed only if the object key is exactly 'AWSLogs/123456789012/'.
Why it's wrong here
The wildcard /* allows any object under the prefix.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume a root user principal only applies to the literal root user credentials, not to all identities in the account, leading them to incorrectly think the service's write would be denied.
Detailed technical explanation
How to think about this question
Under the hood, S3 bucket policies are evaluated at the resource level, and when the `Principal` is set to an AWS account root user (e.g., `"AWS": "arn:aws:iam::123456789012:root"`), it grants permissions to all IAM users and roles in that account, provided they also have appropriate IAM permissions. This is because the root user ARN acts as a placeholder for the entire account. In real-world scenarios, this pattern is commonly used for cross-account logging (e.g., AWS CloudTrail or ELB logs) where the logging service in the source account assumes a role or uses the account's root-level grant to write to a central logging bucket.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Design Solutions for Organizational Complexity — This question tests Design Solutions for Organizational Complexity — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The write is allowed because the policy grants access to the root of account 123456789012. — The S3 bucket policy grants access to the root user of account 123456789012 (the `Principal` is the AWS account root user via the account ARN). When a service in that account writes to the bucket, the request is made on behalf of the account, and the root user effectively owns all identities in the account. The policy allows `s3:PutObject` on the `AWSLogs/123456789012/*` prefix, so the write to `s3://my-log-bucket/AWSLogs/123456789012/logfile.txt` is permitted. Option B correctly identifies that the root user grant covers the service's action.
What should I do if I get this SAP-C02 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.