All exams← All AWS Certified AI Practitioner (AIF-C01) notes

Security, governance & compliance for AI: AWS Certified AI Practitioner (AIF-C01) revision notes

Revision notes

Why this topic matters

AI Practitioner leans heavily on responsible AI, security and governance - expect several questions on shared responsibility, data protection, and AWS's governance tooling.

Shared Responsibility Model for AI

  • AWS secures the infrastructure ('security OF the cloud') - hardware, host OS, physical facilities, the managed service itself.
  • You secure 'IN the cloud' - your data, IAM permissions, model fine-tuning data, prompts, encryption choices, and how you configure guardrails.
  • For Bedrock and SageMaker, AWS never uses your prompts or outputs to train its base models, and your data is not shared across customers - this is a favourite exam point.

Data protection basics

  • Encryption at rest uses AWS KMS by default across Bedrock, SageMaker, and S3-backed datasets; you can bring your own customer-managed key (CMK).
  • Encryption in transit uses TLS.
  • VPC endpoints (via AWS PrivateLink) let you call Bedrock/SageMaker without traffic crossing the public internet.
  • Amazon Macie discovers and classifies sensitive data (like PII) stored in S3 - useful for auditing training data before it touches a model.

Governance and compliance tooling

  • AWS Artifact - self-service portal for AWS's own compliance reports (SOC, ISO, PCI) and to accept agreements.
  • AWS Audit Manager - continuously collects evidence to assess risk and compliance against frameworks (e.g. GDPR, HIPAA).
  • AWS Config - tracks resource configuration changes and checks them against rules (compliance drift).
  • AWS CloudTrail - logs every API call for auditing 'who did what, when' - critical for AI governance trails.
  • Amazon SageMaker Model Cards and Model Monitor document model intent, risk, performance and detect drift in production - core to AI governance.
  • SageMaker Clarify detects bias in data/models and explains predictions (explainability), supporting fairness requirements.

Guardrails for Amazon Bedrock

  • A managed feature to filter harmful content, block denied topics, redact PII, and reduce hallucinations by grounding checks - configurable per use case, reusable across models.

Common mistakes

  • Confusing 'security of the cloud' (AWS) with 'security in the cloud' (you) - IAM misconfiguration is always your responsibility.
  • Assuming Bedrock trains on your prompts by default - it does not.
  • Mixing up Audit Manager (continuous compliance evidence) with Artifact (static compliance documents/reports).
  • Forgetting that CloudTrail is about API activity logging, not resource configuration - that's Config's job.
  • Thinking Clarify is only for bias - it also covers explainability of predictions.

Exam tip

When a question mentions 'who is responsible for X', default to the Shared Responsibility Model split. When it mentions bias/explainability, think Clarify; when it mentions drift/monitoring after deployment, think Model Monitor.

Key facts

Flashcards

In the Shared Responsibility Model, who secures the underlying infrastructure of an AI service like Bedrock?
AWS - this is 'security OF the cloud'.
tap to reveal
In the Shared Responsibility Model, who is responsible for IAM permissions and data protection choices?
The customer - this is 'security IN the cloud'.
tap to reveal
Does Amazon Bedrock use your prompts to train its foundation models by default?
No - customer data and prompts are never used to train AWS's base models by default.
tap to reveal
What service encrypts data at rest by default across Bedrock and SageMaker?
AWS KMS (customers can also supply their own customer-managed key).
tap to reveal
How do you keep Bedrock/SageMaker API traffic off the public internet?
Use AWS PrivateLink via a VPC endpoint.
tap to reveal
Which service discovers and classifies PII stored in S3?
Amazon Macie.
tap to reveal
What is AWS Artifact used for?
On-demand access to AWS's own compliance reports (SOC, ISO, PCI) and to accept agreements.
tap to reveal
What does AWS Audit Manager do?
Continuously collects evidence to assess risk and compliance against frameworks like GDPR or HIPAA.
tap to reveal
What is the difference between AWS Config and AWS CloudTrail?
Config tracks resource configuration changes and compliance drift; CloudTrail logs API call activity (who did what, when).
tap to reveal
What does a SageMaker Model Card record?
A model's intended use, risks, and performance - for governance documentation.
tap to reveal
What does SageMaker Model Monitor detect?
Data and model drift after a model is deployed to production.
tap to reveal
What does SageMaker Clarify provide?
Bias detection in data/models and explainability of predictions.
tap to reveal
What do Guardrails for Amazon Bedrock do?
Filter harmful content, block denied topics, redact PII, and reduce hallucinations via grounding checks.
tap to reveal
Which service would you use to prove compliance evidence is being continuously gathered for an audit?
AWS Audit Manager.
tap to reveal
True or false: encryption in transit for AI service calls uses TLS.
True.
tap to reveal
Practice questions

