Courseiva
Identity and Access ManagementhardMultiple ChoiceObjective-mapped

SCS-C02 Identity and Access Management Practice Question

A security engineer is analyzing an IAM policy that is attached to a group. The policy is intended to allow users to manage their own credentials. However, users are reporting that they cannot change their password. The policy is:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["iam:ChangePassword", "iam:GetAccountPasswordPolicy"],
      "Resource": "*"
    }
  ]
}

What is the issue?

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

The policy resource is set to "*", but ChangePassword requires the resource to be the specific user ARN.

The ChangePassword action requires the resource ARN to be the specific user's ARN (e.g., arn:aws:iam::account-id:user/${aws:username}). Using a wildcard '*' causes the policy to fail because IAM validates the resource ARN against the user's own ARN. Options A and C are incorrect because the required action is iam:ChangePassword, not UpdateLoginProfile or CreateLoginProfile. Option B is incorrect because the policy attachment to the group is not the issue; the resource restriction is the problem.

Answer analysis

Option-by-option breakdown

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

  • The policy does not include the iam:UpdateLoginProfile action.

    Why it's wrong here

    ChangePassword is the correct action for console password change.

  • The policy should be attached to the user instead of the group.

    Why it's wrong here

    Group attachment is fine.

  • The policy is missing the iam:CreateLoginProfile action.

    Why it's wrong here

    Not needed for password change.

  • The policy resource is set to "*", but ChangePassword requires the resource to be the specific user ARN.

    Why this is correct

    IAM enforces that ChangePassword must be scoped to the user's own ARN.

About these practice questions

This SCS-C02 question is part of Courseiva's 376-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 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.