🚧 Under construction
Decifrando Arquiteturas de Dados

Decifrando Arquiteturas de Dados

Escolhendo entre data warehouse moderno, data fabric, data lakehouse e data mesh

de James Serra (2024)

Novatec



TODO: short book review (1 paragraph).



Notes





Active study

  1. Recall concept · cap-1 ●○○

    According to the author, is big data only about the size of the data? How does he define the term?

    Reveal answer

    No. Big data is all useful data, inside and outside the company, of any volume, velocity or type.

    Source: Notes, ch. 1 — Big Data

  2. Recall concept · cap-1 ●○○

    What are the 6 Vs of big data?

    Reveal answer

    Volume, variety, velocity, veracity, variability and value.

    Source: Notes, ch. 1 — Big Data

  3. Multiple choice detail · cap-1 ●○○

    Which of the 6 Vs does the author consider the most important?

  4. Recall relationship · cap-1 ●●○

    What is the difference between veracity and variability?

    Reveal answer

    Veracity is the accuracy and reliability of the data (bad sources corrupt it, so it must be validated on arrival). Variability is the (in)consistency of format, quality and meaning, like sensors that send data at different rates.

    Source: Notes, ch. 1 — Big Data

  5. Multiple choice relationship · cap-1 ●●○

    A temperature sensor sends readings at fixed intervals; a motion sensor, only when it detects something. This contrast illustrates which V?

  6. Recall concept · cap-1 ●○○

    What are the four stages of data maturity, in order?

    Reveal answer

    Reactive, informative, predictive and transformative.

    Source: Notes, ch. 1 — Big Data

  7. Recall concept · cap-1 ●○○

    What is a spreadmart, and at which maturity stage does it appear?

    Reveal answer

    An informal, decentralized collection of data in spreadsheets, kept outside the central system. It is typical of stage 1, reactive.

    Source: Notes, ch. 1 — Big Data

  8. True or false detail · cap-1 ●●○

    According to the author, most companies are at the predictive stage.

  9. Recall relationship · cap-1 ●●○

    Why are stages 1 and 2 called "rearview mirror"?

    Reveal answer

    Because they serve historical reporting: they show past trends and react to what has already happened.

    Source: Notes, ch. 1 — Big Data

  10. Recall relationship · cap-1 ●●○

    What separates the predictive stage from the transformative one?

    Reveal answer

    In the predictive stage, the company is already in the cloud, handles more data and uses machine learning. In the transformative stage, the solution accepts any data, new sources come in quickly and non-technical users build their own reports.

    Source: Notes, ch. 1 — Big Data

  11. Recall concept · cap-1 ●○○

    What problem of traditional BI does self-service BI solve?

    Reveal answer

    In traditional BI, every report is a request to IT, which becomes a bottleneck (days to months of waiting). In self-service, the user, who knows the data best, queries it and builds their own reports.

    Source: Notes, ch. 1 — Big Data

  12. True or false detail · cap-1 ●●○

    Self-service BI spares IT work from the start.

  13. Recall concept · cap-2 ●○○

    What are the five aspects common to every data architecture?

    Reveal answer

    Storage, processing, access, security and privacy, and governance.

    Source: Notes, ch. 2 — Types of Data Architectures

  14. Multiple choice relationship · cap-2 ●●○

    Lineage tracking and retention policies belong to which aspect of data architecture?

  15. Recall relationship · cap-2 ●●○

    What is the difference between schema-on-write and schema-on-read, and which architecture uses each?

    Reveal answer

    Schema-on-write defines and enforces the schema when writing (relational data warehouse). Schema-on-read applies the schema only when reading, so data comes in raw (data lake).

    Source: Notes, ch. 2 — Types of Data Architectures

  16. Recall concept · cap-2 ●●○

    What problem of transactional (OLTP) systems did the relational data warehouse solve?

    Reveal answer

    Reports running directly on the operational database competed for resources with CRUD operations and slowed down the application. The data warehouse receives a copy of the data for queries and also centralizes data from several applications.

    Source: Notes, ch. 2 — Types of Data Architectures

  17. True or false detail · cap-2 ●●○

    Like the relational data warehouse, the data lake has its own compute engine coupled to storage.

  18. Recall concept · cap-2 ●●○

    Why could the data lake not replace the data warehouse, and what role did it end up with?

    Reveal answer

    Querying it required advanced skills most users lacked, and it was missing data warehouse features (transactions, schema enforcement, audit trails). It ended up with the role of staging and preparing data.

    Source: Notes, ch. 2 — Types of Data Architectures

  19. Recall relationship · cap-2 ●○○

    In the modern data warehouse, what is the role of the data lake and what is the role of the data warehouse?

    Reveal answer

    Data lake: staging, data preparation and machine learning. Data warehouse: serving the data, security, compliance and reporting.

    Source: Notes, ch. 2 — Types of Data Architectures

  20. Multiple choice relationship · cap-2 ●●○

    The lakehouse also uses only the data lake, like the early data lakes that failed. What changes?

  21. Recall relationship · cap-2 ●○○

    How does the author describe the data fabric in relation to the modern data warehouse?

    Reveal answer

    As an evolution of the MDW, with more technology to ingest, protect, search and make available any type of data.

    Source: Notes, ch. 2 — Types of Data Architectures

  22. Multiple choice relationship · cap-2 ●○○

    Of the book's six architectures, which is the only decentralized one?

  23. True or false concept · cap-2 ●○○

    Data mesh is a technology you can buy off the shelf, and it suits most companies.

  24. Recall names-and-dates · cap-2 ●●●

    Order by year of emergence, according to Table 2-1: data lake, data mesh, relational data warehouse, data lakehouse, data fabric, modern data warehouse.

    Reveal answer

    Relational data warehouse (1984), data lake (2010), modern data warehouse (2011), data fabric (2016), data mesh (2019), data lakehouse (2020).

    Source: Notes, ch. 2 — Types of Data Architectures

  25. Recall concept · cap-3 ●○○

    What are the two deliverables of an ADS?

    Reveal answer

    An architecture (blueprint) that serves as a starting point for the solution and a high-level action plan, with demos, proofs of concept and product discussions.

    Source: Notes, ch. 3 — The Architecture Design Session

  26. True or false concept · cap-3 ●○○

    The ADS is a session for detailed requirements gathering.

  27. Recall detail · cap-3 ●●○

    Who should take part in the ADS on the customer side?

    Reveal answer

    Sponsors (at least one from the business and one from IT), business and technical representatives, the project manager and, if needed, consultants, architects, developers and infrastructure or operations staff.

    Source: Notes, ch. 3 — The Architecture Design Session

  28. Recall concept · cap-3 ●●○

    Besides designing the architecture, what other advantages does the ADS bring?

    Reveal answer

    It separates projects with a business case from "science projects" (limiting the resources of the latter) and provides structure to "think big, start small", with quick wins, such as starting with a few high-value sources.

    Source: Notes, ch. 3 — The Architecture Design Session

  29. Recall concept · cap-3 ●○○

    What is the golden rule of the discovery phase?

    Reveal answer

    Don't talk about architecture or products before finishing all the questions. Otherwise you may waste time selling something the customer doesn't even need.

    Source: Notes, ch. 3 — The Architecture Design Session

  30. True or false detail · cap-3 ●○○

    The discovery questions already point to the products that will be used.

  31. Multiple choice relationship · cap-3 ●○○

    In the ADS, the customer says they will use non-relational data. What does this imply?

  32. Multiple choice relationship · cap-3 ●●○

    By contract, customer data cannot leave certain countries. What change does this require in the architecture?

  33. Recall relationship · cap-3 ●●○

    How do the end users' technical level and the desire for self-service BI change the architecture?

    Reveal answer

    Less technical users who want to build their own reports need easy-to-consume data, such as a relational data warehouse or star schema (and low-code tools). Very technical users can work with a lakehouse.

    Source: Notes, ch. 3 — The Architecture Design Session

  34. Recall detail · cap-3 ●●○

    If the nightly data load doesn't fit in the available window, what alternatives does the book suggest?

    Reveal answer

    Loading more often (hourly), running loads in parallel, compressing the data before sending it or using faster transfer products.

    Source: Notes, ch. 3 — The Architecture Design Session

  35. Recall relationship · cap-3 ●○○

    What kind of trade-off does a low budget force on the architecture?

    Reveal answer

    For example, using less compute to cut costs, accepting a loss of performance (slower loads and reports).

    Source: Notes, ch. 3 — The Architecture Design Session

  36. Recall detail · cap-3 ●●○

    Why, in a long-term project, is it worth talking to the cloud provider before choosing products?

    Reveal answer

    To find out what is under development and not yet announced. Nobody wants to discover halfway through the project that a better product is about to come out.

    Source: Notes, ch. 3 — The Architecture Design Session

  37. Recall concept · cap-4 ●○○

    What is the SVOT (single version of truth), and what problem does it solve?

    Reveal answer

    A single, standardized and consistent view of the organization's data, the same for everyone. Without it, reports built directly from several sources give different results for the same data and nobody knows where the "truth" came from.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  38. Recall concept · cap-4 ●○○

    What distinguishes an EDW from an ordinary data warehouse?

    Reveal answer

    The EDW (enterprise data warehouse) serves the whole company, with more sources and data types, instead of several DWs each serving a few areas.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  39. True or false concept · cap-4 ●○○

    Copying the Finance operational database to DW_Finance and building the reports on those tables already makes a data warehouse.

  40. Recall relationship · cap-4 ●●○

    Why is joining the customer tables of three systems into a view with UNION not the right way to build a DW?

    Reveal answer

    The data should go into a single table in the DW, which requires creating a data model that accommodates the three sources, preferably with MDM to eliminate duplicates.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  41. Multiple choice concept · cap-4 ●○○

    For which types of analysis does the top-down DW approach work well?

  42. Recall detail · cap-4 ●●●

    What are the nine steps of the top-down approach, in order?

    Reveal answer

    Formulate hypotheses; define business requirements; design the architecture; develop the data model; build databases, schemas and tables; develop the ETL; deploy BI; test and refine; maintain and expand.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  43. Recall relationship · cap-4 ●●○

    How does the DW allow correct historical reports when, for example, a customer moves to another state?

    Reveal answer

    By keeping the field's history with start and end dates. That way a report run today can pull the data as it was on a past date, without needing saved reports.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  44. Recall relationship · cap-4 ●●○

    How does the DW protect reports against upgrades of the source applications?

    Reveal answer

    If the upgrade renames tables and fields, only the ETL needs to be adjusted. The reports, which read from the DW, keep working.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  45. True or false detail · cap-4 ●○○

    A relational DW usually allows 24/7 access, even during loads.

  46. Recall relationship · cap-4 ●●○

    When should you use full extraction and when incremental?

    Reveal answer

    Full for small tables: simple, with no need to track changes. Incremental for large tables, as long as it is possible to identify what changed. Usually the two are combined.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  47. Recall concept · cap-4 ●●○

    What is the difference between online and offline extraction?

    Reveal answer

    Online: connects directly to the source or to an intermediate system holding the changes (transaction logs, change tables). Offline: the source generates a file (CSV, JSON) in an intermediate location, from which it is read.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  48. Multiple choice concept · cap-4 ●○○

    Which change detection technique enables a near-real-time DW, based on the transaction log?

  49. True or false detail · cap-4 ●●○

    Comparing full extractions with MERGE is the preferred technique for finding what changed.

  50. Recall concept · cap-4 ●●○

    Why does the author think the relational DW will not disappear?

    Reveal answer

    Reporting from a data lake is still harder; the DW keeps meeting needs and generating value; and many people depend on it and trust it. Most users want integrated, clean data with history.

    Source: Notes, ch. 4 — The Relational Data Warehouse

  51. Recall concept · cap-5 ●○○

    What is a data lake and where does the metaphor come from?

    Reveal answer

    A repository that stores large volumes of raw data in its native format and of any type (structured, semi-structured and unstructured), without structuring or processing it first. Like a lake holds water without changing its nature; the DW would be a warehouse of already packaged goods.

    Source: Notes, ch. 5 — Data Lake

  52. Recall relationship · cap-5 ●●○

    What are the advantages of transforming data in the data lake instead of in the DW?

    Reveal answer

    Compute cheaper than the DW's, performance from several engines in parallel, more ways to transform (libraries beyond SQL) and no maintenance window: the DW stays available 24/7 and queries don't compete for resources with transformations.

    Source: Notes, ch. 5 — Data Lake

  53. True or false relationship · cap-5 ●●○

    When a data lake is used alongside a DW, the DW remains the single version of truth.

  54. Recall detail · cap-5 ●●○

    Why does keeping raw history in the data lake help when an old ETL error is discovered?

    Reveal answer

    In the DW, raw data in staging tables is usually deleted after a day or two; rerunning the ETL would mean going back to the source system and burdening it. In the lake, with cheap storage, the raw history is kept and the ETL can be redone from it.

    Source: Notes, ch. 5 — Data Lake

  55. Recall concept · cap-5 ●○○

    What is the bottom-up approach and why does it suit the data lake?

    Reveal answer

    Collecting the data first, before forming theories or hypotheses, and exploring it to find the relevant questions. It suits the lake because, being schema-on-read, it requires little up-front work. It is the opposite of the DW's top-down.

    Source: Notes, ch. 5 — Data Lake

  56. Multiple choice relationship · cap-5 ●●○

    What is the difference between predictive and prescriptive analytics?

  57. Recall concept · cap-5 ●○○

    What are the data lake layers described by the author, in order, and which one is optional?

    Reveal answer

    Raw → conformed → cleansed → presentation, of increasing quality. The sandbox is optional, a copy of raw where data scientists can read and modify.

    Source: Notes, ch. 5 — Data Lake

  58. Multiple choice detail · cap-5 ●○○

    The silver layer corresponds to which of the author's layers?

  59. Recall detail · cap-5 ●●○

    What happens in the conformed layer?

    Reveal answer

    Files that arrived in raw in different formats (CSV, JSON, Parquet...) are converted to a single format, usually Parquet.

    Source: Notes, ch. 5 — Data Lake

  60. Multiple choice relationship · cap-5 ●●○

    In a retailer, which layer holds a report of total sales per store and per month?

  61. True or false concept · cap-5 ●○○

    According to the author, every well-built data lake has exactly the raw, conformed, cleansed and presentation layers.

  62. Recall detail · cap-5 ●●○

    Name four ways to divide the folder structure of a data lake layer.

    Reveal answer

    For example: time (year/month/day), subject, source, object (source table), security boundary (department), downstream app, data type (detail/summary), retention, criticality, owner, access probability, confidentiality.

    Source: Notes, ch. 5 — Data Lake

  63. True or false concept · cap-5 ●○○

    As a rule, the author recommends creating several physically separate data lakes.

  64. Recall relationship · cap-5 ●●○

    Give two reasons to have several data lakes and two disadvantages.

    Reveal answer

    Reasons: data residency/sovereignty (data from China cannot leave the country), isolating sensitive data, working around subscription limits, latency and disaster recovery, separating dev/test/prod. Disadvantages: more complexity, cost and expertise; integration tools to move data consistently; slow queries when combining distant lakes.

    Source: Notes, ch. 5 — Data Lake

  65. Recall concept · cap-6 ●○○

    What is a data mart and what problem does it solve?

    Reveal answer

    A subset of the DW focused on one department or business line (finance, HR, marketing). It solves the difficulty of navigating a large, complex DW by bringing only the department's data in a friendlier way.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  66. True or false detail · cap-6 ●○○

    A data mart can only be created and maintained by IT.

  67. Recall relationship · cap-6 ●●○

    Why does the author say the ODS is not a data warehouse?

    Reveal answer

    Because it stores operational (not analytical) data, a short window at the lowest level of detail, loaded every few minutes or hourly for operational reporting and tactical decisions; the DW keeps the whole history, loads daily/weekly/monthly and serves trend analysis and strategic decisions.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  68. Multiple choice detail · cap-6 ●○○

    In the author's metaphor, if the data mart is a microscope, the ODS is...

  69. Recall relationship · cap-6 ●●○

    What is the advantage of using the ODS as staging for the DW?

    Reveal answer

    Data is reconciled and cleansed once, feeds the ODS in near real time and then the DW, reducing the number of ETL flows and the size of staging areas (staging is still needed for data not held in the ODS).

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  70. Recall concept · cap-6 ●●○

    What is the main gain of a data hub and how does it differ from the DW and the data lake?

    Reveal answer

    It removes hundreds of point-to-point interfaces between systems. Unlike the DW and the lake, which serve almost only analytics, the hub is also a means of data exchange between operational systems.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  71. True or false detail · cap-6 ●●○

    In a data hub, data is usually transformed and analyzed inside the hub itself.

  72. Recall concept · cap-6 ●○○

    What does MDM produce and what is that result called?

    Reveal answer

    A single master record for each person, place or thing (customer, product, supplier), cleaned and standardized from several sources. It is called the "golden source" or "best version of the truth".

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  73. Multiple choice relationship · cap-6 ●●○

    In a star schema, where do the MDM-mastered records go?

  74. Recall relationship · cap-6 ●●○

    What are near-duplicates and why do they justify MDM in a DW?

    Reveal answer

    Records of the same entity written differently (middle initial, hyphen, Junior/Senior) that an exact filter does not catch. Without MDM, the user sees the same customer several times in the first report and loses trust in the DW, which is hard to win back.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  75. Recall relationship · cap-6 ●●○

    What is the difference between data virtualization and data federation?

    Reveal answer

    Both create a unified view of several sources. Virtualization is broader: it includes federation plus transformation, caching, security and governance. Tools with query optimization, push-down and caching tend to be called virtualization; without them, federation.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  76. Recall detail · cap-6 ●●●

    Name three questions the author recommends asking before replacing the DW with virtualization.

    Reveal answer

    Any three of: what performance do I need (sub-second dashboard?); what is the impact on the source (does it push down?); do I need to install something on every server?; does it use the source's indexes and statistics?; can access be restricted per source?; how does it handle near-duplicates?; where is data cleaned?; do reports break if the source changes?; what is the tool's cost and complexity?

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  77. Multiple choice relationship · cap-6 ●●○

    In which scenario does the author recommend moving data into the DW instead of virtualizing?

  78. True or false concept · cap-6 ●○○

    A data catalog stores copies of the source data.

  79. Recall names-and-dates · cap-6 ●●○

    Name one data catalog product and one data marketplace product mentioned by the author, and why there are fewer marketplace products.

    Reveal answer

    Catalog: Informatica Enterprise Data Catalog, Collibra Data Catalog, Microsoft Purview. Marketplace: Snowflake Marketplace, Datarade, Informatica Cloud Data Marketplace. There are fewer marketplaces because they only started appearing in the early 2020s.

    Source: Notes, ch. 6 — Data Storage Solutions and Processes

  80. Recall concept · cap-7 ●○○

    What analogy does the author use to tell data design from data modeling?

    Reveal answer

    Design is like planning a city: where buildings go, which roads connect them, how traffic flows. Modeling is like designing one building: the rooms, how they connect and what each is for.

    Source: Notes, ch. 7 — Approaches to Design

  81. Recall concept · cap-7 ●○○

    What characterizes an OLTP system and what is its limitation for analysis?

    Reveal answer

    It processes CRUD transactions in real time, with high concurrency and low latency, usually on a normalized relational model (e.g., POS, ecommerce, online banking; DBMSs like SQL Server and Oracle). Slicing and dicing data for reports and dashboards is much slower than in OLAP.

    Source: Notes, ch. 7 — Approaches to Design

  82. Recall concept · cap-7 ●●○

    What is an OLAP cube and why does it speed up queries?

    Reveal answer

    A structure in an OLAP database with pre-aggregated data (already summarized and grouped by dimensions), on a multidimensional model (star or snowflake). Users browse dimensions and levels of detail without waiting for long queries.

    Source: Notes, ch. 7 — Approaches to Design

  83. Multiple choice relationship · cap-7 ●●○

    How does the tabular model differ from the multidimensional model (OLAP cube)?

  84. True or false detail · cap-7 ●○○

    According to table 7.1, OLAP/tabular databases are normalized (3NF) and OLTP databases are denormalized.

  85. Recall relationship · cap-7 ●●○

    Tell operational from analytical data and say which technology implements each.

    Reveal answer

    Operational: real time, to run day-to-day operations, a "snapshot" of the current state, high volume, quick decisions; implemented with OLTP. Analytical: derived from operational data, historical view, consolidated and aggregated, batch-loaded, for trends, reports and ML; implemented with OLAP/tabular and DWs.

    Source: Notes, ch. 7 — Approaches to Design

  86. Recall relationship · cap-7 ●●○

    How do SMP and MPP grow and why is MPP better for the DW?

    Reveal answer

    SMP scales up: more processors and memory in a single server that shares disk and memory. MPP scales out: more servers, each processor with its own memory and disk and the data spread among them, which parallelizes the DW's write-once, read-many queries.

    Source: Notes, ch. 7 — Approaches to Design

  87. Multiple choice detail · cap-7 ●●○

    In an MPP database, who splits the query into subqueries?

  88. Recall concept · cap-7 ●●○

    Describe the stream, batch and presentation layers of the Lambda architecture.

    Reveal answer

    Stream/speed: incremental updates on recent data only, trading accuracy for latency (may be dirty). Batch: looks at all the data, corrects what came from the stream and is the trusted layer (lots of ETL, daily/hourly schedule). Presentation/serving: mediator that uses batch by default and the stream when up-to-the-second data is requested.

    Source: Notes, ch. 7 — Approaches to Design

  89. Recall relationship · cap-7 ●●○

    Give use cases and two disadvantages of the Lambda architecture.

    Reveal answer

    Use cases: recommendation engines, fraud detection. Disadvantages: complexity (dual model + single view); less efficient than Kappa for high real-time volume; little support for stateful processing (e.g., a recommender that ignores the customer's browsing sequence).

    Source: Notes, ch. 7 — Approaches to Design

  90. Multiple choice relationship · cap-7 ●○○

    What does the Kappa architecture lack compared with Lambda?

  91. Recall relationship · cap-7 ●●○

    When to choose Kappa and when to prefer Lambda?

    Reveal answer

    Kappa: lots of real-time data with low latency, scalability and fault tolerance (streaming platforms, financial trading). Lambda: when you need batch processing of historical data or ad hoc queries over lots of history, Kappa's weak points.

    Source: Notes, ch. 7 — Approaches to Design

  92. Recall concept · cap-7 ●●○

    What is polyglot persistence, how does it differ from a polyglot data store, and what does it cost?

    Reveal answer

    Using several storage technologies within one application, each kind of data in the best-suited database (e.g., ecommerce with key-value for the cart, documents for orders, relational for inventory, graph for the social graph). A polyglot data store is the same idea across the whole organization. Cost: more complexity, one more technology to learn per database.

    Source: Notes, ch. 7 — Approaches to Design

  93. Recall concept · cap-8 ●○○

    What is the difference between a natural key and a surrogate key?

    Reveal answer

    A natural key is a field that already exists in the data and is unique (Social Security number, serial number). A surrogate key is an artificial value, generated (usually automatically) just to serve as the primary key.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  94. Recall relationship · cap-8 ●●○

    A company buys another and will merge both customer bases in the DW, but their customer IDs overlap (and one uses letters, the other numbers). Why would the dimensional model use surrogate keys instead of these IDs?

    Reveal answer

    Because natural keys from different systems cause duplicates and incompatible formats when integrated; a surrogate key, generated in the DW itself, is unique regardless of the source.

    The author also cites two other problems with natural keys: they can be long and complex, and they often contain sensitive information.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  95. Recall concept · cap-8 ●○○

    A Students table has the columns Course1, Course2 and Course3. Which normal form does it violate, and how do you fix it?

    Reveal answer

    It violates 1NF (a repeating group of columns). The fix is one row per student–course pair.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  96. Recall relationship · cap-8 ●●○

    Why should an OLTP database aim for 3NF, while analytics usually uses a dimensional model?

    Reveal answer

    3NF stores each piece of data in one place and ensures integrity, but requires many joins and makes queries slow; the dimensional model denormalizes to query faster and more simply.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  97. Recall relationship · cap-8 ●●●

    What is the difference between a relational model's history table and an SCD (slowly changing dimension)?

    Reveal answer

    A history table is a copy of the original table with tracking columns (date, user, before/after) and follows changes record by record, in any table; an SCD tracks changes at the dimension level and only exists in dimensional models.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  98. Multiple choice detail · cap-8 ●○○

    A customer asks to fix the wrong phone number stored in the Customer dimension; nobody cares about the old number. What does the author recommend?

  99. Recall concept · cap-8 ●○○

    In a dimensional model, what goes in the fact table and what goes in the dimension tables?

    Reveal answer

    The fact table holds the metrics, usually numeric (sales, orders, revenue); the dimensions hold the attributes that describe those metrics (time, product, customer, location), usually in hierarchies.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  100. Recall detail · cap-8 ●●○

    In a dimensional model, why might facts be stored already aggregated (averages, counts)?

    Reveal answer

    For performance: the values are computed ahead of time, so the query doesn't have to compute them when it runs.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  101. Recall relationship · cap-8 ●●○

    In a sales star schema, the category name is repeated in every row of the Product dimension; in the relational model, a product stores only the category ID. What changes when a category is renamed, and why is that accepted?

    Reveal answer

    In the dimensional model the name must be changed in every product row of that category (in the relational one, just once, in the Category table). It is accepted because denormalization cuts tables and joins, making queries faster and simpler.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  102. Recall concept · cap-8 ●●○

    A company will bring data from three CRMs by different vendors, each with its own tables and fields, into the DW. Instead of adopting one vendor's model, what does the author recommend, and how can the effort be reduced?

    Reveal answer

    Build a common data model (CDM), a new model that fits all formats, current and future. To save effort and risk, customize a ready-made industry CDM offered by cloud providers and vendors.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  103. Multiple choice concept · cap-8 ●○○

    In a data vault, where are a customer's descriptive attributes and their changes over time stored?

  104. Recall relationship · cap-8 ●●●

    For what kind of organization does the author recommend a data vault instead of a Kimball model, and what price does it pay?

    Reveal answer

    For organizations with lots of data and complex relationships that need lineage and auditing. The price: complexity, duplicated data at the atomic level, slower queries due to many tables, and few engineers who know the technique.

    Kimball better suits simpler data needs.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  105. Recall concept · cap-8 ●●○

    According to the author, what is the essential difference between Inmon's and Kimball's methodologies?

    Reveal answer

    Inmon first builds a physical, normalized EDW (the CIF, in 3NF), from which dependent data marts are derived; Kimball skips the physical EDW: independent dimensional data marts form a merely conformed EDW (the DW bus).

    Source: Notes, ch. 8 — Approaches to Data Modeling

  106. Multiple choice relationship · cap-8 ●●○

    A company has few data sources and needs reports quickly. Which approach does the author suggest?

  107. Recall relationship · cap-8 ●●○

    How does the hybrid model described by the author combine Inmon's and Kimball's methodologies?

    Reveal answer

    It keeps Inmon's 3NF CIF as the centralized, atomic base, and feeds Kimball-style independent dimensional data marts from it (plus cubes for reporting).

    Source: Notes, ch. 8 — Approaches to Data Modeling

  108. Recall relationship · cap-8 ●●●

    Why is it false that Kimball's methodology is purely bottom-up, with no enterprise view?

    Reveal answer

    Because it plans top-down, with the EDW bus matrix (the whole enterprise's business processes and conformed dimensions), and only executes bottom-up, one business process at a time.

    Source: Notes, ch. 8 — Approaches to Data Modeling

  109. Recall concept · cap-9 ●○○

    What is the difference between ETL and ELT?

    Reveal answer

    In ETL the data is transformed in flight, before being loaded into the destination; in ELT it is loaded raw and transformed inside the destination.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  110. Multiple choice relationship · cap-9 ●●○

    A company will ingest terabytes of JSON logs into a data lake every day. Which approach does the author recommend?

  111. Recall relationship · cap-9 ●●○

    In which situations does the author prefer ETL over ELT?

    Reveal answer

    With smaller data and not overly complex transformations, when source and destination are relational, and when quality and security matter, since only clean, necessary data reaches the destination.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  112. Recall relationship · cap-9 ●●●

    A bug is found in the transformation and it has to be redone. Why does this cost more with ETL than with ELT?

    Reveal answer

    In ETL the raw data isn't kept in the destination, so it has to be extracted again from the source, burdening the source system once more; in ELT the raw data is already in the destination and only needs to be transformed again.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  113. Recall concept · cap-9 ●○○

    What is reverse ETL and what is it for?

    Reveal answer

    Moving data from the DW into operational or third-party systems (CRM, support, an app's database) to make it operational and support day-to-day decisions, not just long-term analysis.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  114. Multiple choice relationship · cap-9 ●●○

    The data science team computes a purchase propensity score in the DW and wants the app to use it to personalize offers in real time. Which process takes the score to the app's database?

  115. Recall concept · cap-9 ●●○

    What criterion does the author use to choose between batch and real-time processing?

    Reveal answer

    Latency tolerance: if the process can wait for the data, batch; if immediate data is critical and there are resources for continuous processing, real time.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  116. Multiple choice relationship · cap-9 ●○○

    Which of these cases does the author use as a typical example of batch processing?

  117. Recall concept · cap-9 ●○○

    What is a data governance CoE (center of excellence), and when does the author recommend setting it up?

    Reveal answer

    It is the hub that defines policies, standards, roles, responsibilities and decision-making processes for data. It should be set up before building the DW, since many projects fail by neglecting governance.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

  118. Recall detail · cap-9 ●●○

    In the author's governance maturity model (stages 0 to 3), what distinguishes complete governance from stage 2?

    Reveal answer

    In stage 2 roles are defined but only most processes are; in complete governance all processes are defined and followed, and automation is key.

    Source: Notes, ch. 9 — Approaches to Data Ingestion

See all questions (118)

Transparency note AI was used in this post for: generating the notes · generating the study questions · creating the English version