AAmit’s LibraryLEARN · PRACTISE · REFLECT

Business + Computing

Integrative reading: data engineering and analytics

Study map: Original comparative chapter based on the global curriculum atlas; not copied from any institution

Data engineering organises how data is received, checked, transformed and made available. Analytics interprets that prepared evidence for a question. Begin with the records' origin and meaning, not a dashboard design. If a correction is counted as another sale or cancelled work remains in a total, a mathematically correct chart can support a wrong decision.

Foundation: data engineering prepares evidence for use

Data engineering organises how data is received, checked, transformed and made available. Analytics interprets that prepared evidence for a question. Begin with the records' origin and meaning, not a dashboard design. If a correction is counted as another sale or cancelled work remains in a total, a mathematically correct chart can support a wrong decision.

Distinguish raw records, accepted records and analytical outputs. Preserve a way to inspect why a record was accepted or rejected. Changing a value silently can make a pipeline convenient while hiding the original evidence. Document transformations and the meaning of missing values. An empty amount is not automatically zero revenue.

Computers make repeated checks consistent, while departments define business rules. Finance can specify an amount boundary, operations a status meaning and support a correction process. Data engineering should expose disagreement about those meanings rather than silently resolve it through an undocumented cleaning step.

Undergraduate: validate and reconcile a small batch

Use five invented records. Three valid unique orders have amounts 100, 200, and 50, summing to 350. A repeated identifier and a negative amount are rejected. Record two rejected rows with reasons and preserve accepted input values. Reconciliation should account for every supplied row, not only the final favourable total.

Define the order identifier as unique within this batch and the amount as a nonnegative integer smallest-unit value. These rules are teaching assumptions. A repeated identifier could require more nuanced handling if real corrections and retries exist. The fixture rejects it rather than claiming to understand that business context automatically.

Produce both a validation report and an aggregate. Three accepted rows out of five is a descriptive processing rate, not a measure of complete data quality. Missing fields, stale records and incorrect but plausible amounts can remain undetected. Explain which checks were performed and which require additional evidence before a manager uses the total.

Postgraduate: design lineage and dependable transformations

Apply a source–contract–validation–transformation–reconciliation framework. Identify the source, specify accepted fields, inspect failures, perform justified calculations and reconcile results. Link each output to the relevant input batch and transformation version. A lineage record supports investigation, but it does not independently prove the source was accurate.

Separate current-state records from event history. An order can move from received to approved to cancelled; counting all events as separate orders overstates activity. Decide whether the report concerns state at a date or transitions during a period. The pipeline and the managerial question should use compatible temporal definitions.

Consider reruns and partial failure. A dependable design needs to avoid duplicating accepted outputs and distinguish a complete batch from an interrupted one. The local pure-function fixture writes no persistent outputs and cannot demonstrate a production orchestrator's recovery. Use it to learn contracts, then specify what durable state and operational observation a real implementation would require.

Research: investigate quality and decision consequences

A study might ask whether explicit rejection reasons improve correction accuracy and speed. Define correction success and compare equivalent invalid batches. A higher acceptance rate can reflect weaker checks rather than better source data. Inspect both accepted and rejected cases and consider the managerial consequences of undetected errors.

Evaluate analytical stability. A total can change because of updated source records, changed rules or a different reporting window. Preserve enough evidence to separate these explanations. Reproducible calculations establish repeatability under supplied inputs, not general validity or causal insight. Include uncertainty and alternative interpretations in the report.

Submit a data contract, input fixture, validation trace, reconciliation equation and decision memo. Who owns the source, whom an error affects, whose definitions apply, what is rejected, where lineage is stored, when a batch is complete, why a transformation is justified, which error remains and how reruns recover connect engineering to business assistance. This original lab is not a full enterprise pipeline, cloud deployment or guarantee that all analytical data is trustworthy.

Study questions and answers

Distinguish raw, accepted and output data.

Raw records preserve supplied evidence; accepted records meet stated checks; outputs apply documented transformations. None automatically establishes source truth. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Reconcile five rows: three valid, one duplicate, one negative.

