Edge routing and security
Every question from this chapter’s lessons, grouped by the lesson that teaches it. Answer each one right to finish; you can try again whenever you like.
0 of 17 answered right
3.1 DNS and global traffic routing
0 of 4 answered rightQuestion 1
Next week you will move a service to a new IP address, and its DNS record has a 24-hour TTL. What should you do with the TTL?
Question 2
Match each DNS record type to what it holds.
Question 3
You want 10% of users to reach a new canary cluster while 90% stay on the current one. Which DNS routing policy do you use?
Question 4
A service uses one anycast address announced from many sites. Users in one city are served by a site with a longer round-trip time than another site that is also announcing the address. Why can this happen?
3.2 Content delivery networks (CDN)
0 of 5 answered rightQuestion 5
A media service gets 10,000 read requests per second, and each response is 200 KB. With a CDN in front achieving a 90% hit ratio, how much bandwidth still reaches the origin, in MB/s?
Answers within 5% count, in any unit you choose.
Question 6
A small site gets little traffic, and its content rarely changes. Which kind of CDN does the lesson say works well for it?
Question 7
Match each
Cache-Control directive to what it does.Question 8
An API whose responses are never cached gets noticeably faster for distant users after it is put behind a CDN. How?
Question 9
Images of 100 KB each are requested 20,000 times a second. The CDN answers 90% from its edge caches and fetches each miss from the origin. Which component saturates first?
3.3 Load balancing: layer 4 versus layer 7
0 of 4 answered rightQuestion 10
Which job calls for a layer 4 load balancer rather than a layer 7 one?
Question 11
Match each routing method to how it picks a server.
Question 12
Under round robin, some requests take seconds and others milliseconds, and one server often ends up with a pile of slow requests while others sit idle. Which routing method fixes this?
Question 13
What changes with direct server return?
3.4 Reverse proxies and edge security
0 of 4 answered rightQuestion 14
A token bucket holds at most 50 tokens and gains 10 tokens per second. It starts full. At most how many requests can it admit during the first 3 seconds?
requests
Answers within 2% count.
Question 15
What is the main benefit of terminating TLS at a reverse proxy?
Question 16
You want to let a client make a short burst of requests while capping its long-run average rate. Which rate-limiting algorithm fits?
Question 17
Which component applies rules to HTTP traffic to block a request containing
' OR 1=1--?