← DMML vault

BITS · DMML · question bank · CS1-L5

DMML question bank -- questions only, no answers.

dmml question-bank active-recall mid-sem

Questions extracted and expanded from the five uploaded decks in Slides/: CS1 Data Representations, CS2 Data Management Fundamentals, L3 Data Architectures, L4 Data Pipelines, and L5 Modern Data Infrastructure and DataOps. This page intentionally has no answers. Work from memory first, then check the slides explained and cheatsheet.

How to use

TagWhat it tests
defineClean definitions and vocabulary.
compareSide-by-side differences and tradeoffs.
scenarioApply a concept to a realistic data/ML system.
designChoose architecture, pipeline or platform pattern.
gotchaCommon mistake, edge case or operational failure mode.

CS1 -- Data Representations

  1. define Define data, information, knowledge and wisdom. Give one example that moves through all four levels.
  2. define What is data management, and which verbs in the definition are operationally important?
  3. scenario A dashboard says the pipeline succeeded, but an ML model suddenly predicts badly for one country. Which data-management concepts explain this failure?
  4. compare Compare structured, semi-structured, unstructured and quasi-structured data with examples.
  5. compare Compare relational, hierarchical, graph, document and key-value data models. For each, name one strong use case.
  6. gotcha Why can a single wide relational table create redundancy, integrity and expansion problems?
  7. compare Explain declarative vs imperative query languages using a non-database example.
  8. compare When is row-major storage better than column-major storage? When is column-major better?
  9. define What is serialization? Why must serializer and deserializer agree on format, schema and algorithm?
  10. compare Compare CSV, JSON, XML, Protobuf and Avro as serialization formats.
  11. compare Compare OLTP and OLAP by workload, data model, latency expectation and query style.
  12. define Explain roll-up, drill-down, slice-and-dice, rotation and trend analysis in OLAP.
  13. compare Compare ACID and BASE. Why do distributed systems often expose this tradeoff?
  14. scenario A product catalog requires fast lookup by SKU, while a recommendation system needs relationship traversal among users/products. Which models fit each problem?

CS2 -- Data Management Fundamentals

  1. define Explain "data as an asset" and "data as a liability" with one ML-system example for each.
  2. gotcha Critique the statement: "More data always improves machine learning."
  3. scenario What legal and operational issues appear when collecting personally identifiable information for a model?
  4. scenario Why can deletion be harder than it sounds in distributed storage, backups and derived datasets?
  5. define What are durability, consistency, versioning/time travel, freshness and availability in data reliability?
  6. define List the core components of a data management strategy and explain why each matters.
  7. compare Compare data integration, data processing, data storage, data governance and data security.
  8. define What is metadata? Give three examples of metadata that help data consumers.
  9. scenario A salary table is needed for payroll analytics, but most employees must not see salaries. Which governance and security controls apply?
  10. define What is a data platform? How is it different from a single database?
  11. design Draw the data life cycle from generation to serving. Where do validation, cleaning, enrichment and storage happen?
  12. compare Compare data analyst, database administrator, data engineer, data scientist and ML engineer roles.
  13. scenario For an ecommerce personalized recommendation engine, list the data sources, cleaning steps, storage choices and delivery path you would inspect first.
  14. compare Explain the conceptual relationship among data architecture, data engineering and data management.

L3 -- Data Architectures

  1. define What is data architecture according to TOGAF-style and DAMA-style thinking?
  2. compare Compare operational and technical aspects of data architecture.
  3. compare Compare centralized, decentralized and hybrid data architectures.
  4. scenario A company has duplicated customer truth across sales, support and marketing. Which architecture pattern helps, and what tradeoffs remain?
  5. define What is a data warehouse schema? Why is it optimized differently from an operational database schema?
  6. compare Compare star schema and snowflake schema using fact and dimension tables.
  7. define What is a data mart? Why might HR or IT want a data mart instead of querying the entire warehouse?
  8. compare Compare data warehouse, data lake and data lakehouse.
  9. gotcha What makes a data lake turn into a data swamp?
  10. define Explain data mesh: domain ownership, data products and self-serve platform.
  11. define Explain data fabric: unified data layer, APIs, CDC and virtualization.
  12. design Design a fraud alert architecture for a bank needing historical reporting and real-time alerts. Which parts are batch, speed and serving?
  13. compare Compare Lambda and Kappa architecture for big data systems.
  14. scenario For ML workflows, when would Lambda be preferable to Kappa, and when would Kappa be simpler?
  15. define List and explain the 5 Vs of big data.
  16. design Name the components of a big data architecture from source to serving and analytics.

