PAS-C01 Migration • Set 21
PAS-C01 Migration Practice Test 21 — 15 questions with explanations. Free, no signup.
The above IAM policy is attached to an IAM role used by an AWS DMS replication instance. The DMS task is migrating data from an on-premises Oracle database to Amazon S3. The DMS task fails with an access error. What is missing from the policy?
Refer to the exhibit.
```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:StartInstances",
"ec2:StopInstances"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject"
],
"Resource": "arn:aws:s3:::my-bucket/*"
}
]
}
```