Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

4.4.4. Tricky Distinctions & Common Pitfalls (Developer Focus)

First Principle: Nuanced understanding of seemingly similar services, and anticipating common misconfigurations from a developer's perspective, are critical for avoiding errors and building robust applications.

The AWS DVA-C02 exam tests nuanced understanding, often through distinguishing between similar services or common developer pitfalls.

Common Areas of Confusion (Developer Focus):
  • Lambda vs. Fargate: Both are serverless compute. Lambda for event-driven functions (max 15 min duration), Fargate for containers (longer-running, more control over runtime/libraries).
  • SQS vs. SNS: SQS for message queues (decoupling, one-to-one or one-to-many consumers polling). SNS for notifications (pub/sub, fan-out to multiple diverse subscribers).
  • DynamoDB Provisioned Capacity vs. On-Demand Capacity: Provisioned for predictable workloads (cost-effective if steady). On-Demand for unpredictable/spiky (simpler, higher unit cost).
  • DynamoDB Eventually Consistent Reads vs. Strongly Consistent Reads: Eventually consistent is faster/cheaper (may return stale data). Strongly consistent guarantees latest data (higher latency/cost).
  • CloudWatch Logs Insights vs. AWS X-Ray: Logs Insights for querying application logs (what happened?). X-Ray for tracing requests across distributed services (why it happened, bottlenecks?).
  • AWS Secrets Manager vs. AWS Systems Manager Parameter Store: Secrets Manager for rotating credentials, automatic rotation. Parameter Store for general configuration data, non-rotating secrets.
  • Common Pitfalls: Hardcoding credentials, overly permissive IAM policies, not handling Lambda cold starts for latency-sensitive applications, ignoring DynamoDB hot spots.

Scenario: You are presented with an exam question asking how to securely manage non-rotating application configuration values, and another asking to decouple application components for asynchronous processing. You're considering Secrets Manager vs. Parameter Store and SQS vs. SNS.


Key Service Comparisons

SQS Standard vs. SQS FIFO
FeatureSQS StandardSQS FIFO
OrderingBest-effortStrict FIFO
DeliveryAt-least-once (duplicates possible)Exactly-once processing
ThroughputNearly unlimited300 msg/s (3,000 with batching)
DeduplicationNone built-in5-minute deduplication window
Use caseHigh throughput, order doesn't matterFinancial transactions, ordered processing
Cognito User Pools vs. Identity Pools
FeatureUser PoolsIdentity Pools
PurposeAuthentication (who are you?)Authorization (what can you access?)
OutputJWT tokens (ID, Access, Refresh)Temporary AWS credentials
Sign-inUsername/password, social, SAMLFederated from User Pool, social, SAML
Use caseSign up/sign in for your appAccess S3, DynamoDB directly from client
DynamoDB GSI vs. LSI
FeatureGlobal Secondary IndexLocal Secondary Index
Partition keyDifferent from base tableSame as base table
Sort keyOptional, any attributeRequired, different from base
When to createAnytimeTable creation only
ConsistencyEventually consistent onlyEventually or strongly consistent
CapacitySeparate RCU/WCUShares base table capacity
Use caseAlternate access patternsAlternate sort orders within same partition
CodeDeploy: In-Place vs. Blue/Green
FeatureIn-PlaceBlue/Green
How it worksUpdates existing instancesCreates new instances, switches traffic
DowntimeBrief per instanceZero (old env stays running)
RollbackRedeploy previous versionSwitch traffic back to old env
CostNo extra instancesDouble capacity during deploy
Supported byEC2/On-premises onlyEC2, ECS, Lambda
API Gateway: REST API vs. HTTP API
FeatureREST APIHTTP API
CostHigherUp to 71% cheaper
FeaturesFull (caching, WAF, request validation, API keys)Core (auth, CORS, integrations)
AuthIAM, Cognito, Lambda authorizerIAM, Cognito, JWT (native), Lambda
Use caseFull API management neededSimple proxy to Lambda/HTTP backends
Alvin Varughese
Written byAlvin Varughese•Founder•15 professional certifications