nerdexam
AmazonAmazon

DOP-C02 · Question #59

DOP-C02 Question #59: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #59. The question stem and answer options stay visible for context.

Submitted by kwame.gh· Mar 6, 2026Identity and Access Management - Implement and manage fine-grained access control using ABAC with IAM Identity Center session tags and resource-based policy conditions

Question

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.

Options

  • ACondition": { "ForAllValues:StringEquals": { "aws:TagKeys": ["department"] } }
  • BCondition": { "StringEquals": { "aws:PrincipalTag/department": "${aws:ResourceTag/department}" } }
  • CCondition": { "StringEquals": { "ec2:ResourceTag/department": "${aws:PrincipalTag/department}" } }
  • DCondition": { "ForAllValues:StringEquals": { "ec2:ResourceTag/department": ["d1", "d2", "d3"] } }

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#IAM Identity Center#Attribute-Based Access Control (ABAC)#IAM Policy Conditions#EC2 Resource Tags
Full DOP-C02 PracticeBrowse All DOP-C02 Questions