AWS Config

A continuous configuration-recording and compliance-evaluation service. Where CloudTrail answers "who did what," Config answers "is this resource, right now (or as of any point in its history), configured the way it should be." Mostly detective by design — but its newer proactive mode can act as a genuine pre-deployment gate.

Detective — primary role Governance / Compliance Preventive — proactive mode only
200+
Managed Config rules available
2
Evaluation modes: detective + proactive
$0.001
Per rule evaluation (first 100k)
75
New managed rules added March 2026

How Config Actually Works

The Core Mechanism — Configuration Items, Not Just "Rules"
⚠️ The Recurring Exam Theme

Config questions almost always test one of three things: (1) do you know Config rules do not, by themselves, guarantee compliance or block non-compliant actions in detective mode — AWS explicitly states this, (2) can you distinguish detective evaluation (after the fact) from proactive evaluation (before deployment, via CI/CD), and (3) can you separate Config (configuration state, generic rule engine) from CloudTrail (activity record) and Security Hub CSPM (packaged compliance standards built using similar underlying logic).

Exam Domain Mapping

DomainWhere Config Shows Up
Management & Security GovernanceThe centerpiece — conformance packs, organization-wide rule deployment, compliance frameworks
Infrastructure SecurityDetecting misconfigured security groups, public resources, missing encryption
Security Logging & MonitoringConfiguration change history, SNS notifications on compliance changes, Security Hub CSPM's underlying evaluation logic
Threat Detection & Incident ResponseRemediation actions (SSM Automation) restoring resources to a compliant state after a finding

Decision Tree — Mental Model

Threat

Resources drifting out of compliance with security/operational standards; non-compliant resources being deployed in the first place; lack of a documented compliance posture against named frameworks

Security Goal

Continuously know whether every resource's configuration meets policy, detect drift, and optionally prevent non-compliant resources from ever being created

AWS Service

AWS Config

Configuration Recorder + Configuration Items Detective rules (after the fact) Proactive rules (before deployment, via CFN hooks) Conformance packs (framework bundles)
Implementation

Enable the recorder org-wide via Organizations. Deploy conformance packs aligned to your regulatory frameworks. Add proactive rules into CI/CD pipelines for pre-deployment gating.

Monitoring

Aggregators provide multi-account/region compliance visibility; SNS notifies on every configuration/compliance change; Security Hub CSPM packages Config-like checks into standardized scores.

Remediation

SSM Automation documents attached as remediation actions automatically (or with manual approval) bring a non-compliant resource back into compliance.

Final Summary

Must Memorize
  • Config rules do NOT guarantee compliance or block non-compliant actions in detective mode — AWS states this explicitly
  • Proactive mode is the one path where Config can prevent deployment, via CloudFormation hooks in CI/CD
  • Conformance packs bundle rules + remediation actions, deployable account/org-wide
  • A Configuration Item captures both resource attributes AND relationships to other resources
Must Understand
  • Why detective mode alone can't prevent a misconfigured resource from existing, even briefly
  • The remediation-action pattern (SSM Automation) for closing the loop after detection
  • The distinction triangle: Config (configuration state, generic engine) vs CloudTrail (activity record) vs Security Hub CSPM (packaged compliance standards)
Can De-prioritize
  • Exact dollar pricing tiers
  • Full list of all 200+ managed rules
  • Console UI navigation specifics

Exam appearance probability: HIGH

Rules & Evaluation Modes

The single biggest conceptual fork in Config: detective (after the fact) vs proactive (before deployment).

2.1 Configuration Recorder & Configuration Items Foundational
WhatContinuously captures point-in-time snapshots of resource attributes and relationships
Scope controlCan be configured to include/exclude specific resource types
2.2 Managed vs Custom Rules High exam relevance
Managed rulesAWS-provided, 200+ and growing — 75 new ones added in March 2026 alone, covering services like Amplify, SageMaker, Route 53
Custom rulesBacked by your own Lambda function, or AWS Guard (policy-as-code) rule logic, for organization-specific logic not covered by managed rules
2.3 Detective Evaluation Mode Default behavior
TriggerPeriodically, or upon detecting a configuration change — AFTER the resource exists
2.4 Proactive Evaluation Mode High — the "preventive" exception
TriggerBEFORE resource creation/update — typically wired into a CI/CD pipeline via a CloudFormation hook
MechanismA pre-create/pre-update hook invokes the proactive Config rule right before CloudFormation provisions the resource
2.5 Conformance Packs
WhatA YAML-templated bundle of Config rules + remediation actions, deployable as one unit per account/region or org-wide
FrameworksSample templates exist for HIPAA, NIST 800-53, NIST 800-171, FedRAMP, FFIEC, CMMC Levels 1–2, AWS Well-Architected
2.6 Remediation Actions
WhatSSM Automation documents attached to a rule, executed automatically (or with manual approval) when a resource is found non-compliant
2.7 Aggregators & Advanced Query
AggregatorsConsolidate configuration/compliance data across multiple accounts and regions into one view
Advanced QuerySQL-like querying across Configuration Items for ad-hoc investigation, e.g. "show me every unencrypted EBS volume across the org"

