Home / AWS Certified AI Practitioner (AIF-C01) / 5 Practice / AWS-AIF-308
An inference role should read only a subset of S3 objects.
Further restrict the access path.
Choose two designs.
Hint 1: Focus on the requirement Constrain permissions with resource and context conditions, test interactions with explicit denies, and avoid broad wildcards.
Hint 2: Key terms Review IAM condition keys and explicit denies.
IAM condition keyA policy element that limits access using context such as resource, tag, network, or time.
Explicit denyA policy decision that overrides an allow for the specified action and resource.
ARNAn Amazon Resource Name that identifies a specific AWS resource in a policy.
WildcardA pattern symbol that can match many actions or resources and therefore requires careful restriction. × Incorrect Use resource ARNs, prefixes, encryption keys, and network conditions, then review policy inheritance, explicit denies, and organization controls.
Detailed explanation A Correct Use resource ARNs, prefixes, encryption keys, and endpoint conditions to narrow access
The role is limited to the intended scope.
B Incorrect Allow every resource with a wildcard
Least privilege is lost.
C Incorrect Complex conditions remove the need for testing or documentation
Misconfiguration becomes harder to detect.
D Correct Review and audit policy changes and test explicit denies and organization policies
Unexpected inheritance and gaps are checked.
Check official documentation Compare the following points with the official documentation.
AWS IAM公式の条件キー、リソースポリシー、SCPとAIF-C01 Domain 5.1を確認する。
Official references Official documentation 1 Official documentation 2 What to confirm AIワークロードの権限をARN・条件・拒否・組織ポリシーで限定できる。
Key points Condition key ARN Explicit deny Notes Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認 Compare the definition with the AIF-C01 objective and the service documentation before applying it. Keep the concept separate from a particular answer choice or implementation step. Foundation review IAM condition key A policy element that limits access using context such as resource, tag, network, or time.
Explicit deny A policy decision that overrides an allow for the specified action and resource.
Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.