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.
Keep reading hereOpens in your browser. Nothing to install.
Start studying -
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 schema in its header
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 a plain-text layout, but it is not delimited: field boundaries come from character positions rather than separators.
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 customers and orders in tables, use a primary key for each entity, and use a foreign key to relate every order to its customer. Which datastore design fits?
AA relational database whose tables are connected by primary-key and foreign-key references
Right. The stated primary and foreign keys support the requested relational design; links between tables are not required in every relational database.
BA shared file store holding unrelated binary objects without managed records
A file store keeps files rather than managed records and does not supply the required table constraints.
CA graph database that represents the entities as nodes and the relationships as links
A graph can model connected entities, but it does not satisfy the explicit requirement for relational tables and keys.
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
Several legacy applications must mount the same managed directories over SMB without code changes. Which Azure datastore should host the files?
AAzure Blob Storage for object access over HTTP
Blob Storage is object storage and does not match the stated SMB file-share requirement.
BAzure Files for managed SMB file shares
Right. Azure Files provides fully managed file shares that applications can mount over SMB.
CAzure Table Storage for schemaless key/attribute records
Table Storage manages NoSQL records rather than directories mounted through a file-sharing protocol.
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.
Take this lesson’s test →Opens in your browser. Nothing to install.
Start studying
The whole course, on your computer and your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.
Opens in your browser. Nothing to install.
Start studying“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”
