Practice Tests and Exam Preparation
When should you use Global Accelerator instead of CloudFront?
Answer: For non-HTTP traffic (TCP/UDP)
Global Accelerator is better for TCP/UDP traffic, gaming applications, and when you need static IP addresses. CloudFront is for HTTP/HTTPS content delivery.
What is the purpose of Origin Access Identity (OAI)?
Answer: Restrict direct S3 access
OAI ensures users can only access S3 content through CloudFront, not directly from S3 bucket URLs.
At which CloudFront events can Lambda@Edge functions execute?
Answer: Four events
Viewer Request, Origin Request, Origin Response, and Viewer Response events.
How does CloudFront determine which cache behavior to apply?
Answer: Path pattern matching
CloudFront matches the request path against path patterns in cache behaviors, starting with the most specific pattern.
Edge locations, distributions, caching
OAI, signed URLs, WAF integration
TTL, compression, cache behaviors
Anycast IP, traffic dials, health checks