DP-900 · Data Storage Options
23 cards
Data Storage Options
-
Quick check
Which set of considerations should drive the choice of a data file format?
AThe physical medium and the age of the source system
Neither the medium nor the age of the system is among the stated considerations for choosing a format.
BThe data type, the applications involved, and whether people or systems read the file
Right. The format should match the type of data, the applications that read or write it, and whether human readability or storage and processing efficiency is required.
CThe number of records, provided the format is human-readable
Record count alone settles nothing, and human readability is one consideration among several rather than a default.
2 / 23
-
Quick check
A team must exchange structured rows with many applications, and people must be able to inspect the files in a text editor. Which format fits the requirement?
ACSV, because delimited text is broadly accessible and human-readable
Right. Delimited text is suitable for structured data that must be human-readable and accessible to many applications.
BAvro, because binary records are designed to display as readable rows
Avro holds data as binary records, so it is not the format to reach for when people must read the file directly.
CA raw binary object, because media formats are the standard for tabular fields
Raw binary is how images, video, audio, and application documents are stored, not how tabular fields are exchanged.
4 / 23
-
Quick check
Which format represents hierarchical objects and can hold structured or semi-structured data?
AA binary large object rendered by an application
A binary large object is raw binary that an application renders, such as an image or a video file.
BComma-separated values in plain text
Delimited text stores flat rows of fields; it has no way to nest an object inside an attribute.
CJavaScript Object Notation
Right. JSON represents objects with attributes, an attribute can contain an object or a collection of objects, and that hierarchy suits structured and semi-structured data.
7 / 23
-
Keep your progress in the app
That’s 3 of 10 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
Which comparison of Parquet and Avro is correct?
AParquet uses XML tags for elements, while Avro uses comma-delimited text rows
Angle-bracket tags belong to XML and comma-delimited rows to CSV; neither describes these two formats.
BParquet is columnar, while Avro is row-based with a JSON header and binary records
Right. Parquet stores each column's data together within row groups, and Avro is row-based with its schema in a JSON header and its data as binary records.
CParquet is row-based with a JSON header, while Avro groups columns in row groups
This reverses the two layouts: the JSON header belongs to Avro and the row groups of column data belong to Parquet.
9 / 23
-
Quick check
What does Delta Lake add to Parquet files?
AA transaction log supporting ACID transactions, versioning, and reliable updates
Right. Delta Lake builds on Parquet by adding a transaction log for ACID transactions, data versioning, and reliable updates.
BA fixed-width text layout that gives each field the same number of characters
Fixed-width is one of the delimited text layouts, and it has nothing to do with Parquet or with transactions.
CAn XML tag hierarchy defining the elements and attributes of every record
Tags in angle brackets belong to XML; Delta Lake leaves the Parquet payload as it is and adds a log beside it.
11 / 23
-
Quick check
Which rule correctly separates a file store from a database?
AA file store applies table keys, while a database is limited to removable media
Table keys belong to a relational database, and central file storage exists precisely to replace local disks and removable media.
BA file store keeps files directly, while a database manages and queries data records
Right. Files are kept in a file store, while a database is a dedicated system for storing, managing, and querying data records rather than files.
CA file store manages relational records, while a database keeps files without querying
This states the distinction backwards: managing and querying records is the database's role, not the file store's.
13 / 23
-
Quick check
An order system must store structured customers and orders, give each entity a unique identifier, and connect each order to its customer without repeating the customer details. Which design fits?
AA relational database whose tables are connected by primary-key references
Right. A relational database stores structured entities in tables, gives each instance a primary key, and lets other tables reference it, which is what avoids repeating the same entity details.
BA shared file store holding unrelated binary objects without managed records
A file store keeps files rather than managed records, so it cannot enforce identifiers or connect entities.
CA graph database that replaces the tables and keys with nodes and links
A graph model records connections between entities, but the requirement here is exactly the key-linked table design of a relational database.
15 / 23
-
Quick check
Which nonrelational model represents highly connected data by recording the connections between entities directly?
AA column-family database with related columns organized into groups
Column families group logically related columns; the grouping does not express relationships between entities.
BA document database that stores each value as a JSON document
A document database is a specialized key-value store whose value is a JSON document, not a record of links.
CA graph database with entities as nodes and relationships as links
Right. A graph database stores entities as nodes and uses links to define the relationships between them.
18 / 23
-
Quick check
An Azure solution needs a central cloud location where several applications work directly with important data files, and the requirement mentions no managed records or queries. Which category should be identified?
AA graph database for entities represented as nodes joined by links
Nothing in the requirement describes entities and relationships to be queried, and a graph store manages records rather than files.
BA relational database for structured records connected across tables
A relational design answers a requirement for managed, queryable records connected by keys, which this one does not state.
CA cloud-hosted shared file store for centrally managed files
Right. When applications must work with centrally stored files and no managed records or queries are required, the supported decision is the cloud-hosted shared file storage category.
21 / 23
-
Quick check
Which statement matches the storage options described here?
AParquet stores data column by column, and a graph database records entities as nodes with links
Right. Parquet is the columnar format storing each column's data within row groups, and a graph database stores entities as nodes with links defining their relationships.
BDelta Lake replaces Parquet with XML, and a document database stores each value as a column family
Delta Lake builds on Parquet rather than replacing it, and a document database stores its value as a JSON document.
CCSV is a binary format, and a relational database avoids primary keys through normalization
CSV is plain text, and normalization in a relational database depends on primary keys rather than avoiding them.
23 / 23
-
10 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.