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.
| Service | Use it to |
|---|---|
| AWS Config | Record resource configurations and check them against rules |
| Amazon Inspector | Find vulnerabilities |
| AWS Artifact | Download AWS's own compliance reports and agreements |
| AWS CloudTrail | Record API activity |
| AWS Trusted Advisor | Check best practices for cost, security and performance |
Compliance evidence
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.
| Practice | Meaning |
|---|---|
| Classification | Labelling data by sensitivity |
| Data residency | Keeping data in approved Regions or countries |
| Retention | Keeping and deleting data on a schedule |
| Data lineage | Recording where data came from and how it was transformed |
| Cataloguing | AWS Glue Data Catalog, Amazon SageMaker Catalog |
| Access control | AWS 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.
Data governance practices
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).
Governance processes
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 question | Evidence |
|---|---|
| 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.
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.