exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 25 discussion

A company has multiple AWS accounts. The company uses AWS IAM Identity Center (AWS Single Sign-On) that is integrated with AWS Toolkit for Microsoft Azure DevOps. The attributes for access control feature is enabled in IAM Identity Center.
The attribute mapping list contains two entries. The department key is mapped to ${path:enterprise.department}. The costCenter key is mapped to ${path:enterprise.costCenter}.
All existing Amazon EC2 instances have a department tag that corresponds to three company departments (d1, d2, d3). A DevOps engineer must create policies based on the matching attributes. The policies must minimize administrative effort and must grant each Azure AD user access to only the EC2 instances that are tagged with the user’s respective department name.
Which condition key should the DevOps engineer include in the custom permissions policies to meet these requirements?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
thanhnv142
Highly Voted 1 year, 5 months ago
C is correct: check the EC2's department tag, if it is the same as user(principaltag)'s department tag, allow access. A: wrong synxtax, should be StringEquals only B: we checking the tag of Ec2, not aws. D: if config like this, every cases will match and everyone can access every EC2, regardless of department
upvoted 6 times
...
jamesf
Most Recent 11 months, 3 weeks ago
Selected Answer: C
C, related with ABAC.
upvoted 1 times
...
madperro
2 years, 1 month ago
Selected Answer: C
C, see an example at https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-abac.html
upvoted 4 times
...
alce2020
2 years, 3 months ago
C is the correct answer
upvoted 2 times
...
ele
2 years, 3 months ago
Selected Answer: C
https://aws.amazon.com/blogs/aws/new-attributes-based-access-control-with-aws-single-sign-on/
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...