Lesson 2 of 3 Security, Compliance and Governance for AI

Governing AI Use, Compliance and Data

This lesson explains how governance keeps the use of AI accountable, compliant and well managed: who may build and use what, how data is handled, and how decisions are reviewed.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the services that help show AI workloads are governed and compliant.
  • Describe the features that support model governance.
  • Describe the elements of data governance, such as classification, lineage and retention.
  • Identify the processes and frameworks that support AI governance.

Governance and compliance services

Several services help show that AI workloads are governed and compliant. AWS Config records how resources are configured and checks them against rules. Amazon Inspector finds vulnerabilities. AWS Artifact provides AWS's own compliance reports and agreements. AWS CloudTrail records API activity, and AWS Trusted Advisor checks best practices for cost, security and performance. The following table summarises the services.

ServiceUse it to
AWS ConfigRecord resource configurations and check them against rules
Amazon InspectorFind vulnerabilities
AWS ArtifactDownload AWS's own compliance reports and agreements
AWS CloudTrailRecord API activity
AWS Trusted AdvisorCheck best practices for cost, security and performance
Scenario questions

Compliance evidence

Exam skills 5.2.1

Choose the service for each governance request.

Log in to try this activity Interactive activities are free with an account.

Model governance

Model governance ensures that models are documented, approved and used in accordance with policy. The following list describes the relevant AWS features.

  • SageMaker Model Cards document models.
  • The Model Registry controls approvals and versions; the Model Dashboard monitors deployed models.
  • Bedrock Guardrails and IAM policies enforce usage rules centrally.

Data governance

Data governance means controlling data throughout its life, which matters especially for AI because models are only as trustworthy as their data. Classification labels data by sensitivity, so it receives the right protection. Data residency keeps data in approved Regions or countries, as laws may require. Retention keeps data for the required time and deletes it on schedule. Data lineage records where data came from and how it was changed, so a model's training data can be traced.

Cataloguing, with the AWS Glue Data Catalog or Amazon SageMaker Catalog, records what data exists and what it means. Access control, with AWS Lake Formation, gives fine-grained permissions over a data lake, down to particular columns. The following table summarises the practices.

PracticeMeaning
ClassificationLabelling data by sensitivity
Data residencyKeeping data in approved Regions or countries
RetentionKeeping and deleting data on a schedule
Data lineageRecording where data came from and how it was transformed
CataloguingAWS Glue Data Catalog, Amazon SageMaker Catalog
Access controlAWS Lake Formation for fine-grained data lake access

Secure data engineering assesses data quality, uses privacy-enhancing techniques (masking, anonymisation, differential privacy), applies access control and encryption, and protects data integrity so training data cannot be tampered with.

Match the pairs

Data governance practices

Exam skills 5.2.2 · 5.1.2

Match each requirement with the data governance practice it describes.

Log in to try this activity Interactive activities are free with an account.

Processes and frameworks

AI governance also relies on organisational processes and recognised frameworks. The following list describes them.

  • Written AI policies, a regular review cadence, legal and ethics review before launch, transparency standards and team training.
  • Frameworks: the NIST AI Risk Management Framework, ISO/IEC 42001, regulations such as the EU AI Act, and the Generative AI Security Scoping Matrix for security duties (see the lesson Securing AI Systems on AWS).
Select all that apply

Governance processes

Exam skills 5.2.3

A company is setting up governance for its AI applications.

Log in to try this activity Interactive activities are free with an account.
Worked example

Preparing for an AI audit

A bank's internal auditors announce a review of its AI systems. They ask four questions, and each is answered by a specific service or practice:

Auditor's questionEvidence
Who called which models, when?CloudTrail records and Bedrock model invocation logs
Are resources configured to policy (encryption, private endpoints)?AWS Config rules and their compliance history
Is AWS's own infrastructure certified?SOC and ISO reports downloaded from AWS Artifact
Where did the training data come from, and was it allowed?Data lineage records, Glue Data Catalog entries and licensing approvals

The bank also classifies its use cases with the Generative AI Security Scoping Matrix: its use of Kiro is scope 2, its Bedrock assistant scope 3, and a fine-tuned risk model scope 4, which carries the most governance work. Data for all of them stays in approved Regions to meet data residency rules.

Check yourself

Which service continuously checks resource configurations against rules?

Show answer

AWS Config. AWS Artifact provides AWS's own compliance reports, and AWS CloudTrail records who made each API call.

Exam Tips

Remember for the exam

  • To find out who called which model API and when, use CloudTrail.
  • For AWS's own compliance reports, such as SOC and ISO, use AWS Artifact.
  • To check resource configurations against rules, use AWS Config.
  • Keeping data in approved Regions is data residency.
  • Tracking where training data came from is data lineage.