AWS Exam Thinking

Requirement → Keywords → Expected Answer → why every distractor fails.

Determine whether a resource's configuration complies with a defined policy
configuration complianceis this resource configured correctly
Expected Answer

AWS Config (rules)

DistractorWhy it's wrong
CloudTrailRecords WHO did WHAT, not whether the resulting configuration is compliant
InspectorFinds known software vulnerabilities (CVEs), not generic configuration-rule compliance
GuardDutyDetects behavioral anomalies, not static configuration state
Prevent a non-compliant resource from ever being deployed via CI/CD
before deploymentCI/CD gateblock the pipeline
Expected Answer

Config proactive rules (via CloudFormation hook)

DistractorWhy it's wrong
Standard (detective) Config rulesOnly evaluate AFTER the resource is created — cannot block the deployment itself
SCPsControl IAM permission boundaries at the account level, not template-level configuration validation pre-deployment
Bundle a set of controls mapped to HIPAA/NIST/FedRAMP and deploy org-wide
frameworkbundle controlsorg-wide deployment
Expected Answer

Config conformance pack

DistractorWhy it's wrong
Deploy each individual rule manually per accountDoesn't scale and loses the simplified, standardized reporting/deployment conformance packs provide
Automatically fix a resource once it's found non-compliant
auto-remediaterestore compliance
Expected Answer

Config remediation action (SSM Automation document)

DistractorWhy it's wrong
Assume the Config rule itself fixes the resourceRules only evaluate and flag — remediation is a separate, explicitly attached action
Get a single, multi-account/region view of overall compliance posture
multi-accountcentralized compliance view
Expected Answer

Config aggregator

DistractorWhy it's wrong
Manually log into each account's Config consoleDoesn't scale and defeats the purpose of an aggregator's consolidated view

Security Controls Mapping & Integrations

4 — Controls Mapping

Detective (default mode)

Standard Config rule evaluation — flags non-compliant resources after they already exist

Preventive (proactive mode only)

Pre-deployment evaluation via CloudFormation hooks — the only scenario where Config genuinely blocks a non-compliant resource from being created

Remediation

SSM Automation documents attached as remediation actions bring non-compliant resources back into compliance automatically or with approval

Governance / Compliance

Conformance packs map controls to named frameworks (HIPAA, NIST, FedRAMP, CMMC); org-wide rule/pack deployment enforces consistent baselines

⚠️ Config rules do not guarantee compliance, by AWS's own documentation

They evaluate configurations periodically or on change, but they do not prevent users from taking non-compliant actions in detective mode. Only proactive mode, wired into a deployment pipeline, can actually block a non-compliant resource from being created.

5 — Integrations

AWS Systems Manager
WhatSSM Automation documents power remediation actions
AWS Security Hub CSPM
WhatBuilt on configuration-evaluation logic conceptually similar to Config, but packaged into standardized, scored compliance frameworks (CIS, PCI DSS, NIST, FSBP)
RelationshipConfig is the more generic, customizable rule engine; Security Hub CSPM is the standards-packaged consumer-facing layer
AWS CloudFormation
WhatPre-create/pre-update hooks invoke proactive Config rules during stack deployment
WhyThe mechanism that makes proactive mode's CI/CD gating possible
AWS Organizations
WhatOrganization-level conformance packs and individual rule management, deployable across all member accounts from a delegated administrator
Amazon SNS
WhatNotifications on every configuration change and compliance state change
AWS Audit Manager
WhatCan map its audit frameworks to Config conformance packs and export Config compliance evidence for formal audit reporting
NoteAudit Manager itself is transitioning to maintenance mode — closing to new customers April 30, 2026, with Config's own evidence-export tooling offered as continued guidance

