0
0
Computer Networksknowledge~20 mins

Content Delivery Networks (CDN) in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
CDN Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
CDN Architecture Components

Which component in a CDN is primarily responsible for storing cached content close to users to reduce latency?

AOrigin Server
BLoad Balancer
CDNS Resolver
DEdge Server
Attempts:
2 left
💡 Hint

Think about which part of the CDN is physically near the user.

scaling
intermediate
2:00remaining
Scaling CDN for Global Traffic

When a CDN experiences a sudden global spike in traffic, which strategy best helps maintain performance?

ADeploy additional edge servers in multiple regions
BAdd more origin servers in one region
CReduce the number of edge servers to save resources
DIncrease cache expiration time on edge servers
Attempts:
2 left
💡 Hint

Think about distributing load closer to users worldwide.

tradeoff
advanced
2:00remaining
Cache Expiration Tradeoff

What is the main tradeoff when setting a very short cache expiration time on CDN edge servers?

AMore stale content but less bandwidth usage
BHigher latency but lower origin server load
CLower latency but higher origin server load
DLess cache storage but more cache hits
Attempts:
2 left
💡 Hint

Consider how often edge servers must fetch fresh content.

🧠 Conceptual
advanced
2:00remaining
CDN Request Flow

In a typical CDN request flow, what happens if the requested content is not found in the edge server cache?

AThe edge server fetches the content from the origin server
BThe edge server returns a 404 error immediately
CThe DNS resolver redirects the request to another edge server
DThe client retries the request after a delay
Attempts:
2 left
💡 Hint

Think about how the CDN obtains content not locally cached.

estimation
expert
3:00remaining
Estimating CDN Capacity

A CDN edge server handles 10,000 requests per second, each averaging 500 KB. Estimate the minimum network bandwidth in Gbps required to support this load without congestion.

A50 Gbps
B40 Gbps
C80 Gbps
D100 Gbps
Attempts:
2 left
💡 Hint

Calculate total data per second and convert bytes to bits.