Machine Learning at Scale
- 69Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Why can data be described as the center of gravity for modern data work?
69 questions
- 1
Why can data be described as the center of gravity for modern data work?
Model answer
Data brings data scientists, machine-learning engineers, analysts, and data engineers into interdependent work. Their collaboration is needed to manage data and build useful analytics and models.
Explanation
Data is not only an input to analysis; its collection, preparation, and management connect the work of different data-team roles.
- 2
What kinds of work does the presentation include under the term advanced analytics?
Model answer
Advanced analytics includes analyzing historical data to understand what happened, forecasting, prediction, machine learning, and deep learning.
Explanation
The term is used as an umbrella for several forms of analysis involving large datasets.
- 3
What three broad data challenges make advanced analytics at scale difficult?
Model answer
The challenges are data quality, data timeliness or staleness, and the volume and scale of data.
Explanation
Poor-quality or outdated data can undermine analysis, while large volumes make data processing and infrastructure harder to manage.
- 4
What problem with data cleaning was highlighted in the survey results discussed in the presentation?
Model answer
About 60% of respondents working with advanced analytics reported dealing with bad data, and substantial time was spent cleaning it.
Explanation
The presentation used the survey to illustrate how data quality problems consume data professionals’ time.
- 5
Why can using data that is two months old undermine forecasting or real-time analysis?
Model answer
The data may no longer reflect current conditions, making forecasts and model results less accurate.
Explanation
Timely analysis depends on using current data rather than stale information.
- 6
Why can data from unreliable sources lose value over time?
Model answer
If the source is unreliable, the data may not support trustworthy conclusions; the presentation noted that such data can become meaningless after about twelve months.
Explanation
Data quality and continuing relevance affect whether data can be used for dependable analysis.
- 7
How can maintaining analytics infrastructure interfere with producing high-quality data?
Model answer
Time spent maintaining pipelines and infrastructure is time not spent improving and analyzing data, and the maintenance itself adds operational complexity.
Explanation
The presentation identified infrastructure upkeep as a significant burden alongside cleaning and scaling data.
- 8
Why must data architectures change as the data they handle evolves?
Model answer
New data types, larger volumes, and faster analytical demands can exceed the capabilities of architectures designed for earlier needs.
Explanation
Keeping an old architecture simply because it is familiar can make it harder to deliver timely, high-quality analysis.
- 9
What made data warehouses effective for business intelligence and SQL reporting?
Model answer
They provided structured tables, schema checks, indexes, caching, and management features such as reliable transactions, supporting efficient SQL queries and reporting.
Explanation
Warehouses were purpose-built to deliver high-performance analytics on structured data.
- 10
How can transactions help ensure reliable data in a warehouse?
Model answer
A transaction either succeeds as a complete operation or fails without leaving a partial result, helping maintain reliable data when readers and writers operate concurrently.
Explanation
This all-or-nothing behavior is a key part of transaction guarantees.
- 11
What capability called time travel did the presentation associate with data warehouses?
Model answer
Time travel lets users retrieve data as it existed at a particular point in time.
Explanation
Access to historical data can support comparisons and reproducible analysis.
- 12
Why were traditional data warehouses a poor fit for some machine-learning workloads?
Model answer
Their SQL-centered design was not suited to all complex machine-learning computations, so data often had to be extracted elsewhere, adding delay and extra work.
Explanation
Moving data out of the warehouse interrupts the workflow between data storage and model development.
- 13
Which expanding data types challenged warehouse-centered architectures?
Model answer
Challenges included semi-structured data such as JSON and XML, as well as logs, time-series data, images, and documents.
Explanation
These data types became increasingly common as internet-connected systems and digital content expanded.
- 14
Why did warehouse systems become costly to scale for increasingly large datasets?
Model answer
Warehouses were optimized for smaller, structured data, and supporting expanding workloads could require costly scaling and the creation and maintenance of multiple tables.
Explanation
The scale and variety of newer workloads exposed limits in systems designed around traditional warehouse use cases.
- 15
How did data lakes address some limitations of data warehouses?
Model answer
They provided low-cost, horizontally scalable storage for raw and unstructured data, often using open file formats, while allowing compute and storage to scale separately.
Explanation
Machine-learning libraries could also read many lake-stored files directly, making data accessible for more kinds of analysis.
- 16
How did organizations use data lakes alongside warehouses and real-time databases?
Model answer
They stored broad datasets in a lake and moved subsets through ETL into warehouses or real-time databases for BI and reporting.
Explanation
This approach supported different workloads but created multiple data flows and copies.
- 17
Why can a lake-plus-warehouse architecture create stale data and engineering costs?
Model answer
Separate systems and workloads often require repeated ETL for analytics and machine learning, which can introduce delays, bugs, and ongoing engineering effort.
Explanation
When pipelines take hours or days, downstream applications may work with outdated data.
- 18
What is the central idea of the lakehouse architecture?
Model answer
A lakehouse aims to provide one platform for workloads such as streaming analytics, BI, data science, and machine learning, using a data lake with a management layer on top.
Explanation
The design seeks to combine scalable lake storage with capabilities commonly associated with warehouses.
- 19
What role does the lakehouse management layer play?
Model answer
It manages tables and files, provides transaction and versioning features, and enables applications to access data through SQL or higher-level APIs.
Explanation
Applications can request a table while the management layer identifies the appropriate files and version.
- 20
How does a lakehouse aim to combine the strengths of data lakes and warehouses?
Model answer
It combines horizontally scalable, open-format lake storage with transaction management and high-performance analytical access.
Explanation
The goal is to gain the scale and flexibility of a lake while retaining important warehouse-style features.
- 21
Why is a management layer important when multiple applications access lake data?
Model answer
It identifies which files belong to a table version and coordinates access so applications can use consistent data without corrupting one another’s work.
Explanation
Without managed versions and transactions, users may read outdated or inconsistent files.
- 22
What three technology capabilities were described as supporting the lakehouse vision?
Model answer
They are transaction and version management over lake data, high-performance SQL engines, and direct access for machine-learning and data-science frameworks.
Explanation
Together, these capabilities support reliable management, analytical performance, and access by diverse workloads.
- 23
How can a lakehouse management layer help applications obtain a consistent table?
Model answer
An application requests a table, and the layer resolves the requested or current version and returns the files that make up that version.
Explanation
The application need not independently determine which files belong to the table.
- 24
How can SQL and higher-level APIs make lakehouse data more accessible?
Model answer
They let applications request and process managed data through familiar interfaces instead of accessing files through separate, independent mechanisms.
Explanation
The management layer can translate those requests into access to the appropriate data files.
- 25
Why does a plain data lake make it difficult to know whether a file or table is current?
Model answer
A plain lake does not inherently manage table versions, so users may not know whether files have been updated, deleted, or superseded.
Explanation
A metadata or management layer can track the files that compose a particular table version.
- 26
How does a transaction log help manage versions of a table?
Model answer
The log records which files belong to each table version, allowing readers to retrieve a consistent snapshot of that version.
Explanation
Applications can use the recorded file set rather than guessing which files are current.
- 27
How can versioned transactions prevent concurrent applications from seeing inconsistent table states?
Model answer
Each transaction creates a defined table version, and readers can use the files recorded for that version instead of seeing an undefined mixture of changes.
Explanation
This supports isolation when multiple clients read or modify the data.
- 28
How can Delta Lake support streaming data updates?
Model answer
A Delta Lake table can be read as a stream and updated with operations such as merges, inserts, and upserts.
Explanation
This makes it possible to incorporate incoming data into managed tables in real time.
- 29
Why is time travel useful when developing machine-learning models?
Model answer
It allows practitioners to retrieve the table version used for an earlier experiment and reproduce the model using the corresponding data.
Explanation
Knowing which files and features were used helps make past results reproducible.
- 30
How can schema enforcement help maintain data quality in a managed lake table?
Model answer
It can check whether incoming data conforms to the table’s expected schema and prevent incompatible data from being accepted unnoticed.
Explanation
This helps detect structural problems before they undermine downstream analysis.
- 31
What should happen when the schema of incoming data evolves?
Model answer
The change should be handled deliberately so that table versions remain interpretable and new or missing fields are represented appropriately, such as with null values where applicable.
Explanation
Managing schema evolution helps preserve the meaning and usability of historical and current table data.
- 32
What is the purpose of open file formats such as Parquet in a lakehouse?
Model answer
They allow data to be stored in open formats that can be used by different engines and frameworks rather than being tied to one proprietary storage format.
Explanation
Parquet is also a columnar format that can support efficient analytical queries.
- 33
How can a lakehouse query engine improve performance while working with lake-stored data?
Model answer
It can combine techniques such as caching, data layout optimization, indexes or statistics, and vectorized execution.
Explanation
These approaches reduce unnecessary data access and make better use of available computing resources.
- 34
How can caching improve query performance?
Model answer
Frequently or recently used data can be kept in fast memory or storage, reducing the need to retrieve it again from the lake.
Explanation
The presentation mentioned RAM and highly available SSDs as possible cache locations.
- 35
How can clustering, sorting, or partitioning data improve query efficiency?
Model answer
These layout choices place related or commonly accessed data together, helping queries locate and process relevant data more efficiently.
Explanation
Although users may not control the underlying file format, they can still influence how data is organized.
- 36
How do statistics and indexes help a query avoid reading unnecessary files?
Model answer
They can indicate which files contain values relevant to a query, allowing the engine to skip files that cannot match.
Explanation
For example, date-range statistics can help the engine select only files that may contain the requested dates.
- 37
What is vectorized execution, and why can it improve performance?
Model answer
Vectorized execution processes multiple data values using a single instruction, taking advantage of modern CPU capabilities such as SIMD.
Explanation
This can make query processing more efficient than handling each value individually.
- 38
How can a DataFrame API help a query engine optimize machine-learning data access?
Model answer
Its relational operations can be translated into a query plan that the engine optimizes, including pushing work toward the storage layer to retrieve only needed files.
Explanation
The result can be a more efficient training dataset without requiring users to manage every file themselves.
- 39
How does the goal of machine-learning development differ from the goal of traditional software development?
Model answer
Traditional software is built to meet a specification, while machine-learning work is often judged by business or predictive metrics and improved through experimentation.
Explanation
Machine-learning development is iterative because model quality depends strongly on data and measured results.
- 40
Why is data central to the quality of a machine-learning product?
Model answer
Model performance depends on the data used to train and evaluate it, and changing data can change the model’s quality.
Explanation
Code matters too, but the presentation emphasized data as a central factor in machine-learning outcomes.
- 41
Why does machine learning at scale involve a more diverse software environment than many traditional software projects?
Model answer
Teams may need different open-source libraries, programming languages, frameworks, and deployment environments to build and run models.
Explanation
Supporting this diversity adds coordination and operational complexity.
- 42
Why must machine-learning experiments track parameters and results?
Model answer
Tracking makes it possible to compare runs, identify which settings produced the best metrics, and select a model with evidence.
Explanation
Without experiment records, it is difficult to know which combination of data and tuning choices produced a result.
- 43
What does model exchange mean, and why is it important?
Model answer
Model exchange means packaging a model so another person or environment can use it and obtain consistent results.
Explanation
The receiving user needs more than the model alone; reproducible use may require its code, dependencies, and configuration.
- 44
Why are provenance and governance important across a model’s lifecycle?
Model answer
They help establish what data and methods were used, who built and reviewed the model, who approved it, and how it was deployed.
Explanation
A record of these decisions supports accountability and investigation of model outcomes.
- 45
Why must machine-learning operations such as training and deployment be designed to scale?
Model answer
Large data volumes and repeated experiments require data preparation, distributed training, tuning, and deployment to handle substantial workloads efficiently.
Explanation
Scaling only the model computation is insufficient if other stages remain bottlenecks.
- 46
How does automated machine learning help practitioners, according to the presentation?
Model answer
It can run selected algorithms on a dataset, compare their results, and report which model performed best according to chosen metrics.
Explanation
The user can specify candidate libraries or algorithms rather than expecting automation to solve every problem without guidance.
- 47
Why did the speaker caution against treating automated machine learning as a complete black box?
Model answer
Practitioners should retain visibility into the algorithms used and the results produced, rather than assuming one automated action will solve every problem.
Explanation
The approach described was low-code automation with user-selected choices and interpretable results, not a universal one-click solution.
- 48
What is the purpose of MLflow’s experiment-tracking component?
Model answer
It records experiment parameters, metrics, and artifacts so users can compare runs and find results that meet their objectives.
Explanation
Tracking is useful when teams run many experiments and need to identify the settings associated with strong results.
- 49
How can an experiment-tracking interface and automatic logging simplify experiment management?
Model answer
A user interface makes recorded runs easier to inspect, while automatic logging can capture relevant experiment information without requiring every item to be logged manually.
Explanation
These features help teams track experiments consistently at scale.
- 50
What does an MLflow Project capture to support reproducibility?
Model answer
It can capture code, configuration, libraries, and data dependencies needed to run a project locally or remotely.
Explanation
Packaging these requirements helps another environment reproduce the project’s run.
- 51
How do MLflow Models help with deployment across different environments?
Model answer
They package models with standardized formats or flavors that allow deployment to different target environments without requiring users to manage each model library’s underlying details.
Explanation
A model flavor provides an abstraction between the model framework and the deployment target.
- 52
How can a model written using one framework be used in a Python-based serving environment?
Model answer
A model can be packaged in a compatible flavor and loaded as a Python function for prediction.
Explanation
This abstraction helps separate the model’s original framework from the serving interface.
- 53
What is the purpose of the MLflow Model Registry?
Model answer
It centrally stores and organizes named models, their versions, descriptions, and lifecycle stages.
Explanation
It gives teams a shared place to find and manage models as their number grows.
- 54
How does the Model Registry support multiple versions of the same model?
Model answer
It records separate versions of a named model and tracks information such as who created each version and its current stage.
Explanation
Keeping versions makes it possible to identify and compare different iterations.
- 55
Which lifecycle stages can a model have in the registry?
Model answer
The stages described include staging, production, and archived; a newly created model can also have no stage assigned.
Explanation
Stage labels indicate where a model is in its lifecycle and how it may be used.
- 56
How can the Model Registry support A/B testing?
Model answer
It can keep multiple versions of a model in the same stage so they can be tested or used alongside one another.
Explanation
This allows teams to compare alternative model versions without losing track of their identities.
- 57
How can Model Registry workflows connect model review to production deployment?
Model answer
A developer can register a model, a reviewer can retrieve and test it, and an approved model can then be promoted to production for downstream use.
Explanation
This creates a managed process in which review and approval precede production deployment.
- 58
How can registry notifications or webhooks support CI/CD for machine-learning models?
Model answer
A change in a model’s stage can trigger a notification or automated job, such as running tests or initiating a deployment workflow.
Explanation
These integrations let model lifecycle events connect to an organization’s chosen CI/CD tools.
- 59
How can model documentation and lineage support governance?
Model answer
They can record how a model was created, who worked on or approved it, and how it moved through deployment stages.
Explanation
This history helps organizations trace model decisions and establish accountability.
- 60
How can model monitoring identify data or model drift?
Model answer
Teams can monitor model performance against validation data over time; a decline can indicate that the data or its relationship to predictions has changed.
Explanation
Detected drift can prompt retraining or replacement of a production model.
- 61
How can machine learning be performed at the edge when devices have limited storage or computing power?
Model answer
A trained, relatively small model can be deployed to an edge device to make inferences locally, while training and heavier processing occur elsewhere.
Explanation
Local inference can avoid sending every observation to a central system immediately.
- 62
How can edge devices and a central training system work together over time?
Model answer
Devices can make local predictions and upload collected data periodically; the data can be used for training, after which an updated model can be sent back to the devices.
Explanation
This divides work between resource-constrained devices and more capable central systems.
- 63
Why might object detection be useful on conservation cameras?
Model answer
A deployed model can analyze camera observations locally to detect animals, poachers, or other events of interest.
Explanation
The model can be trained elsewhere and then run on a device that has enough resources for inference.
- 64
What role can distributed or federated learning play when data is distributed?
Model answer
It can support learning across distributed data or systems, and the presentation noted that Spark-based tools could be used for distributed learning workflows.
Explanation
The discussion treated these approaches as relevant to machine learning at scale, while emphasizing that data preparation and governance still matter.
- 65
What does model interpretability contribute to ethical machine-learning practice?
Model answer
Interpretability can help show which features influenced a model’s decision, making it easier to examine how a prediction or decision was reached.
Explanation
The presentation described feature-importance explanations, including SHAP, as a way to inspect model behavior.
- 66
What privacy measures may be needed when preparing and presenting healthcare data?
Model answer
Sensitive information may need to be anonymized and protected through appropriate security measures, such as encryption and controlled access.
Explanation
These precautions help prevent disclosure of personally identifiable information and support compliance with healthcare privacy requirements.
- 67
How can role-based access control protect sensitive data in a managed data layer?
Model answer
It can give different users different permissions, such as access to particular tables, rows, or columns, and restrict users from data they are not authorized to see.
Explanation
Fine-grained access controls can help ensure that users see only the information permitted by their roles.
- 68
Why is genomic analysis an example of healthcare work that requires data processing at scale?
Model answer
Genomic analysis can involve very large datasets, requiring pipelines and tools designed to process substantial volumes of data for tasks such as drug discovery.
Explanation
The presentation cited the open-source Glow project as a tool for large-scale genomic analysis.
- 69
Why should organizations distinguish between providing data-processing technology and deciding how insights are used?
Model answer
A platform can provide tools to store, secure, manage, and analyze data, but the organization using it remains responsible for decisions about how to use or share the resulting insights.
Explanation
Technical capabilities do not by themselves determine whether a particular use of data is ethical or appropriate.

Ask anything
We've read this whole study set, so questions about it get the best answers.