SaveMyCert
Log in
5 of 5 free questions left today·for unlimited practice
Security, Compliance, and Governance for AI Solutions

AI Governance and Compliance on AWS: Config, CloudTrail, and Audit Manager

12 min readAIF-C01 · Security, Compliance, and Governance for AI SolutionsUpdated

Governance and compliance answer a different question than security. Security keeps the AI system safe; governance proves it is run responsibly and meets the rules that apply to it. On AWS, a handful of services do this recognition-level work: AWS Config tracks how your resources are configured and whether they stay compliant, AWS CloudTrail records an audit trail of every API call, AWS Audit Manager collects evidence against compliance frameworks, and AWS Artifact lets you download AWS's own compliance reports such as SOC and ISO. Amazon Inspector scans for vulnerabilities and AWS Trusted Advisor checks your account against best practices. Around these services you set data-governance policies — where data can live, how long you keep it, and how it is logged and monitored — and follow governance processes, including frameworks like the Generative AI Security Scoping Matrix. This lesson explains what each service and practice is for at the foundational depth AIF-C01 expects, then shows a regulated company setting up governance for a generative AI deployment.

What you’ll learn
  • Match a governance question to the right AWS service — AWS Config, Amazon Inspector, AWS Audit Manager, AWS Artifact, AWS CloudTrail, and AWS Trusted Advisor.
  • Explain data-governance strategies including data lifecycles, logging, residency, monitoring, and retention.
  • Describe processes for following governance protocols, such as policies, review cadence, and transparency standards.
  • Recognize the AWS Generative AI Security Scoping Matrix as a framework for scoping generative AI security.
  • Trace how a regulation maps to a control and then to the evidence that proves compliance.

Governance versus security for AI

Task 5.1 is about securing the AI system — identity, encryption, keeping traffic private. This task is about governance and compliance: making sure the system is run according to policies and regulations, and being able to prove it. The two overlap, and several services here are ones a security engineer already knows, but the governance lens asks different questions: Is this resource configured the way our policy requires? Who did what, and when? Can we show an auditor evidence that we meet a standard?

A simple way to hold the domain together is the chain regulation to control to evidence. A regulation or internal policy says something must be true — for example, training data must stay in a particular country, or all activity must be logged. A control is how you make that true — a configuration rule, an encryption setting, a retention policy. Evidence is the proof you collected that the control is working — configuration history, API logs, a compliance report. Governance is running this chain continuously, not once.

For the exam, keep these services at a recognition level. You do not need to configure them; you need to know which one answers which governance question. The rest of this lesson takes them in pairs by the question they answer, gives you a comparison table, then covers the data-governance policies and processes that wrap around the tooling. Governance is as much about policy and process as it is about any single AWS service.

Track configuration and scan for vulnerabilities: Config and Inspector

AWS Config answers is this resource configured the way it should be? It records the configuration of your AWS resources and how that configuration changes over time, and it can evaluate resources against rules that represent your desired state — for example, a rule that flags any storage bucket that is not encrypted. Config gives you a continuous picture of compliance: which resources meet your policies right now, which drifted, and what changed. For a generative AI deployment, Config can confirm that the buckets holding training data stay encrypted and that logging stays switched on. When a question asks how to track resource configuration and compliance over time, the answer is AWS Config.

Amazon Inspector answers a different question: are there known vulnerabilities in my workloads? It is an automated vulnerability management service that continually scans your workloads — such as compute instances and container images — for software vulnerabilities and unintended exposure, and reports prioritized findings you can act on. In a governance program, Inspector provides ongoing assurance that the infrastructure running your AI application is not carrying unpatched, exploitable software.

The pairing is easy to remember: Config watches configuration and compliance state, Inspector watches for vulnerabilities. Both run continuously so governance is an ongoing measurement rather than a one-time snapshot, and both feed the evidence you will later hand to an audit process.

Prove compliance: Audit Manager and Artifact

Two services deal specifically with proving compliance against recognized standards, and the exam distinguishes them by whose compliance they document.

AWS Audit Manager helps you prove your compliance. It continuously collects evidence about how you use AWS and maps that evidence to the controls of a compliance framework — such as SOC 2, ISO 27001, PCI DSS, or a custom framework you define. Instead of manually screenshotting settings before an audit, Audit Manager gathers the evidence automatically and organizes it into an assessment, so preparing for an audit becomes far less painful. When a question mentions collecting audit evidence against a framework, the answer is AWS Audit Manager.

AWS Artifact gives you AWS's compliance documentation. It is a self-service portal to download AWS's compliance reports and certifications — such as SOC 1, SOC 2, ISO, and PCI reports — and to review agreements. These reports demonstrate how the AWS infrastructure underneath your workload is audited and certified, which is exactly the AWS side of the shared responsibility model that your own auditors will ask about. When a question asks where to download AWS's SOC 2 or ISO report, the answer is AWS Artifact.

