DBS-C01 Deployment and Migration • Set 21
DBS-C01 Deployment and Migration Practice Test 21 — 15 questions with explanations. Free, no signup.
An IAM role with the above trust policy is created. The role is then attached to an EC2 instance. The application on the EC2 instance tries to create an RDS DB instance using the AWS SDK. What will happen?
Refer to the exhibit.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Action": "rds:CreateDBInstance",
"Resource": "*"
}
]
}