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
  • Week 1
    • 1.AWS Infrastructure Through an Operator's Eyes: Regions, AZs, and the Boundary of Responsibility
    • 2.IAM Operator's Manual: Users, Groups, Roles, Policy Evaluation Algorithm
    • 3.Advanced IAM: Building Guardrails with Permission Boundary, SCP, and Identity Center
    • 4.AWS Organizations: How One Person Operates 100 Accounts
    • 5.Week 1 Consolidated Review: Revisiting the First Week Through Operator Scenarios
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
  • Week 7
  • Week 8
  • Week 9
    • 1.KMS: How to Manage Keys Without Ever Seeing Them
    • 2.Secrets Manager: How to Change the Passwords of a Living System Without Downtime
    • 3.IAM Access Analyzer and Trusted Advisor: How to Prove Permissions with Code
    • 4.The Four Eyes That Detect Threats, and How to Bring Them Together
    • 5.Week 9 Comprehensive Review: How Keywords Point to Answers
  • Week 10
  • Week 11
  • Week 12
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
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
← SOA-C02/Week 9/Day 5

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

SOA-C02· AssociateWeek 9 · Day 5~29 min read

Day 5 - Week 9 Comprehensive Review: How Keywords Point to Answers

Over the past week, we've surveyed the full terrain of security and encryption—from KMS key isolation through GuardDuty, Inspector, Macie, and Security Hub's detection divisions. On the exam, problems in this domain almost always follow the pattern: "one or two keywords in the scenario point to the answer." If you see "decryption across regions," think Multi-Region Key. If "automatic rotation" appears, think Secrets Manager. If "detect threats without agents," think GuardDuty. This article solidifies that keyword-to-answer mapping in one sweep.

The core of review is not memorization, but grasping why each answer is correct. KMS limits itself to 4KB not randomly, but because Envelope Encryption forces a design that doesn't expose the master key to large data. Key Policy takes precedence over IAM not as arbitrary hierarchy, but because limiting blast radius—if one key is compromised, not everything leaks—is a design principle. Understand the "why" and you solve novel variations. Below, one-line summaries and comparison tables build the skeleton; 12 scenario problems add the flesh.

Week 9 Core Concepts: One-Line Summary

  1. KMS Key Types — AWS Owned (free, invisible) / AWS Managed (aws/ prefix, forced rotation) / Customer Managed ($1/month, policy & rotation control). Key material never downloadable.
  2. Envelope Encryption — Bypass KMS's 4KB limit. Get DEK via GenerateDataKey, encrypt data locally, store encrypted DEK with data. Plaintext DEK exists in memory only.
  3. Key Policy Takes Precedence — Even with kms:* in IAM, Key Policy must delegate or deny. Remove the root delegation line from default policy and the key locks.
  4. Key Rotation — Auto-rotation adds backing keys only; Key ID unchanged. Preventive, not breach response.
  5. Key Deletion — 7–30 day wait mandatory. Permanent decryption loss risk. Pre-test with disable first.
  6. Multi-Region Key — Only path for cross-region decryption. Required for Global Table, S3 CRR (SSE-KMS).
  7. Encryption Context — Works as AAD. Decrypt requires exact match. First suspect when permissions are correct but decryption fails.
  8. Secrets Manager vs Parameter Store — Auto-rotation + Cross-Region: Secrets Manager only. Parameter Store: plain settings, free.
  9. IAM Access Analyzer — Auto-detects exposure outside Zone of Trust + CloudTrail 90-day data for least-privilege policy generation.
  10. GuardDuty (behavior/threat) + Inspector (software/vulnerability) + Macie (data/sensitive) + Security Hub (aggregation/standard) — Each tool sees a different layer.
  11. CloudHSM — Dedicated HSM, FIPS 140-2 L3, AWS has no key access. Only when regulation mandates it.
  12. Auto-Response Skeleton — Security tool → EventBridge → Lambda/SSM Automation. Polling is wrong.

💡 Related Theory: One principle threads through all 12 concepts: "Defense in Depth." Don't rely on a single control; build multiple independent defensive layers so if one fails, the next holds. Military strategy roots this concept. KMS Key Policy (separate line of defense even if IAM is breached), Envelope Encryption (minimize master key exposure), deletion waiting period (human error brakes), four detection tools at different layers (behavior/software/data/configuration each watched separately)—all embody this principle. On the exam, "most secure configuration" questions usually reward "add one more layer" answers.

Comparison Tables: Common Confusion Points

KMS vs CloudHSM

ItemKMSCloudHSM
HSM TenancyMulti-tenant (AWS-managed)Dedicated (customer-leased)
FIPS 140-2Module L3, service context L2L3 (dedicated)
Key ControlAWS operates, customer policiesCustomer 100%, AWS no access
Cost$1/month/key + API$1.45+/hour always-on
Key RecoveryWithin Support limitsLost = permanently gone
Use CaseMost workloadsRegulation mandates dedicated HSM

