CDN Monitoring & Troubleshooting 3 — Questions and Answers
Question 1: What is the purpose of real user monitoring (RUM) in a CDN context?
- Simulating traffic to test CDN capacity
- Collecting performance data from actual end-user browsers to measure true delivery quality (Correct answer)
- Monitoring origin server health checks
- Generating synthetic load test reports
Correct answer: Collecting performance data from actual end-user browsers to measure true delivery quality
RUM collects telemetry from real browsers (TTFB, FCP, page load time) to measure actual CDN delivery performance as experienced by users.
Question 2: A CDN is configured with a 1-hour TTL for static assets, but marketing needs instant cache invalidation capability. Which approach adds that capability without changing TTL?
- Reduce TTL to 1 second globally
- Implement cache versioning via URL fingerprinting (e.g., file.abc123.css) (Correct answer)
- Disable caching for all static assets
- Use Vary: User-Agent headers
Correct answer: Implement cache versioning via URL fingerprinting (e.g., file.abc123.css)
URL fingerprinting embeds a content hash in the filename, making updated files unique URLs that bypass existing cache entries without needing purge operations.
Question 3: Which CDN metric directly measures the percentage of bytes served from cache versus fetched from origin?
- Offload ratio (byte offload rate) (Correct answer)
- P99 latency
- Error rate
- Time to first byte (TTFB)
Correct answer: Offload ratio (byte offload rate)
Byte offload ratio measures what fraction of total data volume was served from CDN cache, reflecting cost savings and origin protection effectiveness.
Question 4: An HTTP/2 multiplexed connection through a CDN suddenly degrades to HTTP/1.1 behavior. Which log entry would confirm this regression?
- Cache-Control: no-store in response headers
- Protocol field showing 'http/1.1' instead of 'h2' in access logs (Correct answer)
- Missing ETag header in responses
- X-Forwarded-For header containing multiple IPs
Correct answer: Protocol field showing 'http/1.1' instead of 'h2' in access logs
The protocol field in CDN access logs records whether h2 or http/1.1 was negotiated; a shift to http/1.1 confirms the HTTP/2 multiplexing regression.
Question 5: A CDN operator receives alerts that origin health checks are failing for one of two origin servers in a load-balanced pool. What is the immediate CDN-level response?
- The CDN continues sending 50% of traffic to the failing origin
- The CDN automatically removes the unhealthy origin from rotation and routes all traffic to the healthy one (Correct answer)
- The CDN returns 503 errors to all users
- The CDN increases cache TTL to compensate
Correct answer: The CDN automatically removes the unhealthy origin from rotation and routes all traffic to the healthy one
CDN origin health check systems automatically failover by removing unhealthy origins from the load-balancing pool to prevent routing traffic to unavailable servers.
Question 6: What does a high variance in TTFB measurements across different geographic regions for the same CDN-cached content suggest?
- The content is not actually being cached at edge nodes
- Inconsistent edge POP performance or uneven POP distribution (Correct answer)
- The origin server is experiencing CPU saturation
- Client-side JavaScript is blocking rendering
Correct answer: Inconsistent edge POP performance or uneven POP distribution
For cached content, TTFB should be uniformly low; high regional variance indicates some POPs have performance issues or users are being routed to distant nodes.
Question 7: Which CDN troubleshooting technique involves sending the same request from multiple geographically distributed vantage points simultaneously?
- A/B testing
- Synthetic monitoring with global probes (Correct answer)
- Canary deployment analysis
- Blue-green traffic splitting
Correct answer: Synthetic monitoring with global probes
Synthetic monitoring with globally distributed probes sends identical requests from multiple locations to identify regional performance disparities or routing issues.
What is the purpose of real user monitoring (RUM) in a CDN context?