Professional education · GTM-015 of 40

Storage, Databases, Capacity and Data Integrity

Original professional reading and self-study exercises.

Reading edition: This page has no graded test, saved progress, completion credit or interactive Aha controls. Follow the prompts as self-study questions. Protected teaching keys are not published.

Both copies are healthy. Is the customer data safe?

Your fictional managed-services company operates a customer booking service. The provider reports: "The database has two healthy copies." Yet a customer sees a booking with the wrong scheduled date.

Predict before reading: Which conclusion is justified?

A. Two healthy copies prove every record is correct.
B. Two copies may improve resilience against some failures, but they can also contain the same wrong information. Data correctness needs separate evidence.
C. Storage utilization below 80% always means data is safe.

Choose, state one reason, and keep your prediction visible. This is unscored.

Four different questions a Test Manager must ask

Availability: Can the authorized user reach the data or service when required? A database process being started is a narrow observation, not necessarily an end-user availability result.

Integrity: Are the contents and relationships accurate and consistent with the agreed requirement? Example: the correct booking belongs to the correct customer and its date has not been unintentionally changed.

Durability: Do accepted writes remain preserved according to the service's specified failure/recovery guarantees? A single successful write is not proof of indefinite durability under every failure mode.

Capacity: Are there sufficient resources for the expected usage and safe operational margin under the applicable service objective? Both used space and performance constraints matter. A utilization percentage by itself, without trend, peak pattern, reservation, tier or growth expectation, cannot prove adequate capacity.

Replication maintains one or more additional copies to support defined resilience/availability goals. Replication can propagate logical mistakes or unwanted deletion, and synchronisation lag may affect read freshness. Backup is a separately managed recoverable copy or recovery mechanism with retention and change/isolation properties defined by the actual service. A backup job being marked "successful" does not by itself show that the required data can be restored and read correctly.

Worked fictional case: An isolated synthetic dataset contains two bookings:

A controlled import reports two records imported. The actual data shows BOOK-101 attached to ORG-BLUE and BOOK-102 correctly attached. A count of two passes the count check but fails the more important ownership mapping condition. Comparing actual record IDs, customer association and values against an approved reference matters more than the count alone.

Aha reading: Two replicas can share one bad record

Reading edition: this is a fictional evidence thought experiment, not a working simulator. No choices, scores or progress are stored on this page. You can answer in your notes.

Think first, without scoring: A dashboard shows a healthy primary and a synchronized replica. Does that alone demonstrate that a record still matches the agreed source?

Fictional evidence to consider: Imagine the primary's value differs from an independently retained reference, and the replica has faithfully copied the current primary value. Replication consistency and correctness against the reference answer different questions.

Reason through the evidence: Data availability and replica agreement are useful, but integrity may require independent reconciliation with an authoritative expected record. Two matching copies are not automatically two independent validations.

Try it in your notes: Name the source-of-truth record, the current primary observation and the replica observation. What comparison would uncover a common bad value?

Guided exercise | Count is not correctness

A new fictional reporting database has an expected four synthetic rows from an approved test fixture: IDs A, B, C and D, with respective quantities 2, 4, 6 and 8. An import reports four rows, but observed data contains quantities 2, 4, 6 and 80 in that order.

A. Does the record count check pass? Explain exactly what it proves.
B. Does a per-ID quantity-integrity check pass? Name the mismatch.
C. Sum the expected quantities and the observed quantities. Explain why a total comparison would also reveal a problem in this example.
D. What evidence would you request so the discrepancy can be attributed to a particular import/build and reviewed safely?

Optional self-check prompts (after your own first attempt):

Independent transfer | A managed database approaching its limit

A fictional provider supports a customer's inventory database on a hybrid hosted platform. Storage reports 70% used today, up from 50% one month earlier, but the measurement alone does not show whether growth is linear, periodic or driven by a one-time import. The customer requires correct inventory-to-location relationships; a new batch ingestion is scheduled. A replication dashboard is green. No approved growth forecast, data-reconciliation result or restore demonstration is included.

Answer independently A-E: A. Distinguish at least three claims the supplied metrics do not justify, including one about data integrity and one about recoverability.
B. Propose an observable integrity test using authorized synthetic item-location reference data, with expected and observed comparison.
C. Explain how you would investigate capacity without simply extrapolating a guaranteed date from the two percentages. Identify two relevant measurements/assumptions.
D. Propose one recovery/restore evidence request and explain why a green replica signal is not enough.
E. Give a manager recommendation before ingestion, respecting the customer-approved capacity objectives, privacy, and separate change/release authority.

Feedback without spoilers: A "Which result do copies really prove?"; B "Could an item be in the wrong location even when counts match?"; C "What is the actual available size, growth variability and peak workload?"; D "Can the data actually be recovered to a target with the required correctness?"; E "Whose approval is needed for risk acceptance?" Accept reasonable alternatives based on more current evidence, never infer actual customer threshold.

Public reading self-study: First write your answers to the questions above in your own notes. This page has no answer-reveal button, submitted response, automated feedback, saved progress or score. Explain assumptions, name missing evidence and consider other defensible approaches. Do not perform changes or disruptive tests on real customer systems as part of this exercise.

Summary

A green replica, an import row count and a storage-usage dashboard each answer different questions. Customer data integrity requires comparison against intended values and relationships. Recovery requires demonstrated recovery evidence under agreed constraints. Capacity requires workload context, not a magical global percentage.


Unscored reading only. No certification, exam result or verified skill claim.

Previous lesson · Next lesson: Monitoring, Configuration and Infrastructure Operational Acceptance