API Gateways, Traffic Management & the Edge›Designing the edge · Cheat sheet & self-check

Designing the edge · wrap-up

Cheat sheet & self-check

16 questions across 4 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. Which change is breaking for existing clients?

    Show answer

    C. Clients reading customer_id stop working; the others are additive.

    From lesson 08 · The API lifecycle
  2. Q2. How do you know when it's safe to remove a deprecated endpoint?

    Show answer

    B. Usage data per consumer, from the gateway, turns removal from a guess into a decision.

    From lesson 08 · The API lifecycle
  3. Q3. What does a contract-first workflow mean?

    Show answer

    B. The contract is reviewed like code, and CI checks both compatibility and implementation.

    From lesson 08 · The API lifecycle
  4. Q4. Two API versions run side by side. Where is the cheapest place to route between them?

    Show answer

    B. Routes can send /v1 and /v2 (or a version header) to different services without client changes.

    From lesson 08 · The API lifecycle
  5. Q5. Why start a new WAF rule set in detection (count) mode?

    Show answer

    B. Generic rules often match legitimate requests; tune exclusions first, then block.

    From lesson 09 · Edge security
  6. Q6. An attacker finds your cloud load balancer's address and sends requests directly to it. What prevents this from bypassing the CDN and WAF?

    Show answer

    B. Edge protection only works if the origin refuses traffic that didn't come through the edge.

    From lesson 09 · Edge security
  7. Q7. Which risk can a WAF NOT detect well?

    Show answer

    B. The request looks perfectly normal; only the service knows the user may not see order 42.

    From lesson 09 · Edge security
  8. Q8. What does HSTS do?

    Show answer

    B. Strict-Transport-Security makes browsers refuse plain HTTP for that host.

    From lesson 09 · Edge security
  9. Q9. A region fails. DNS failover switched the record, but many users keep hitting the dead region for minutes. Why?

    Show answer

    B. DNS steering is only as fast as caching allows; anycast-based global load balancers react faster.

    From lesson 10 · Global traffic and failover
  10. Q10. What is the main extra difficulty of active-active over active-passive?

    Show answer

    B. Serving reads from two regions is easy; accepting writes in both needs a data design for it.

    From lesson 10 · Global traffic and failover
  11. Q11. EU tenants' data must stay in the EU. What does this mean for failover?

    Show answer

    B. Residency rules constrain both placement and failover targets.

    From lesson 10 · Global traffic and failover
  12. Q12. Why is a TCP-port health check a poor signal for regional failover?

    Show answer

    B. Check a real request path (synthetic transaction) so failover reflects user experience.

    From lesson 10 · Global traffic and failover
  13. Q13. Which AWS service provides per-consumer API keys with usage plans and throttling?

    Show answer

    B. Usage plans and API keys are API Gateway features; the others are edge and routing services.

    From lesson 11 · Managed options on AWS and Azure
  14. Q14. In Azure API Management, which policy validates a JWT?

    Show answer

    B. validate-jwt checks signature, issuer, audience and claims; rate-limit-by-key and quota-by-key limit usage.

    From lesson 11 · Managed options on AWS and Azure
  15. Q15. What does Application Gateway for Containers provide?

    Show answer

    B. It is Azure's Kubernetes-aware L7 load balancer, configured from the cluster.

    From lesson 11 · Managed options on AWS and Azure
  16. Q16. A key argument for a self-hosted gateway (for example Envoy Gateway) in Kubernetes over a managed API gateway?

    Show answer

    B. Portability and cost at high volume, in exchange for running and upgrading it yourself.

    From lesson 11 · Managed options on AWS and Azure