L4 -- Data Pipelines

  1. define What problem does a data pipeline solve? Why is manual feeding of source data not enough?
  2. compare Compare data flow through databases, through services and through message passing.
  3. gotcha During a rolling upgrade, newer code writes a new database field and older code reads/writes the same record. What should the old code preserve?
  4. define What is schema evolution? Why is rewriting a large dataset to a new schema often avoided?
  5. compare Compare client-server architecture, SOA and microservices.
  6. compare Compare REST, SOAP and RPC. Why is location transparency dangerous?
  7. define What is a message broker? List three reliability benefits over direct RPC.
  8. compare Compare traditional/legacy data stack and modern data stack.
  9. define List key characteristics of a modern data stack: self-service, discovery, context, lineage, pay-as-you-go and agile data management.
  10. compare Compare modern ingestion, storage/processing, transformation, catalog/governance and privacy/access tools.
  11. define Define a data pipeline using source, rules, transformation, processing and destination.
  12. compare Compare ETL and ELT. Which one fits a legacy warehouse with limited compute? Which one fits a scalable cloud warehouse?
  13. compare Compare batch processing, stream processing and change data capture.
  14. scenario An ecommerce stock database must keep a replica current for failover. How would CDC help?
  15. define Explain the Dataflow model and why unified batch/streaming matters.
  16. design Break a complex pipeline into micro-pipeline stages. What should be independently testable?
  17. scenario Choose tools for a pipeline that starts with SaaS data, lands in a warehouse, transforms with SQL, and powers dashboards.

L5 -- Modern Data Infrastructure and DataOps

  1. define What are the stages of data pipeline architecture from generation/source to serving?
  2. define List the major drivers that changed data infrastructure in the last two decades.
  3. compare Compare ingestion from application databases, REST APIs, Kafka/streams and cloud buckets.
  4. define What does data transformation include beyond "format conversion"?
  5. scenario Why does pipeline complexity eventually require workflow orchestration?
  6. define List raw ingredients of storage infrastructure: HDD/SSD/RAM, networking/CPU, serialization, compression and caching.
  7. compare Compare single-machine and distributed storage.
  8. compare Compare strong consistency and eventual consistency in distributed storage.
  9. compare Compare file storage, block storage, object storage, memory cache, HDFS and streaming storage.
  10. gotcha Why does object storage not support random writes or append in the same way as a local file system?
  11. define What are data storage abstractions? Name warehouse, lake, lakehouse and platform as abstractions.
  12. define What is reverse ETL? Why is sending model scores back to CRM often better than emailing a spreadsheet?
  13. compare Compare business analytics, operational analytics and embedded analytics.
  14. design Draw the common ML/data science infrastructure stack: data warehouse, compute resources, scheduler, architecture, versioning, model ops, feature engineering and model development.
  15. define What responsibilities do data scientists and ML engineers gain when infrastructure is self-service?
  16. compare Compare file exchange, databases, streaming systems, query federation and notebooks as ways to serve data.
  17. define What is infrastructure automation? Explain IaC, GitOps and orchestrated pipeline automation.
  18. compare Compare DevOps and DataOps. What changes when the "artifact" is a data pipeline and not just code?
  19. define Explain data at rest, data in transit and data in use.
  20. design Explain CT/CD for ML: experimental phase, continuous integration, automated training, validation, deployment and monitoring.
  21. scenario A DoorDash-style ML platform has fragmented workflows, low observability, data drift and slow deployment. Which components reduce those problems?

Long/design exercises

  1. design Design a data platform for an ecommerce recommendation engine. Include source systems, ingestion, validation, storage, transformation, feature serving, model training, model serving, monitoring and reverse ETL.
  2. design Design a real-time fraud detection platform. Compare a Lambda design and a Kappa design for the same problem.
  3. design A hospital wants shared data across doctor app, pharmacist app and patient app. Discuss database integration, service integration and message broker integration.
  4. scenario A model fails after a region's data disappears but the data pipeline still completes. Diagnose the failure using data sensitivity, data quality, monitoring and ML observability.
  5. scenario A data lake contains years of raw files but analysts do not trust it. Propose governance, metadata, catalog, quality and access-control fixes.
  6. compare Write a full comparison of warehouse, lake, lakehouse, mesh and fabric. Include when each pattern fails.
  7. design Build a modern data stack from scratch for a startup with SaaS product analytics, Postgres app DB, Kafka events, warehouse analytics and ML training.
  8. gotcha Explain why "pipeline success" is weaker than "data product correctness." What extra signals should be monitored?
Practice rule. Answer in this order: definition -> diagram or comparison -> example -> tradeoff/gotcha. DMML questions usually reward architecture judgement, not memorized tool names.

More in this vault

← slides explained formula sheet →
© cvam -- written in plaintext, served warm