0
0
Wordpressframework~20 mins

CDN integration in Wordpress - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
CDN Integration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Identify the correct CDN integration architecture for WordPress

You want to improve your WordPress site speed globally using a CDN. Which architecture correctly shows how the CDN fits in?

AUser requests go to CDN edge servers first, which cache static assets and forward dynamic requests to the WordPress origin server.
BWordPress server sends all content to CDN servers in real-time, and users always connect directly to the origin server.
CCDN servers replace the WordPress origin server entirely, serving all content without contacting the origin.
DUser requests go directly to the WordPress server, which then pushes content to the CDN on demand.
Attempts:
2 left
💡 Hint

Think about how CDNs cache content and reduce load on the origin server.

scaling
intermediate
2:00remaining
Estimate bandwidth savings from CDN caching

Your WordPress site serves 1 million page views per day. Static assets make up 60% of the bandwidth. Your CDN caches 80% of static assets. What percentage of total bandwidth is saved by the CDN?

A32%
B60%
C80%
D48%
Attempts:
2 left
💡 Hint

Calculate bandwidth saved as (percentage static) × (cache hit rate).

tradeoff
advanced
2:00remaining
Choose the best CDN cache invalidation strategy for frequent WordPress updates

Your WordPress site updates content multiple times daily. Which CDN cache invalidation strategy balances freshness and performance best?

ADisable caching entirely to always serve fresh content.
BSet a short TTL (time-to-live) for cached content and use manual purge after updates.
CSet a very long TTL and never purge cache manually.
DUse a long TTL and rely on CDN to automatically detect content changes.
Attempts:
2 left
💡 Hint

Consider how TTL and manual purging affect cache freshness and load.

🧠 Conceptual
advanced
2:00remaining
Identify the main benefit of using a CDN with WordPress for global users

What is the primary benefit of integrating a CDN with a WordPress site serving users worldwide?

AReducing latency by serving content from servers closer to users.
BIncreasing WordPress plugin compatibility.
CAutomatically improving SEO rankings without changes.
DEliminating the need for a web hosting provider.
Attempts:
2 left
💡 Hint

Think about how CDNs improve user experience globally.

component
expert
3:00remaining
Trace the request flow in a WordPress site with CDN and WAF integration

In a WordPress setup using both a CDN and a Web Application Firewall (WAF), what is the correct order of components a user request passes through?

A1, 3, 2, 4
B1, 4, 2, 3
C1, 2, 3, 4
D1, 2, 4, 3
Attempts:
2 left
💡 Hint

Consider how CDNs and WAFs are typically layered to protect and accelerate traffic.