hardmulti selectObjective-mapped

A reporting application in Account B must read files from an S3 bucket in Account A. The bucket contains objects encrypted with a customer managed KMS key in Account A. The application role in Account B already has an identity policy allowing s3:GetObject on the bucket prefix, but requests still fail with AccessDenied. Which two changes are required for the application to read the objects? Select two.

Question 1hardmulti select
Full question →

A reporting application in Account B must read files from an S3 bucket in Account A. The bucket contains objects encrypted with a customer managed KMS key in Account A. The application role in Account B already has an identity policy allowing s3:GetObject on the bucket prefix, but requests still fail with AccessDenied. Which two changes are required for the application to read the objects? Select two.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Add a bucket policy in Account A that allows the Account B role to perform s3:GetObject on the required prefix.

Cross-account S3 access requires a resource-based permission on the bucket. The bucket policy must explicitly allow the external role to read the needed prefix, otherwise the bucket owner blocks the request even if the role's identity policy allows it.

B

Best answer

Add the Account B role to the KMS key policy in Account A with permission to use kms:Decrypt.

Because the objects use SSE-KMS, S3 must be able to decrypt them with the customer managed key. The external role needs authorization in the KMS key policy, or the decrypt step fails even when S3 access is allowed.

C

Distractor review

Attach an IAM policy in Account B that grants s3:* on the bucket and its objects.

An identity policy in Account B alone cannot authorize access to a bucket in another account. S3 also requires a matching resource policy or equivalent cross-account trust, and broad s3:* is unnecessary for least privilege.

D

Distractor review

Create an S3 gateway endpoint in Account B so the application can reach the bucket privately.

A gateway endpoint can improve private connectivity, but it does not solve missing authorization. The AccessDenied error here is caused by cross-account permission and KMS policy gaps, not by the network path.

E

Distractor review

Add an SCP in Account A that allows the Account B role to bypass KMS encryption checks.

Service control policies do not grant access to a specific external role and cannot bypass KMS authorization. SCPs only set guardrails for accounts and OUs; they do not replace bucket or key policies.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Add a bucket policy in Account A that allows the Account B role to perform s3:GetObject on the required prefix. — For an external role to read SSE-KMS encrypted objects, two separate permission layers must succeed. First, the S3 bucket policy in the owning account must allow the role to perform the object read. Second, the KMS key policy must allow that same role to use kms:Decrypt so S3 can unwrap the object data key. Either permission missing causes AccessDenied, even when the role has an identity policy in its own account. Why others are wrong: An identity policy in the caller account does not authorize cross-account access by itself, so broader s3:* still fails. A gateway endpoint only changes network routing and is unrelated to authorization. An SCP cannot be used to grant a foreign role access or override KMS controls, so it is not a fix for this failure.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.