Imagine you have a website hosted in one country, but visitors come from all over the world. How does a CDN help make the website load faster for these visitors?
Think about how distance affects delivery speed of packages in real life.
A CDN stores copies of content in many locations worldwide. This means visitors get data from a nearby server, making loading faster. Other options do not reduce distance or improve delivery speed globally.
Consider the main parts of a CDN system. Which of these is usually NOT included in the CDN architecture?
Think about which components the CDN controls versus user devices.
CDNs include edge servers, origin servers, and load balancers to manage traffic and caching. User devices are outside the CDN architecture and do not store permanent website copies as part of the CDN.
A popular website suddenly gets a huge number of visitors. How does the CDN help the website handle this spike without crashing?
Think about how spreading work among many helpers can prevent one from getting overwhelmed.
CDNs spread incoming requests across many edge servers, so no single server or the origin is overwhelmed. This helps the website stay available during traffic spikes. Other options reduce availability or increase load on origin.
CDNs work well for static content like images. What is a common tradeoff when using a CDN to deliver dynamic content that changes often?
Think about how caching works and what happens if content changes frequently.
CDNs cache content to speed delivery. For dynamic content that changes often, caching can cause users to see old data until the cache updates. Other options are incorrect because CDNs can cache dynamic content with care, origin servers are still needed, and encryption is supported.
A website serves 1 TB of data monthly from its origin server without a CDN. After adding a CDN, 80% of requests are served from edge caches. How much bandwidth does the origin server save monthly?
Calculate the percentage of data served by the CDN edges versus the origin.
If 80% of requests are served by CDN edges, the origin only sends 20% of data. So the origin saves 80% of bandwidth, which is 0.8 TB out of 1 TB.