Parameter Store vs Secrets Manager

ItemParameter StoreSecrets Manager
CostStandard free / Advanced cheap$0.40/secret/month + API
Auto-Rotation❌✅ (AWS-provided Lambda for RDS)
Cross-Region Replication❌✅
Size LimitStandard 4KB / Advanced 8KB64KB
Use CaseGeneral settings, plaintext paramsDB credentials, rotation-required secrets

Four Detection Tools

ItemGuardDutyInspector v2MacieSecurity Hub
LayerBehavior (threats)Software (vulnerabilities)Data (sensitive info)Aggregation·standards
ScopeAccount activityEC2/ECR/LambdaS3 object bodyAll findings
Agent❌ (Runtime only ✅)SSM Agent❌❌
Data SourceFlow Logs/CloudTrail/DNSOS packages/images/codeS3 object contentsASFF findings
BillingEvents analyzedResources scannedData bytes scannedFinding count

🔍 Deeper Dive: When memorizing comparison tables, attach "why is this different?" and you become resistant to variation questions. Example: only Secrets Manager supports auto-rotation because it orchestrates a 4-step lifecycle (createSecret → setSecret → testSecret → finishSecret) via Lambda; Parameter Store is a simple key-value store with no orchestration concept. Only Macie bills by data bytes because it's the only tool reading object body (others see metadata), making large-scale scan cost control a Macie-specific exam point.

⚠️ Pitfall: Two frequent confusion points in comparison tables. First: "rotate DB password free and automatic" is a contradiction answer—auto-rotation is Secrets Manager only ($0.40/month), so if "free" and "auto-rotation" sit together in one choice, it's wrong. Second: tool layer substitution like "GuardDuty scans OS vulnerabilities" or "Inspector detects malicious domain communication"—these swap tool responsibilities. GuardDuty watches behavior, Inspector watches software. Answers blurring this boundary are frequent traps.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

An IAM user has kms:* permission yet a specific KMS key denies with AccessDenied. Most likely cause?

Question 2

Encrypting a 1GB log file with KMS hits a 4KB limit error. Standard fix?

Question 3

Auto-rotate RDS MySQL master password every 30 days without writing rotation Lambda. Best approach?

Question 4

During Secrets Manager's RDS password rotation, running apps must not see auth failures. What mechanism enables zero-downtime?

Question 5

Seoul-region data replicates to Tokyo via S3 CRR with SSE-KMS encryption. Destination decryption requires?

Question 6

Operator concludes a KMS key is unused and deletes it. Minimize permanent data loss. Best procedure?

Question 7

Permissions, key state, region all correct yet a ciphertext decrypts with InvalidCiphertext. After permissions, suspect #1?

Question 8

EC2 instance communicates with known C&C domain. Detect without agents. Which tool and why?

Question 9

Inspector v2 running on ECR a month. Clean image last week; today Critical finding appears; image unchanged. Correct interpretation?

Question 10

80TB S3 data lake; find cards/SSNs but control scan costs. Best approach?

Question 11

Company wants all-member-account GuardDuty/Inspector/Macie/Access Analyzer/third-party findings on one dashboard, identical format, and auto-score CIS·PCI-DSS compliance. Which service and prerequisite?

Question 12

GuardDuty detects severity 8.2 suspicious instance. Auto-respond: immediately swap to isolation SG, no human touch. AWS standard flow?

Next Week Preview (Week 10)

Week 10: Backup & DR Operations—Snapshot, AWS Backup, Multi-AZ, Cross-Region.

  • Day 1: EBS Snapshot, AMI, DLM (Data Lifecycle Manager)
  • Day 2: AWS Backup—Plan, Vault, Cross-Region/Cross-Account
  • Day 3: RDS Multi-AZ vs Read Replica, Aurora Global DB
  • Day 4: S3 Replication (CRR/SRR), Storage Gateway, Elastic Disaster Recovery
  • Day 5: Week 10 review + 10 scenario problems

💡 Reliability & BCP domain (16%). RTO/RPO scenarios frequent; "time to recover vs point in time" trade-off is a perennial exam point.

PreviousThe Four Eyes That Detect Threats, and How to Bring Them TogetherWeek 9 · Day 4Next EBS Snapshot: How Incremental Backup Remembers Only Changed BlocksWeek 10 · Day 1

Official references

  • SOA-C02 official exam page(opens in a new tab)
  • AWS KMS documentation(opens in a new tab)
  • Amazon GuardDuty documentation(opens in a new tab)
  • Amazon Inspector documentation(opens in a new tab)
  • Amazon S3 documentation(opens in a new tab)
  • AWS Secrets Manager documentation(opens in a new tab)

On this page

  • Week 9 Core Concepts: One-Line Summary
  • Comparison Tables: Common Confusion Points
  • KMS vs CloudHSM
  • Parameter Store vs Secrets Manager
  • Four Detection Tools
  • 12 Scenario Problems
  • Next Week Preview (Week 10)