SOA-C02 · Question #106
A company is managing multiple AWS accounts in AWS Organizations. The company is A company has attached the following policy to an IAM user: Which of the following actions are allowed for the IAM…
The correct answer is C. Amazon EC2 DescribeInstances action in the us-east-1 Region. The first statement explicitly allows any RDS action that begins with rds:Describe. The second statement explicitly allows any EC2 action, but only in the us-east-1 Region. The third statement is an explicit Deny for all actions except those that match either ec2: or…
Question
A company is managing multiple AWS accounts in AWS Organizations. The company is A company has attached the following policy to an IAM user:
Which of the following actions are allowed for the IAM user?
Options
- AAmazon RDS DescribeDBInstances action in the us-east-1 Region
- BAmazon S3 PutObject operation in a bucket named testbucket
- CAmazon EC2 DescribeInstances action in the us-east-1 Region
- DAmazon EC2 AttachNetworkInterface action in the eu-west-1 Region
How the community answered
(40 responses)- A5% (2)
- B5% (2)
- C78% (31)
- D13% (5)
Explanation
The first statement explicitly allows any RDS action that begins with rds:Describe*. The second statement explicitly allows any EC2 action, but only in the us-east-1 Region. The third statement is an explicit Deny for all actions except those that match either ec2:* or s3:GetObject. Because explicit Deny overrides any Allow, only actions that are either an EC2 action (or s3:GetObject) will be permitted.
Topics
Community Discussion
No community discussion yet for this question.