devopsEASYBASH SCRIPTING
Warm up with log retention policy check
Easy DevOps Basics arena: retention windows, privacy constraints, storage cost, and compliance deletion
XP reward
135
Coins
11
Target time
39m
Log volume exploded after debug mode stayed enabled and privacy wants shorter retention for sensitive fields. You are working inside a deployment operations lab, and the arena only clears when the result is safe, deterministic, and explainable.
Learning objective
Learn to apply retention windows, privacy constraints, storage cost, and compliance deletion in a deployment operations lab while explaining the invariant, safety constraints, and hidden edge cases.
Mission order
Log sinks include application logs, audit logs, traces, metrics, and cold archive buckets. Implement the direct solution first, then document the one edge case that can break it. Submit the solution plus enough reasoning to pass hidden edge cases.Visible checks
uses safe command composition
Expected: deterministic command sequence
handles ordinary filenames
Expected: stable output
Clear requirements
- Demonstrates retention windows, privacy constraints, storage cost, and compliance deletion
- Handles the visible sample and hidden edge cases
- Keeps output deterministic and explainable
- Avoids unsafe dynamic execution
Secure validation contract
Judge type
BASH SCRIPTING
Complexity target
Linear scan over simulated files/log rows with deterministic output
Simulated lab
3 files/directories, allowed commands: awk, cat, cut, du, df, find, grep, head
Workspace
Terminal lab
Simulated secure terminalhost isolated
Test Results
Run the visible checks when your first pass is ready.
Clear Protocol
1Read the scenario and restate the expected output shape.
2Run visible checks before chasing hidden edge cases.
3Use Genie for one nudge if stuck, then explain the invariant.
4Submit only when the result is deterministic and safe.
Rewards
XP
135
Coins
11
Mission Route
Hints
Hints are metered and logged for No Hint Hero runs.
Genie Mentor Core
Hint protocol / contextual guardrails active
Progressive hints
Failed-test aware
Solution guarded
Mission: devops-easy-log-retention-policy0 attempts0 failed tests0 hints used
Progressive hint depth
Genie: Genie online. I use your mission, attempts, failed tests, hints, and path context to coach the next rep without dumping answers first.