mediummultiple choiceObjective-mapped

An AWS Organizations setup uses an SCP to enforce that developers can read only non-production secrets. A developer role in a member account is correctly configured with an identity policy that allows: - secretsmanager:GetSecretValue on arn:aws:secretsmanager:us-east-1:222222222222:secret:app/* However, the developer gets AccessDenied with an error message mentioning an organization policy (SCP). The SCP includes this Deny statement: "Deny secretsmanager:GetSecretValue on * unless secretsmanager:ResourceTag/environment equals 'dev'". Which change best restores access for secrets tagged environment=dev while still blocking prod secrets?

Question 1mediummultiple choice
Full question →

An AWS Organizations setup uses an SCP to enforce that developers can read only non-production secrets. A developer role in a member account is correctly configured with an identity policy that allows: - secretsmanager:GetSecretValue on arn:aws:secretsmanager:us-east-1:222222222222:secret:app/* However, the developer gets AccessDenied with an error message mentioning an organization policy (SCP). The SCP includes this Deny statement: "Deny secretsmanager:GetSecretValue on * unless secretsmanager:ResourceTag/environment equals 'dev'". Which change best restores access for secrets tagged environment=dev while still blocking prod secrets?

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

Update the SCP to match the correct tag key/format actually used on your Secrets Manager secret resources so the condition evaluates to true for environment=dev.

SCP conditions that rely on resource tags must use the correct tag key and the correct Secrets Manager tag condition key (for example, secretsmanager:ResourceTag/<tag-key>). If the SCP references a tag key/format that doesn’t match how the secrets are actually tagged, the 'unless' condition won’t evaluate as intended, and the Deny will still apply.

B

Distractor review

Remove the Deny statement from the SCP and rely only on the member account identity policy.

Removing the SCP removes the centralized guardrail. Identity policies can drift across member accounts, and the scenario is explicitly about an SCP enforcing the desired behavior.

C

Distractor review

Add an IAM policy statement with Effect=Allow and "Condition: aws:PrincipalOrgID" in the member account to override the SCP.

An SCP Deny cannot be overridden by IAM Allow statements. SCPs determine the maximum effective permissions at the organization level, and when the SCP Deny condition matches, access is blocked.

D

Distractor review

Use a longer STS session duration so the SCP is evaluated less frequently.

SCP evaluation is not avoided by session duration. If the SCP Deny condition matches the request, access is denied regardless of session duration.

Common exam trap

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Technical deep dive

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

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?

Standard ACLs match source addresses.

What is the correct answer to this question?

The correct answer is: Update the SCP to match the correct tag key/format actually used on your Secrets Manager secret resources so the condition evaluates to true for environment=dev. — The error indicates an SCP (organization policy) is denying the request. Because the SCP Deny is conditional on a resource tag (environment=dev), the access problem is most likely that the SCP condition does not match the actual tag key/format on the Secrets Manager secret resources being accessed. Updating the SCP to use the correct secretsmanager:ResourceTag/<environment-key> condition (so secrets tagged environment=dev satisfy the condition) restores access for dev secrets while continuing to deny for non-dev (for example, prod) secrets. B removes the centralized control the question is testing. C is incorrect because IAM Allow cannot override an SCP Deny. D is incorrect because SCP evaluation is enforced per request, not amortized across a session duration.

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.