Courseiva

AIF-C01 Practice Question: Security, Compliance, and Governance for AI Solutions

A data scientist wants to restrict which IAM roles can invoke a specific Amazon Bedrock base model. Which AWS feature should they use?

⚠ Common exam trap

AIF-C01 often tests the confusion between identity-based IAM policies and resource-based policies — candidates forget that Bedrock models support resource-based policies for fine-grained invocation control.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Bedrock resource-based policy

Amazon Bedrock supports resource-based policies that can be attached to a specific base model or custom model to control which IAM principals (roles, users, accounts) can invoke it. This is the intended mechanism for restricting invocation of a particular Bedrock model to a defined set of IAM roles.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    S3 bucket policy on the model artifacts

    Why it's wrong here

    S3 bucket policies govern access to objects stored in a bucket, not invocation of a Bedrock base model, whose authorisation is enforced by Bedrock resource policies. They are tempting because model artefacts and custom models often reside in S3, so a bucket policy would be correct if the requirement were protecting those stored artefacts.

  • ✓

    Bedrock resource-based policy

    Why this is correct

    Bedrock resource-based policies attach directly to a specific base model, letting you define which principals may invoke it and under what conditions. This satisfies the stem's constraint of restricting IAM roles per model, since identity-based policies alone cannot scope permissions to an individual Bedrock model resource.

  • ✗

    AWS KMS key policy for the encryption key

    Why it's wrong here

    A KMS key policy governs who may use a key for cryptographic operations, not who may invoke a Bedrock model; Bedrock authorisation flows through IAM resource policies on the model. It is tempting because KMS policies do control cross-account access to encrypted resources, which would be the right tool if the requirement concerned key usage rather than model invocation.

  • ✗

    AWS CloudTrail log delivery policy

    Why it's wrong here

    CloudTrail log delivery policies control which S3 buckets or CloudWatch Logs groups receive trail events; they cannot authorise or deny Bedrock model invocation. They are tempting because CloudTrail records who invoked a model, so it would be the correct choice if the requirement were auditing invocations rather than restricting them.

About these practice questions

One of 862 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.