CDN Senior

1 / 13

Explain the concept of an 'Origin Shield' (or Tiered Caching). Why would a high-traffic site implement this between their edge and their origin?

Select the correct answer

1

A DNS routing system that directs each user to their geographically nearest edge node.

2

A standby origin server that serves all content whenever the primary origin goes offline.

3

A dedicated firewall tier that filters malicious requests before they reach the origin.

4

An intermediate cache that consolidates edge misses so the origin gets far fewer requests.

What is the difference between the 'Control Plane' and the 'Data Plane' in a CDN?

Select the correct answer

1

The control plane serves end users while the data plane synchronizes caches between regions.

2

The control plane handles TLS termination while the data plane manages DNS resolution rules.

3

The control plane manages configuration and routing while the data plane delivers content.

4

The control plane caches static assets while the data plane forwards dynamic requests on.

How does a CDN perform load balancing and failover across its edge servers, and what role do health checks play?

Select the correct answer

1

Health checks count active connections so new sessions are billed to the correct customer.

2

Health checks validate cached content freshness so stale objects get purged automatically.

3

Health checks measure user latency so requests always travel to the fastest origin server.

4

Health checks detect failing servers so traffic is rerouted to healthy nodes for failover.

How does a CDN handle large file delivery (like 5GB video files) differently than small images?

Select the correct answer

1

Large files bypass the cache entirely and stream directly from the origin server.

2

Large files use byte-range requests and chunked caching rather than whole-object.

3

Large files are compressed at the edge while small images are always served raw.

4

Large files are split across multiple POPs while small files stay on a single POP.

How does a CDN provide DDoS mitigation, and what is the difference between absorbing a volumetric attack at the edge vs. at the origin?

Select the correct answer

1

The CDN forwards the flood to the origin, which adds bandwidth to absorb and survive the attack itself.

2

Absorbing at the origin scales better since one tuned server filters packets faster than spread edges.

3

Edge absorption handles only application-layer floods while the origin must soak up all volumetric ones.

4

Edge PoPs absorb and disperse attack traffic across the global network, shielding the limited origin.

What is the 'Thundering Herd' problem in a CDN context, and how does 'Request Collapsing' (or Cache Lock) prevent it?

Select the correct answer

1

On a cache miss many requests hit origin at once; collapsing forwards one and shares its response.

2

On expiry the CDN preemptively refetches every object, so collapsing avoids serving any stale data.

3

On startup cold edges flood origin, so collapsing delays them until the cache is fully warmed up.

4

On a cache hit edges duplicate the response, so collapsing drops the extra copies to save memory.

What is 'Cache Poisoning,' and how can misconfigured CDN cache keys lead to it?

Select the correct answer

1

Leaking private cached responses to users because TLS certificates expired silently.

2

Overloading the cache with junk objects so legitimate content gets evicted early.

3

Encrypting cached responses so that users cannot decrypt them without a key token.

4

Serving a malicious cached response to users when unkeyed inputs alter the response.

Explain 'Tag-based Invalidation' (Surrogate Keys). Why is it more efficient than URL-based purging?

Select the correct answer

1

Tags compress many URLs into a single object so less storage is needed and purging therefore frees more space

2

Objects are tagged with keys, so one tag purge clears all related URLs in a single operation

3

Tags let the origin skip revalidation entirely because tagged objects are always treated as permanently fresh

4

Each tag stores a shorter cache key than a full URL, which lets the edge index and look up objects faster

How does a CDN actually route a user to the 'closest' edge server? Explain the difference between Anycast and GeoDNS-based routing.

Select the correct answer

1

Anycast advertises one IP from many sites so routing picks the nearest, while GeoDNS returns different IPs by client location

2

Anycast measures latency at the TCP layer while GeoDNS measures it at the HTTP layer to find the closest server

3

Both Anycast and GeoDNS rely solely on browser geolocation APIs to choose which edge server should handle a request

4

Anycast returns a different IP per region via DNS, while GeoDNS shares one IP that network routing directs to nearest node

How does the transition from HTTP/2 to HTTP/3 (QUIC) at the CDN layer impact performance for users on high-latency mobile networks?

Select the correct answer

1

QUIC drops encryption to save round-trips, which speeds up handshakes for users switching between mobile cells

2

QUIC runs over TCP with larger windows, so it lowers latency only on stable wired connections, not mobile

3

QUIC removes TCP head-of-line blocking and supports connection migration, improving lossy mobile performance

4

QUIC multiplexes streams over one TCP socket, so a single packet loss still stalls every concurrent stream

What is TLS session resumption, and how does the CDN reuse TLS sessions at the edge to reduce handshake overhead?

Select the correct answer

1

It lets the CDN cache HTTP responses so repeated requests skip contacting the origin server fully.

2

It compresses the certificate chain so each new handshake transfers fewer bytes to the client.

3

It rotates session keys on every request to strengthen forward secrecy during the handshake.

4

It lets clients resume prior sessions with cached keys, avoiding a full handshake's extra round trips.

What are the tradeoffs of moving logic to 'Edge Functions' (Compute-at-the-Edge) vs. keeping it in the backend?

Select the correct answer

1

Edge lowers latency and offloads origin but limits runtime, resources, and access to central data.

2

Edge removes all latency and resource limits while giving full access to the central database always.

3

Edge eliminates the backend entirely so no origin server or central data store is ever needed again.

4

Edge increases latency but simplifies deployment by keeping all the state in one centralized region.

Why would a company adopt a 'Multi-CDN' strategy? What are the architectural complexities of doing so?

Select the correct answer

1

Lowers cost by always routing to the cheapest provider, but needs unified billing across all the vendors

2

Improves resilience and performance via provider redundancy, but needs complex cross-CDN traffic steering

3

Removes the origin server entirely from the stack, but needs apps rewritten to run fully serverless

4

Ensures zero downtime by caching all content forever, but needs manual cache purging on each provider