DP Computer Science · HL · A3 Databases

A3.4 Alternative databases and data warehouses (HL only)

Get started
Notes Quiz
Free preview 2/15
  1. Question 1

    A smart city deploys sensors across its transport network, water infrastructure, and public safety systems. Each sensor type produces data in a different format, and the city council wants a unified database to run long-term trend analysis and support policy decisions. Which combination of data warehouse properties best justifies this design choice?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    ANon-volatile and time-variant, because data must be preserved unchanged over time and timestamped for historical analysis

    Step-by-step walkthrough

    Choose a solution method

    Method #1Direct approach

    Step 1: Identify the analytical requirement

    The city council wants long-term trend analysis and policy support — this is a classic data warehouse use case, not an operational (OLTP) task. The data must be preserved over time and queryable historically.

    Step 2: Apply the relevant Inmon properties

    Non-volatile means data, once loaded, is never altered or deleted — guaranteeing the reliability of historical records. Time-variant means every record carries a timestamp, enabling analysts to query any historical period and compare trends across years.

    Step 3: Link properties to the scenario

    For the city to analyse how traffic patterns or water usage changed over five years, the historical records must remain intact (non-volatile) and be queryable by date or period (time-variant). These two properties together enable the described analytical use case.

    Step 4: Select the correct answer

    The option stating non-volatile and time-variant is correct because these are the Inmon properties that directly enable reliable long-term historical analysis — the stated goal.

    Method #2Process of Elimination

    Step 1: Identify what is being asked

    The question asks which data warehouse properties best justify designing a unified analytical system for long-term trend analysis from diverse sensor sources.

    Step 2: Eliminate 'Volatile and subject-oriented'

    Volatile is the opposite of the non-volatile property — data warehouses do not update or delete records. Real-time updates describe OLTP systems, not data warehouses. This option contradicts the warehouse model.

    Step 3: Eliminate 'Integrated and volatile'

    While integrated is a valid warehouse property (consolidating multiple sources), pairing it with volatile (records regularly corrected) again contradicts the fundamental non-volatile nature of a data warehouse. The option is internally inconsistent with warehouse design.

    Step 4: Eliminate 'Append-only and schema-less'

    Schema-less is a characteristic of NoSQL systems, not data warehouses. While append-only behaviour is a consequence of non-volatility, it is not itself a formal defining property, and describing the solution as schema-less misidentifies the architecture.

    Step 5: Select the correct answer

    Non-volatile and time-variant is the only option that correctly identifies formal Inmon properties and directly supports the requirement for reliable, historically queryable trend analysis.

  2. Question 2

    A multinational retail corporation wants to analyse five years of sales data consolidated from its point-of-sale systems, online store, and loyalty card programme. Different source systems record prices in different currencies and use different date formats. Which ETL stage is primarily responsible for resolving these inconsistencies before data enters the warehouse?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    BTransform, because data must be standardised into a consistent format and validated before loading

    Step-by-step walkthrough

    Choose a solution method

    Method #1Direct approach

    Step 1: Identify the ETL stage in question

    The problem describes format inconsistencies — different currencies and date formats across source systems. These inconsistencies must be resolved before data enters the warehouse, so the relevant stage is Transform.

    Step 2: Describe what Transform does

    The Transform stage applies format standardisation (e.g., converting all dates to YYYY-MM-DD and all prices to a single currency), cleansing (fixing errors), filtering (removing duplicates), and validation (checking integrity constraints).

    Step 3: Distinguish Transform from Load

    The Load stage appends already-cleaned data to the warehouse. It does not perform format conversion — that is the exclusive responsibility of Transform. Attempting to resolve conflicts at load time would compromise data integrity.

    Step 4: Select the correct answer

    Transform is correct because format standardisation and validation are sub-steps performed in this middle stage of the ETL pipeline.

    Method #2Process of Elimination

    Step 1: Identify what is being asked

    The question asks which ETL stage handles data format standardisation (currency and date harmonisation) before loading into the warehouse.

    Step 2: Eliminate 'Extract'

    Extract simply pulls raw data from source systems. It makes no changes to formats, currencies, or encodings. The inconsistencies described are carried forward unchanged through the Extract stage.

    Step 3: Eliminate 'Load'

    Load appends pre-processed data to the warehouse. The warehouse schema does not automatically convert currencies or date formats — data must already be in the correct format before this stage. Placing format conversion at Load is a misconception.

    Step 4: Eliminate 'Index'

    Index is not one of the three ETL stages (Extract, Transform, Load). Indexing and partitioning are warehouse optimisation techniques applied to improve query performance, not to standardise source data formats.

    Step 5: Select the correct answer

    Transform is the correct stage — it is specifically designed to standardise formats, cleanse errors, and validate data before it is loaded into the warehouse.

Free preview

13 more questions in this topic

← Previous topicA3.3 Database programming
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.