Data Storage · Study deck
Data Quality Monitoring
Picture a cold-room chart that suddenly shows forty degrees instead of four.
Data Dora is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- define the main IoT data-quality dimensions and connect each one to a detectable failure mode;
- place cheap validation checks on the ingestion path and expensive checks in near-real-time or batch jobs;
- design reject, quarantine, and flag routing for low-quality records;
- explain why range checks do not catch slow sensor drift;
Major section
Start With the Bad Reading
The store manager needs to know whether the room is unsafe, the unit changed, or the record was copied twice.
- Saving the value first and asking later can turn a data fault into a costly action.
- A gateway is a device that joins one network to another.
- Firmware is the code stored on a device.
Major section
Start With the Bad Reading (continued)
Machine learning means software that finds patterns from examples.
- None of these can rescue a record whose source, unit, time, and quality are missing.
- These checks cannot prove that every accepted reading is accurate.
- One bad reading is enough to make a dashboard lie if the storage path accepts it silently.
Major section
Quality Is a Storage Contract
A storage system can be fast and still store untrustworthy data.
- A sensor may send a value outside physical limits, a gateway may replay the same message, a firmware update may rename fields, or a device clock may be hours behind.
- If those records silently enter the durable path, later systems inherit the error.
Major section
Where Checks Belong
Not every quality check should run inside the write transaction.
- Recent-history checks then detect gaps and late arrivals, while batch work can compare peers and long-term drift.
Major section
Monitoring the Quality Monitor
The quality system needs its own meta-metrics.
- These signals tell you whether the quality gate is healthy before a monthly report, machine-learning feature, or billing export discovers the damage.
- At scale, three mechanisms keep quality evidence honest.
- Second, a lateness watermark separates live data from backfill, so old buffered readings recompute affected quality scores and rollups instead of silently changing dashboards.
Major section
Concept Relationships
Data Storage and Databases explains how quality gates fit into broader storage contracts.
- Database Selection Framework helps choose storage roles that support validation, quarantine, and analytical filtering.
- Sharding Strategies covers how quality checks behave when writes are distributed across partitions.
- Stream Processing Fundamentals covers validation before records reach durable storage.
Deck summary
Key takeaways
The store manager needs to know whether the room is unsafe, the unit changed, or the record was copied twice.
- Machine learning means software that finds patterns from examples.
- A storage system can be fast and still store untrustworthy data.
- Not every quality check should run inside the write transaction.
- The quality system needs its own meta-metrics.
Retrieval practice
Recall check 1 of 4

Data Dora says: answer from memory, then check your reasoning.
Q1A soil sensor reports no readings between 02:00 and 03:00, then resumes normally. Which quality dimension should trigger first?
Show answer
Answer: A The platform expected readings during that hour and did not receive them.
Q2Complete the routing function for a quality gate.
Show answer
Answer: A A missing schema version is not safely interpretable, so the record is rejected.
Retrieval practice
Recall check 2 of 4

Data Dora says: answer from memory, then check your reasoning.
Q3Place each data-quality control where it lives so you can route trustworthy records to storage and isolate suspicious ones.
Show answer
Answer: A The gate first proves that a record can be interpreted, then assigns quality evidence, and finally separates quarantine from accepted storage so you can preserve both safety and auditability.
Q4A sensor slowly drifts 2 C high over six months but stays within the allowed -10 C to 50 C range. Which check is most likely to catch it?
Show answer
Answer: A Range checks catch impossible values; peer or reference checks catch plausible but wrong values.
Retrieval practice
Recall check 3 of 4

Data Dora says: answer from memory, then check your reasoning.
Q5Why should a data-quality system emit meta-metrics such as points-per-second, quarantine rate, and ingest-lag distribution?
Show answer
Answer: A Quality gates need their own telemetry so silent pipeline failures are visible before downstream users trust the data.
Retrieval practice
Recall check 4 of 4

Data Dora says: answer from memory, then check your reasoning.
Q6Which evidence best proves that a quality gate handles device reconnects safely?
Show answer
Answer: D Reconnect behavior is about late data and replay, so the evidence must test event time, receive time, and downstream handling.
Print reference
Answers 1 of 2
Answer key.
- A · The platform expected readings during that hour and did not receive them.
- A · A missing schema version is not safely interpretable, so the record is rejected.
- A · The gate first proves that a record can be interpreted, then assigns quality evidence, and finally separates quarantine from accepted storage so you can preserve both safety and auditability.
- A · Range checks catch impossible values; peer or reference checks catch plausible but wrong values.
Print reference
Answers 2 of 2
Answer key.
- A · Quality gates need their own telemetry so silent pipeline failures are visible before downstream users trust the data.
- D · Reconnect behavior is about late data and replay, so the evidence must test event time, receive time, and downstream handling.