PAS-C01 Operations and Maintenance Practice Question
Exhibit
Refer to the exhibit.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ec2:Describe*",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "ec2:StartInstances",
"Resource": "arn:aws:ec2:us-east-1:123456789012:instance/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/Environment": "production"
}
}
},
{
"Effect": "Allow",
"Action": "ec2:StopInstances",
"Resource": "arn:aws:ec2:us-east-1:123456789012:instance/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/Environment": "production"
}
}
}
]
}
```An SAP administrator is troubleshooting why a user cannot stop a production EC2 instance. The IAM policy attached to the user is shown in the exhibit. Which action is likely causing the failure?
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 instance does not have the tag Environment=production.
The IAM policy allows StopInstances only when the instance has the tag Environment=production. If the instance does not have this tag, the condition in the policy is not met, and the action is implicitly denied. Option B is not necessarily correct because there is no evidence of an explicit deny in another policy. Option C is incorrect because the policy does allow StopInstances with the condition. Option D is incorrect because the ec2:DescribeInstances action is not required to stop an instance.
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 instance does not have the tag Environment=production.
Why this is correct
The condition requires the tag to be exactly 'production'.
- ✗
There is an explicit deny statement in another policy.
Why it's wrong here
No explicit deny is shown.
- ✗
The policy does not allow the StopInstances action.
Why it's wrong here
StopInstances is allowed with the condition.
- ✗
The policy does not include ec2:DescribeInstances action.
Why it's wrong here
The policy includes ec2:Describe* which covers DescribeInstances.
Go deeper
Related to this question
About these practice questions
This PAS-C01 question is part of Courseiva's 1,616-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PAS-C01 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 PAS-C01 exam.