Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 31 of 34 · 6 min

x
31/34

Securing AI Systems on AWS

Video lesson: AIF-C01 31/34: Securing AI Systems on AWS

Shared responsibility model (verified, Bedrock data protection docs)

  • AWS protects the global infrastructure that runs the AWS Cloud ("security of the cloud").
  • You control your content, plus the security configuration of the services you use ("security in the cloud"): who has access, what data goes in, how outputs are used.
  • In Bedrock, model providers have no access to the model deployment accounts or your logs; your inputs and outputs aren't shared with them (verified, Bedrock docs and FAQ).

Controls named in the guide (verified, service docs)

ControlProtects
IAM roles, policies and permissionsWho and what can call models, read data, change configuration; grant least privilege
EncryptionData at rest (AWS KMS, optionally your own keys) and in transit (TLS; Bedrock requires TLS 1.2, recommends 1.3)
Amazon MacieDiscovers sensitive data (PII) in Amazon S3 using ML and pattern matching; flags risks such as public buckets
AWS PrivateLinkPrivate connection from your VPC to Amazon Bedrock through an interface endpoint: no internet gateway, NAT, VPN or public IPs
AgentCore IdentityAgent identity, access and authentication, working with existing identity providers (Cognito, Okta, Entra ID)
Policy in AgentCoreDeterministic rules on which tools an agent can use, what actions, under which conditions; intercepts tool calls at the Gateway
Amazon Bedrock GuardrailsFilters harmful content, prompt attacks and PII in inputs and outputs (28)

AWS also recommends MFA, IAM Identity Center for users, and AWS CloudTrail for API activity logging (verified).

Secure data engineering (named in the guide; design guidance)

  • Assess data quality before training or retrieval.
  • Privacy-enhancing technologies: masking, anonymisation, tokenisation, differential privacy.
  • Data access control: least privilege on buckets and knowledge bases; document-level permissions in managed Knowledge Bases.
  • Data integrity: validate sources; protect against tampering (poisoning).

Exam traps

  • "AWS is responsible for my IAM policies." You are.
  • Using a NAT gateway for "no internet traffic" to Bedrock. Use PrivateLink.
  • Macie for scanning EC2 for vulnerabilities. Macie finds sensitive data in S3; Amazon Inspector finds vulnerabilities.

References

  1. Bedrock data protection — checked Oct 19, 2026
  2. Bedrock PrivateLink — checked Oct 19, 2026
  3. Amazon Macie — checked Oct 19, 2026
  4. AgentCore — checked Oct 19, 2026
  5. Shared responsibility model — checked Oct 19, 2026
  6. Bedrock FAQs — checked Oct 19, 2026

Check your understanding

  • Traffic from your VPC to Bedrock must never cross the internet. Service?Show answer

    Answer

    AWS PrivateLink (interface VPC endpoint).
  • Find which S3 buckets used for training contain PII?Show answer

    Answer

    Amazon Macie.
  • Under shared responsibility, who configures who can invoke a model?Show answer

    Answer

    The customer (IAM).
Previous

Progress is saved in this browser.

Next Lesson