mediummultiple choiceObjective-mapped

A CI/CD system creates an IAM role (CICDRole) used for deployments. Your organization uses IAM permission boundaries to prevent developers from granting themselves higher privileges. After an incident, you discover that CICDRole can perform unintended IAM actions because the role’s identity policy includes broad permissions. Which change most directly ensures permission boundaries continue to restrict CICDRole regardless of what is later added to the role’s identity policies?

Question 1mediummultiple choice
Full question →

A CI/CD system creates an IAM role (CICDRole) used for deployments. Your organization uses IAM permission boundaries to prevent developers from granting themselves higher privileges. After an incident, you discover that CICDRole can perform unintended IAM actions because the role’s identity policy includes broad permissions. Which change most directly ensures permission boundaries continue to restrict CICDRole regardless of what is later added to the role’s identity policies?

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

Distractor review

Remove the permission boundary from CICDRole so that only the identity policy controls access.

Removing the permission boundary removes the guardrail. If the identity policy is overly broad, nothing will cap the effective permissions, allowing the unintended IAM actions.

B

Best answer

Ensure CICDRole is created with the required permissions boundary ARN, and verify that the boundary policy does not allow the unintended IAM actions.

Permission boundaries cap the maximum effective permissions for the role by intersecting the identity policy and the permissions boundary at authorization time. Even if the identity policy later expands, the boundary still prevents actions not allowed by the boundary policy, providing deterministic enforcement against privilege escalation.

C

Distractor review

Add an identity-policy deny for iam:CreatePolicy and iam:UpdateRole on all resources.

Identity-policy denies can be incomplete or bypassed indirectly through other actions/permissions or policy changes. They also depend on correct identity policy maintenance over time, whereas permission boundaries provide a centralized maximum cap for the role.

D

Distractor review

Rely on CloudTrail alerts to stop deployments from performing IAM changes after the fact.

CloudTrail is a detective control; it does not stop or block IAM actions. Permission boundaries must be enforced during authorization, not after the event.

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: Ensure CICDRole is created with the required permissions boundary ARN, and verify that the boundary policy does not allow the unintended IAM actions. — Create/maintain CICDRole with the appropriate permissions boundary ARN and ensure that the boundary policy explicitly limits the allowed permissions. Permission boundaries are enforced at authorization time by intersecting the role’s identity policy with the boundary policy, so expanded identity policies cannot grant permissions beyond what the boundary allows. This directly addresses the privilege escalation risk. Removing the boundary removes the enforcement mechanism. Identity-policy denies are not as robust as boundaries for preventing future privilege expansion. CloudTrail alerts cannot prevent unauthorized actions because they only detect activity after it occurs.

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.