Running it · wrap-up
Cheat sheet & self-check
7 questions across 2 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. An access log line shows response_code 404 and response_flags NR. What's wrong?
Show answer
B. NR = no route; check hostnames, path matches and which listener the route is attached to.
From lesson 12 · Operating gatewaysQ2. A client gets 504 and the log shows UT. Where is the problem?
Show answer
B. UT = upstream timeout. Check backend latency and whether timeouts fit the backend's real behaviour.
From lesson 12 · Operating gatewaysQ3. What is the difference between 502 and 503 from a gateway, typically?
Show answer
B. The access-log flags (UF, UH, UC, overflow) tell you which case it is.
From lesson 12 · Operating gatewaysQ4. Why roll out gateway configuration changes through environments and rings like application code?
Show answer
B. The gateway is a shared blast radius; treat its configuration with the same care as code.
From lesson 12 · Operating gatewaysQ5. In the reference design, why are free-plan limits enforced with a global (shared) counter rather than only locally?
Show answer
B. Local counters multiply with replicas; the plan limit must hold however traffic is spread.
From lesson 13 · Capstone: design the edge for a multi-region APIQ6. Which component is the source of truth for a request's tenant and plan in the reference design?
Show answer
B. The gateway derives trusted headers from verified claims and overwrites anything the client sent.
From lesson 13 · Capstone: design the edge for a multi-region APIQ7. What prevents attackers from bypassing the global edge in the reference design?
Show answer
B. Edge protections only help if the origin refuses direct traffic.
From lesson 13 · Capstone: design the edge for a multi-region API