AIP-C01

Introduction to Data Security and Privacy for GenAI

Building protected AI environments with VPC endpoints, IAM, Lake Formation and encryption, detecting and protecting PII with Comprehend, Macie and Guardrails, and applying privacy techniques and retention policies.

  • 3 lessons
  • Module quiz

Generative AI applications handle some of an organisation's most sensitive data. Users paste customer details into prompts, knowledge bases are built from internal documents, and responses may repeat personal information. Each of these is a path by which data can be exposed, so security and privacy controls must cover the prompts, the documents and the responses, as well as the infrastructure around them.

A protected AI environment keeps traffic private with VPC endpoints, so calls to Amazon Bedrock never cross the public internet; limits access with IAM and, for data lakes, AWS Lake Formation; and encrypts data with AWS KMS keys. Personal data is detected in text with Amazon Comprehend, in Amazon S3 with Amazon Macie and in model interactions with Bedrock Guardrails, and then masked, pseudonymised or removed. Retention policies delete data once it is no longer needed. Amazon Bedrock does not use prompts or responses to train its base models or share them with model providers.

What the exam expects

Questions test choosing the detection service by where the data is, Macie for data at rest in S3 and Comprehend for text in a pipeline, and choosing the privacy technique by what must be preserved: pseudonymisation keeps the distinction between people, while masking removes it. A common detail is that deleting source data also requires syncing the knowledge base so the deleted content stops appearing in answers.

How this module is organised

Building Protected Environments for Generative AI explains network isolation, access control and encryption. Detecting and Protecting Personal Data in Generative AI Systems explains how personal data is found and protected in each part of the system. Preserving Privacy While Keeping Utility explains masking, tokenisation and anonymisation, a privacy-preserving inference flow and retention policies.

  1. Building Protected Environments for Generative AI Lesson 1
  2. Detecting and Protecting Personal Data in Generative AI Systems Lesson 2
  3. Preserving Privacy While Keeping Utility Lesson 3
  4. Practise and review
  5. Checkpoint Practice activities across the module
  6. Test your knowledge 3 questions