# Guided Exercise: Diagnose From the Symptom Alone This is a paper exercise — reason through each case using only the mental model, before any hands-on Lab work. ## Your task For each symptom, name which layer(s) it rules OUT, and which remain genuine suspects: 1. `ping 8.8.8.8` succeeds, but `curl https://example.com` fails with "Could not resolve host." 2. `dig example.com` returns a correct-looking IP address, but `curl https://example.com` times out with no response at all. 3. `curl http://internal-service:8080/` returns "Connection refused," but `curl http://internal-service:9090/` (a different port, same host) succeeds. ## A worked shape to check yourself against 1. Rules out: basic connectivity/routing to the internet (ping succeeded). Remaining suspect: DNS specifically — something is preventing name resolution even though raw IP connectivity works. 2. Rules out: DNS (resolution clearly succeeded). Remaining suspects: routing/reachability to that specific IP, or a firewall silently dropping the connection — "no response at all" is the timeout signature, not the "actively rejected" signature. 3. Rules out: DNS AND general reachability to that host (port 9090 worked). Remaining suspect: narrowed all the way down to "nothing is listening on port 8080 specifically" — the most precisely isolated diagnosis of the three. ## Instructor Notes **Facilitation:** Item 3 is the strongest example of "isolate one variable" reasoning (same host, different port) — worth highlighting explicitly as the gold-standard diagnostic pattern. **Approximate timing:** 10-12 minutes live discussion; 8 minutes self-paced.