CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
  • Week 1
    • 1.DevOps as an Operating Model: The Five Axes of CALMS and the Truth DORA Proved Through Measurement
    • 2.Well-Architected Framework: Rereading It Through the Six Lenses of DevOps
    • 3.The AWS DevOps Tool Map: The Code* Series and the Real Picture Beyond It
    • 4.Multi-Account Strategy: The Real Picture of Organizations, Control Tower, and IAM Identity Center
    • 5.Week 1 Wrap-Up: Cementing the DevOps Thinking Frame with Scenarios
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
  • Week 7
  • Week 8
  • Week 9
  • Week 10
  • Week 11
  • Week 12
  • Week 13
  • Week 14
    • 1.GuardDuty and Automatic Isolation: Signal Processing, Statistics, and Auto-Response Principles
    • 2.Security Hub: The SIEM Principles of Normalizing, Aggregating, and Auto-Remediating Security Data
    • 3.AWS Config: Closed-Loop Control Principles for State Recording, Drift Detection, and Automated Remediation
    • 4.Audit Manager, Macie, Inspector: Evidence Automation, Data Classification, Vulnerability Scanning Principles
    • 5.Week 14 Comprehensive Review: The Big Picture of Security Automation Stack and Practical Scenarios
  • Week 15
  • Week 16
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← DOP-C02/Week 14/Day 5

Based on the DOP-C02 exam guide·Report an error

DOP-C02· ProWeek 14 · Day 5~32 min read

Day 5 - Week 14 Comprehensive Review: The Big Picture of Security Automation Stack and Practical Scenarios

Week 14 is summarized in one sentence — "Detect (detect), Aggregate (aggregate), Assess (assess), Prove (prove), and Respond automatically (respond)." GuardDuty detects threats, Security Hub integrates all Findings into ASFF, Config assesses resource compliance, Audit Manager, Macie, Inspector, and Access Analyzer handle audit evidence, sensitive data, vulnerabilities, and external exposure, and all of these connect to automated response via EventBridge → SSM Automation/Lambda. Today we reassemble these five pieces into one picture and verify end-to-end application with 12 practical scenario questions.

The Big Picture — How Five Pieces Fit Together

                    [Data Plane Logs & Resource State]
                              │
   ┌──────────────┬──────────┼──────────────┬─────────────────┐
   ▼              ▼          ▼              ▼                 ▼
GuardDuty      Inspector   Macie      Access Analyzer       Config
(Threats/Behavior) (CVE Vulns) (Sensitive Data) (External/Unused) (Resource Compliance)
   │              │          │              │                 │
   └──────────────┴──────────┴──── ASFF ────┴─────────────────┘
                              │
                              ▼
                    ┌──────────────────┐
                    │   Security Hub   │  ← Normalization, Dedup, Priority, Std Evals
                    │ (Single Source   │     FSBP/CIS/PCI/NIST
                    │   of Truth)      │
                    └─────────┬────────┘
                              │
              ┌───────────────┼────────────────┐
              ▼               ▼                ▼
        Custom Action   Automation Rule   Findings-Imported
        (Manual HITL)   (Field Updates)    → EventBridge
                                                 │
                              ┌──────────────────┴─────────┐
                              ▼                            ▼
                      SSM Automation Runbook          Lambda
                      (Isolation/Snapshot/Remediate) (Custom Response)

  [Audit]  Audit Manager → SOC2/HIPAA/PCI Evidence Auto-Collection → Assessment Report
  [Governance] Firewall Manager (Central WAF/Shield)  │  CloudTrail Lake (7-year SQL Investigation)
  [Multi-Account] Delegated Administrator  │  [Multi-Region] Region/Config Aggregator

The core principles running through this are three-fold. First, all signals converge to Security Hub as ASFF — normalizing different tool outputs into one language is the prerequisite for automation. Second, automated response splits by risk and reversibility — safe and reversible means full automation (Imported→Lambda), destructive means human approval (Custom Action HITL). Third, multi-account is Delegated Administrator and multi-region is Aggregator — orthogonal axes for unification.

Service Role Boundaries — Organizing Confusing Pairs

