Security and Compliance · Topic 2 of 5
Governance, Compliance and Auditing
Learn AWS governance and compliance concepts for CLF-C02, including AWS Artifact, CloudTrail, Config, Audit Manager, Organizations and Control Tower.
- 4 min
- AWS Artifact provides AWS compliance reports and agreements on demand.
- CloudTrail records API activity and account actions.
- AWS Config tracks resource configuration and checks it against rules.
What it is
Governance means setting rules for how an organisation uses the cloud and checking that the rules are followed. Compliance means meeting laws, standards and contract requirements, such as those for payments or health data.
AWS supports both. It publishes evidence about its own controls, and it offers services that record activity, check configuration and apply rules across many accounts.
The exam asks which service answers a given governance or audit need. Most questions can be solved by knowing the one-line job of each service.
How it works
Compliance information from AWS
AWS Artifact is a portal that gives you on demand access to AWS compliance reports and agreements. Examples are audit reports and certain agreements you can accept for your account.
Use Artifact when an auditor asks for proof about AWS's own controls. It does not check your own resources.
AWS supports many compliance programmes, such as System and Organization Controls (SOC) reports, the Payment Card Industry Data Security Standard (PCI DSS) and ISO 27001. Meeting a standard for a workload is still a shared task, because the customer must configure their part correctly.
Compliance also varies by service. Each AWS service is covered by a different set of compliance programmes, and a newer service may not yet be in scope for a given standard. Before you put regulated data into a service, check the AWS list of services in scope by compliance programme, which you can reach through Artifact or the AWS compliance website.
Data location and Regions
Data stays in the Region you choose unless you move it. This helps with rules about where data may be stored.
Recording and checking activity
| Service | What it does | Typical question |
|---|---|---|
| AWS CloudTrail | Records application programming interface (API) calls and account activity (who did what, when, from where) | Who deleted this resource? |
| Amazon CloudWatch | Collects metrics and logs, and raises alarms | Alert me when processor usage is high |
| AWS Config | Records resource configuration over time and checks it against rules | Was this resource configured the same way last month? Is it compliant? |
| AWS Audit Manager | Collects evidence continuously to help prepare for audits | Help me gather audit evidence |
CloudTrail is about actions. Config is about the state of resources. CloudWatch is about performance and operational data.
Managing many accounts
AWS Organizations lets you group accounts, apply central billing and set policies. A service control policy (SCP) defines the maximum permissions that accounts in an organisation can use.
An SCP does not grant access by itself. It only limits what can be allowed.
AWS Control Tower sets up a well governed multi account environment, called a landing zone, and applies guardrails. Guardrails are rules that either prevent an action or detect it.
Putting the services together
Suppose a security group is changed and a server becomes reachable from the internet. CloudTrail shows who made the change and when, and Config shows the old and new settings and can flag the resource as non compliant.
A CloudWatch alarm can then notify the team, so the problem is fixed quickly. Each service answers a different part of the story.
Tags and resource grouping
Tags are labels on resources, such as a project or cost centre. Consistent tagging supports cost tracking, ownership and automation.
Security advice and findings
AWS Trusted Advisor checks your account against best practices in areas that include security and cost. AWS Security Hub gathers security findings in one place, and is described on the detection page.
What to remember for the exam
- AWS Artifact provides AWS compliance reports and agreements on demand.
- CloudTrail records API activity and account actions.
- AWS Config tracks resource configuration and checks it against rules.
- Amazon CloudWatch monitors metrics and logs and triggers alarms.
- AWS Audit Manager helps collect evidence for audits.
- AWS Organizations manages many accounts, and SCPs set permission limits.
- AWS Control Tower creates a governed multi account setup with guardrails.
- Compliance of a workload is a shared task: AWS has certified infrastructure, but the customer must configure their part.
Think "who did it" for CloudTrail, "what changed" for Config, "how is it performing" for CloudWatch, and "show me AWS's reports" for Artifact.
Common mistakes
Using CloudWatch for audit trails. Account activity belongs to CloudTrail, while CloudWatch is for performance and operations.
Assuming AWS compliance makes you compliant. Certifications cover AWS's part, and your own configuration still counts.
Believing an SCP grants permissions. It only sets a ceiling, and an AWS Identity and Access Management (IAM) policy must still allow the action.
Confusing Artifact with Audit Manager. Artifact gives AWS reports. Audit Manager gathers evidence about your own usage.
Do not choose AWS Config when the question asks who made a change. Config shows what the resource looked like, while CloudTrail shows the API call and the caller.
Check yourself
Which service provides AWS compliance reports for auditors?
AWS Artifact.
Which service records API calls so you can see who made a change?
AWS CloudTrail.
What does a service control policy do?
It sets the maximum permissions available to accounts in an AWS Organizations structure, but does not grant access by itself.
Topic 2 of 5 in Security and Compliance
Test yourself on Security and Compliance
The full AWS CLF-C02 question bank has 832 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by AWS. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.