The distinction is the exam's favorite trap: Audit Manager assembles evidence about your environment; Artifact hands you AWS's reports about AWS's environment.

Audit trails and best-practice checks: CloudTrail and Trusted Advisor

AWS CloudTrail is your audit trail of API activity. It records the actions taken in your account — who made a call, which service and action, when, and from where — whether the caller was a person, an SDK, or another service. For governance this is the record of accountability: if someone changed a model's permissions, invoked a foundation model, or altered a data bucket, CloudTrail captured it. When an investigator or auditor asks who did this and when, CloudTrail has the answer. The exam trigger is direct: an audit trail of API calls means AWS CloudTrail.

It helps to separate CloudTrail from AWS Config, because they are often confused. CloudTrail records actions — the API calls that happened. Config records state — how a resource is configured and whether that configuration is compliant. A governance program uses both: Config tells you a bucket became non-compliant, and CloudTrail tells you which call changed it.

AWS Trusted Advisor inspects your account and provides best-practice recommendations across areas including security, cost optimization, performance, and fault tolerance. It flags issues such as overly permissive access or unused resources and suggests fixes. In a governance context, Trusted Advisor is a broad, ongoing checklist that surfaces where your account drifts from AWS best practices — useful hygiene alongside the more targeted compliance services.

Governance services at a glance

These services often appear as answer options in the same question, so the discriminator is the exact governance job each one does. Read the scenario for the verb and the target.

ServiceGovernance question it answers
AWS ConfigAre my resources configured correctly and staying compliant over time?
Amazon InspectorDo my workloads have known software vulnerabilities?
AWS Audit ManagerCan I collect evidence that I meet a compliance framework?
AWS ArtifactWhere do I download AWS's own compliance reports (SOC, ISO, PCI)?
AWS CloudTrailWho called which API, and when? (the audit trail)
AWS Trusted AdvisorWhere does my account drift from AWS best practices?

A quick way to keep them straight: Config is about configuration state, CloudTrail is about actions taken, Inspector is about vulnerabilities, Audit Manager assembles your evidence, Artifact gives you AWS's reports, and Trusted Advisor is a broad best-practice checker. The exam rarely asks you to configure any of these. It asks you to pick the one whose purpose matches the sentence — so anchor on the purpose, not the details, and the confusable pairs (Config versus CloudTrail, Audit Manager versus Artifact) stop being confusable.

Data governance strategies

Beyond the tooling, governance is a set of decisions about how you handle data across its life. The exam lists several strategies, and each is a policy you set and then enforce.

Data lifecycles define how data moves through stages — created, used, archived, and eventually deleted — so nothing is kept forever by accident or thrown away too soon. Retention is the related rule for how long data is kept before it is deleted, often set by regulation; a policy might require training records to be retained for a set number of years, then removed. Data residency is about where data physically lives: many regulations require that certain data stay within a specific country or region, so you choose AWS Regions accordingly and prevent data from being processed elsewhere. For a generative AI system, residency can dictate where prompts, responses, and training data are stored and processed.

Logging records what happens to data and systems, and monitoring and observation mean actively watching those logs and metrics so you notice problems, misuse, or drift rather than discovering them after the fact. Put together, a data-governance strategy states the lifecycle and retention rules, pins data to compliant Regions for residency, and keeps everything logged and monitored. These are policy decisions first; the AWS services in this lesson are how you implement and prove them.

Governance processes and frameworks

Governance also lives in how an organization operates. Policies are the written rules for building and running AI systems — what data may be used, who approves a model for production, what must be logged. A review cadence and defined review strategies mean these systems are checked on a regular schedule rather than set and forgotten, so a model is re-evaluated as data and risks change. Transparency standards require you to be clear about how AI is used and how decisions are made, and team training requirements ensure the people building and operating AI understand the policies and their responsibilities.

Governance frameworks give structure to all of this. The one the exam names is the AWS Generative AI Security Scoping Matrix — a framework for scoping the security of a generative AI workload based on how you use the model. It sorts generative AI use into scopes that range from simply using a public consumer application, through building on a pre-trained model, up to fine-tuning or training your own model. The point is that your security and governance responsibilities grow as you move up the scopes: someone using a public app carries far less responsibility than a team training a model on proprietary data. When you recognize the scope of your usage, you know which governance and security considerations apply. For the exam, recognize the Generative AI Security Scoping Matrix as a framework for scoping generative AI security — you do not need to memorize every scope.

Example: governance for a regulated GenAI deployment

Bring it together with a walkthrough. A healthcare company deploys a generative AI assistant that answers staff questions from internal clinical documents, and it must satisfy regulators.