Security, governance & compliance for AI: 5 practice questions

Q1. A company wants to prevent an Amazon Bedrock model from generating responses that discuss competitor products by name. Which Bedrock capability is purpose-built for this?
  • A.  AWS Config conformance packs
  • B.  Amazon SageMaker Clarify bias detection
  • C.  Amazon Bedrock Guardrails with denied topics and word filters
  • D.  Amazon Macie sensitive data discovery
Show answer & explanation
✓ Answer: C. Amazon Bedrock Guardrails with denied topics and word filters
Bedrock Guardrails lets you define denied topics, blocked words/phrases, and content filters that are applied to prompts and model responses regardless of the underlying foundation model. Clarify is for bias/explainability on SageMaker models, Config is for resource configuration compliance, and Macie discovers sensitive data in S3 - none of these filter model output text.
Q2. Under the AWS shared responsibility model, who is responsible for patching the underlying host operating system of the managed infrastructure that runs Amazon Bedrock?
  • A.  AWS
  • B.  Whoever owns the training data
  • C.  The customer
  • D.  A joint responsibility split by service tier
Show answer & explanation
✓ Answer: A. AWS
For managed services like Bedrock, AWS is responsible for security 'of' the cloud, including patching the host OS and managing the underlying infrastructure. The customer remains responsible for security 'in' the cloud, such as IAM permissions, data classification, and guardrail configuration.
Q3. A financial services firm must ensure that prompts and completions sent to a foundation model are never used by the model provider to improve their public models. Which AWS service characteristic addresses this directly?
  • A.  AWS Trusted Advisor flags any data sharing agreements
  • B.  Amazon SageMaker JumpStart automatically anonymises all data
  • C.  Amazon Bedrock does not use customer inputs or outputs to train the underlying base models
  • D.  Amazon Comprehend redacts PII before every API call
Show answer & explanation
✓ Answer: C. Amazon Bedrock does not use customer inputs or outputs to train the underlying base models
AWS states that content processed through Amazon Bedrock is not used to train the underlying foundation models and is not shared with model providers for their own improvement purposes. Trusted Advisor and Comprehend serve different purposes and do not govern model training data usage.
Q4. Which AWS artefact is specifically designed to document intended use cases, limitations, performance characteristics, and fairness considerations of an AWS AI service, similar to a model card?
  • A.  AWS Trusted Advisor check
  • B.  AWS AI Service Cards
  • C.  AWS Config rule
  • D.  AWS Well-Architected Framework whitepaper
Show answer & explanation
✓ Answer: B. AWS AI Service Cards
AWS AI Service Cards are published resources that explain the intended use cases, limitations, design choices, and responsible AI considerations for specific AWS AI services such as Rekognition or Textract. The Well-Architected Framework covers general architectural best practice, not service-specific model documentation.
Q5. A team is building a SageMaker training job that must never have internet access and must only communicate with approved AWS services over private connectivity. What should they configure?
  • A.  Run the training job inside a VPC with VPC endpoints (interface or gateway) and no internet gateway or NAT route
  • B.  Enable AWS Shield Advanced on the training job
  • C.  Use IAM policies alone with no network controls
  • D.  Attach a public IP address to the training instance and restrict it with a security group
Show answer & explanation
✓ Answer: A. Run the training job inside a VPC with VPC endpoints (interface or gateway) and no internet gateway or NAT route
Placing a SageMaker training job in a VPC without internet access, and using VPC endpoints (PrivateLink) for S3, ECR, and other required services, keeps traffic off the public internet entirely. Security groups on a publicly addressable instance still expose the instance to the internet path, and Shield Advanced protects against DDoS, not data exfiltration routes.
Test yourself
See the AWS Certified AI Practitioner (AIF-C01) page

More AWS Certified AI Practitioner (AIF-C01) topics