D5: Troubleshooting CloudFront Caching
AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 10 flashcards
Question
Users see stale content after deploy. Fix?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Troubleshooting CloudFront Caching practice questions and answers
- Users see stale content after deploy. Fix?Invalidate paths or use versioned object names; lower TTL.
- CloudFront 403 from S3 origin. Common cause?OAC/bucket policy misconfigured, or object doesn't exist with no ListBucket permission.
- CloudFront 502 from custom origin. Common cause?SSL/TLS handshake failure (certificate mismatch) or origin unreachable.
- CloudFront 504. Common cause?Origin timed out or security group blocks CloudFront.
- Low cache hit ratio fix?Remove unnecessary headers/cookies/query strings from the cache key; increase TTLs.
- Origin Cache-Control headers effect?Origin max-age influences TTL within cache policy min/max bounds.
- How to restrict ALB to only CloudFront?Use the CloudFront managed prefix list in the ALB security group and/or a custom header check.
- What metric shows cache efficiency?CacheHitRate (additional metrics enabled).
- Different content per device type cached incorrectly. Fix?Include the CloudFront-Is-*-Viewer headers in cache key.
- CORS errors through CloudFront. Fix?Forward Origin header and use a CORS response headers policy.