First it writes the policies: which data the assistant may use, who signs off before it goes live, and a quarterly review cadence. For data governance, patient data must stay in-country, so the team pins storage and processing to AWS Regions in that country for residency, sets a multi-year retention rule with a defined data lifecycle, and keeps everything logged and monitored. To scope the work, it uses the Generative AI Security Scoping Matrix and identifies its usage as building on a pre-trained model with private data, which tells it how much governance responsibility it owns.

Then it wires up the AWS services. AWS Config continuously checks that data buckets stay encrypted and logging stays on. AWS CloudTrail records every API call as the audit trail of who accessed what. AWS Audit Manager collects evidence and maps it to the frameworks the company must meet, and AWS Artifact provides AWS's own SOC and ISO reports for the infrastructure layer. When the regulator arrives, the company can show the chain from regulation to control to evidence for each requirement — which is exactly what governance is meant to produce.

Tip. Expect service-matching questions with governance trigger phrases. Track resource configuration and compliance points to AWS Config; an audit trail of API calls points to AWS CloudTrail; collect audit evidence against a framework points to AWS Audit Manager; download AWS's SOC 2 or ISO report points to AWS Artifact. A framework for scoping generative AI security is the Generative AI Security Scoping Matrix. Watch the Config-versus-CloudTrail and Audit-Manager-versus-Artifact distinctions, and know data-governance terms like residency and retention.

Key takeaways
  • Governance and compliance prove an AI system is run responsibly and meets the rules — think of the chain regulation to control to evidence, run continuously.
  • AWS Config tracks resource configuration and compliance over time, while AWS CloudTrail records the audit trail of who called which API and when.
  • AWS Audit Manager collects evidence that you meet a compliance framework; AWS Artifact lets you download AWS's own compliance reports such as SOC 2 and ISO.
  • Amazon Inspector scans workloads for vulnerabilities, and AWS Trusted Advisor checks your account against AWS best practices.
  • Data-governance strategies cover data lifecycles, retention, residency (where data lives), logging, and monitoring — policy decisions you set and then enforce.
  • Governance processes include written policies, a regular review cadence, transparency standards, and team training requirements.
  • The AWS Generative AI Security Scoping Matrix is a framework for scoping generative AI security by how you use the model; responsibility grows from using a public app up to training your own model.

Frequently asked questions

What is the AWS Generative AI Security Scoping Matrix?

It is an AWS framework for scoping the security and governance of a generative AI workload based on how you use the model. It sorts usage into scopes that range from simply using a public consumer application, through building on a pre-trained model or a fine-tuned model, up to training your own model on your data. As you move up the scopes, more of the security and governance responsibility falls on you. Recognizing which scope your usage fits tells you which considerations apply. For AIF-C01, recognize it as a framework for scoping generative AI security rather than memorizing every scope.

What is the difference between AWS Config and AWS CloudTrail?

They answer different governance questions. AWS Config records the configuration of your resources and whether that configuration stays compliant with your rules over time — it is about resource state. AWS CloudTrail records the API activity in your account: who made a call, which action, when, and from where — it is about actions taken and serves as your audit trail. A governance program uses both together: Config can tell you a bucket became non-compliant, and CloudTrail can tell you which API call changed it.

How does a company set up governance for a generative AI deployment on AWS?

Start with policies and a review cadence, then set data-governance rules for residency (which Regions data may live in), retention, and lifecycle, keeping everything logged and monitored. Use the Generative AI Security Scoping Matrix to scope your responsibility. Then wire up services: AWS Config to track that resources stay compliant, AWS CloudTrail for the audit trail of API activity, AWS Audit Manager to collect evidence against your compliance frameworks, and AWS Artifact to obtain AWS's own compliance reports. The result is a documented chain from each regulation to the control that satisfies it and the evidence that proves it.

Which AWS service lets you download AWS's SOC 2 or ISO compliance report?

AWS Artifact. It is a self-service portal where you download AWS's compliance reports and certifications — including SOC 1, SOC 2, ISO, and PCI — and review agreements. These reports document how AWS audits and certifies the infrastructure underneath your workload, which is the AWS side of the shared responsibility model. Do not confuse it with AWS Audit Manager, which collects evidence about your own environment; Artifact provides AWS's reports about AWS's environment.

What are the main data-governance strategies for AI systems?

The exam lists data lifecycles (how data moves from creation through archiving to deletion), retention (how long data is kept before deletion, often set by regulation), data residency (where data physically lives, so it stays in a required country or region), and logging plus monitoring and observation (recording activity and actively watching it to catch problems). Together these are policy decisions: you define the lifecycle and retention rules, pin data to compliant AWS Regions for residency, and keep everything logged and monitored so you can detect issues and prove compliance.

Test yourself on this topic
Practice questions with full explanations.
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.