D4: Optimizing Messaging & Caching
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
SNS subscription filter policies optimization?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Optimizing Messaging & Caching practice questions and answers
- SNS subscription filter policies optimization?Deliver only relevant messages to subscribers, reducing processing and cost.
- Filter policy scope?MessageAttributes (default) or MessageBody.
- SQS batching optimization?SendMessageBatch/ReceiveMessage up to 10 messages reduce API calls.
- CloudFront caching based on headers?Include specific headers (e.g. Accept-Language) in cache key via cache policy to vary cached responses.
- Caching too many headers effect?Lower hit ratio; include only necessary ones.
- API Gateway cache key parameters?Include query strings/headers in cache key per method.
- Application-level caching?Cache in memory (Lambda global scope), ElastiCache, DAX to reduce DB calls.
- Cache invalidation strategies?TTL expiry, explicit delete on update, versioned keys.
- Lambda in-memory caching caveat?Cache persists only within a warm execution environment, not shared.
- Scenario: reduce DynamoDB read costs for hot items. Option?DAX or ElastiCache.