Courseiva
Management and Security GovernancemediumMultiple SelectObjective-mapped

Enforce Least Privilege with IAM Policies & SCPs

Which TWO actions are valid ways to enforce the principle of least privilege in an AWS environment?

Quick Answer

Enforcing least privilege in AWS is about applying restriction at two different layers that reinforce each other rather than relying on a single control. IAM policies attached to individual users or roles should be scoped to grant only the specific actions those principals actually need, the fine-grained, per-principal layer of least privilege. Service control policies operate at a different layer: attached to an organizational unit or account within AWS Organizations, they set an outer boundary on what any principal in that account can ever do, regardless of how permissive their individual IAM policies might be, making them effective for enforcing guardrails consistently across every account and user at once. The options that fail here all share the same problem: they grant broad or unrestricted access rather than narrowing it, whether that is using the root user for routine administrative tasks, writing a bucket policy that opens access to every IAM user instead of specific ones, or attaching a fully permissive managed policy like AdministratorAccess to a principal that doesn't need it. When a question asks which actions enforce least privilege, look for mechanisms that narrow or restrict what is allowed, applied at either the individual policy level or the organizational boundary level, and treat any option that broadens or grants blanket access as automatically disqualified no matter how convenient it sounds.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Grant only the necessary actions in IAM policies

Options C and D are correct. Option C is correct because IAM policies should grant only the necessary actions, adhering to least privilege. Option D is correct because SCPs can deny actions that are not required across accounts, enforcing least privilege at the organization level. Option A is wrong because using the root user for daily administration grants unrestricted access, violating least privilege. Option B is wrong because S3 bucket policies that allow all IAM users do not restrict permissions per user. Option E is wrong because assigning the AdministratorAccess managed policy grants full access, contradicting least privilege.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use the root user for daily administration

    Why it's wrong here

    Root user has unrestricted access, should be avoided.

  • Use S3 bucket policies to allow all IAM users

    Why it's wrong here

    Allowing all users is not least privilege.

  • Grant only the necessary actions in IAM policies

    Why this is correct

    This directly applies least privilege.

  • Use SCPs to deny actions that are not required

    Why this is correct

    SCPs can centrally enforce restrictions.

  • Assign the AdministratorAccess managed policy to all users

    Why it's wrong here

    This grants full access, violating least privilege.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SCS-C02 question from scratch — 376 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on SCS-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO actions can be taken to enforce the principle of least privilege for IAM users in an AWS account? (Choose two.)

medium
  • A.Use IAM roles with temporary credentials for access
  • B.Grant full administrative access to all users to simplify management
  • C.Use service control policies (SCPs) to restrict user permissions
  • D.Use the root user for daily administrative tasks
  • E.Regularly review and remove unused IAM policies

Why A: Uses IAM roles with temporary credentials, which adheres to least privilege by providing only necessary permissions for a limited time. Option E involves regularly reviewing and removing unused IAM policies, which ensures that only required permissions are granted and eliminates excessive permissions. Option B (full admin) violates least privilege. Option C (SCP) applies to accounts/OU, not individual users. Option D (root user) should be avoided for daily tasks due to excessive permissions.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SCS-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 SCS-C02 exam.