Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to identify the main purpose of a CDN.
HLD
A CDN primarily helps to [1] content closer to users. Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing caching with deleting content.
Thinking CDN encrypts content by default.
✗ Incorrect
A CDN caches content on servers near users to reduce latency and improve load times.
2fill in blank
mediumComplete the code to show what a CDN reduces in network communication.
HLD
A CDN reduces [1] between the user and the origin server.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing bandwidth with latency.
Thinking CDNs reduce security risks directly.
✗ Incorrect
CDNs reduce latency by serving content from nearby servers instead of the origin server far away.
3fill in blank
hardFix the error in the description of CDN edge servers.
HLD
Edge servers in a CDN are located [1] the origin server to serve content faster.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming edge servers are far from users.
Confusing edge servers with origin servers.
✗ Incorrect
Edge servers are placed close to users, far from the origin server, to reduce latency.
4fill in blank
hardFill both blanks to complete the CDN request flow.
HLD
User requests content → DNS directs to [1] → [2] serves cached content if available.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing origin server with edge server in DNS routing.
Thinking load balancer serves cached content directly.
✗ Incorrect
The DNS directs the user to the edge server, which is part of the CDN and serves cached content.
5fill in blank
hardFill all three blanks to complete the CDN benefits list.
HLD
CDNs improve [1], reduce [2], and increase [3] for websites.
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up latency and availability.
Thinking CDNs primarily reduce cost.
✗ Incorrect
CDNs improve performance, reduce latency, and increase availability by distributing content globally.