Five supplied = three accepted + two rejected; accepted amounts 100 + 200 + 50 = 350. Retain rejection reasons and disclose untested errors. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Why can higher acceptance be misleading?

Weaker checks may accept more bad records. Inspect accepted and rejected cases and underlying source changes. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Study rejection reasons.

Compare equivalent invalid batches on correction accuracy and effort, inspect undetected errors and maintain reproducible inputs and rules. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Extended practice questions

Marketing and finance report different customer totals from two pipelines. What should be reconciled?

Compare source boundaries, identifiers, inclusion rules, time windows and transformation versions. Marketing may count enquiries while finance counts billed customers; both can be internally correct while answering different questions. Trace a small set of records through each pipeline and inspect missing or duplicated events. Record the intended business metric before trying to force totals to match. Data engineering should preserve lineage and exception handling; managers decide which definition fits the decision. A shared dashboard does not remove semantic differences by itself.

Marking guide: Metric definitions; record-level lineage; appropriate managerial decision. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Compare a daily batch report with an event-driven update.

A daily batch can offer a stable period boundary and simpler reconciliation while delaying new information. Event-driven updates can improve freshness but need rules for duplicates, late arrival, ordering and incomplete states. Choose according to the action being supported and the acceptable delay, not a general preference for real time. Define event time and reporting cutoffs, ownership and correction. A fresher display can still be wrong or misleading if transformations and state meanings are unsuitable. Explain the tradeoff with the relevant departments.

Marking guide: Freshness/reconciliation tradeoff; event exceptions; decision-fit boundary. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

A pipeline receives 100 rows, rejects five invalid rows, then removes ten excess duplicate rows among the remaining 95. How many unique valid rows remain?

Under the stated disjoint stages, 100 minus 5 minus 10 equals 85 unique valid rows. Report the five invalid and ten duplicate rows as separate categories and retain a correction trail. This assumes that ten means excess duplicate rows removed, not ten duplicated groups. If the categories overlap or are defined differently, the subtraction is inappropriate. A valid row is only valid against the declared checks; it is not proof of an accurate customer fact. Explain the stage definitions alongside the total.

Marking guide: 85 and stage arithmetic; duplicate meaning/overlap; validity limits. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Design a small data-quality contract for a sales pipeline.

Specify the source, grain, identifier, required fields, allowed states, currency and period. Define how missing values, invalid records, duplicates and late corrections are handled, and name a steward for unresolved cases. Reconcile input, accepted and rejected counts and preserve enough lineage to explain a derived total. Test a synthetic valid record and each declared exception. The contract should support the chosen business measure rather than impose arbitrary rules. Document changes so reports from different versions can be compared meaningfully.

Marking guide: Concrete schema/semantics; exception stewardship; reconciliation and versioning. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Distinguish raw, accepted and output data.

Raw records preserve supplied evidence; accepted records meet stated checks; outputs apply documented transformations. None automatically establishes source truth.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Reconcile five rows: three valid, one duplicate and one negative.

Five supplied = three accepted + two rejected; accepted amounts 100 + 200 + 50 = 350. Retain rejection reasons and disclose untested errors.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Why can higher acceptance be misleading?

Weaker checks may accept more bad records. Inspect accepted and rejected cases and underlying source changes.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Study rejection reasons.

Compare equivalent invalid batches on correction accuracy and effort, inspect undetected errors and maintain reproducible inputs and rules.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Revision cards

Why does freshness not guarantee data quality?

An updated value can retain duplicate events, inconsistent meanings or unsuitable transformations. Freshness describes timeliness; accuracy and decision relevance need separate evidence.

Marketing and finance report different customer totals from two pipelines. What should be reconciled?

Compare source boundaries, identifiers, inclusion rules, time windows and transformation versions. Marketing may count enquiries while finance counts billed customers; both can be internally correct while answering different questions. Trace a small set of records through each pipeline and inspect missing or duplicated events. Record the intended business metric before trying to force totals to match. Data engineering should preserve lineage and exception handling; managers decide which definition fits the decision. A shared dashboard does not remove semantic differences by itself.

