Troubleshooting labs
Edit a practice artifact and verify the repair with the same diagnostic used in Workbench.
Run locally via CLI or MCP · Practice in 50 labs · Architecture & verification
Network
Fit three subnets into a /26
The network reserves a /26 for apps, monitoring, and administration. Correct the mistaken administration estimate to its approved five hosts.
Model a point-to-point link
The link uses addresses 192.0.2.10 and 192.0.2.11. Supply the smallest point-to-point CIDR that includes both.
Correct the office CIDR
Enter the 192.0.2.128 subnet with a 26-bit mask to model the office block.
Restore the documentation prefix
Prepare an example at 2001:db8:10::45 using a /64 documentation subnet.
Model an IPv6 unique-local subnet
Use fd12:3456:789a:5::10 with a /64 network. Confirm the calculator classifies it as unique local.
Reserve capacity for future subnets
Allocate QA 14 hosts and Ops 6 hosts in this /26. The request must leave at least the expected 40 addresses free.
Confirm loss recovered in a new sample
The follow-up recording sent 5 packets and received all 5. Replace the outdated summary with the measured values.
Record the confirmed resolver answers
The retest returned 192.0.2.22 from both resolvers. Update the stale answer to match the new evidence.
Hosting
Remove conflicting cache directives
The account page contains private content and should not be stored. Retain only no-store in its Cache-Control line.
Restore one allowed origin
The app uses the dashboard origin without credentials. The response currently supplies two values. Retain only the actual dashboard origin.
Give shared caches their own lifetime
This static public response can use a 60-second browser freshness lifetime and a 600-second shared lifetime. Remove the private directive and set s-maxage.
Read a recovered upstream response
The owned endpoint recovered from 502. Enter the confirmed 200 response status and keep the supplied content-type field.
Capture the redirect response
The new capture is a 301 with Location. Correct the status and restore the missing Location header.
Verify the request failure cleared
The new browser capture has two requests. The API returned 200 after 40 milliseconds. Update the original entry to the measured result.
Forward the requested host
The upstream must see the request host. Add proxy_set_header Host $host inside the supplied location.
Limit outgoing referrer information
Use strict-origin-when-cross-origin for this site’s response while preserving the content-type check.
Systems
Select an unprivileged container user
The supplied image already contains user 1001. Change the final stage to select that account.
Pin a reviewed container base
The final stage must use the reviewed synthetic digest shown in the ticket. Swap the mutable base tag for image@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
Set a shared directory mode
The shared directory needs setgid, full access for the owner and group, and no permissions for other users. Enter the four-digit octal mode.
Make a backup mount optional at boot
This NFS backup mount is optional. Keep the source, mount point, and type. Add nofail.
Repair an invalid filesystem pass field
The data filesystem uses pass number 2. Replace the word field with its numeric value.
Verify inode usage dropped
After cleanup, the measured inode usage on /var is 64 percent. Update the sample to the new measurement.
Confirm a destructive plan was replaced
The approved plan updates example_service in place. Replace its delete/create sequence with update.
Record a renewed Windows lease
The adapter now has the measured IPv4 address 192.0.2.18. Use that address in the renewed ipconfig excerpt.
Security
Restore the download MIME policy
Make the attachment response honor the declared MIME type by restoring its nosniff header.
Restrict plug-in objects
The application has no plug-in content. Preserve the existing default source and explicitly disable object sources.
Restrict script sources
Only the same origin may provide scripts for this app. Replace the wildcard script source with self.
Remove dynamic evaluation permission
The application no longer requires dynamic evaluation. Keep same-origin scripts and restrict the base URI.
Remove the exposed assignment
A synthetic demonstration password should disappear from the example configuration. Keep MODE=test and remove the password line.
Verify a known SHA-256 fingerprint
The expected digest is that of the exact three-byte ASCII file abc. Replace the extra newline in the supplied sample.
API
Restore a credentialed browser request
A browser request from the customer portal needs credentials. Change the response so the portal’s origin matches.
Repair Retry-After
The client must wait 120 seconds after a 429. Replace the unsupported unit suffix with an HTTP delay-seconds value.
Select service names from JSON
Change the query to select the name of each object in the services array. Keep the service data in the example.
Preserve a numeric API field
The count field must remain numeric. Fix the new response so it is structurally equal to the baseline.
Restore an OpenAPI operation
The API contract must document GET /health with a declared 200 response. Correct the empty paths object.
Correct a browser request description
The status request is an HTTP GET with no body. Keep the Accept header. Validate locally using Run check.
Developer
Repair a JSON health response
The health endpoint emits malformed JSON. Preserve status ready and boolean healthy true while making the document valid.
Resolve a configuration merge
Keep the production mode and enable trace logging requested on the topic branch. Remove the conflict markers while retaining both settings.
Index the Rust moved-value diagnostic
The compiler reports moved-value error E0382. Replace the incomplete label with the captured diagnostic header.
Generate a retry-count boundary suite
The allowed retry count is 1 through 5. Enter the inclusive bounds and confirm that 0 and 6 are rejected.
Restore the final Python exception type
This incident ends with ValueError at line 12. Repair the incorrect exception label while retaining the captured frame.
Capture the revised plan estimate
The measured plan uses an Index Scan with 35 estimated output rows. Replace the stale plan line with the revised example.
Logs and incidents
Recover a missing timestamp offset
Both events came from UTC-08:00. Supply the offset on the second line so both events appear in the UTC timeline.
Label two related artifacts
Preserve both timestamps. Add the edge and worker artifact delimiters to attribute each event to its source.
Classify the observed termination
The runtime termination reason was OOMKilled. Add the reported reason to the evidence line.
Recognize a restart backoff
The runtime captured a real CrashLoopBackOff status. Replace the generic running status with the recorded marker.
Restore error priority in a journal event
The journal recorded priority 3 for api.service. Correct the exported example’s priority.
Email authentication
Reduce duplicate SPF records
The authorized sender range is 192.0.2.0/24. Keep that SPF policy as the single record and retain its -all ending.
Set a staged DMARC policy
The synthetic domain has completed its monitoring review and approved quarantine. Set that exact policy.
Declare a domain accepts no inbound mail
The parked domain must publish Null MX as its only MX record. Remove the delivery target and keep the null declaration.