Based on the SOA-C02 exam guideReport an error
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.
aws/ prefix, forced rotation) / Customer Managed ($1/month, policy & rotation control). Key material never downloadable.kms:* in IAM, Key Policy must delegate or deny. Remove the root delegation line from default policy and the key locks.💡 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.
| Item | KMS | CloudHSM |
|---|---|---|
| HSM Tenancy | Multi-tenant (AWS-managed) | Dedicated (customer-leased) |
| FIPS 140-2 | Module L3, service context L2 | L3 (dedicated) |
| Key Control | AWS operates, customer policies | Customer 100%, AWS no access |
| Cost | $1/month/key + API | $1.45+/hour always-on |
| Key Recovery | Within Support limits | Lost = permanently gone |
| Use Case | Most workloads | Regulation mandates dedicated HSM |
| Item | Parameter Store | Secrets Manager |
|---|---|---|
| Cost | Standard free / Advanced cheap | $0.40/secret/month + API |
| Auto-Rotation | ❌ | ✅ (AWS-provided Lambda for RDS) |
| Cross-Region Replication | ❌ | ✅ |
| Size Limit | Standard 4KB / Advanced 8KB | 64KB |
| Use Case | General settings, plaintext params | DB credentials, rotation-required secrets |
| Item | GuardDuty | Inspector v2 | Macie | Security Hub |
|---|---|---|---|---|
| Layer | Behavior (threats) | Software (vulnerabilities) | Data (sensitive info) | Aggregation·standards |
| Scope | Account activity | EC2/ECR/Lambda | S3 object body | All findings |
| Agent | ❌ (Runtime only ✅) | SSM Agent | ❌ | ❌ |
| Data Source | Flow Logs/CloudTrail/DNS | OS packages/images/code | S3 object contents | ASFF findings |
| Billing | Events analyzed | Resources scanned | Data bytes scanned | Finding 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.
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?
Week 10: Backup & DR Operations—Snapshot, AWS Backup, Multi-AZ, Cross-Region.
💡 Reliability & BCP domain (16%). RTO/RPO scenarios frequent; "time to recover vs point in time" trade-off is a perennial exam point.