Compare a daily batch report with an event-driven update.

A daily batch can offer a stable period boundary and simpler reconciliation while delaying new information. Event-driven updates can improve freshness but need rules for duplicates, late arrival, ordering and incomplete states. Choose according to the action being supported and the acceptable delay, not a general preference for real time. Define event time and reporting cutoffs, ownership and correction. A fresher display can still be wrong or misleading if transformations and state meanings are unsuitable. Explain the tradeoff with the relevant departments.

A pipeline receives 100 rows, rejects five invalid rows, then removes ten excess duplicate rows among the remaining 95. How many unique valid rows remain?

Under the stated disjoint stages, 100 minus 5 minus 10 equals 85 unique valid rows. Report the five invalid and ten duplicate rows as separate categories and retain a correction trail. This assumes that ten means excess duplicate rows removed, not ten duplicated groups. If the categories overlap or are defined differently, the subtraction is inappropriate. A valid row is only valid against the declared checks; it is not proof of an accurate customer fact. Explain the stage definitions alongside the total.

Design a small data-quality contract for a sales pipeline.

Specify the source, grain, identifier, required fields, allowed states, currency and period. Define how missing values, invalid records, duplicates and late corrections are handled, and name a steward for unresolved cases. Reconcile input, accepted and rejected counts and preserve enough lineage to explain a derived total. Test a synthetic valid record and each declared exception. The contract should support the chosen business measure rather than impose arbitrary rules. Document changes so reports from different versions can be compared meaningfully.

Why connect a data-quality rule to the downstream decision?

Required accuracy, completeness and freshness depend on intended use and consequences. Document tolerable limits and exceptions. A dataset can pass general format checks yet be unsuitable for the specific managerial question.

What does an analytical dataset's unit of observation determine?

It defines what each row represents and therefore how counts and comparisons should be interpreted. Joins or aggregation can change the unit. A row count is not automatically a count of customers, orders or people.

How can delayed records bias a current-period report?

Some events may not yet appear when the snapshot is taken. Identify timing and correction rules. An apparently low count can reflect incomplete arrival rather than a real decline in business activity.

Why preserve transformation lineage for a revised dashboard?

It links output to input versions, definitions and processing choices so changes can be explained. Traceability supports investigation, not factual certification. A completely reproducible result can still use an unsuitable assumption.

Practice task

Complete data-intelligence-workshop.html, calculate the fixture and submit the subject portfolio.

Sources and further reading

  • Strategy and responsible systems workshop
    Type: Original local practice
    Use: Test bounded scenarios and explain exclusions.
  • PostgreSQL: aggregate and window distinctions
    Type: Free primary further reading
    Use: Related conceptual material; not credit or complete syllabus coverage.
  • IBM: SkillsBuild learning catalogue
    Type: Official free-learning resource
    Use: Select data fundamentals, then create a business data dictionary and a privacy-aware analysis plan. IBM describes SkillsBuild learning as free. Registration may be needed; catalogue content can depend on audience and location. Individual credential requirements were not fully audited.
  • Microsoft: Microsoft Learn training
    Type: Official free-learning resource
    Use: Find a data-analyst or app-maker module and connect it to a departmental workflow. Free self-paced training; exams, instructor-led offerings, product licences and cloud consumption may involve charges. Check each exercise before provisioning services.
  • Databricks: Training and fundamentals
    Type: Selected official learning resource
    Use: Trace ingestion, transformation, quality checks and a business report in a synthetic pipeline. Selected fundamentals and listed training are marked free. Account eligibility, platform use and certifications must be checked separately.
  • Tableau: Free training videos
    Type: Selected official learning resource
    Use: Build a chart with explicit units, denominator, period and a justified baseline. This is the official free training-video area. Tableau product licences and certifications are separate; do not publish confidential data to a public portfolio.

Open interactive reading and progress tools