SCS-C02 Identity and Access Management Practice Question
Exhibit
Refer to the exhibit. IAM policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iam:CreateUser",
"Resource": "*"
},
{
"Effect": "Deny",
"Action": "iam:*",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:RequestedRegion": "us-east-1"
}
}
}
]
}Refer to the exhibit. An IAM user has this policy attached. Can the user create a new IAM user in the us-east-1 region?
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
✓
No, because the Deny statement blocks all IAM actions in us-east-1.
The Deny statement blocks all IAM actions in us-east-1, which overrides the Allow for CreateUser. Since the Deny is explicit, it blocks the action even though there is an Allow. The request fails.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Yes, because the Allow statement explicitly permits CreateUser.
Why it's wrong here
The Deny overrides the Allow.
- ✗
No, because IAM is a global service and region conditions do not apply.
Why it's wrong here
IAM is global, but condition keys can still be evaluated; however, the Deny will block the request if the condition matches.
- ✗
Yes, because the Deny only applies to us-east-1.
Why it's wrong here
The Deny applies to us-east-1, which is the region in question.
- ✓
No, because the Deny statement blocks all IAM actions in us-east-1.
Why this is correct
The Deny is explicit and overrides the Allow.
Go deeper
Related to this question
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 →
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.