A customer reports your web app is 'down,' but your monitoring shows all servers healthy and other users are unaffected. What is the most effective first troubleshooting step?
- A. Immediately restart the production application servers
- B. Ask the customer for specifics: exact error, URL, browser, and when it started, ideally with a screenshot ✓
- C. Tell the customer it's working fine on your end and close the ticket
- D. Escalate directly to the senior backend engineering team
Correct answer: B. When symptoms aren't reproducible system-wide, gathering concrete reproduction details from the reporter is the fastest path to isolating whether it's environmental, user-specific, or a real bug.
You need to check whether a web server is returning the correct HTTP status and headers for a given URL from the command line. Which command is most appropriate?
- A. ping example.com/api/health
- B. curl -I https://example.com/api/health ✓
- C. traceroute example.com
- D. netstat -an | grep 443
Correct answer: B. curl -I sends a HEAD request and prints the response status line and headers, which is exactly what you need to inspect an endpoint's HTTP response.
A user gets a '403 Forbidden' error on a page that other users can access normally. Which cause is most consistent with this symptom?
- A. The server is completely down and unreachable
- B. The user's account lacks the permission or role required for that resource ✓
- C. There is a DNS resolution failure for the domain
- D. The database has run out of disk space
Correct answer: B. A 403 means the server understood the request but refuses to authorize it, which for a single affected user typically points to missing permissions rather than an outage or infrastructure failure.
While tailing application logs to diagnose an intermittent error, which command lets you watch new log lines appear in real time and filter for the word 'ERROR'?
- A. cat app.log | grep ERROR
- B. grep ERROR app.log | wc -l
- C. tail -f app.log | grep ERROR ✓
- D. head -n 100 app.log | grep ERROR
Correct answer: C. tail -f streams new lines as they are written, and piping to grep ERROR filters that live stream to only matching lines.
A customer says their API requests started failing with '401 Unauthorized' this morning, though nothing changed on their side. What is the most likely explanation to check first?
- A. The API endpoint URL was permanently deleted
- B. Their API key or access token expired or was rotated/revoked ✓
- C. The customer's monitor has a rendering glitch
- D. Their local machine ran out of RAM
Correct answer: B. A 401 indicates missing or invalid authentication credentials, and an expired or rotated token is the most common reason previously working requests suddenly fail with 401.
You suspect a slow page load is caused by one specific backend call. Which browser tool gives you the clearest per-request timing breakdown?
- A. The browser's Console tab
- B. The browser's Network tab (DevTools) ✓
- C. The browser's bookmarks manager
- D. The operating system's task manager
Correct answer: B. The Network tab in DevTools lists each request with its status, size, and timing waterfall, letting you pinpoint which call is slow.
A customer reports data they entered 'disappeared,' but you can see the record exists in the database with correct values. What is the most likely front-end explanation to investigate?
- A. The database dropped the table and recreated it
- B. The user is viewing a stale cached page or is logged into a different account/environment ✓
- C. The server's CPU is overheating
- D. The record was encrypted and cannot be shown
Correct answer: B. When the backend clearly has the data but the user can't see it, caching, session/account mismatch, or wrong environment are the usual causes to check first.
When writing a public reply to a frustrated customer whose issue you've confirmed is a real bug now scheduled for a fix, which response is best?
- A. 'This isn't really a bug, you're just using it wrong.'
- B. Acknowledge the impact, confirm it's a known bug, give a realistic ETA or workaround, and offer to follow up ✓
- C. Promise it will be fixed within the hour to calm them down
- D. Copy and paste a generic canned apology with no specifics
Correct answer: B. Good support acknowledges the customer's experience, sets honest expectations, and provides a concrete path forward, which builds trust without overpromising.
A SQL query a customer relies on is returning zero rows unexpectedly. You want to verify their data exists without risking any changes. Which query is safest to run first?
- A. DELETE FROM orders WHERE customer_id = 42
- B. UPDATE orders SET status = 'active' WHERE customer_id = 42
- C. SELECT COUNT(*) FROM orders WHERE customer_id = 42 ✓
- D. TRUNCATE TABLE orders
Correct answer: C. A SELECT COUNT(*) is read-only and safely confirms whether matching rows exist, whereas DELETE, UPDATE, and TRUNCATE all modify or destroy data.
A customer's requests are intermittently failing and you see '429 Too Many Requests' in their logs. What does this indicate?
- A. The server crashed and needs a reboot
- B. They are hitting a rate limit and should throttle or batch their requests ✓
- C. Their SSL certificate is invalid
- D. The request body was malformed
Correct answer: B. HTTP 429 signals the client has sent too many requests in a given window, so the fix is to respect the rate limit by slowing down or spacing out requests.