6.2.5. Tricky Distinctions & Common Pitfalls (SysOps Focus)
š” First Principle: Nuanced understanding of seemingly similar services, and anticipating common misconfigurations from a SysOps Administrator's perspective, are critical for avoiding errors and building robust operational environments.
Scenario: You are presented with an exam question asking how to monitor database connections for a relational database and how to centrally enforce a consistent configuration for your EC2 instances. You're considering CloudWatch vs. CloudTrail and Systems Manager State Manager vs. AWS Config.
The AWS SOA-C02 exam tests nuanced understanding, often through distinguishing between similar services or common operational pitfalls.
Common Areas of Confusion (SysOps Focus):
- CloudWatch vs. CloudTrail vs. X-Ray: CloudWatch (metrics, logs, alarms for operational health); CloudTrail (API call auditing for governance); X-Ray (distributed tracing for debugging application performance).
- Security Groups (SGs) vs. Network ACLs (NACLs): SGs are stateful, instance-level, allow-only. NACLs are stateless, subnet-level, allow/deny, rule order matters.
- RDS Multi-AZ vs. Read Replicas (same-region vs. cross-region): Multi-AZ for HA (synchronous, RPO=0, automatic failover within region). Read Replicas for read scaling (asynchronous, RPO>0, manual failover). Cross-region Read Replicas for DR.
- VPC Peering vs. Transit Gateway: Peering for few VPCs, not transitive. TGW for many VPCs, transitive.
- AWS Systems Manager Patch Manager vs. State Manager: Patch Manager (automates OS/app patches). State Manager (enforces desired configuration state).
- S3 Standard vs. S3 Standard-IA vs. Glacier: Cost/retrieval time trade-offs based on access frequency.
- Common Pitfalls: Leaving SSH ports open, not backing up data, not encrypting sensitive data, under-provisioning resources, ignoring CloudWatch Alarms.
ā ļø Common Pitfall: Misinterpreting the scope or primary purpose of a service, leading to selecting an inappropriate solution for the operational problem.
Key Trade-Offs: Understanding the subtle differences between services to choose the most appropriate tool for a specific operational task.
Reflection Question: How do you apply a First Principles approach to differentiate between CloudWatch and CloudTrail (for operational metrics vs. API auditing), and between Systems Manager State Manager and AWS Config (for active enforcement vs. passive monitoring), to avoid common pitfalls and select the correct service for each specific operational use case?