Courseiva
Security and ComplianceeasyMultiple ChoiceObjective-mapped

CLF-C02 Security and Compliance Practice Question

Which IAM feature allows you to grant temporary, limited access to AWS resources for users who don't have AWS accounts, such as third-party contractors?

⚠ Common exam trap

Test-takers frequently confuse IAM Roles with cross-account access with IAM Groups, thinking groups can be used to grant permissions to external users, but groups only apply to IAM users within your own account.

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

IAM Roles with cross-account access

IAM Roles with cross-account access allow you to grant temporary, limited permissions to users from another AWS account or external identity providers (e.g., third-party contractors) without creating IAM users for them. The role is assumed via AWS Security Token Service (STS), which issues temporary credentials that expire after a defined duration, ensuring least-privilege access.

Answer analysis

Option-by-option breakdown

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

  • IAM Groups

    Why it's wrong here

    IAM Groups are logical containers used to attach permission policies to multiple IAM users at once within the same AWS account. They are an administrative convenience for managing the permissions of identities that you have already created as IAM users, but they have no ability to authenticate anyone — groups are not principals and do not possess credentials. Since the group is entirely internal to your account and operates on existing IAM users, it cannot be used to grant access to a party outside your AWS account; there is no way to add an external entity to an IAM group without first creating a permanent IAM user for that entity.

  • IAM Roles with cross-account access

    Why this is correct

    IAM Roles with cross-account access are the correct approach because they create a temporary, scoped trust relationship with an external identity. You configure the role's trust policy to allow a specific external AWS account or federated identity provider to call the Security Token Service (STS) AssumeRole operation, which provides short-lived credentials in return. The role's permission policy defines exactly which actions and resources the external party may access, so you apply fine-grained least-privilege controls without ever creating a permanent IAM user for that party. Because the credentials expire automatically (typically within one hour), this design reduces risk and is the standard pattern for granting controlled access to external collaborators or applications.

  • IAM password policies

    Why it's wrong here

    IAM password policies are account-local rules that enforce password complexity, minimum length, rotation, and reuse restrictions for IAM users already defined in your account. They apply only to credentials that exist within your own directory of identities, so an external party has no password to be governed by them. Rather than creating any grant of access, these policies merely constrain how internal users maintain their own login secrets, making them irrelevant to granting access to someone outside your AWS account.

  • Service Control Policies (SCPs)

    Why it's wrong here

    Service Control Policies (SCPs) are features of AWS Organizations that act as permission guardrails over all accounts in the organization. They are restrictive, not permissive: an SCP can deny or limit what principals in a member account can do, but it never grants new permissions or allows a principal to exist. Crucially, SCPs apply only to principals already present within member accounts, so they cannot provide a mechanism for an external party to gain authenticated access — they only shrink the effective permissions of identities the account already has.

About these practice questions

This CLF-C02 question is part of Courseiva's 988-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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