AWS AI Practitioner AIF-C01 · Security, Compliance, and Governance for AI Solutions · medium
A multi-tenant SaaS provider uses Amazon SageMaker AI and Amazon Bedrock across five product teams (Retail, Healthcare, Logistics, Fintech, Media). The Chief Information Security Officer wants an Attribute-Based Access Control (ABAC) IAM policy so that an ML engineer can only invoke or modify SageMaker endpoints and Bedrock custom models whose resource tag Department matches the engineer's own IAM session tag (Department). Which IAM policy condition key enforces this dynamic tag comparison without editing policies when new engineers join?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. Match aws:ResourceTag/Department to ${aws:PrincipalTag/Department} via ABAC
In AWS IAM Attribute-Based Access Control (ABAC), comparing aws:ResourceTag/Department against ${aws:PrincipalTag/Department} in a StringEquals condition dynamically grants access only when the principal's tag matches the AI resource's tag, eliminating manual policy edits as staff or endpoints scale.
Why the other options are wrong
- A. Hardcode every individual engineer's IAM User ARN inside each SageMaker endpoint policy — Hardcoding ARNs is static RBAC/resource-policy maintenance that requires manual policy updates whenever staff join or leave.
- B. Use aws:SourceIp set to 0.0.0.0/0 on the AWS Organizations root account — Allowing 0.0.0.0/0 by source IP does not isolate resources across the five departmental teams.
- D. Share a single IAM root access key across the five engineering departments — Sharing root credentials violates least privilege and AWS IAM security best practices.
Practise Security, Compliance, and Governance for AI SolutionsAWS AI Practitioner AIF-C01 practice test
More Security, Compliance, and Governance for AI Solutions questions
- A chief information security officer (CISO) asks whether proprietary source code and customer prompts sent to Amazon…
- A regulated healthcare company runs an application in a private VPC subnet (with no internet access) that invokes…
- A regulated financial firm using Amazon Bedrock must capture the full prompt input text, generated response text…
- A hospital deploys a clinical mortality-risk model on an Amazon SageMaker real-time endpoint. Six months later…
- An organization is preparing for an external ISO/IEC 42001 (AI Management System) and SOC 2 audit of its Amazon…
All Security, Compliance, and Governance for AI Solutions questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.