AWS Certified AI Practitioner (AIF-C01) · AWS

Security, Compliance, and Governance for AI Solutions

12 practice questions covering 14% of the official AWS Certified AI Practitioner (AIF-C01) blueprint. Every item includes a worked explanation of the correct answer.

View all 5 domains in AWS Certified AI Practitioner (AIF-C01)

Syllabus Coverage & Domain Overview

This topic makes up 14 percent of the scored content and is split into two parts: securing AI systems, and recognizing the governance and compliance side of running them. It is a practitioner-level domain. You are expected to match a risk or requirement to the right AWS service or practice, not to configure anything.

On the security side, the current guide lists identity and access control through IAM roles, policies and permissions, encryption, Amazon Macie for finding sensitive data, AWS PrivateLink for private connectivity, and the shared responsibility model. It also names Amazon Bedrock Guardrails and the identity and policy features of Bedrock AgentCore. Beyond services, you should understand documenting data origins through lineage, cataloging and model cards, and secure data engineering: data quality, privacy-enhancing techniques, access control and integrity. Threats and safeguards specific to AI are also covered: prompt injection, data leakage, toxic output, output filtering and validation, encryption at rest and in transit, and audit trails of AI interactions. A further objective is reducing hallucinations through grounding methods such as retrieval-augmented generation, output validation and confidence scoring.

The governance side covers services that help show compliance. These include AWS Config for configuration tracking, Amazon Inspector for vulnerability findings, AWS Artifact for compliance reports and agreements, AWS CloudTrail for activity records, and AWS Trusted Advisor for best-practice checks. It also covers data governance strategies such as lifecycles, logging, residency, monitoring and retention. Finally, it covers governance processes: policies, review cadence, frameworks like the Generative AI Security Scoping Matrix, transparency standards and team training.

The distinctions that matter most are between who is responsible for what under the shared responsibility model, between preventing a problem and detecting or proving it afterward, and between controls on data and controls on model behavior. For example, encryption and private connectivity protect data in transit and at rest, while guardrails shape what a model accepts and returns. Likewise, CloudTrail records who did what, Config tracks resource configuration, and Artifact supplies the provider's own audit documents rather than evidence about your workload.

Questions are usually short scenarios with a single requirement, such as keeping traffic off the public internet, finding personal data in a storage bucket, blocking harmful output, or giving an auditor evidence. Common traps are choosing a service that sounds related but does a different job, assuming the provider handles something the customer owns, picking a detective control when the scenario asks for a preventive one, and treating grounding or filtering as if they eliminated hallucinations rather than reducing them. Read the one phrase that states the real constraint before looking at the options.

To prepare, work through the two task statements and write one sentence for each named service saying what problem it solves and what it does not. Then sort practice scenarios into data protection, access control, content safety, monitoring and audit, and governance process. Review any question you miss by naming the requirement you overlooked.

In the official AWS Certified AI Practitioner (AIF-C01) examination blueprint, Security, Compliance, and Governance for AI Solutions carries a weightage of 14%. Out of the total examination duration of 1 hr 30 min, candidates should budget approximately 13 min for questions from this domain to maintain pace across the paper.

How to Master Security, Compliance, and Governance for AI Solutions for AWS Certified AI Practitioner (AIF-C01)

Our 12 published questions in Security, Compliance, and Governance for AI Solutions are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the easy difficulty level of the AWS exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Security, Compliance, and Governance for AI Solutions items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The AWS Certified AI Practitioner (AIF-C01) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Security, Compliance, and Governance for AI Solutions item.
  • Benchmark Target: Aim for at least 70% accuracy in Security, Compliance, and Governance for AI Solutions drills before moving to full-paper simulations.

Security, Compliance, and Governance for AI Solutions worked examples