Confusing PairDistinction
GuardDuty vs InspectorThreat/behavior detection (runtime) vs CVE vulnerability scanning (assets)
Config vs CloudTrailResource state/configuration vs API call/behavior audit
Config vs Audit ManagerAssess "are we compliant now" and remediate vs Collect evidence to prove compliance with reports
Macie vs InspectorS3 sensitive data (PII/PHI) vs Package CVE vulnerabilities
Custom Action vs Automation RuleOperator manual trigger (HITL) vs Lambda-less automatic field update
Automation Rule vs Imported→LambdaUpdate Finding fields only (can't fix resources) vs Actual resource remediation
Delegated Administrator vs AggregatorMulti-account unification vs Multi-region unification
Suppression Rule vs Trusted IPKeep Finding+hide vs Block Finding generation (blind spot risk)

💡 Related Theory: This entire stack organizes under NIST's Cybersecurity Framework (CSF) 5 functions. Identify Config, Macie, Access Analyzer / Protect Firewall Manager, Conformance Pack, KMS / Detect GuardDuty, Inspector, Security Hub / Respond EventBridge→SSM, Lambda / Recover Snapshots, backups, PITR. In scenarios, diagnosing "which CSF step is missing" quickly reveals what to add. NIST CSF, created 2014 under U.S. Executive Order (EO 13636) for critical infrastructure protection, added a sixth Govern function in 2024 CSF 2.0 — governance is the policy, role, risk-management layer spanning the five functions, handled in AWS by Organizations, Control Tower, SCP.

🔍 Deeper: Another principle running through the stack is defense in depth. Don't rely on a single control; stack detection, prevention, and response in multiple layers so one layer's breach is stopped by the next — a medieval castle's moat-wall-keep structure borrowed for infosec (NSA applies it). Week 14 tools fill different layers: Firewall Manager, Config (prevention, block misconfig), GuardDuty, Inspector (detection, catch after breach), EventBridge→SSM (response, auto-isolate), CloudTrail Lake (forensics, what happened). The Capital One incident (Day 1) showed that when one layer (WAF misconfiguration) breaks and the next layer (credential theft detection and auto-disable) is missing, damage cascades — defense-in-depth absence becomes a single point of failure.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

GuardDuty detected Backdoor:EC2/C&CActivity.B!DNS (Severity 8.7) on production EC2. Automate: ①preserve forensic evidence ②network isolation ③ops team alert, without human involvement, yet investigators must access the instance to examine what the attacker did. What's the correct auto-response sequence?

Question 2

Organization: 50 accounts × 3 regions. View all accounts/regions' security Findings from Audit account console. What's the correct setup?

Question 3

FSBP standard S3.1 (Block Public Access) control is FAILED on bucket. Auto-remediate to private without human intervention. What's correct?

Question 4

Deploy PCI DSS/NIST 800-53 rule bundles org-wide (OU) with auto-remediation. What's the tool?

Question 5

Auto-Remediation flaps: same resource endlessly corrects-violates, API throttles, costs explode. Root cause and safety valve?

Question 6

ECR container push: auto-scan OS + npm/pip dependency CVEs, auto-re-evaluate on new CVE disclosure. What's correct?

Question 7

Large S3 data lake (hundreds TB): auto-discover card numbers/SSNs, control costs. What's the strategy?

Question 8

Find S3/roles exposed to external accounts/public without missing cases. Shrink IAM permissions to observation-based least privilege. What's the combo?

Question 9

Eliminate manual screenshot/log collection for SOC2/PCI audits. Auto-collect evidence, submit reports to auditors. What's the tool?

Question 10

Reduce false positives but keep investigative records in case that IP/pattern later compromises. GuardDuty: what's correct?

Question 11

Operator manually triggers response in console for specific Finding (destructive production work needs human judgment). What's the mechanism?

Question 12

Fintech org: ①multi-account threat detection auto-enabled ②all Findings unified ③S3 PII discovery ④container CVE scanning ⑤external exposure detection ⑥7-year breach SQL investigation ⑦multi-account WAF central policy. Map each requirement to correct service.

📌 Week 14 Final Checkpoint — Pre-Exam Verification

  1. Detect: GuardDuty (agent-less, data plane logs, signature+anomaly, Severity=severity×confidence) / Inspector v2 (CVE·CVSS·NVD, EC2·container·Lambda, continuous re-eval)
  2. Aggregate: Security Hub (ASFF normalization·Normalized 0~100, FSBP/CIS/PCI/NIST standards, Config-dependent) — multi-account=Delegated Admin, multi-region=Region Aggregator
  3. Evaluate & Remediate: Config (closed-loop control, CI=state snapshot, 3-Rule types Managed/Lambda/Guard DSL, Conformance Pack=StackSets, Remediation=SSM Automation, flapping blocked by MaxAttempts)
  4. Evidence/Data/Permissions: Audit Manager (evidence auto-collection & proof) / Macie (PII classification, Luhn validation, cost control) / Access Analyzer (Zelkova formal-verify external exposure, observation-based least privilege)
  5. 3 Response Paths: Custom Action (manual HITL) / Automation Rule (field updates only) / Imported→Lambda·SSM (actual resource remediation)
  6. Governance: Firewall Manager (central WAF/Shield) / CloudTrail Lake (7-year SQL) / NIST CSF 5 functions diagnostics

💪 Week 14 Complete! Core: "Precisely distinguish role boundaries; choose automation depth by risk and reversibility."

🎯 Scenario (Holistic Diagnosis Practice): A SaaS firm says "security tools all enabled, incident happened." Investigation: GuardDuty, Security Hub, Config all active; Findings pile up; no automated response connected. CSF diagnosis: Detect sufficient, Respond missing. Fix: ① Automation Rule suppresses low-risk Findings (reduce alarm fatigue, base-rate error) ② Critical+specific-type EventBridge→SSM for full auto-isolation ③ Destructive work Custom Action HITL ④ Macie identifies which bucket has PII (Identify step) to prioritize. "Turning on tools" ≠ "tying detection to response" — without the latter, detection is just noise.

🔜 Week 15 Preview

Comprehensive Scenario — Enterprise Case: Weeks 1~14 CI/CD, IaC, monitoring, security into one enterprise case for end-to-end application verification.

PreviousAudit Manager, Macie, Inspector: Evidence Automation, Data Classification, Vulnerability Scanning PrinciplesWeek 14 · Day 4Next Multi-Account Enterprise CI/CD: Governance and Platform Engineering Principles for 50+ AccountsWeek 15 · Day 1

Official references

  • DOP-C02 official exam page(opens in a new tab)
  • Amazon GuardDuty documentation(opens in a new tab)
  • AWS Lambda documentation(opens in a new tab)
  • AWS Security Hub documentation(opens in a new tab)
  • Amazon Macie documentation(opens in a new tab)
  • AWS Systems Manager documentation(opens in a new tab)

On this page

  • The Big Picture — How Five Pieces Fit Together
  • Service Role Boundaries — Organizing Confusing Pairs
  • 12 Practical Scenario Questions
  • Week 14 Final Checkpoint — Pre-Exam Verification
  • Week 15 Preview