AWS - AI Practitioner Study Guide

    5: Security, Compliance, and Governance for AI Solutions of scored content

    This chapter covers Domain 5 of the AIF-C01 exam, weighted at 14 percent of scored content. It explains the methods, AWS services, and operational disciplines that protect data, models, agents, and applications across the AI lifecycle, then maps those controls to governance frameworks and regulatory regimes that AWS customers must satisfy when running generative AI workloads.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Explain methods to secure AI systems, including data governance strategies covering lifecycles, logging, residency, monitoring, observation, and retention.
    • Identify AWS services and features that secure AI systems (IAM, encryption, Amazon Macie, AWS PrivateLink, the AWS shared responsibility model, Amazon Bedrock AgentCore Identity, Policy in AgentCore, and Amazon Bedrock Guardrails) and apply governance protocols including the Generative AI Security Scoping Matrix.
    • Describe source citation and documentation of data origins through data lineage, data cataloging, and Amazon SageMaker Model Cards.
    • Describe best practices for secure data engineering: data quality assessment, privacy-enhancing technologies, data access control, and data integrity.
    • Describe security and privacy considerations for AI systems including application security, threat detection, vulnerability management, infrastructure protection, prompt injection defense, encryption at rest and in transit, data leakage prevention, output filtering and validation, audit trail and logging, and toxicity controls.
    • Describe hallucination detection methods and grounding techniques including RAG grounding, output validation, and confidence scoring.
    • Recognize governance and compliance regulations that apply to AI systems.
    • Identify AWS services for governance and regulation compliance: AWS Config, Amazon Inspector, AWS Audit Manager, AWS Artifact, AWS CloudTrail, and AWS Trusted Advisor.

    Executive Summary

    • Securing an AI workload on AWS layers controls across identity (IAM, Amazon Bedrock AgentCore Identity), network (VPC, AWS PrivateLink, security groups), data (AWS KMS encryption, Amazon Macie, AWS Lake Formation), runtime (Amazon Bedrock Guardrails, model invocation logging), and application (input validation, output filtering, prompt injection defenses) layers.
    • Governance is operationalized through documentation (Amazon SageMaker Model Cards, data lineage, data catalogs), policy frameworks (the Generative AI Security Scoping Matrix, internal review cadence, training requirements), and continuous controls (AWS Config rules, AWS CloudTrail, AWS Audit Manager).
    • Hallucination is treated as both a quality and a security control: Retrieval Augmented Generation grounding plus the Amazon Bedrock Guardrails contextual grounding check produce a relevance and grounding score that the application uses to block, regenerate, or escalate responses.
    • Compliance readiness on AWS depends on combining customer responsibilities (data classification, IAM design, encryption keys, logging configuration) with AWS-managed evidence (AWS Artifact compliance reports, AWS Audit Manager framework templates) to demonstrate that the AI workload meets regulatory and contractual obligations.

    Assumptions

    • The reader has read Chapters 1 to 4 of this course and is familiar with Amazon Bedrock, Amazon SageMaker AI, the FM lifecycle, prompt engineering, RAG, agents, Amazon Bedrock Guardrails, Amazon SageMaker Clarify, Amazon SageMaker Model Monitor, and the Generative AI Security Scoping Matrix.
    • AWS service behavior is described based on the latest stable documentation revisions. Preview features are labeled inline. Regional differences are flagged where they affect the exam.
    • The chapter focuses on conceptual decisions and service selection rather than API-level code; small CLI and policy snippets appear as illustration of the choices a practitioner must make.
    • Where the AIF-C01 exam guide groups multiple sub-topics under a single bullet, this chapter addresses each sub-topic explicitly under that bullet's section.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account