Costs, Limits & Quotas

Pricing Model

Configuration itemsBilled per configuration item recorded
Rule evaluationsFirst 100,000 evaluations at $0.001 each (tiered pricing beyond), counted separately for proactive-mode-only evaluations
Conformance pack evaluationsFirst 100,000 conformance pack evaluations at $0.001 each, counted per rule evaluation within the pack

Common Cost Mistakes

Cost Optimization

Limits & Quotas

ScopeRegional — the configuration recorder is enabled per region
Managed rules200+, growing regularly (e.g. 75 new rules added March 2026)
Conformance pack availabilitySupported in a defined set of regions; organization-level deployment supported in a defined (and recently expanded) set of regions
⚠️ Exam trap

Don't assume every new managed rule or conformance pack template is instantly available in every region — region availability for org-level deployment specifically has been an active expansion area, and a question testing this nuance expects you to know availability isn't universal by default.

Best Practices & Common Exam Traps

8 — Best Practices

Must Know
  • Detective mode = after the fact, does NOT prevent non-compliant resource creation
  • Proactive mode = before deployment, via CloudFormation hooks — the only genuinely preventive path
  • Config rules alone don't fix anything — remediation actions (SSM Automation) close the loop
  • Conformance packs bundle rules + remediation, mapped to named frameworks
Good Practice
  • Enable the recorder and core conformance packs organization-wide via a delegated administrator
  • Attach remediation actions to high-confidence, low-risk-of-false-positive rules
  • Use aggregators for centralized multi-account/region compliance visibility
  • Scope the recorder to relevant resource types for cost control
Advanced Practice
  • Integrate proactive rules into CI/CD pipelines via CloudFormation hooks for shift-left governance
  • Author custom rules (Lambda or AWS Guard) for organization-specific logic not covered by managed rules
  • Use Advanced Query for ad-hoc, SQL-like investigation across Configuration Items during incident response

9 — Common Exam Traps

MisconceptionReality
"Config rules prevent non-compliant resources from being created"Only true for proactive-mode rules wired into a CI/CD pipeline — standard detective-mode rules evaluate AFTER creation and cannot block it
"Config automatically fixes non-compliant resources"Only if a remediation action (SSM Automation document) is explicitly attached to the rule — otherwise it only flags, never fixes
"AWS Config and Security Hub CSPM are the same thing"Config is the generic, customizable configuration-evaluation engine; Security Hub CSPM packages similar logic into standardized, named compliance frameworks (CIS/PCI/NIST/FSBP) with its own scoring
"CloudTrail and Config track the same thing"CloudTrail tracks WHO did WHAT (activity). Config tracks WHETHER a resource's configuration is compliant (state) — fundamentally different data and purpose
"Audit Manager is the current go-to tool for ongoing compliance evidence"Audit Manager is transitioning to maintenance mode, closing to new customers April 30, 2026 — Config's own evidence-export tooling is positioned as continued guidance going forward

Config vs. The Lookalikes

ServiceWhat it actually answers
vs CloudTrailCloudTrail = who did what, when (activity record). Config = is this resource currently/historically configured correctly (configuration state). Frequently paired as distractors for each other
vs InspectorInspector = does this resource's installed SOFTWARE have a known vulnerability (CVE). Config = is this resource's CONFIGURATION compliant with a rule. Different data sources and questions entirely
vs GuardDutyGuardDuty = is this resource being misused right now (behavioral). Config = is this resource configured correctly (static state). Config has no behavioral/anomaly detection capability at all
vs Security Hub CSPMConfig is the underlying, generic, highly customizable rule-evaluation engine. Security Hub CSPM packages similar configuration checks into standardized, continuously-scored compliance frameworks (CIS, PCI, NIST, FSBP) — built on conceptually similar logic but presented as named, scored standards
vs AWS Audit ManagerConfig continuously evaluates and can remediate configuration compliance as an operational activity. Audit Manager collects and organizes EVIDENCE (which can include Config compliance data) to support formal audit/reporting processes for specific frameworks — and is itself moving to maintenance mode

Flashcards — 16 Cards

Click card to flip. Mark right or wrong to track score.

Click to reveal answer
1 / 16
Mark:   Score: 0/0

Practice Quiz — 10 Questions

SCS-C02 scenario style, Easy → Specialty. Select an answer to reveal the explanation.

out of 10 correct