Home / AWS Certified AI Practitioner (AIF-C01) / 5 Practice / AWS-AIF-349
An inference service uses an external model API secret.
Limit impact if it leaks.
Choose two practices.
Hint 1: Focus on the requirement Store inference secrets outside code, allow only necessary retrieval, and make rotation, invalidation, and failure handling observable.
Hint 2: Key terms Review secret rotation and minimal secret access.
Secret rotationReplacing a credential on a schedule or after exposure while updating its consumers.
Minimal secret accessGranting only the application and operations that need to read a particular secret.
RevocationInvalidating a credential so it cannot be used for authentication or authorization.
Secret storeA protected service or repository for storing and retrieving secret values. × Incorrect Store secrets in a managed service, grant only the required role, rotate and revoke old values, and monitor retrieval failures.
Detailed explanation A Incorrect Hard-code the secret in source for easy deployment
Leak response becomes difficult.
B Incorrect Keep old values active forever after rotation
Compromise impact remains.
C Correct Rotate regularly, disable old values, limit readers, and monitor failures
The secret lifecycle is controlled.
D Correct Store the secret in a managed service and retrieve it only when needed
Secrets stay out of source and logs.
Check official documentation Compare the following points with the official documentation.
AWS公式AIF-C01 Domain 5.1のSecrets Manager、IAM、秘密ローテーションを確認する。
Official references Official documentation 1 Official documentation 2 What to confirm 推論サービスの秘密を安全に保管・取得・更新・失効できる。
Key points Secret management Rotation Revocation 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 Secret rotation Replacing a credential on a schedule or after exposure while updating its consumers.
Minimal secret access Granting only the application and operations that need to read a particular secret.
Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.