An inference service should read one S3 bucket.
A cross-account path is also required.
Choose two designs.
Specify principals, actions, resource ARNs, conditions, and external accounts, and test trust, resource policies, SCPs, and explicit denies together.
Detailed explanation
The intended scope is explicit.
The intended scope is explicit.
Combined authorization is verified.
Combined authorization is verified.
Least privilege is lost.
Least privilege is lost.
An unintended principal may gain access.
An unintended principal may gain access.
Try it yourself
An example you can run in a temporary verification environment.
AWS IAM公式とAIF-C01 Domain 5.1のリソースポリシー、SCP、最小権限を確認する。Expected result
AIサービスのリソースアクセスを主体・操作・ARN・条件で限定できる。Key points
- ARN
- Resource policy
- SCP
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.