PAS-C01 Migration Practice Question
Exhibit
Refer to the exhibit. The following is an IAM policy attached to an EC2 instance role:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::sap-migration-bucket/*"
},
{
"Effect": "Allow",
"Action": [
"dms:CreateReplicationTask",
"dms:StartReplicationTask"
],
"Resource": "*"
}
]
}An SAP administrator is trying to run an AWS DMS replication task from an EC2 instance that has this IAM role. The task fails with an access denied error. What is the most likely cause?
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 does not include permissions for dms:DescribeReplicationTasks.
The IAM policy attached to the EC2 instance role does not include permissions for the dms:DescribeReplicationTasks action. When the DMS replication task is started, the DMS service needs to describe the task status and list replication tasks, which requires this action. Without it, the API call fails with an access denied error. Although the policy includes dms:CreateReplicationTask and dms:StartReplicationTask, the absence of dms:DescribeReplicationTasks causes the failure. Option D correctly identifies this missing permission.
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 EC2 instance role is not attached to the instance.
Why it's wrong here
The administrator is trying to run the task, so the role is likely attached.
- ✗
The S3 bucket name is incorrect.
Why it's wrong here
The S3 action is allowed on the correct bucket.
- ✗
The S3 actions require additional permissions for the bucket.
Why it's wrong here
S3 actions are already allowed on the bucket.
- ✓
The policy does not include permissions for dms:DescribeReplicationTasks.
Why this is correct
To start a task, DMS may need to describe replication tasks first.
Go deeper
Related to this question
About these practice questions
One of 1,616 original PAS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.