42After a reboot the journal is empty. How does journald decide what to keep, and how do you fix retention?▼easyNewTCSInfosysRed Hat◆ premiumVolatile by default on many distros, size-capped by silent policy, binary on disk. Know the storage modes, the vacuum knobs, and how journald feeds central logging.Open full answer →
19Our container registry passed ten terabytes and the bill keeps climbing. Design a retention policy.▼mediumNewJPMorgan ChaseGoldman SachsWalmart Global Tech○ sign inA registry grows because every commit mints digests nobody pulls again. Reference-aware retention keeps rollback targets and audit chains while expiring the debris.Open full answer →
07Logging costs more than the database and leadership wants the bill halved without losing signal. Design the pipeline.▼hardNewDatadogSnowflakeCloudflareunlockedThe instinct is to delete old logs. That is backwards: the waste lives in what you ingest, not how long you keep it. This answer walks the levers in the order that actually pays.Open full answer →
10How does Prometheus actually store time series? Walk me through the WAL, blocks, compaction and retention.▼hardNewDatadogCloudflareGitLabunlockedMost candidates recite the pull model and stop. The interviewer asking this wants the storage engine story, because that is where Prometheus hurts in production: crash recovery, cold queries, disk death.Open full answer →
21Design the metrics backend for a monitoring product: millions of active series, writes never stop, queries reach back months.▼hard★ EssentialNewDatadogCloudflareFlipkart◆ premiumEveryone sizes a metrics system by samples per second and everyone is wrong. The constraint that actually kills these platforms is a single label added on a Friday.Open full answer →
40Design log search for four hundred services and fifty teams, at ten terabytes a day.▼expertNewDatadogElasticSnowflake2 replies◆ premiumThe hard parts are not search. They are deciding what to keep before you pay to store it, isolating one team's query from everyone else's, and making the cost visible to the people generating it.Open full answer →