1/59
kill me
_______ is a column based format that is universal and works with many different tools - created by Cloudera and X
Parquet
What can happen when a serverless Azure SQL database isn’t being used for a specified period?
It may automatically pause to reduce costs
Azure SQL Database is which type of database?
Graph
Relational
File storage
Non-relational
Relational
_____ is a row based data format that works well for data ingestion in big data analytics
Avro
Which of the following is an example of an OLAP system?
a) MS Access
b) MySQL
c) SAP Hana Datawarehouse System
d) Microsoft SQL server
SAP Hana Datawarehouse System
Relational databases use ______ format for data organization
Row
________ are used in MS Azure to organize and manage related Azure resources
Resource groups
_______ allows embedding of documents or images directly inside a specific user record
Base64
Non-relational databases use ______ format for data organization
Columnar
A JSON file would be an example of
a) unstructured
b) structured
c) semi-structured
semi-structured
The following is a property of _____ → Updates are fast, short, and done in real time.
a) OLAP
b) OLTP
OLTP
Which ACID property → Each transaction is treated as a single unit of work, which succeeds completely or fails completely
Atomicity
______ is a column based data format that uses stripes to hold data for a column
ORC
Which ACID property → Transactions can only take the data in the database from one valid state to another
Consistency
Which ACID property refers to → concurrent transactions cannot interfere with one another
Isolation
An HTML file would be an example of
semi-structured
structured
unstructured
semi-structured
What query language is used in Cassandra
a) TQL
b) SQL
c) CQL
d) MQL
CQL
Which of the following best describes a MongoDB aggregation pipeline?
a) a sequence of stages that processes and transforms documents
b) a tool used only to sort documents
c) a command used only to delete documents
d) a method for defining a fixed database
a sequence of stages that processes and transforms documents
Which Azure service is best for storing large volumes of historical weather station data so analysts can identify weather and traffic patterns to improve traffic timing?
a) Azure Blob
b) Azure SQL
c) Azure Data Lake
d) Azure Tables
Azure Data Lake
Which of the following is a format for storing documents in a document based non-relational format?
a) SQL
b) AI
c) CSV
d) BSON
BSON
What does the following MQL search for?
{
“runtime”:{
“$gte”:90,
"$lte":120
}
}a) movies with a runtime from 90 through 120 minutes
b) movies with a runtime greater than 120 minutes
c) movies with a runtime of less than 90 minutes
d) movies released from 1990 through 2010
movies with a runtime from 90 through 120 minutes
What does the following MongoDB query do?
["year": -1}a) sorts movies by year in ascending order
b) excludes first year field from the results
c) finds movies released before the specified year
d) sorts movies by year in descending order
sorts movies by year in descending order
In a customer table, which of the following is an example of a high cardinality field?
a) CustomerDOB
b) CustomerID
c) CustomerZip
d) CustomerAddress
CustomerID
Which scenario would warrant the use of embedded data in MongoDB?
a) A product is referenced by millions of separate orders
b) Employee information is shared across many departments
c) a customers address is usually retrieved together with the customers profile
d) a suppliers information is updated independently from product records
a customers address is usually retrieved together with the customers profile
A social media platform needs to store user profiles and posts. Different posts may contain different fields, such as text, images, videos, hashtags, and locations. Which type of NoSQL database is the best choice?
a) Key-value database
b) Document database
c) Wide-column database
d) Relational database
Document database
In Cassandra, what is the primary purpose of a clustering key?
a) To connect two databases
b) To distribute data across different nodes
c) To determine how rows are ordered within a partition
d) To uniquely name the database
to determine how rows are ordered within a partition
_______ refers to the capability of Azure Cosmos DB that allows a gaming app with players in the US, Europe, and Asia to access data from the nearest region rather than a distant other region.
Autoscaling
Which of the following is a common property of non-relational databases that is not typically found in relational databases?
a) data stored in tables
b) support for primary keys
c) use of rows and columns
d) flexible schema
flexible schema
A global bank needs to store and analyze millions of transactions distributed across multiple servers. It must retrieve transactions by account number and transaction time. Which database is the best choice?
Wide-column database
Which of the following is an example of append only data?
a) a product inventory record whose quantity is replaced after each sale
b) a transaction log where each new transaction is added to the end as a new record
c) an employee record that is deleted when an employee leaves
d) a customer profile that is updated when the customer changes their address
a transaction log where each new transaction is added to the end as a new record
In MongoDB, which field serves as the primary key for each document?
a) Cluster
b) row_id
c) _id
d) Partition
_id
An online store frequently needs to retrieve all products in a particular product category and display them in order from lowest to highest price. Each product contains product_id, product_name, category, price, and quantity.
a) Partition key: quantity; Clustering key: product_id
b) Partition key: price; Clustering key: category
c) Partition key: category; Clustering key: price
d) Partition key: product_id; Clustering key: product_name
Partition key: category; Clustering key: price
Which of the following is true of MongoDB?
a) You must define the complete schema before storing data
b) Every document in a collection must contain identical fields
c) MongoDB stores data only in columns
d) The document structure can change over time
The document structure can change over time
Which of the following is an example of a columnar non-relational database
a) Azure SQL
b) MongoDB
c) Cassandra
d) MariaDB
Cassandra
In Cassandra, what is the primary purpose of a partition key?
To determine how data is distributed across nodes
In Cassandra, the fundamental organizational unit of data is ______
keyspaces
Which of the following would be a good option for storing large video files for streaming platforms?
a) Azure Blob
b) Azure Data Lake
c) Azure Tables
d) Azure Cosmos
Azure Blob
In MQL to search for a text with a pattern we use _____
$regex
Azure data lake storage provides ______ that is not available with Blob storage
hierarchical namespace
A transportation application needs to store active rider sessions using a unique session ID and retrieve each session very quickly. Which type of NoSQL database is the best choice?
Key-value database
Which of the following is an example of a key-value store database?
a) Azure Blob
b) Azure SQL
c) MongoDB
d) Azure Table
Azure Table
Which of the following is a document based DB
a) Cassandra
b) Oracle
c) Azure
d) MongoDB
MongoDB
In a document database, tables are referred to as _______
Collections
Azure tables use which of the following as the primary keys
a) Partition key
b) Partition key and Row key
c) Timestamp
d) Partition key, Row key, and timestamp
Partition key and Row key
Which example illustrates a Type 2 slowly changing dimension (SCD)?
a) Correcting a customers name by overwriting the existing value
b) Adding a new customer record version when their loyalty level changes
c) Overwriting a customers address
d) Deleting a customers previous membership information
Adding a new customer record version when their loyalty level changes
What does a fact table typically contain?
Measurements of business transactions and keys linking to dimensions
What does the grain of a fact table define?
The level of detail represented by each row
A report shows total prescription revenue by age group. What roles do dimensions and fact tables play?
The dimension provides age groups, and the fact provides revenue values
Which example illustrates a Type 1 slowly changing dimension (SCD)
a) Correcting a misspelled customer name by overwriting the existing value
b) Adding a new record whenever a customer changes address
c) Keeping both the old and new versions of a customers name
d) Recording the start and end dates of each customer version
Correcting a misspelled customer name by overwriting the existing value
A retailer wants to create a hierarchy. Which field below is best suited to serve as the hierarchy?
Field | Example Value |
TransactionID | T1058 |
ProductCategory | Electronics |
Quantity | 2 |
Revenue | $250 |
ProductCategory
A company based in France collects customers names, email addresses, and purchase histories to analyze shopping behaviro. Which law governs its handling of personal data?
GDPR
A store manager needs to decide which products to reorder today. The inventory report was last updated three weeks ago. Which data-quality issue is most directly involved?
Timeliness
Several patients have missing age values. An analyst replaces each missing age with the average age of patients taking the same drug. Which technique is being used?
Imputation
Most prescription quantities range from 1 - 30, but one record has 3,000. What should the analyst do first?
Investigate whether it’s an error or a legitimate unusual transaction
What is data wrangling?
Cleaning, transforming, and organizing data to prepare it for analysis
A hospital wants to analyze individual patient visits by date, physician, and department. Which would be the most appropriate fact table?
a) A table with one row per department
b) A table with one row per physician
c) A table with one row per patient visit and measures such as visit cost
d) A table with one row per calendar month and its name
A table with one row per patient visit and measures such as visit cost
A customer changes from Silver to Gold membership. The business needs historical sales to remain associated with the membership level held at the time of the purchase. Which is the most appropriate approach?
a) Delete sales made while customer was a Silver member
b) Use Type 1 SCD to overwrite Silver with Gold
c) Update all historical sales to show Gold membership
d) Use Type 2 SCD to retain separate versions of the customer record
Use Type 2 SCD to retain separate versions of the customer record
A patient’s name is misspelled in the Patient dimension. The organization wants to correct the spelling and doesn’t needs to preserve the incorrect version. Which SCD type should they use?
Type 1 SCD to overwrite the incorrect name
A sales fact table contains many sales for the same product. The product dimension contains one row per product. Which relationship should connect the Product dimension to the sales fact table?
one-to-many