Security, Compliance, and Governance for AI Solutions questions from the AWS Certified AI Practitioner (AIF-C01) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Security, Compliance, and Governance for AI Solutions · easy

    A chief information security officer (CISO) asks whether proprietary source code and customer prompts sent to Amazon Bedrock On-Demand APIs are shared with third-party foundation model providers (such as Anthropic, Meta, or Mistral) or used by AWS to train base foundation models for other customers. What is Amazon Bedrock's official data privacy guarantee?

    • ACustomer prompts are uploaded to public GitHub repositories after 30 days
    • BPrompts and outputs are not shared with providers or used to train base FMs
    • CCustomer prompts are sent over the public internet to third-party SaaS servers
    • DBase models automatically memorize customer prompts across accounts globally
    Show answer and explanation

    Correct answer: B. Prompts and outputs are not shared with providers or used to train base FMs

    Why

    Under Amazon Bedrock's security and data privacy architecture, customer prompts, completions, and fine-tuning data are NEVER used to train the base foundation models and are NEVER shared with third-party model providers; all model weights and inference run inside AWS-managed accounts in the customer's chosen AWS Region.

    • A. Customer prompts are uploaded to public GitHub repositories after 30 days — Amazon Bedrock keeps customer inputs strictly private and never publishes or shares them.
    • C. Customer prompts are sent over the public internet to third-party SaaS servers — All models on Amazon Bedrock are hosted and executed entirely within AWS's own regional infrastructure.
    • D. Base models automatically memorize customer prompts across accounts globally — Base foundation models in Amazon Bedrock are stateless during inference and do not learn from customer prompts.
  2. Example 2 · Security, Compliance, and Governance for AI Solutions · hard

    A regulated healthcare company runs an application in a private VPC subnet (with no internet access) that invokes foundation models on Amazon Bedrock and must ensure that all prompts and responses stay strictly on the private AWS network backbone and that all API management actions (CreateKnowledgeBase, UpdateGuardrail) are recorded for auditors. Which two AWS services should they combine? (Select two.)

    • APublic Internet Gateway with an Elastic IP on every container
    • BAWS PrivateLink interface VPC endpoint for Amazon Bedrock
    • CAWS CloudTrail for auditing Bedrock API governance calls
    • DAmazon CloudFront public edge distribution caching prompts
    Show answer and explanation

    Correct answers: B. AWS PrivateLink interface VPC endpoint for Amazon Bedrock; C. AWS CloudTrail for auditing Bedrock API governance calls

    Why

    Provisioning an AWS PrivateLink VPC Interface Endpoint for Amazon Bedrock (com.amazonaws.<region>.bedrock-runtime) routes all model inference traffic privately without traversing the public internet (B), and AWS CloudTrail records all authenticated Bedrock API calls and governance events for security auditing (C).

    • A. Public Internet Gateway with an Elastic IP on every container — Routing sensitive healthcare traffic over a public Internet Gateway violates the private network requirement.
    • D. Amazon CloudFront public edge distribution caching prompts — Caching patient prompts at public CDN edge locations violates HIPAA privacy and private routing requirements.
  3. Example 3 · Security, Compliance, and Governance for AI Solutions · medium

    A regulated financial firm using Amazon Bedrock must capture the full prompt input text, generated response text, token counts, and IAM caller metadata for every foundation model invocation into an encrypted Amazon S3 bucket and Amazon CloudWatch Logs for compliance auditing. By default, AWS CloudTrail logs only control-plane management events (CreateGuardrail, etc.) and not the full prompt/response bodies. Which Bedrock feature must the administrator enable?

    • AAmazon Route 53 Public Hosted Zone DNS query logging
    • BAWS Billing and Cost Management monthly CSV invoice reports
    • CAmazon S3 Static Website Hosting HTTP access logs
    • DBedrock Model Invocation Logging to S3 and CloudWatch
    Show answer and explanation

    Correct answer: D. Bedrock Model Invocation Logging to S3 and CloudWatch

    Why

    Amazon Bedrock Model Invocation Logging is an opt-in setting, configured per account and Region, that delivers invocation records to Amazon S3, Amazon CloudWatch Logs, or both. Each record includes the input prompt, the generated output, token counts, the model ID, and the IAM identity that made the call. That matches the requirement exactly. AWS CloudTrail records Bedrock API activity as management events, such as creating a guardrail, but it does not capture the prompt and response bodies of model invocations. That gap is why the feature must be enabled separately. For an encrypted destination, the bucket and log group can use AWS KMS keys. The common trap is assuming CloudTrail alone provides full audit content. Another trap is choosing a service that logs something related, such as DNS, billing, or web access, instead of the Bedrock-native feature that records the model payloads.

    • A. Amazon Route 53 Public Hosted Zone DNS query logging — Route 53 query logging records DNS lookups for domains in a hosted zone, such as the name queried, the type, and the response code. It has no visibility into Bedrock prompts, completions, or token counts, and Bedrock invocations are not DNS queries to your hosted zone.
    • B. AWS Billing and Cost Management monthly CSV invoice reports — Billing and Cost Management reports summarize charges and aggregated usage for compliance and finance purposes. They do not contain the prompt text, response text, or per-invocation IAM caller details that an audit of model invocations requires.
    • C. Amazon S3 Static Website Hosting HTTP access logs — S3 static website hosting access logs record HTTP requests made to a bucket serving a website, such as the requester IP and the object requested. They have no relationship to Bedrock model invocations and cannot capture prompts or generated responses.
  4. Example 4 · 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?

    • AHardcode every individual engineer's IAM User ARN inside each SageMaker endpoint policy
    • BUse aws:SourceIp set to 0.0.0.0/0 on the AWS Organizations root account
    • CMatch aws:ResourceTag/Department to ${aws:PrincipalTag/Department} via ABAC
    • DShare a single IAM root access key across the five engineering departments
    Show answer and explanation

    Correct answer: C. Match aws:ResourceTag/Department to ${aws:PrincipalTag/Department} via ABAC

    Why

    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.

    • 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.
  5. Example 5 · Security, Compliance, and Governance for AI Solutions · medium

    A hospital deploys a clinical mortality-risk model on an Amazon SageMaker real-time endpoint. Six months later, patient demographics and lab-test coding ranges shift, causing the model's prediction accuracy to degrade silently in production (data drift / concept drift). Which SageMaker feature continuously compares live endpoint inference payloads against a baseline dataset and triggers CloudWatch alarms when statistical drift is detected?

    • AAmazon SageMaker Canvas no-code AutoML model builder
    • BAmazon SageMaker Model Monitor comparing traffic to a baseline
    • CAWS Secrets Manager rotating RDS database passwords
    • DAmazon Inspector scanning container images for OS packages
    Show answer and explanation

    Correct answer: B. Amazon SageMaker Model Monitor comparing traffic to a baseline

    Why

    Amazon SageMaker Model Monitor continuously monitors the quality of SageMaker ML models in production by comparing live captured endpoint traffic against baseline constraints and statistics to detect data quality drift, model quality drift, bias drift, and feature attribution drift.

    • A. Amazon SageMaker Canvas no-code AutoML model builder — SageMaker Canvas builds models via a visual UI; it is not the continuous endpoint drift monitoring service.
    • C. AWS Secrets Manager rotating RDS database passwords — Secrets Manager rotates credentials and does not monitor ML statistical feature drift.
    • D. Amazon Inspector scanning container images for OS packages — Inspector scans for software CVEs rather than statistical data or concept drift in ML predictions.
  6. Example 6 · Security, Compliance, and Governance for AI Solutions · hard

    An organization is preparing for an external ISO/IEC 42001 (AI Management System) and SOC 2 audit of its Amazon Bedrock and Amazon SageMaker AI workloads. The auditors ask for third-party attestation reports verifying AWS's physical and hypervisor AI infrastructure controls, plus continuous automated evidence collection of the customer's own account-level AI security settings. Which two AWS services address these needs? (Select two.)

    • AAWS Artifact to download AWS ISO/IEC 42001 and SOC 2 attestation reports
    • BAmazon Rekognition Content Moderation to certify physical data centers
    • CAmazon Polly Neural TTS to read IAM policies aloud to external auditors
    • DAWS Audit Manager with the Generative AI Best Practices framework
    Show answer and explanation

    Correct answers: A. AWS Artifact to download AWS ISO/IEC 42001 and SOC 2 attestation reports; D. AWS Audit Manager with the Generative AI Best Practices framework

    Why

    AWS Artifact provides on-demand downloads of AWS third-party compliance reports, ISO certifications (including ISO/IEC 42001 and ISO 27001), and SOC 2 attestations covering AWS-managed infrastructure (A). AWS Audit Manager continuously collects and maps account-level usage and configuration evidence (including Generative AI Best Practices and Amazon SageMaker frameworks) into audit-ready reports (D).

    • B. Amazon Rekognition Content Moderation to certify physical data centers — Rekognition moderates images/videos and does not issue ISO or SOC compliance reports.
    • C. Amazon Polly Neural TTS to read IAM policies aloud to external auditors — Text-to-speech synthesis is not a compliance attestation or evidence collection tool.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 6 Security, Compliance, and Governance for AI Solutions questions with answers

All Syllabus Domains in AWS Certified AI Practitioner (AIF-C01)

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.