Courseiva

CCNA Describe core data concepts Questions

75 of 254 questions · Page 3/4 · Describe core data concepts · Answers revealed

151
MCQeasy

A retail company uses a point-of-sale (POS) system that records each sales transaction in a database. Each transaction involves reading the current inventory, updating the stock level, and recording the sale. The database must ensure that concurrent transactions do not interfere with each other, so that one transaction does not see partially updated data from another. Which property of a database transaction ensures this isolation?

A.Atomicity
B.Consistency
C.Isolation
D.Durability
AnswerC

Isolation is the ACID property that separates the effects of concurrent transactions so that one transaction cannot see the intermediate, uncommitted state of another. Without isolation, a POS system could read inventory levels that another sale is in the middle of updating, leading to overselling or duplicate charges. Isolation ensures that the concurrent execution produces the same result as some serial order of the transactions, thereby preventing dirty reads, non-repeatable reads, and phantom reads. This directly addresses the retail scenario described.

Why this answer

Isolation ensures that concurrent transactions do not interfere with each other, so each transaction sees a consistent snapshot of the database as if it were the only transaction running. In the POS scenario, isolation prevents one transaction from reading partially updated inventory data from another transaction, which could lead to overselling or stock discrepancies. This property is typically implemented through locking mechanisms or multi-version concurrency control (MVCC).

Exam trap

The trap here is that candidates often confuse isolation with atomicity, thinking that 'not seeing partially updated data' is about the transaction being all-or-nothing, when in fact it is about preventing interference between concurrent transactions.

How to eliminate wrong answers

Option A is wrong because atomicity ensures that a transaction is treated as a single, indivisible unit that either fully completes or fully rolls back, but it does not control how concurrent transactions interact. Option B is wrong because consistency ensures that a transaction brings the database from one valid state to another, preserving integrity constraints, but it does not manage concurrent access. Option D is wrong because durability guarantees that once a transaction is committed, its changes persist even in the event of a system failure, but it has no role in isolating concurrent transactions.

152
MCQeasy

A company stores customer contact information in a table with columns for CustomerID, Name, Email, and Phone. They also store customer support chat transcripts as plain text files. Which of the following correctly classifies these data types?

A.Both are structured data
B.Customer contact information is structured; chat transcripts are semi-structured
C.Customer contact information is structured; chat transcripts are unstructured
D.Both are semi-structured
AnswerC

Customer contact information is structured because it resides in a table with a fixed, predefined schema: each column (name, phone, email) has a strict data type and every row must conform to that schema, making it directly queryable via SQL. Chat transcripts, by contrast, are unstructured because the conversation is free-flowing natural language with no fixed format, row/column structure, or guaranteed fields; the text is stored as a whole and cannot be reliably queried by column value without additional processing like text mining or NLP.

Why this answer

Customer contact information stored in a table with columns like CustomerID, Name, Email, and Phone is structured data because it has a fixed schema with rows and columns. Chat transcripts stored as plain text files have no predefined schema or organization, making them unstructured data. Therefore, option C correctly classifies the contact info as structured and the chat transcripts as unstructured.

Exam trap

The trap here is that candidates often confuse semi-structured data (like JSON or XML) with unstructured data (like plain text), incorrectly classifying chat transcripts as semi-structured because they contain some implicit structure (e.g., timestamps or user names) when in fact they lack a formal schema or metadata tags.

Why the other options are wrong

A

Customer contact information in a table with defined columns (CustomerID, Name, Email, Phone) is structured data, but chat transcripts as plain text files have no predefined schema or organization, making them unstructured, not structured.

B

Chat transcripts are plain text files without any inherent structure or metadata, making them unstructured data, not semi-structured (which requires tags or markers like JSON or XML).

D

Chat transcripts are plain text files without a predefined schema or structure, making them unstructured data, not semi-structured. Semi-structured data (e.g., JSON, XML) has tags or markers to separate elements, which plain text lacks.

153
MCQmedium

A marketing team needs to analyze customer purchase history data stored in Azure SQL Database. They want to create interactive dashboards with drill-down capabilities. Which Microsoft tool should they use?

A.Power BI
B.Azure Data Studio
C.Microsoft Excel
D.Azure Analysis Services
AnswerA

Power BI connects directly to Azure SQL Database and provides interactive dashboards with drill-down, satisfying the marketing team's visualisation requirement. Unlike static reporting tools, its semantic model supports hierarchical navigation, letting users explore purchase history across customer, product and time dimensions without writing queries.

Why this answer

Power BI is the correct tool because it is designed specifically for creating interactive dashboards with drill-down capabilities using data from Azure SQL Database. It connects directly to Azure SQL Database via built-in connectors, allowing users to build visualizations that support hierarchical navigation and real-time filtering.

Exam trap

The trap here is that candidates confuse Azure Analysis Services as a visualization tool, when in fact it is a backend analytical engine that requires Power BI or another client for dashboard creation.

How to eliminate wrong answers

Option B is wrong because Azure Data Studio is a database management and query tool, not a dashboarding or visualization tool; it lacks native interactive dashboard and drill-down features. Option C is wrong because Microsoft Excel can create charts and pivot tables, but it does not provide native drill-down capabilities for interactive dashboards and is not optimized for real-time, cloud-based data exploration. Option D is wrong because Azure Analysis Services is a data modeling and analytical engine that provides OLAP cubes and tabular models, but it is not a front-end visualization tool; it requires a separate client like Power BI to render interactive dashboards.

154
MCQeasy

The exhibit shows a KQL query in Azure Data Explorer. What is the output of this query?

A.Bottom 5 states by total property damage
B.Top 5 states by total property damage
C.All states with total property damage
D.All storm events after 2024-01-01
AnswerB

This query filters storm events to those on or after 2024-01-01, groups the remaining rows by State using `summarize`, and computes the sum of DamageProperty for each state. The subsequent `top 5 by DamageProperty desc` operator sorts these state-level sums in descending order and returns the first five rows, which are exactly the five states with the highest total property damage. The result is a ranked list of the top 5 states by total damage.

Why this answer

The KQL query uses `summarize` to aggregate total property damage by state, then `top 5 by total_property_damage` to return the five states with the highest total damage. The `desc` argument (default) orders the results in descending order, making option B correct.

Exam trap

The trap here is that candidates may confuse `top` with `take` or `limit`, forgetting that `top` implicitly sorts in descending order unless `asc` is specified, leading them to think it returns the bottom values or all rows.

How to eliminate wrong answers

Option A is wrong because `top 5` returns the highest values, not the lowest; to get bottom 5, you would need `top 5 by total_property_damage asc`. Option C is wrong because `top 5` limits the output to exactly five rows, not all states. Option D is wrong because the query does not filter by date; it aggregates all storm events regardless of date.

155
MCQeasy

A company stores customer orders in a database. Each order has an OrderID (integer), CustomerName (text), OrderDate (date), and a JSON column for order details that contains varying fields such as discount codes or gift messages. Which statement best describes the data types in this table?

A.The table stores only structured data.
B.The table stores both structured and semi-structured data.
C.The table stores only unstructured data.
D.The table stores only semi-structured data.
AnswerB

The OrderID, CustomerName, and OrderDate columns have fixed data types and enforce a rigid schema, exactly fitting the structured category. In contrast, the JSON column stores order details that can differ per customer order, such as optional fields or nested line items, which is typical of semi-structured data. A single table can therefore mix both categories, and that is precisely what this design does.

Why this answer

The table includes structured columns (OrderID integer, CustomerName text, OrderDate date) and a JSON column for order details, which stores semi-structured data because JSON allows flexible schemas with varying fields like discount codes or gift messages. This combination of fixed-schema columns and a schema-less JSON column means the table holds both structured and semi-structured data, making option B correct.

Exam trap

The trap here is that candidates often mistake JSON for unstructured data, but JSON is semi-structured because it has a logical structure (key-value pairs) even though the schema is flexible, leading them to incorrectly choose option C.

How to eliminate wrong answers

Option A is wrong because the JSON column contains semi-structured data, not purely structured data, as structured data requires a fixed schema with consistent fields. Option C is wrong because unstructured data (e.g., images, videos, raw text files) is not present; JSON is semi-structured, not unstructured. Option D is wrong because the table also includes structured columns (OrderID, CustomerName, OrderDate) with fixed data types, so it does not store only semi-structured data.

156
MCQeasy

A company collects customer feedback in three forms: a structured table with customer ID and rating (1-5), free-text comments, and audio recordings of phone calls. Which of the following correctly orders these data from least structured to most structured?

A.Audio recordings, free-text comments, structured table
B.Structured table, free-text comments, audio recordings
C.Free-text comments, structured table, audio recordings
D.Audio recordings, structured table, free-text comments
AnswerA

Correct. Audio and free-text are both unstructured; the structured table is most structured.

Why this answer

Ly orders the data from least structured to most structured. Audio recordings are unstructured (no schema). Free-text comments are also unstructured (no fixed format in DP-900 classification).

The structured table has defined columns and data types. Thus, the order is audio (unstructured), free-text (unstructured), structured table.

Exam trap

Candidates may mistakenly classify free-text comments as semi-structured, but in DP-900, free-text is considered unstructured. The trap is to recognize that both audio and free-text are unstructured, so the correct ordering places them before structured data.

Why the other options are wrong

B

This option orders data from least structured to most structured incorrectly. Structured data (table) is the most structured, not the least; audio recordings are unstructured, and free-text comments are semi-structured.

C

This option incorrectly orders free-text comments as less structured than a structured table. Free-text comments are semi-structured (unorganized text), while structured tables are fully structured with defined schema. Audio recordings are unstructured, so the correct order is audio, free-text, structured table.

D

This option incorrectly places the structured table before free-text comments, but structured data (table) is the most structured, not intermediate. Audio recordings are least structured, free-text comments are semi-structured, and structured table is most structured.

157
MCQhard

The exhibit shows a Kusto Query Language (KQL) query run in Azure Data Explorer. What is the output of this query?

A.All storm events in Texas with property damage
B.The total property damage for all event types in Texas
C.The top 5 event types in Texas by total property damage
D.A list of the top 5 property damage amounts in Texas
AnswerC

This is exactly what the query does: summarize by EventType groups the Texas storm records by event category, sum(PropertyDamage) totals the damage within each group, and the top operator (or order by + take) selects the five highest groups. Each output row pairs an EventType with its aggregated damage, which is the standard KQL pattern for a ranked breakdown. The result therefore identifies which event types had the most total property damage in Texas.

Why this answer

The query uses `summarize sum(PropertyDamage) by EventType` to aggregate total property damage per event type, then `top 5 by TotalPropertyDamage` to return the five event types with the highest totals. The `where State == 'TEXAS'` filter ensures only Texas storms are considered. This directly yields the top 5 event types in Texas by total property damage.

Exam trap

The trap here is that candidates confuse 'top 5 property damage amounts' (raw values) with 'top 5 event types by total property damage' (aggregated categories), or they think the query lists individual events rather than summarized groups.

How to eliminate wrong answers

Option A is wrong because the query does not list individual storm events; it aggregates damage by event type, so it cannot output 'all storm events'. Option B is wrong because the query groups by EventType and returns multiple rows (top 5), not a single total for all event types combined. Option D is wrong because the query outputs event types, not raw property damage amounts; the `top 5` operator returns the entire row (EventType and TotalPropertyDamage), not just the damage values.

158
MCQhard

A banking application processes a funds transfer transaction consisting of two steps: debit $100 from Account A and credit $100 to Account B. If the system crashes after debiting Account A but before crediting Account B, the database automatically reverts the debit, restoring Account A to its original balance. Which ACID property guarantees this behavior?

A.Atomicity
B.Consistency
C.Isolation
D.Durability
AnswerA

Atomicity is the correct property here because it enforces the all-or-nothing execution of a transaction. In this funds transfer, the debit step was written, but the corresponding credit never completed before the crash. Atomicity requires the entire transaction to be treated as a single, indivisible unit, so the partial debit must be rolled back and the account restored to its original state. Without atomicity, a system failure could leave a half-applied transaction, corrupting financial records.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. In this scenario, the debit and credit are part of one transaction; if the system crashes after the debit but before the credit, the database management system (DBMS) automatically rolls back the entire transaction, undoing the debit to restore Account A's original balance. This all-or-nothing behavior is the defining characteristic of atomicity.

Exam trap

The trap here is that candidates often confuse atomicity with consistency, thinking that 'restoring the original balance' is about maintaining data rules, when in fact it is the rollback of an incomplete transaction that demonstrates atomicity.

How to eliminate wrong answers

Option B (Consistency) is wrong because consistency ensures that a transaction brings the database from one valid state to another, preserving all defined rules (e.g., constraints, triggers), but it does not inherently handle crash recovery or rollback of partial changes. Option C (Isolation) is wrong because isolation governs how concurrent transactions are executed independently to prevent interference, not how a single transaction recovers from a crash. Option D (Durability) is wrong because durability guarantees that once a transaction is committed, its changes persist even after a system failure; it does not apply to uncommitted transactions that need to be rolled back.

159
MCQhard

You are designing a data lake architecture for a large enterprise. You need to organize data into zones (raw, curated, and analytics) and enforce data lineage tracking. Which Azure service should you use to catalog and govern the data?

A.Azure Synapse Analytics
B.Azure Data Factory
C.Microsoft Purview
D.Azure Databricks
AnswerC

Microsoft Purview is a unified data governance and cataloging service that automatically scans Azure, on-premises, and multi-cloud sources, building a data map of technical and business metadata. It provides a searchable catalog, sensitive data classification, glossary, and end-to-end lineage across various data processes. This makes Purview the correct choice for governing a data lake, ensuring data is discoverable, understandable, and compliant.

Why this answer

Microsoft Purview is the correct choice because it is a unified data governance service designed specifically for cataloging data assets, tracking lineage across hybrid and multi-cloud environments, and enforcing data policies. Unlike the other options, Purview provides out-of-the-box lineage scanning, a business glossary, and automated classification, making it the appropriate tool for organizing data into zones and ensuring end-to-end lineage in a data lake architecture.

Exam trap

The trap here is that candidates confuse data integration or analytics services (like Azure Data Factory or Synapse) with a dedicated governance and cataloging tool, assuming lineage tracking is a built-in feature of those services rather than a separate function provided by Microsoft Purview.

How to eliminate wrong answers

Option A is wrong because Azure Synapse Analytics is an analytics service that combines data warehousing and big data processing, but it does not provide native data cataloging or lineage tracking capabilities beyond basic metadata; it relies on Purview for governance. Option B is wrong because Azure Data Factory is an ETL and data integration service that can capture lineage during pipeline runs, but it is not a dedicated catalog or governance tool; it lacks persistent cataloging, business glossary, and policy enforcement features. Option D is wrong because Azure Databricks is a unified analytics platform for data engineering and machine learning, but it does not include a built-in data catalog or lineage governance; it integrates with Purview for such purposes.

160
MCQeasy

Your organization wants to run SQL queries on data stored in Azure Blob Storage without moving the data. Which Azure service supports this?

A.Azure SQL Database
B.Azure Analysis Services
C.Azure Synapse Serverless SQL pool
D.Azure Data Lake Storage Gen2
AnswerC

Azure Synapse Serverless SQL pool is a serverless query service that lets you run T-SQL queries directly against files stored in Azure Blob Storage or Azure Data Lake Storage Gen2. Using OPENROWSET or external tables, you can query CSV, JSON, or Parquet files without loading them into a database first. It scales on demand and charges by the amount of data processed, making it the correct choice for running SQL directly on stored data.

Why this answer

Azure Synapse Serverless SQL pool allows you to query data directly from Azure Blob Storage using T-SQL without moving the data. It uses a distributed query engine that reads files in place, supporting formats like Parquet, CSV, and JSON, making it ideal for ad-hoc analytics on stored data.

Exam trap

The trap here is that candidates confuse Azure Data Lake Storage Gen2 (a storage service) with a query engine, or assume Azure SQL Database can query external blobs natively, when in fact only Synapse Serverless SQL pool provides serverless T-SQL querying over Blob Storage without data movement.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database is a fully managed relational database that requires data to be imported or loaded into its storage; it cannot query external Blob Storage directly without additional tools like PolyBase. Option B is wrong because Azure Analysis Services is an OLAP engine that requires data to be loaded into its in-memory tabular model from sources like SQL databases; it does not support direct querying of Blob Storage. Option D is wrong because Azure Data Lake Storage Gen2 is a storage service built on Blob Storage with a hierarchical namespace, but it is not a query engine; it stores data but does not provide SQL query capabilities itself.

161
MCQeasy

A company stores customer information in a table with columns CustomerID, Name, Address, and PhoneNumber. Every row has values for all these columns, and the data follows a fixed schema. Which type of data does this represent?

A.Unstructured data
B.Semi-structured data
C.Structured data
D.Streaming data
AnswerC

This option is correct because a table with defined columns and specified data types is the hallmark of structured data, which conforms to a fixed schema typical of relational database management systems. Each customer record will have the same set of attributes, and constraints enforce consistency, allowing efficient querying with SQL. Since the company stores customer information in such a normalized, column-based format, the data is structured.

Why this answer

Structured data conforms to a fixed schema where each row has the same columns and data types. The table with CustomerID, Name, Address, and PhoneNumber, where every row contains values for all columns, perfectly fits this definition. This is typical of relational database tables (e.g., in Azure SQL Database) where the schema is enforced at the table level.

Exam trap

The trap here is that candidates may confuse 'semi-structured' with 'structured' because both have some organization, but the key distinction is that structured data enforces a fixed schema for all rows, while semi-structured data allows schema flexibility (e.g., missing attributes or varying data types).

How to eliminate wrong answers

Option A is wrong because unstructured data has no predefined schema or organization (e.g., text files, images, videos), whereas the table has a fixed schema with defined columns. Option B is wrong because semi-structured data has some organizational properties (like tags or key-value pairs) but does not enforce a rigid schema across all records (e.g., JSON or XML files), unlike the fixed schema described. Option D is wrong because streaming data refers to data that is continuously generated and processed in real time (e.g., from IoT devices or event hubs), not to the static storage format of a table.

162
MCQeasy

A company stores employee records in a relational database table with columns EmployeeID, FirstName, LastName, Department. They also store employee handbooks as PDF files, and customer feedback as XML documents. Which of the following correctly classifies these data types?

A.Employee records: structured, Employee handbooks: semi-structured, Customer feedback: unstructured
B.Employee records: structured, Employee handbooks: unstructured, Customer feedback: semi-structured
C.Employee records: semi-structured, Employee handbooks: unstructured, Customer feedback: structured
D.Employee records: unstructured, Employee handbooks: semi-structured, Customer feedback: structured
AnswerB

Employee records stored in a relational database have a fixed, predefined schema with columns, data types, and constraints, making them structured data. Employee handbooks are PDF documents containing free-form prose and formatting without any uniform data model, so they are unstructured. Customer feedback in XML uses custom tags and nesting such as <response> and <sentiment> to describe the content, giving it a self-describing yet flexible schema that qualifies as semi-structured.

Why this answer

Employee records in a relational database table have a fixed schema (columns and data types), making them structured data. Employee handbooks stored as PDF files have no internal schema and are binary blobs, classifying them as unstructured data. Customer feedback stored as XML documents have a flexible, self-describing schema with tags, making them semi-structured data.

Exam trap

The trap here is confusing semi-structured data (which has some organizational properties like tags in XML) with unstructured data (which has no inherent structure), leading candidates to misclassify PDFs as semi-structured or XML as structured.

Why the other options are wrong

A

Employee handbooks as PDF files are unstructured data, not semi-structured, because they lack a predefined schema or tags. Customer feedback as XML documents is semi-structured, not unstructured, because XML has a hierarchical structure with tags.

C

Employee records in a relational database are structured (rows and columns), not semi-structured. Customer feedback as XML documents is semi-structured (tags with schema), not structured.

D

Employee records in a relational database are structured, not unstructured. Customer feedback as XML documents is semi-structured, not structured.

163
MCQeasy

A company wants to provide self-service analytics to business users who need to create reports and dashboards from data in Azure Synapse Analytics. Which tool should you recommend?

A.Power BI
B.Microsoft Excel
C.Azure Synapse Studio
D.Azure Data Studio
AnswerA

Power BI is a SaaS-based business analytics service specifically designed for self-service analytics. It provides a low-code environment with drag-and-drop visuals, natural language Q&A, and direct connectivity to a wide range of data sources. Power BI supports self-service data preparation via Power Query and enables governed sharing through workspaces, apps, and row-level security, making it the primary enterprise tool for business users to create and distribute interactive reports and dashboards independently.

Why this answer

Power BI is the correct tool because it is designed specifically for self-service analytics, enabling business users to create interactive reports and dashboards from data stored in Azure Synapse Analytics. Power BI connects directly to Synapse via its built-in connector, allowing users to build visualizations without writing code or relying on IT. This aligns with the requirement for business users to perform ad-hoc analysis and reporting.

Exam trap

The trap here is that candidates may confuse Azure Synapse Studio (a development tool) with a reporting tool, overlooking that Power BI is the designated Microsoft solution for self-service business intelligence and dashboards.

How to eliminate wrong answers

Option B is wrong because Microsoft Excel, while capable of basic data analysis and charting, lacks the native connectivity and interactive dashboard capabilities required for self-service analytics on Azure Synapse Analytics; it is not designed for real-time, large-scale data visualization. Option C is wrong because Azure Synapse Studio is a development and management interface for data engineers and data scientists to build pipelines, write SQL scripts, and manage Spark jobs, not a self-service reporting tool for business users. Option D is wrong because Azure Data Studio is a lightweight database management tool for querying and developing with SQL Server and Azure SQL, focused on developers and DBAs, not on creating business reports and dashboards.

164
MCQhard

Refer to the exhibit. The JSON shows an Azure Policy definition. Which effect should be used to proactively prevent creation of storage accounts without encryption?

A.AuditIfNotExists
B.Deny
C.Disabled
D.Append
AnswerB

The Deny effect actively intercepts resource creation or update requests and compares the request against the policy rule. If the condition matches, Azure returns a 403 Forbidden error, preventing the resource from being provisioned. This is the correct effect when the requirement is to block non-compliant resources, because it enforces the policy at request time and does not allow the deployment to continue.

Why this answer

The 'Deny' effect is correct because it proactively blocks the creation or update of a storage account that does not meet the encryption requirement, preventing non-compliant resources from being provisioned. This aligns with Azure Policy's ability to enforce compliance at resource creation time, rather than auditing or remediating after the fact.

Exam trap

The trap here is that candidates often confuse 'AuditIfNotExists' with a proactive block, not realizing it only logs non-compliance after the resource is created, whereas 'Deny' is the only effect that prevents creation entirely.

How to eliminate wrong answers

Option A (AuditIfNotExists) is wrong because it only logs a compliance warning when a storage account lacks encryption, but does not prevent its creation; it is a reactive audit effect. Option C (Disabled) is wrong because it turns off the policy entirely, allowing any storage account to be created without encryption. Option D (Append) is wrong because it adds additional fields to a resource during creation or update, but it cannot block a request; it is used to add tags or settings, not to deny non-compliant resources.

165
MCQmedium

You are designing a data solution for a retail company that needs to store transactional data (orders, payments) with strong consistency and support for complex joins. The data volume is moderate but expected to grow. Which Azure service should you choose?

A.Azure Cosmos DB
B.Azure Table Storage
C.Azure SQL Database
D.Azure Synapse Analytics
AnswerC

Azure SQL Database is a fully managed PaaS relational database built on the SQL Server engine, offering the full T-SQL language, complex joins, stored procedures, and ACID-compliant transactions. It delivers strong consistency by default, guaranteeing that every query sees the latest committed data, which is essential for retail operations like order management and inventory control. Its relational and transactional capabilities make it the natural choice for a transactional data solution that does not require the massive scale-out of analytics engines.

Why this answer

Azure SQL Database is a fully managed relational database that provides ACID transactions with strong consistency and supports complex joins via T-SQL. It is ideal for transactional workloads like orders and payments where data integrity and relational queries are critical, and it scales elastically to accommodate growing data volumes.

Exam trap

The trap here is that candidates confuse 'scalability' with 'suitability for transactional workloads' and choose Cosmos DB for its global distribution, overlooking that strong consistency and complex joins are not its core strengths.

How to eliminate wrong answers

Option A is wrong because Azure Cosmos DB is a NoSQL database that prioritizes horizontal scaling and low latency over strong consistency (defaulting to eventual consistency unless configured for higher cost) and does not natively support complex joins across multiple entities. Option B is wrong because Azure Table Storage is a key-value NoSQL store with no support for joins, foreign keys, or ACID transactions, making it unsuitable for relational transactional data. Option D is wrong because Azure Synapse Analytics is a big data analytics service designed for large-scale data warehousing and complex analytical queries, not for OLTP workloads requiring real-time transactional consistency and frequent small writes.

166
Multi-Selecthard

Which THREE of the following are benefits of using a columnar storage format like Parquet for analytical workloads?

Select 3 answers
A.Enforced referential integrity constraints
B.Reduced I/O when querying a subset of columns
C.Optimized for frequent row updates
D.Better compression ratios due to similar data types in columns
E.Support for predicate pushdown to skip irrelevant data
AnswersB, D, E

With a columnar layout, each column is stored contiguously, so a query that needs only a few of a wide table's many columns can read exactly those column segments from disk. This drastically lowers I/O traffic and memory consumption compared to row-oriented storage, where the whole row must be pulled even when only one attribute is needed. Because analytics queries tend to aggregate a small subset of columns over huge numbers of rows, this column pruning is a major performance advantage.

Why this answer

Option B is correct because columnar formats like Parquet store each column contiguously, so a query that references only a subset of columns reads only those column chunks rather than full rows, dramatically reducing I/O. Option D is correct because values within a single column share the same data type and tend to be similar, which allows efficient encoding schemes (e.g., dictionary, run-length, delta encoding) and yields much better compression ratios than row-oriented storage. Option E is correct because Parquet stores per-row-group and per-column-chunk statistics (min/max, null counts), enabling predicate pushdown so the engine can skip row groups and column chunks that cannot satisfy the filter.

Option A is not a benefit of Parquet: it is a file format, not a database, and it does not enforce referential integrity constraints such as foreign keys. Option C is also wrong because columnar layouts are optimized for bulk scans and aggregations, not frequent single-row updates; row-oriented stores handle point updates far better.

Exam trap

The trap here is that candidates confuse the benefits of columnar storage (optimized for read-heavy, aggregate queries) with row-oriented storage benefits (optimized for frequent updates and transactional integrity), leading them to incorrectly select Option C.

167
MCQeasy

A university registrar's office needs to store student enrollment records where every student has exactly one student ID, one full name, one declared major, and one enrollment date. The registrar requires that no enrollment record can exist without a valid student ID, and queries always filter by major. Which data model characteristic best describes this requirement?

A.A relational model with a defined schema and a primary key on student ID
B.A graph model where students are nodes connected by enrollment edges to major nodes
C.A key-value model where each student is stored as an opaque blob without defined attributes
D.A schema-on-read model where structure is applied only when data is queried
AnswerA

The registrar's data has a fixed set of attributes per student, a mandatory unique identifier, and predictable filtering by major. A relational model with a declared schema enforces column types and a primary key constraint, ensuring every row has a valid unique student ID. This directly matches the stated requirement that no record exists without a valid student ID.

Why this answer

The registrar's data has a fixed shape, a required unique identifier, and consistent filtering, which are hallmarks of a relational model. A declared schema enforces that every enrollment record carries a valid student ID and the expected attributes, while indexed columns support efficient filtering by major. The other models either defer structure or optimize for relationship traversal, neither of which matches these requirements.

Exam trap

The trap here is assuming that any modern data store is acceptable as long as it can hold records, when the mandatory unique identifier and fixed attributes specifically call for a relational schema with a primary key.

168
MCQeasy

A bank processes online fund transfers. Each transaction must ensure that either both the debit from the sender's account and the credit to the receiver's account occur, or if any part fails, the entire transaction is rolled back. Which ACID property does this guarantee?

A.Atomicity
B.Consistency
C.Isolation
D.Durability
AnswerA

Atomicity is the ACID property that treats the entire fund transfer—debit source account and credit destination account—as one indivisible unit. If either SQL statement succeeds while the other fails, the transaction manager issues a rollback, discarding the partial write and restoring the original balances. Without this all-or-nothing guarantee, a bank could lose money or create funds from nothing during a network or application failure.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. In this fund transfer scenario, atomicity guarantees that both the debit and credit operations either complete successfully together or are fully rolled back if any part fails, preventing partial updates that could leave the system in an inconsistent state.

Exam trap

Microsoft often tests atomicity by describing a multi-step operation and asking which ACID property ensures the 'all-or-nothing' behavior, and the trap here is that candidates confuse atomicity with consistency, thinking that consistency alone prevents partial updates, when in fact atomicity is the property that enforces the rollback of incomplete transactions.

Why the other options are wrong

B

The question describes the 'all-or-nothing' execution of a transaction, which is the definition of atomicity, not consistency. Consistency ensures that a transaction brings the database from one valid state to another, preserving integrity constraints.

C

Isolation ensures that concurrent transactions do not interfere with each other, but the question describes a requirement that a transaction must complete entirely or not at all, which is atomicity, not isolation.

D

Durability ensures that once a transaction is committed, its changes persist even after a system failure. The question describes a transaction that either fully completes or fully rolls back, which is the definition of atomicity, not durability.

169
MCQeasy

A company maintains a database of customer orders that are updated frequently. They also store aggregated monthly sales reports that are generated once and then only read. Which statement correctly distinguishes these two types of data workloads?

A.Transactional data is optimized for write operations, and analytical data is optimized for read operations.
B.Transactional data must always be stored in non-relational databases, and analytical data in relational databases.
C.Analytical data always requires real-time processing, whereas transactional data is batch-processed.
D.Transactional data is read-only and analytical data is frequently updated.
AnswerA

In OLTP systems, transactional data is workload-optimized for high-frequency write operations using row-based storage, normalization to minimize redundancy, and fast lookup indexes to support ACID-compliant record-level changes. In contrast, analytical data in OLAP systems is structured for complex read patterns, using columnar storage, denormalized schemas, and pre-aggregated measures to speed up queries across large volumes. This fundamental separation drives the design of data pipelines and database engines.

Why this answer

Transactional workloads (like the frequently updated customer orders) are optimized for write-heavy operations, ensuring ACID compliance and data integrity, while analytical workloads (like the read-only monthly sales reports) are optimized for read-heavy operations, often using columnar storage or pre-aggregated data to speed up queries. This distinction aligns with the core difference between OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing) systems in Azure, such as Azure SQL Database for transactional data and Azure Synapse Analytics for analytical data.

Exam trap

The trap here is that candidates confuse the typical characteristics of OLTP and OLAP, mistakenly thinking analytical data requires real-time processing or that transactional data is read-only, when in fact the opposite is true for each.

How to eliminate wrong answers

Option B is wrong because transactional data can be stored in both relational databases (e.g., Azure SQL Database) and non-relational databases (e.g., Azure Cosmos DB), and analytical data is often stored in relational or specialized columnar stores (e.g., Azure Synapse), not exclusively in one type. Option C is wrong because analytical data typically uses batch processing (e.g., nightly ETL jobs) rather than real-time processing, while transactional data requires real-time or near-real-time processing for individual write operations. Option D is wrong because transactional data is frequently updated (write-heavy), not read-only, and analytical data is typically read-only or updated in bulk during refresh cycles, not frequently updated.

170
MCQmedium

A logistics company collects sensor data from delivery trucks. Each sensor sends a JSON message that includes a fixed set of core fields (truck ID, timestamp) but also includes optional fields such as temperature, humidity, and engine diagnostics depending on the sensor type. The JSON structure varies between messages. How should this data be classified?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Relational data
AnswerB

Semi-structured data does not enforce a strict schema but uses tags, keys, or markers to give the data some organizational structure. In this scenario, the truck sensor data arrives as JSON, where each document has name-value pairs but the presence and combination of fields can vary, making it self-describing. These properties—some structure, but no rigid tabular schema—are exactly what define semi-structured data, so this is the correct classification.

Why this answer

The JSON messages contain a fixed set of core fields (truck ID, timestamp) but also include optional fields that vary per message, meaning the data has a flexible schema. This mixture of structured fields and variable attributes is the defining characteristic of semi-structured data, which does not require a rigid schema like a relational table but still has organizational properties (e.g., key-value pairs). In Azure, this type of data is commonly stored in services like Azure Cosmos DB or Azure Blob Storage with JSON format.

Exam trap

The trap here is that candidates often mistake any data with a consistent core set of fields as 'structured data', overlooking that the presence of optional, varying fields makes it semi-structured.

How to eliminate wrong answers

Option A is wrong because structured data requires a fixed, predefined schema (e.g., columns in a SQL table) with consistent fields across all records, but the JSON messages here have optional fields that vary. Option C is wrong because unstructured data has no predefined structure or schema (e.g., raw video files, plain text), whereas JSON has a defined key-value format. Option D is wrong because relational data specifically refers to data organized into tables with rows and columns linked by foreign keys, which is not the case for JSON messages with varying fields.

171
MCQhard

A global e-commerce platform uses a combination of relational and NoSQL databases. The order management system requires ACID transactions across multiple tables (Orders, OrderItems, Inventory). The product catalog uses a flexible schema to accommodate varying product attributes and is read-heavy. The session store requires low-latency key-value lookups with eventual consistency. Which of the following pairings of data stores best matches these requirements?

A.Order management: Azure Cosmos DB (NoSQL API) - Product catalog: Azure SQL Database - Session store: Azure Table Storage
B.Order management: Azure SQL Database - Product catalog: Azure Cosmos DB (NoSQL API) - Session store: Azure Cache for Redis
C.Order management: Azure Table Storage - Product catalog: Azure SQL Database - Session store: Azure Cosmos DB (NoSQL API)
D.Order management: Azure Cosmos DB (Table API) - Product catalog: Azure Cache for Redis - Session store: Azure SQL Database
AnswerB

Azure SQL Database provides strong ACID transactions for orders. Cosmos DB with NoSQL API offers flexible schema and low-latency reads for the product catalog. Azure Cache for Redis delivers sub-millisecond key-value lookups ideal for session state with eventual consistency.

Why this answer

Azure SQL Database provides full ACID transaction support across multiple tables, making it ideal for order management. Azure Cosmos DB (NoSQL API) offers a flexible schema and high read throughput for the product catalog. Azure Cache for Redis delivers sub-millisecond key-value lookups with eventual consistency, perfect for session storage.

Exam trap

The trap here is that candidates often assume NoSQL databases like Cosmos DB can handle ACID transactions across multiple tables, but in reality, Cosmos DB only guarantees atomicity within a single document or stored procedure, not across separate containers or tables.

How to eliminate wrong answers

Option A is wrong because Azure Cosmos DB (NoSQL API) does not support multi-table ACID transactions across separate containers; it only offers single-document atomicity. Option C is wrong because Azure Table Storage lacks ACID transaction support across multiple tables, and Azure SQL Database is not optimized for flexible-schema, read-heavy product catalogs. Option D is wrong because Azure Cosmos DB (Table API) also lacks multi-table ACID transactions, Azure Cache for Redis is not designed for persistent, flexible-schema catalog storage, and Azure SQL Database is not suitable for low-latency key-value session stores with eventual consistency.

172
MCQmedium

A data analyst needs to create interactive dashboards that display real-time data from Azure SQL Database. Which Microsoft tool should they use?

A.Microsoft Excel
B.Microsoft Copilot
C.Azure Data Studio
D.Power BI
AnswerD

Power BI is the correct answer because it is Microsoft's dedicated business analytics platform, with Power BI Desktop for modeling and the Power BI Service for publishing live dashboards. It supports real-time scenarios through DirectQuery, push datasets, streaming datasets, and automatic page refresh, integrating with services like Azure Stream Analytics and Event Hubs. These dashboards offer interactive cross-filtering, natural-language Q&A, and row-level security, making them suitable for operational monitoring.

Why this answer

Power BI is the correct tool because it is designed specifically for creating interactive dashboards and reports, and it supports real-time data connectivity to Azure SQL Database through DirectQuery or streaming datasets. This allows the data analyst to visualize live data without manual refreshes, meeting the requirement for real-time dashboards.

Exam trap

The trap here is that candidates may confuse Azure Data Studio (a database management tool) with a visualization tool, or assume Microsoft Excel is sufficient for real-time dashboards, when Power BI is the only option that natively supports interactive, real-time visualizations with Azure SQL Database.

How to eliminate wrong answers

Option A is wrong because Microsoft Excel is a spreadsheet application that can connect to Azure SQL Database but lacks native support for real-time interactive dashboards; it requires manual data refresh or Power Query, and its visualization capabilities are limited compared to dedicated BI tools. Option B is wrong because Microsoft Copilot is an AI assistant integrated into various Microsoft products (like Power BI or Azure) to help generate content or code, but it is not a standalone tool for creating dashboards or connecting to live data sources. Option C is wrong because Azure Data Studio is a cross-platform database management and query tool for Azure SQL Database, primarily used for writing T-SQL queries, managing databases, and developing scripts; it does not provide dashboard or real-time visualization capabilities.

173
MCQeasy

A data engineer is classifying data types collected from three sources for a data lake. Source 1: Customer records from a SQL database exported as CSV files with fixed columns (CustomerID, Name, Address). Source 2: Product reviews obtained via API as JSON documents with varying fields (e.g., some reviews include 'rating' and 'verified_purchase', others include 'comment'). Source 3: Scanned handwritten order forms saved as TIFF images. Which statement correctly categorizes these data by structure?

A.Source 1: Structured; Source 2: Semi-structured; Source 3: Unstructured
B.Source 1: Structured; Source 2: Structured; Source 3: Unstructured
C.Source 1: Semi-structured; Source 2: Structured; Source 3: Unstructured
D.Source 1: Structured; Source 2: Unstructured; Source 3: Semi-structured
AnswerA

This is correct. Source 1 is a CSV file with fixed columns and defined data types per column, satisfying the rigid schema that defines structured data. Source 2 is JSON with varying fields; it has key-value pairs and hierarchical organization but no fixed schema, so it is semi-structured. Source 3 is TIFF images, which are binary pixel arrays without embedded field names or relational structure, making them unstructured.

Why this answer

Source 1 (CSV from SQL) has a fixed schema with defined columns, making it structured data. Source 2 (JSON from API) allows varying fields per document, which is the hallmark of semi-structured data. Source 3 (TIFF images) contains no inherent schema or machine-readable structure, classifying it as unstructured data.

Exam trap

The trap here is that candidates confuse CSV files (which are structured when they have a fixed schema) with semi-structured data, or assume JSON is always structured because it has key-value pairs, ignoring that varying fields make it semi-structured.

How to eliminate wrong answers

Option B is wrong because it incorrectly classifies Source 2 (JSON with varying fields) as structured, ignoring that JSON documents with optional or varying fields do not enforce a rigid schema like a SQL table. Option C is wrong because it mislabels Source 1 (CSV with fixed columns) as semi-structured, whereas CSV with a consistent schema is structured, and it also mislabels Source 2 as structured instead of semi-structured. Option D is wrong because it classifies Source 2 (JSON) as unstructured, but JSON has key-value pairs and a defined format, making it semi-structured, and it mislabels Source 3 (TIFF images) as semi-structured, but images lack any inherent data structure.

174
MCQeasy

A company stores customer data in a SQL table with fixed columns (CustomerID, Name, Email, SignupDate). They also store product images as JPEG files and application logs as JSON documents. Which of the following correctly classifies each data type?

A.SQL table: structured, JPEG: unstructured, JSON: semi-structured
B.SQL table: structured, JPEG: semi-structured, JSON: unstructured
C.SQL table: semi-structured, JPEG: unstructured, JSON: structured
D.SQL table: unstructured, JPEG: structured, JSON: semi-structured
AnswerA

SQL tables enforce a rigid schema via predefined columns and data types, so every row must conform to that fixed structure, which is the definition of structured data. A JPEG file is a binary image format that stores encoded pixel data and metadata; it has no row/column organization or queryable schema, making it unstructured. JSON documents use key-value pairs and can have optional or nested fields, so they are self-describing and flexible, which is classic semi-structured data. Thus, all three classifications here are accurate.

Why this answer

A SQL table with fixed columns enforces a rigid schema, making it structured data. JPEG files are binary blobs with no internal schema, classifying them as unstructured. JSON documents use key-value pairs with flexible schemas, which is the definition of semi-structured data.

Exam trap

The trap here is confusing semi-structured data (like JSON) with unstructured data (like images), or assuming that any file format with a standard (like JPEG) is semi-structured, when in fact JPEG is purely binary and unstructured.

How to eliminate wrong answers

Option B is wrong because it incorrectly classifies JPEG as semi-structured (JPEG is binary and lacks schema) and JSON as unstructured (JSON has a flexible schema, making it semi-structured). Option C is wrong because it classifies the SQL table as semi-structured (SQL tables with fixed columns are structured, not semi-structured) and JSON as structured (JSON is semi-structured, not rigidly structured). Option D is wrong because it classifies the SQL table as unstructured (SQL tables are highly structured) and JPEG as structured (JPEG files have no schema).

175
MCQeasy

A hospital stores patient records. Each record includes a PatientID (integer), Name (text), DateOfBirth (date), and MRI scan images (binary files). Which classification best describes the MRI scan images?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Streaming data
AnswerC

Unstructured data has no predefined data model or schema and includes binary files like images, videos, and audio recordings. An MRI scan is exactly that—a binary blob—where the pixel data is not inherently organized into rows/columns, and meaning must be extracted via computer vision or human interpretation, making it a classic example of unstructured data.

Why this answer

MRI scan images are binary files that lack a predefined data model or schema, making them unstructured data. Unlike structured data (e.g., rows in a SQL table) or semi-structured data (e.g., JSON with tags), binary image files cannot be easily queried or organized using traditional relational database tools without additional processing.

Exam trap

Microsoft often tests the misconception that any data stored in a database (e.g., as a BLOB) is structured, but the classification depends on the data's internal format, not its storage location.

How to eliminate wrong answers

Option A is wrong because structured data requires a fixed schema with rows and columns, such as a PatientID integer in a relational table, which does not apply to binary image files. Option B is wrong because semi-structured data has organizational properties like tags or key-value pairs (e.g., JSON or XML), whereas MRI images are raw binary blobs without inherent metadata structure. Option D is wrong because streaming data refers to continuous data flows from sources like IoT sensors or log streams, not static binary files stored in a database.

176
MCQeasy

Your organization has a large dataset of customer transactions stored in Azure Blob Storage as CSV files. You need to run ad-hoc SQL queries on this data without loading it into a database. Which Azure service should you use?

A.Azure Data Factory
B.Azure SQL Database
C.Azure Synapse Serverless SQL pool
D.Azure Analysis Services
AnswerC

Azure Synapse Serverless SQL pool is the correct choice because it is a compute-on-demand query endpoint that runs T-SQL directly over files in Azure Blob Storage or Data Lake Storage Gen2. It uses a distributed query engine to read semi-structured and structured formats like Parquet, Delta, and CSV without any data movement or provisioning of dedicated resources. You can issue standard SELECT statements and let the service scale compute automatically, making it ideal for ad-hoc exploration of large datasets.

Why this answer

Azure Synapse Serverless SQL pool allows you to query data directly from files in Azure Blob Storage using standard T-SQL syntax, without needing to load or move the data into a database. It uses a pay-per-query model and supports CSV, Parquet, and JSON formats, making it ideal for ad-hoc analytical queries over large datasets stored in data lakes.

Exam trap

The trap here is that candidates often confuse Azure Data Factory (a data movement/orchestration tool) with a query engine, or assume Azure SQL Database can query external files via PolyBase (which requires loading into external tables, not direct ad-hoc querying).

How to eliminate wrong answers

Option A is wrong because Azure Data Factory is an ETL and data orchestration service, not a SQL query engine; it cannot run ad-hoc SQL queries directly against files. Option B is wrong because Azure SQL Database requires data to be loaded into its relational storage before querying, which contradicts the requirement to query without loading. Option D is wrong because Azure Analysis Services is an OLAP engine for semantic models and multidimensional analysis, not designed for direct SQL queries over raw CSV files in Blob Storage.

177
Multi-Selecthard

A regional utility is designing a data platform. Engineers will capture continuous readings from smart meters that arrive as a stream and must be analyzed within seconds for anomaly detection. Separately, billing analysts need to run complex queries joining customer contracts with historical usage, and those queries must always return consistent results even if several billing tables are updated in the same operation. Which two data processing approaches are most appropriate for these requirements? (Choose two.)

Select 2 answers
A.A relational transactional workload for the billing joins, ensuring consistent results across multi-table updates
B.A schema-on-read data lake for the billing joins to defer structure until query time
C.A key-value cache for the billing joins to speed up repeated lookups of contract rows
D.Stream processing for the smart meter readings to detect anomalies within seconds
E.Batch processing for the smart meter readings to aggregate them once per day
AnswersA, D

The billing analysts need complex joins and guaranteed consistency when several tables are updated together. A relational transactional workload provides ACID semantics, so a multi-table update either fully commits or fully rolls back, and queries see a consistent snapshot. This directly satisfies the requirement that results remain consistent during concurrent updates, which non-transactional stores do not guarantee by default.

Why this answer

The two requirements have distinct characteristics: continuous meter readings needing seconds-level analysis map to stream processing, while billing joins across multiple tables with guaranteed consistency map to a relational transactional workload. Stream processing minimizes latency, and ACID transactions ensure that multi-table updates either commit fully or roll back, keeping query results consistent. The remaining approaches either add latency, defer structure, or lack transactional guarantees.

Exam trap

The trap here is treating batch processing as adequate for near real-time meter analysis, or assuming a data lake or cache can substitute for the transactional consistency the billing joins require.

178
MCQmedium

You need to choose a data storage solution for a global e-commerce platform that requires single-digit millisecond read and write latencies across multiple regions. The data is semi-structured and includes user profiles and product catalogs. Which Azure service should you use?

A.Azure Redis Cache
B.Azure Cosmos DB
C.Azure Table Storage
D.Azure SQL Database
AnswerB

Azure Cosmos DB is the correct choice because it natively provides turnkey global distribution across Azure regions with multi-region write support, enabling low-latency reads and writes anywhere in the world. It offers single-digit millisecond latency at the 99th percentile, multiple well-defined consistency levels, and SLAs for availability, throughput, and consistency. Its schema-agnostic NoSQL model supports semi-structured data like product catalogs and user profiles, making it purpose-built for globally distributed e-commerce applications.

Why this answer

Azure Cosmos DB is the correct choice because it is a globally distributed, multi-model database service that guarantees single-digit millisecond read and write latencies at the 99th percentile, regardless of the number of regions. It supports semi-structured data natively through its document (JSON) API, making it ideal for user profiles and product catalogs that require low-latency access across multiple geographic regions.

Exam trap

The trap here is that candidates often confuse Azure Redis Cache's in-memory speed with the need for persistent, globally distributed storage, overlooking that Redis Cache is not designed for durable, multi-region data storage with consistency guarantees.

How to eliminate wrong answers

Option A is wrong because Azure Redis Cache is an in-memory data store designed primarily for caching and session state, not for persistent, globally distributed storage of semi-structured data with multi-region write capabilities. Option C is wrong because Azure Table Storage is a NoSQL key-value store that offers only eventual consistency by default and does not provide guaranteed single-digit millisecond latencies across multiple regions or native global distribution. Option D is wrong because Azure SQL Database is a relational database that requires a fixed schema, making it less suitable for semi-structured data, and its global replication options (e.g., failover groups) do not guarantee single-digit millisecond latencies for writes across multiple regions.

179
MCQeasy

You need to query data stored in Azure Cosmos DB for NoSQL using SQL-like syntax. Which feature should you use?

A.Use Azure SQL Database elastic query
B.Use Power BI DirectQuery
C.Use the SQL API built into Cosmos DB
D.Use Azure Synapse Analytics Serverless SQL pool
AnswerC

Cosmos DB's SQL API is the native query language for the NoSQL API, allowing you to query JSON documents with a SQL-like syntax that supports SELECT, WHERE, JOIN, and functions such as VALUE, ARRAY_CONTAINS, and ST_* spatial functions. Queries are executed directly against the Cosmos DB engine, and the service automatically uses its index to efficiently evaluate predicates. This option is correct because it is the built-in query interface specifically designed for data stored in a Cosmos DB NoSQL account.

Why this answer

Azure Cosmos DB for NoSQL provides a native SQL API that allows you to query JSON documents using SQL-like syntax. This API translates standard SQL queries into Cosmos DB's internal query engine, enabling you to SELECT, filter, and project data directly from containers without any additional services or connectors.

Exam trap

The trap here is that candidates may confuse Azure Synapse Analytics Serverless SQL pool (which can also query Cosmos DB) with the native Cosmos DB SQL API, but the question specifically asks for the feature built into Cosmos DB for NoSQL, not an external query service.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database elastic query is used to query data across multiple Azure SQL databases, not for querying Cosmos DB NoSQL data. Option B is wrong because Power BI DirectQuery is a connection mode for real-time analytics from Power BI, not a feature for directly querying Cosmos DB with SQL-like syntax. Option D is wrong because Azure Synapse Analytics Serverless SQL pool can query Cosmos DB via the Synapse Link feature, but it is not the built-in SQL API of Cosmos DB itself and requires additional configuration.

180
MCQhard

Refer to the exhibit. You are configuring a custom role in Azure RBAC for a team that needs to read and list blobs in a storage account. The JSON snippet shows the permissions assigned. After assigning this role to a user, they report they cannot see the storage account in the Azure portal. What is the most likely cause?

A.The dataActions should be actions instead of dataActions.
B.The role does not include read permission on the storage account resource.
C.The role is not assigned at the subscription scope.
D.The user needs the Contributor role to view the storage account.
AnswerB

The role definition is missing `Microsoft.Storage/storageAccounts/read`, which is the control-plane action required to see the storage account in the Azure portal and to list it with tools like ARM API or PowerShell. Even if `dataActions` grant blob read/write, the user cannot discover or view the storage account resource itself, resulting in an authorization failure when attempting to display the account. This missing read permission is the direct cause of the user's inability to see the storage account.

Why this answer

The custom role definition only includes dataActions for reading and listing blobs, but lacks any actions that grant read permission on the storage account resource itself. In Azure RBAC, viewing a storage account in the Azure portal requires the 'Microsoft.Storage/storageAccounts/read' action at the resource scope. Without this, the user cannot see the storage account in the portal, even though they can interact with blobs via APIs or tools that bypass the portal.

Exam trap

The trap here is that candidates often assume dataActions alone are sufficient for portal visibility, but the portal requires control-plane read permissions to render the storage account in the resource list.

How to eliminate wrong answers

Option A is wrong because dataActions are the correct property for granting permissions to data operations (like reading blobs), and moving them to actions would not grant the necessary control-plane read on the storage account resource. Option C is wrong because the role can be assigned at the resource group or storage account scope; the issue is the missing control-plane read action, not the assignment scope. Option D is wrong because the Contributor role is not required; a custom role with the 'Microsoft.Storage/storageAccounts/read' action would suffice, and the user does not need full Contributor permissions.

181
MCQeasy

Your company is implementing a data governance solution using Microsoft Purview. The data catalog must automatically scan and classify sensitive data in Azure SQL Database, Azure Synapse Analytics, and Amazon S3. The company uses Microsoft Entra ID for identity management. You need to ensure that the Purview managed identity can authenticate to these data sources. Which authentication method should you configure for the Amazon S3 connection?

A.AWS IAM authentication
B.SQL Authentication
C.Windows Authentication
D.Microsoft Entra ID authentication
AnswerA

Amazon S3 only accepts requests signed with AWS credentials, specifically AWS IAM identities such as a user or role. To let Microsoft Purview scan an S3 bucket, you must create an IAM role in the AWS account, configure its trust policy to allow the Purview service principal (via an external ID) to assume the role, and attach policies that grant read access to the bucket. The Purview managed identity then uses that IAM role to authenticate, so AWS IAM authentication is the only valid method for this connection.

Why this answer

Amazon S3 is an external cloud storage service that does not support Microsoft Entra ID, SQL Authentication, or Windows Authentication. To authenticate Purview's managed identity to S3, you must configure AWS IAM authentication, which allows Purview to assume an IAM role with permissions to read the S3 bucket metadata and data for scanning and classification.

Exam trap

The trap here is that candidates may assume Microsoft Entra ID authentication works for all data sources because the question mentions Entra ID for identity management, but Amazon S3 is an AWS service that requires AWS IAM, not Microsoft's identity system.

How to eliminate wrong answers

Option B (SQL Authentication) is wrong because SQL Authentication is used for Azure SQL Database and Azure Synapse Analytics, not for Amazon S3, which is a non-relational object store. Option C (Windows Authentication) is wrong because Windows Authentication is only applicable to on-premises SQL Server or Azure services integrated with Active Directory, not to AWS S3. Option D (Microsoft Entra ID authentication) is wrong because Amazon S3 does not support Microsoft Entra ID; it uses AWS IAM for identity and access management.

182
MCQeasy

A bank's online transaction processing system records every withdrawal and deposit in a database. The bank also runs a monthly report that summarizes total transactions per customer. Which statement correctly identifies these two workloads?

A.Both workloads are OLTP.
B.The transaction recording is OLTP, and the monthly report is OLAP.
C.The transaction recording is OLAP, and the monthly report is OLTP.
D.Both workloads are OLAP.
AnswerB

This classification is correct because the two workloads have fundamentally different processing requirements. Recording each online transaction is an OLTP operation: it involves high-frequency, low-latency writes and reads for individual events, with strict ACID guarantees to ensure data integrity. Generating the monthly report, by contrast, is an OLAP operation: it queries large volumes of accumulated transaction data, applies aggregations, and supports business intelligence analysis, often within a data warehouse environment optimized for complex read-only queries.

Why this answer

The transaction recording system is an OLTP (Online Transaction Processing) workload because it handles individual, real-time transactions (withdrawals and deposits) with high concurrency and low latency. The monthly report summarizing total transactions per customer is an OLAP (Online Analytical Processing) workload because it aggregates historical data for reporting and analysis, typically using batch processing or columnar storage. Option B correctly pairs each workload with its appropriate processing type.

Exam trap

The trap here is that candidates confuse the purpose of the workload—thinking that any database operation is OLTP—and fail to recognize that analytical reporting, even if run on the same database, is an OLAP workload due to its aggregate nature and different performance requirements.

How to eliminate wrong answers

Option A is wrong because it incorrectly classifies both workloads as OLTP, ignoring that the monthly report involves aggregation and analysis, not real-time transaction processing. Option C is wrong because it reverses the roles, claiming transaction recording is OLAP (which is for analytical queries on large datasets) and the monthly report is OLTP (which is for transactional operations). Option D is wrong because it classifies both as OLAP, failing to recognize that the transaction recording system requires immediate, atomic writes characteristic of OLTP.

183
MCQeasy

A retail company stores product inventory data in a SQL database, customer reviews as JSON files, and product images as JPEG files. Which of the following accurately describes the types of data stored?

A.A. Only structured data is stored because the SQL database contains the primary records.
B.B. Only semi-structured and unstructured data is stored because JSON and images are not purely structured.
C.C. Only unstructured data is stored because images have no predefined schema.
D.D. Structured, semi-structured, and unstructured data are stored.
AnswerD

Correct. The SQL database contains structured data (rows and columns), JSON files contain semi-structured data (key-value pairs with some schema flexibility), and JPEG files contain unstructured data (no inherent structure). All three categories are represented.

Why this answer

The company stores product inventory data in a SQL database, which enforces a fixed schema (tables, rows, columns) and is therefore structured data. Customer reviews stored as JSON files are semi-structured because they have a flexible schema (key-value pairs) but no rigid table structure. Product images as JPEG files are unstructured because they lack any predefined schema or organization.

Option D correctly identifies that all three data types are present.

Exam trap

The trap here is that candidates often assume 'data type' is determined by the storage medium (e.g., SQL = structured only) rather than recognizing that a single system can store multiple data types, leading them to overlook the presence of semi-structured and unstructured data.

Why the other options are wrong

A

The company stores JSON files (semi-structured) and JPEG images (unstructured) in addition to the SQL database (structured), so option A incorrectly claims only structured data is stored.

B

The company stores structured data (SQL database), semi-structured data (JSON files), and unstructured data (JPEG images). Option B incorrectly claims only semi-structured and unstructured data are stored, ignoring the structured SQL data.

C

The company stores structured data (SQL database), semi-structured data (JSON files), and unstructured data (JPEG images). Option C incorrectly claims only unstructured data is stored, ignoring the SQL and JSON data.

184
MCQeasy

A social media platform stores user posts as JSON documents. Each document contains text content, image URLs, timestamps, and user tags. The structure is consistent for most fields, but users can add custom key-value pairs. How should this data be classified?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Relational data
AnswerB

Semi-structured data exhibits organizational properties—such as key-value pairs, tags, and hierarchical nesting—but does not require a uniform, predefined schema across all instances. JSON documents fit this category perfectly because they use explicit keys to define their internal structure, yet the presence and type of those keys can vary from one document to another. This schema-flexibility, combined with inherent self-description, distinguishes semi-structured data from both rigid structured data and completely structureless unstructured data.

Why this answer

The data is semi-structured because it has a consistent schema for most fields (text, image URLs, timestamps, user tags) but allows custom key-value pairs, which introduces schema flexibility. JSON documents inherently support this mix of fixed and variable attributes, fitting the semi-structured data classification. This aligns with Azure Cosmos DB's handling of JSON items, where each document can have a different set of properties.

Exam trap

Microsoft often tests the misconception that any data with a consistent field is structured, but the presence of optional custom key-value pairs makes it semi-structured, not structured.

How to eliminate wrong answers

Option A is wrong because structured data requires a rigid schema with fixed columns and data types (e.g., a SQL table), but JSON documents with optional custom fields violate that strict schema. Option C is wrong because unstructured data has no predefined structure or organization (e.g., raw text files, images, videos), whereas JSON documents have a defined format with keys and values. Option D is wrong because relational data specifically refers to data organized into tables with rows and columns linked by foreign keys, which JSON documents do not enforce.

185
MCQeasy

A company stores customer names and addresses in a relational table, product descriptions as JSON files, and product images as JPEG files. Which of the following correctly classifies these data types from most structured to least structured?

A.Structured (customer table), Semi-structured (JSON), Unstructured (JPEG)
B.Structured (customer table), Unstructured (JSON), Semi-structured (JPEG)
C.Semi-structured (customer table), Structured (JSON), Unstructured (JPEG)
D.Unstructured (customer table), Structured (JSON), Semi-structured (JPEG)
AnswerA

A relational customer table has a fixed schema, so every row shares the same defined columns and data types — that is structured data. JSON documents are self-describing: they contain key-value pairs that can vary from document to document, which classifies them as semi-structured. JPEG images store raw pixel and compression metadata without any queryable semantic fields, so they are unstructured. Therefore, this mapping accurately applies the three data categories to the three storage types.

Why this answer

A is correct because structured data (customer table) has a fixed schema with rows and columns, semi-structured data (JSON) uses tags or key-value pairs without a rigid schema, and unstructured data (JPEG) has no predefined structure. The question tests the standard classification hierarchy from most to least structured.

Exam trap

The trap here is confusing semi-structured (JSON) with unstructured (JPEG) because both lack a rigid schema, but JSON has a logical structure (key-value pairs) while JPEG is raw binary data.

Why the other options are wrong

B

JSON files are semi-structured because they have a schema (key-value pairs) but allow flexibility, not unstructured. JPEG files are unstructured binary data without a schema. This option incorrectly classifies JSON as unstructured and JPEG as semi-structured.

C

A relational table is structured, not semi-structured. JSON files are semi-structured, not structured. JPEG files are unstructured, not semi-structured.

D

This option incorrectly classifies JSON as structured and JPEG as semi-structured. JSON is semi-structured (self-describing schema), while JPEG is unstructured (binary data without schema).

186
Multi-Selecteasy

Which TWO are advantages of using a NoSQL database like Azure Cosmos DB over a relational database like Azure SQL Database?

Select 2 answers
A.Support for complex joins
B.ACID transactions across multiple records
C.Flexible schema design
D.Horizontal scaling across multiple regions
E.Enforced referential integrity
AnswersC, D

NoSQL databases use a flexible, schema-less data model where each document or item can have its own set of attributes, and fields can be added, removed, or changed without running ALTER TABLE migrations or coordinating schema changes across the team. This flexibility supports evolving data shapes, rapid development cycles, and storing heterogeneous records in the same container, which is especially useful for IoT telemetry, user profiles, and content feeds. Because the database does not enforce a uniform structure, application code governs shape and validation.

Why this answer

Option C (Flexible schema design) is correct because Azure Cosmos DB is schema-agnostic: documents in the same container can have different structures, and new fields can be added without migrations or ALTER TABLE operations, which suits rapidly evolving or semi-structured data. Option D (Horizontal scaling across multiple regions) is correct because Cosmos DB is natively partitioned and distributes data across partitions and Azure regions, supporting multi-region writes and turnkey global distribution with low latency, whereas Azure SQL Database scales primarily vertically and requires additional configuration (e.g., geo-replication, sharding) for comparable horizontal/global scale. Option A (Support for complex joins) is not an advantage of NoSQL here, since Cosmos DB has limited join support (joins are intra-document, not cross-container like SQL joins).

Option B (ACID transactions across multiple records) is not unique to NoSQL, as Azure SQL Database provides full ACID transactions across tables, and Cosmos DB's transactional scope is limited to a logical partition. Option E (Enforced referential integrity) is a relational strength, not a NoSQL advantage, since Cosmos DB does not enforce foreign key constraints.

Exam trap

The trap here is that candidates confuse the ACID support in NoSQL databases (which is limited to single-document operations) with the full multi-record ACID transactions of relational databases, leading them to incorrectly select Option B.

187
Multi-Selecteasy

Which TWO are benefits of using a NoSQL database like Azure Cosmos DB? (Choose two.)

Select 2 answers
A.Enforcing referential integrity
B.Support for complex joins
C.Horizontal scalability
D.Schema flexibility
E.Full ACID transactions across multiple documents
AnswersC, D

Horizontal scalability is a core design goal of NoSQL databases, which distribute data and query load across many commodity servers using sharding and consistent hashing. Unlike a single relational server that must be upgraded vertically (scale-up), NoSQL systems can add more nodes dynamically to handle increased traffic and data volume (scale-out). Azure Cosmos DB, for example, automatically splits partitions based on partition keys and can elastically scale throughput and storage across regions. This makes horizontal scalability a primary advantage for global, high-velocity applications.

Why this answer

Option C (Horizontal scalability) is correct because Azure Cosmos DB is designed to scale out by partitioning data across many physical nodes, allowing throughput and storage to grow elastically without vertical hardware upgrades. Option D (Schema flexibility) is correct because NoSQL databases like Cosmos DB store JSON documents whose properties can vary per item, so the data model can evolve without migrations or a fixed table schema. Option A is incorrect because enforcing referential integrity is a hallmark of relational databases with foreign keys, which Cosmos DB does not enforce across containers.

Option B is incorrect because complex multi-entity joins are a relational strength; Cosmos DB favors denormalization and embedded documents rather than SQL-style joins. Option E is incorrect as a general NoSQL benefit because full multi-document ACID transactions are not universal to NoSQL, and Cosmos DB only offers them within a single logical partition, so it is not a defining benefit of the category.

Exam trap

Microsoft often tests the misconception that NoSQL databases support full ACID transactions across multiple documents like relational databases, but in Cosmos DB, multi-document transactions are limited to the same logical partition and are not fully ACID across partitions.

188
MCQmedium

A retail company uploads daily sales data from all stores to Azure Blob Storage at midnight. They then run a series of data transformations using Azure Data Factory on a scheduled trigger at 2:00 AM. This processing pattern is best described as:

A.Batch processing
B.Stream processing
C.Transactional processing
D.Interactive query
AnswerA

This scenario perfectly fits batch processing because the daily sales data from all stores is accumulated over a fixed period and then processed as a single, scheduled bulk job. Batch jobs such as nightly ETL pipelines in Azure Data Factory or scheduled Spark jobs in Azure Databricks ingest a finite, predefined dataset and transform it in one go, making it ideal for periodic reporting and analytics.

Why this answer

This pattern is batch processing because the sales data is collected in Azure Blob Storage over a period (daily) and then processed as a group at a scheduled time (2:00 AM) using Azure Data Factory. Batch processing is designed for high-volume, periodic data loads where latency is acceptable, and the transformation job runs on a complete dataset rather than individual records.

Exam trap

The trap here is that candidates confuse scheduled data movement with stream processing, but the key differentiator is the time delay and the processing of a complete dataset in one job rather than individual events as they occur.

How to eliminate wrong answers

Option B is wrong because stream processing handles data in real-time or near-real-time as it arrives (e.g., using Azure Stream Analytics or Event Hubs), not on a scheduled trigger with a 2-hour delay. Option C is wrong because transactional processing (OLTP) focuses on individual, atomic transactions with ACID guarantees (e.g., Azure SQL Database), not bulk transformations of daily files. Option D is wrong because interactive query implies ad-hoc, user-driven exploration (e.g., using Azure Synapse Serverless SQL or Azure Data Explorer), not a scheduled, automated transformation pipeline.

189
Matchingmedium

Match each Azure Cosmos DB API to its supported data model.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Document (JSON)

Document (BSON)

Column-family

Graph

Key-value

Why these pairings

Azure Cosmos DB APIs map to specific data models: SQL and MongoDB for document, Cassandra for wide-column, Gremlin for graph, and Table for key-value. Common confusions involve misassigning Gremlin and Table.

190
Multi-Selectmedium

Which THREE Azure services can be used to move data from on-premises SQL Server to Azure?

Select 3 answers
A.Azure Database Migration Service
B.Azure Data Factory
C.Azure Analysis Services
D.Azure Synapse Serverless SQL pool
E.Azure Data Box
AnswersA, B, E

Azure Database Migration Service is a purpose-built tool for migrating entire database schema and data to Azure SQL Database, Azure SQL Managed Instance, or SQL Server on Azure Virtual Machines. It performs pre-migration assessments, generates automation scripts, and supports online migrations with minimal downtime via continuous replication. Unlike generic ETL tools, it is optimized for database-specific concerns like constraints, indexes, and transaction consistency.

Why this answer

Azure Database Migration Service (A) is correct because it is purpose-built to migrate on-premises SQL Server databases to Azure targets such as Azure SQL Database, Azure SQL Managed Instance, and SQL Server on Azure VMs, using the Data Migration Assistant for assessment and a migration project with an online or offline mode. Azure Data Factory (B) is correct because its copy activity and self-hosted integration runtime can connect to an on-premises SQL Server and move data to Azure destinations like Azure SQL Database, Blob Storage, or Azure Synapse, supporting scheduled and incremental pipelines. Azure Data Box (E) is correct because it is a physical data-transfer appliance used to ship large volumes of data (including SQL Server database backups such as BACPAC or .bak files) to Azure when network transfer is impractical.

Azure Analysis Services (C) is not a data-movement service; it hosts semantic tabular models for analytics and consumes data rather than migrating it. Azure Synapse Serverless SQL pool (D) is a query engine over data in the lake and does not provide a migration mechanism from on-premises SQL Server.

Exam trap

The trap here is that candidates may confuse Azure Analysis Services (a BI modeling tool) or Azure Synapse Serverless SQL pool (a query-only service) with data migration tools, when only services that actively move or copy data from on-premises to Azure are correct.

191
MCQmedium

A media company catalogues video interviews stored in Azure Blob Storage. Each file is an MP4 with no embedded metadata describing speaker, topic, or duration. Producers want to search the catalogue later by those attributes. What should the company do to make the videos searchable?

A.Convert each MP4 into a relational table with one row per video.
B.Load the MP4 files directly into a columnstore table and query the binary column.
C.Extract descriptive metadata into a semi-structured or structured index alongside the videos.
D.Store the videos as-is and rely on file names to provide the search attributes.
AnswerC

Because the videos themselves are unstructured binary content, the practical approach is to keep them in Blob Storage and extract searchable attributes such as speaker, topic, and duration into a companion index. That index can be a relational table or a document store, enabling efficient queries. This is the standard pattern for cataloguing unstructured assets while preserving the original files.

Why this answer

The videos are unstructured content, so the searchable attributes must be captured separately as structured or semi-structured metadata that points back to each file. Converting video to relational rows, trusting file names, or querying binary columns does not produce queryable speaker, topic, and duration fields. A metadata index alongside Blob Storage is the workable design.

Exam trap

The trap here is treating unstructured media as if it could be made searchable by changing its storage container, when the real requirement is extracting queryable metadata about the media.

192
MCQmedium

A news organization stores article drafts in Azure Blob Storage. Each draft is a JSON document whose fields vary depending on the article type, and some fields are nested objects. Editors need to retrieve individual fields without loading whole documents. Which data type classification best describes these drafts?

A.Unstructured data
B.Semi-structured data
C.Relational data
D.Structured data
AnswerB

Semi-structured data has some organizational structure, such as keys and nested hierarchies, but no rigid schema shared by all records. The JSON drafts match this exactly: fields differ by article type and nesting exists, yet the data is still machine-parseable by key. Azure services such as Azure Blob Storage combined with Azure Synapse Analytics or Azure Cosmos DB handle this format well.

Why this answer

Semi-structured data sits between structured and unstructured: it carries tags, keys, or hierarchies that allow field-level access but does not enforce one schema across all records. The variable, nested JSON drafts match that definition precisely. Structured data demands uniform columns, unstructured data offers no queryable field model, and relational data describes a storage model rather than this data's structural class.

Exam trap

The trap here is assuming that because the drafts are stored as files in Blob Storage they must be unstructured, when the presence of queryable JSON keys makes them semi-structured.

193
MCQeasy

A company stores customer data in a relational table with fixed columns: CustomerID (integer), FirstName (string), LastName (string), Email (string). They also store product images as JPEG files in Azure Blob Storage, and customer feedback as JSON documents where each document may contain fields such as rating, comment, and optional metadata. Which of the following correctly classifies these data types?

A.Relational table – structured, JPEG – unstructured, JSON – semi-structured
B.Relational table – structured, JPEG – semi-structured, JSON – unstructured
C.Relational table – semi-structured, JPEG – unstructured, JSON – structured
D.Relational table – unstructured, JPEG – structured, JSON – semi-structured
AnswerA

Relational tables enforce a fixed schema of columns, data types, and constraints, which is the defining trait of structured data. JPEG files are binary image encodings with no queryable schema or row/column organization, so they are unstructured. JSON documents use named fields and nested objects but allow fields to vary across documents, making them semi-structured rather than fully rigid or schema-free.

Why this answer

A relational table with fixed columns and data types (CustomerID, FirstName, LastName, Email) stores structured data with a rigid schema. JPEG files in Azure Blob Storage are binary blobs with no internal structure that a database can interpret, making them unstructured. JSON documents with optional fields (like rating, comment, metadata) have a flexible schema that can vary per document, which is the definition of semi-structured data.

Exam trap

The trap here is that candidates often confuse 'semi-structured' with 'unstructured' because JSON looks like free-form text, but its key-value structure with optional fields makes it semi-structured, not unstructured.

Why the other options are wrong

B

JPEG files are binary data without inherent structure, making them unstructured, not semi-structured. JSON documents have a flexible schema (key-value pairs), classifying them as semi-structured, not unstructured.

C

Option C incorrectly classifies the relational table as semi-structured (it is structured with fixed columns) and JSON as structured (JSON is semi-structured as it allows flexible fields). JPEG images are correctly classified as unstructured.

D

JPEG files are binary data without inherent structure, making them unstructured, not structured. JSON documents have a flexible schema with optional fields, classifying them as semi-structured, not unstructured.

194
MCQhard

Your company has a data lake in Azure Data Lake Storage Gen2 containing terabytes of parquet files. Data scientists need to explore and prepare this data using Python and SQL. They want to use a collaborative notebook environment that integrates with Git for version control. The solution should automatically scale compute resources based on workload demand and minimize management overhead. Which Azure service should you use?

A.Azure Databricks
B.Azure Machine Learning studio
C.Azure Data Studio
D.Azure Synapse Studio
AnswerA

Azure Databricks provides a unified analytics platform with Apache Spark, offering collaborative notebooks, full Git integration, and auto-scaling clusters. It supports both Python and SQL natively, making it ideal for interactive data exploration and large-scale transformation of data stored in Azure Data Lake Storage Gen2. Its managed infrastructure and notebook environment allow data engineers to prepare and process data efficiently, which aligns perfectly with the requirement.

Why this answer

Azure Databricks is the correct choice because it provides a collaborative notebook environment that natively supports Python and SQL, integrates with Git for version control, and offers auto-scaling clusters that dynamically adjust compute resources based on workload demand. It is purpose-built for big data analytics and data preparation on data lakes, minimizing management overhead through its serverless and managed Spark infrastructure.

Exam trap

The trap here is that candidates often confuse Azure Synapse Studio with Databricks because both offer notebook experiences and Spark support, but Synapse Studio is optimized for enterprise data warehousing and ETL pipelines, not the ad-hoc, collaborative data exploration and auto-scaling flexibility that Databricks provides for data science teams.

How to eliminate wrong answers

Option B is wrong because Azure Machine Learning studio is primarily designed for building, training, and deploying machine learning models, not for ad-hoc data exploration and preparation using Python and SQL in a collaborative notebook environment with Git integration. Option C is wrong because Azure Data Studio is a desktop tool for querying SQL Server and Azure SQL databases, not a cloud-based collaborative notebook environment that auto-scales compute resources. Option D is wrong because Azure Synapse Studio is a unified analytics workspace that does support notebooks and Git, but it is more focused on enterprise data warehousing and large-scale analytics pipelines, and its auto-scaling capabilities are tied to dedicated SQL pools or serverless SQL endpoints, not the flexible, on-demand Spark clusters that Databricks provides for data exploration and preparation.

195
Multi-Selecteasy

Which TWO of the following are valid Azure data storage services for storing unstructured data?

Select 2 answers
A.Azure SQL Database
B.Azure Table Storage
C.Azure Blob Storage
D.Azure Data Lake Storage Gen2
E.Azure Cosmos DB
AnswersC, D

Azure Blob Storage is Microsoft's highly scalable object storage service for unstructured data, including text, binary files, images, videos, and application backups. It organizes data into containers with flat namespaces and supports tiered storage (hot, cool, cold, archive) to optimize cost and access patterns. This makes it a core building block for storing and serving unstructured content at massive scale, which is why it is a correct answer.

Why this answer

Azure Blob Storage (C) is correct because it is Microsoft's core object storage service designed specifically for massive amounts of unstructured data such as text, binary, images, video, and backups, accessible via REST/HTTPS and the Blob SDK. Azure Data Lake Storage Gen2 (D) is correct because it is built on Blob Storage with a hierarchical namespace enabled, purpose-built for storing and analyzing unstructured and semi-structured big data (e.g., logs, JSON, Parquet) at scale. Azure SQL Database (A) is a relational PaaS engine that stores structured data in tables with a fixed schema, so it is not intended for unstructured data.

Azure Table Storage (B) is a NoSQL key-attribute store for structured, schema-less tabular data, not for unstructured blobs. Azure Cosmos DB (E) is a globally distributed multi-model database for structured/semi-structured JSON documents, key-value, graph, and column-family data, not a general unstructured object store.

Exam trap

The trap here is that candidates often confuse semi-structured data (e.g., Table Storage, Cosmos DB) with unstructured data, or incorrectly assume that any NoSQL service qualifies as unstructured storage, when in fact only object storage services like Blob Storage and Data Lake Storage Gen2 are designed for raw, schema-less binary data.

196
Drag & Dropmedium

Drag and drop the steps to create an Azure SQL Database in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Creating an Azure SQL Database involves selecting the service, configuring the server and database settings, choosing the appropriate tier, and finally deploying.

197
MCQmedium

A retail company uses Azure SQL Database to store customer transactions. They need to analyze sales trends over time. Which Azure service should they use to build interactive dashboards and reports without moving data out of Azure?

A.Azure Analysis Services
B.Azure Synapse Analytics
C.Microsoft Purview
D.Power BI
AnswerD

Power BI is a business analytics service that natively connects to Azure SQL Database through built-in connectors, enabling you to create interactive dashboards and reports directly from your operational data. It supports DirectQuery and import modes, providing live or cached data access for rich, dynamic visualizations that can be refreshed on demand. With features like row-level security and natural language queries, it is the ideal tool for lightweight, user-facing dashboards at the retail company, offering immediate insights without an intermediate data transformation layer.

Why this answer

Power BI is the correct choice because it is a business analytics service that can connect directly to Azure SQL Database to build interactive dashboards and reports without requiring data movement. It supports DirectQuery mode, which queries the source database in real-time, enabling live analysis of sales trends while data remains in Azure.

Exam trap

The trap here is that candidates may confuse Azure Synapse Analytics as a reporting tool, but it is primarily a data warehousing and analytics platform that requires data movement or transformation, whereas Power BI is the native Azure service for direct, no-movement interactive reporting.

How to eliminate wrong answers

Option A is wrong because Azure Analysis Services is an analytical engine that requires data to be loaded into its in-memory tabular model, which involves moving or processing data outside the source database. Option B is wrong because Azure Synapse Analytics is a big data and analytics platform that typically requires data to be ingested into its dedicated SQL pool or data lake, not suitable for direct, no-movement reporting on a transactional Azure SQL Database. Option C is wrong because Microsoft Purview is a data governance and catalog service, not a reporting or dashboard tool; it cannot build interactive visualizations.

198
MCQeasy

A logistics company ingests GPS coordinates from delivery trucks in real-time to update a live tracking dashboard. They also run a nightly job to aggregate the day's deliveries into a report stored in Azure SQL Database. Which statement correctly describes the data processing types used for these two workloads?

A.GPS ingestion is stream processing; nightly aggregation is batch processing.
B.GPS ingestion is batch processing; nightly aggregation is stream processing.
C.Both workloads are examples of stream processing.
D.Both workloads are examples of batch processing.
AnswerA

GPS ingestion is correctly classified as stream processing because telematics devices emit position records as a continuous, unbounded sequence of events that must be captured and processed with low latency to support live tracking. In contrast, the nightly aggregation job is batch processing because it operates on a bounded, finite set of data already collected, executing on a fixed schedule to compute summaries like daily mileage or route efficiency.

Why this answer

The real-time ingestion of GPS coordinates from delivery trucks is a classic stream processing workload, where data is processed continuously as it arrives with low latency. The nightly aggregation of daily deliveries into a report stored in Azure SQL Database is a batch processing workload, where data is processed in bulk at scheduled intervals. Azure Stream Analytics is commonly used for the streaming ingestion, while Azure SQL Database or Azure Synapse Analytics can handle the batch aggregation.

Exam trap

The trap here is that candidates confuse the terms 'stream processing' and 'batch processing' by focusing on the data source (GPS is continuous) versus the processing schedule (nightly is periodic), rather than the fundamental processing paradigm of continuous vs. bulk data handling.

Why the other options are wrong

B

GPS ingestion processes data in real-time as it arrives, which is stream processing, not batch. Nightly aggregation processes a fixed set of data at scheduled intervals, which is batch processing, not stream.

C

The nightly aggregation job processes a full day's data at once, which is batch processing, not stream processing. Stream processing handles data in real-time as it arrives, which applies only to the GPS ingestion.

D

GPS ingestion is real-time (stream processing), and the nightly aggregation is batch processing. Option D incorrectly classifies both as batch processing, ignoring the real-time nature of GPS data ingestion.

199
MCQeasy

A data scientist needs to analyze historical sales data to identify yearly trends. They run SQL queries that aggregate millions of rows. No new data is being added during analysis. Which type of data processing workload does this represent?

A.Online Transaction Processing (OLTP)
B.Online Analytical Processing (OLAP)
C.Batch processing
D.Stream processing
AnswerB

This is the correct classification because OLAP is designed specifically for multidimensional, historical analysis—slicing, dicing, drilling down, and rolling up across dimensions such as time, region, and product. Data is typically stored in columnar, denormalized schemas (star or snowflake) that make full-table scans and aggregations fast, even on billions of rows. A data scientist analyzing historical sales trends matches this analytical workload precisely.

Why this answer

This workload is Online Analytical Processing (OLAP) because the data scientist is running complex SQL queries that aggregate millions of rows of historical sales data to identify yearly trends. OLAP is designed for read-intensive, analytical queries that summarize large volumes of static data, which matches the scenario where no new data is being added during analysis.

Exam trap

Microsoft often tests the distinction between OLTP and OLAP by presenting a scenario with 'SQL queries' and 'aggregation,' leading candidates to mistakenly think any SQL query implies OLTP, when in fact the analytical nature and static dataset clearly indicate OLAP.

How to eliminate wrong answers

Option A is wrong because Online Transaction Processing (OLTP) is optimized for high-volume, low-latency insert/update/delete operations (e.g., order entry), not for aggregating millions of rows for trend analysis. Option C is wrong because batch processing typically involves processing large volumes of data in scheduled, automated jobs (e.g., nightly ETL), whereas this scenario is an interactive analytical query run by a data scientist, not a scheduled batch job. Option D is wrong because stream processing handles continuous, real-time data flows (e.g., sensor data or clickstreams) with low latency, but the question explicitly states no new data is being added during analysis, making it a static dataset.

200
MCQmedium

You are reviewing a Data Factory mapping data flow definition. What is the primary purpose of this data flow?

A.Pivot the data by OrderID
B.Filter rows where OrderID is null
C.Remove duplicate OrderIDs by counting them
D.Merge two data sources
AnswerC

This is correct because the Aggregate transformation in the data flow groups rows by OrderID and applies a count expression, such as count(OrderID), to calculate occurrences per OrderID. Rows with a count greater than 1 are duplicates, allowing the definition to identify (and subsequently remove) duplicate OrderIDs. This matches the requirement to remove duplicate OrderIDs by counting them.

Why this answer

The mapping data flow includes an Aggregate transformation configured with a group by on OrderID and a count aggregation. This removes duplicate OrderIDs by collapsing multiple rows with the same OrderID into a single row and counting the occurrences, which is the primary purpose of the data flow.

Exam trap

The trap here is that candidates may confuse the Aggregate transformation's count with a Filter or Pivot operation, not recognizing that grouping by a column and counting inherently removes duplicates by collapsing rows.

How to eliminate wrong answers

Option A is wrong because pivoting would require a Pivot transformation to rotate data from rows to columns, not an Aggregate with count. Option B is wrong because filtering null OrderIDs would use a Filter transformation, not an Aggregate. Option D is wrong because merging two data sources would require a Join or Union transformation, not a single Aggregate on one stream.

201
MCQhard

You are designing a data solution for a healthcare application that requires ACID transactions for patient records and needs to run complex analytics queries. Which combination of Azure services should you recommend?

A.Azure Cosmos DB for transactions, Power BI for analytics
B.Azure Database for MySQL for transactions, Azure Analysis Services for analytics
C.Azure Blob Storage for transactions, Azure Machine Learning for analytics
D.Azure SQL Database for transactions, Azure Synapse Analytics for analytics
AnswerD

Azure SQL Database provides full ACID transactions with row-level security and compatibility, making it a robust operational store for healthcare applications. Azure Synapse Analytics offers a large-scale analytics platform with dedicated SQL pools, massively parallel processing, and integrated data warehousing, capable of running complex queries across relational and data lake sources. Together they deliver an integrated, high-performance OLTP/OLAP solution that supports transactional integrity and advanced analytics.

Why this answer

Azure SQL Database provides full ACID (Atomicity, Consistency, Isolation, Durability) transaction support, which is essential for healthcare patient records where data integrity is critical. Azure Synapse Analytics is a cloud-based analytics service that can run complex queries against large datasets, including those from Azure SQL Database, using its massively parallel processing (MPP) architecture. This combination allows transactional and analytical workloads to coexist without compromising performance or consistency.

Exam trap

The trap here is that candidates often confuse 'analytics' with visualization tools like Power BI or OLAP cubes, failing to recognize that complex analytics queries require a dedicated MPP engine like Synapse, not just a reporting layer.

How to eliminate wrong answers

Option A is wrong because Azure Cosmos DB is a NoSQL database that does not guarantee full ACID transactions across multiple documents (it offers single-document atomicity only), and Power BI is a visualization tool, not an analytics engine capable of running complex queries directly. Option B is wrong because Azure Analysis Services is an OLAP engine for pre-aggregated data, not designed for running complex ad-hoc analytics queries on raw transactional data; it requires a separate data warehouse or model. Option C is wrong because Azure Blob Storage is an object store with no transaction support (it lacks ACID properties), and Azure Machine Learning is for building predictive models, not for running complex analytics queries on transactional data.

202
MCQeasy

A retail company receives real-time data from IoT sensors in its warehouses. Each sensor sends a JSON payload containing a device ID, timestamp, and temperature reading. A data engineer needs to classify this data for storage planning. Which data type best describes the JSON payload?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Relational data
AnswerB

JSON is a classic example of semi-structured data. It uses key-value pairs and can have nested structures, but it does not enforce a rigid schema. This flexibility is ideal for IoT payloads where fields may vary over time.

Why this answer

The JSON payload is considered semi-structured data because it has organizational properties (key-value pairs, nested structure) that provide a schema, but it does not conform to a rigid tabular schema like a relational database. JSON allows flexible fields and varying data types, which is characteristic of semi-structured data.

Exam trap

The trap here is that candidates confuse 'structured' with 'has a format' — JSON has a clear structure, but it is not rigidly tabular, so it falls under semi-structured, not structured data.

Why the other options are wrong

A

JSON payloads have a flexible schema with tags and key-value pairs, which is characteristic of semi-structured data, not the rigid schema of structured data.

C

JSON payloads have a schema (keys like device ID, timestamp, temperature) but are not rigidly tabular, so they are semi-structured, not unstructured. Unstructured data lacks a predefined data model or schema (e.g., raw text, images).

D

Relational data implies a strict schema of tables with rows and columns, but the JSON payload has a flexible schema with nested fields, making it semi-structured, not relational.

203
MCQhard

Refer to the exhibit. You are analyzing a Kusto query in Azure Data Explorer. The query is intended to return the top 5 event types that caused the most property damage in Florida. However, the query returns an error. What is the most likely cause?

A.The where clause must specify a numeric value.
B.The summarize operator cannot use sum aggregation.
C.The table or column names are incorrect.
D.The top operator requires an order by clause.
AnswerC

A Kusto query that uses structurally valid operators will fail with a semantic recognition error when it references a table or column that does not exist in the current database or schema. Since the syntax of where, summarize, and top is correct, the most plausible cause is a misspelled table name or an incorrect column name (e.g., a missing quotation mark or wrong casing). Verify the exact schema from the Azure Data Explorer or Log Analytics schema pane to resolve the issue.

Why this answer

The query returns an error because the table or column names referenced in the query do not match the actual schema in Azure Data Explorer. In Kusto Query Language (KQL), if a table name like 'Events' or a column like 'PropertyDamage' does not exist in the database, the query will fail with a 'semantic error' indicating an unknown table or column. This is the most likely cause given that the query logic (where, summarize, top) is syntactically correct.

Exam trap

The trap here is that candidates may assume the error is due to a syntax or operator misuse (like top needing order by or sum being invalid), when in reality the error stems from a simple schema mismatch—a common oversight when reading queries without verifying the underlying data model.

How to eliminate wrong answers

Option A is wrong because the where clause in KQL can filter on string columns using equality or pattern matching (e.g., 'State == "Florida"'), not only numeric values. Option B is wrong because the summarize operator fully supports the sum() aggregation function for numeric columns, which is a standard and valid operation. Option D is wrong because the top operator in KQL does not require an explicit order by clause; it internally sorts by the specified column(s) in descending order and returns the top N rows.

204
Multi-Selectmedium

Which TWO Azure services can be used to perform data transformation in a data pipeline? (Choose two.)

Select 2 answers
A.Azure Blob Storage
B.Azure SQL Database
C.Azure Databricks
D.Azure Event Hubs
E.Azure Data Factory
AnswersC, E

Azure Databricks is a managed Apache Spark platform that provides interactive workspaces and clusters for large-scale data processing. It lets you transform data using Python, Scala, SQL, or R, and supports both batch and streaming workloads. This makes it a primary Azure service for complex ETL and ELT transformations, especially when combining structured and unstructured data across data lakes.

Why this answer

Azure Databricks (C) is correct because it is an Apache Spark-based analytics platform whose notebooks and jobs can run transformations such as filtering, aggregating, joining, and reshaping data at scale within a pipeline. Azure Data Factory (E) is correct because its Mapping Data Flows and Data Flow activities provide a visual, code-free way to transform data (derived columns, joins, aggregations, pivots) as part of a pipeline, and it can also orchestrate transformation jobs on compute such as Databricks or HDInsight. Azure Blob Storage (A) is only a storage service for holding data, not a transformation engine.

Azure SQL Database (B) is a relational database that can run T-SQL queries, but it is not the designated data-transformation service in a pipeline context here. Azure Event Hubs (D) is a big-data streaming ingestion and event-brokering service, not a transformation service.

Exam trap

The trap here is that candidates often confuse storage or ingestion services (like Blob Storage or Event Hubs) with compute services that actually execute transformation logic, leading them to select options that only move or store data.

205
MCQeasy

A company is evaluating Azure database services for two different workloads. Workload A processes high-volume, low-latency transactions such as order entry and payment processing, where each transaction updates a few rows. Workload B involves running complex aggregations on terabytes of historical sales data to generate monthly business intelligence reports. Which Azure service is best suited for each workload?

A.A. Workload A: Azure SQL Database; Workload B: Azure Cosmos DB
B.B. Workload A: Azure Cosmos DB; Workload B: Azure Synapse Analytics
C.C. Workload A: Azure Synapse Analytics; Workload B: Azure SQL Database
D.D. Workload A: Azure Cosmos DB; Workload B: Azure Cosmos DB
AnswerB

Azure Cosmos DB is a multi-model NoSQL database engineered for single-digit-millisecond write/read latency and instant global distribution, making it the right fit for Workload A's transaction-intensive, low-latency requirements (OLTP). Azure Synapse Analytics is a massively parallel processing (MPP) data warehouse with columnar storage and distributed query execution, built specifically for petabyte-scale analytical scans and complex aggregations (OLAP). This pairing cleanly separates transactional and analytical concerns, so each service is applied where its architecture provides the most benefit.

Why this answer

Workload A requires a low-latency, high-throughput transactional database capable of handling many small, row-level updates. Azure Cosmos DB is a NoSQL database designed for single-digit millisecond latency and horizontal scaling, making it ideal for order entry and payment processing. Workload B involves complex aggregations on terabytes of historical data, which is best handled by Azure Synapse Analytics, a distributed analytics service that uses massively parallel processing (MPP) to run large-scale queries efficiently.

Exam trap

The trap here is that candidates often confuse Azure SQL Database as the default for all transactional workloads, overlooking that Cosmos DB is specifically designed for ultra-low-latency, globally distributed transactions, and they may also assume Azure Synapse Analytics is only for data warehousing without recognizing its role in complex aggregations on historical data.

Why the other options are wrong

A

Workload B requires complex aggregations on terabytes of historical data, which is best suited for Azure Synapse Analytics (a distributed data warehouse), not Azure Cosmos DB (a NoSQL transactional database).

C

Azure Synapse Analytics is designed for large-scale data warehousing and analytics, not for high-volume, low-latency transactional workloads. Azure SQL Database is optimized for OLTP but lacks the massive parallel processing needed for complex aggregations on terabytes of data.

D

Azure Cosmos DB is a NoSQL database optimized for low-latency transactions, but it is not designed for complex aggregations on terabytes of historical data. Workload B requires a dedicated analytics service like Azure Synapse Analytics, not Cosmos DB.

206
Multi-Selectmedium

Which TWO Azure services can be used to perform real-time stream processing?

Select 2 answers
A.Azure Data Factory
B.Azure Stream Analytics
C.Azure Analysis Services
D.Azure Databricks Structured Streaming
E.Azure Synapse Pipelines
AnswersB, D

Azure Stream Analytics is a serverless, purpose-built real-time stream processing engine that executes SQL-like continuous queries over data arriving from sources such as Event Hubs, IoT Hub, or Blob storage. It provides sub-second to single-digit-second latency by applying temporal windows (tumbling, hopping, sliding) and supports outputs to Power BI, SQL Database, and other targets, making it the most direct Azure service for real-time analytics.

Why this answer

Azure Stream Analytics (B) is a fully managed, real-time analytics service designed to ingest continuous streams from sources like Event Hubs, IoT Hub, or Blob Storage and run SQL-like queries with temporal windows (Tumbling, Hopping, Sliding, Session) to produce low-latency output to sinks such as Power BI, Cosmos DB, or SQL Database, making it a canonical real-time stream processing engine. Azure Databricks Structured Streaming (D) is built on Apache Spark and treats a live data stream as an unbounded table, supporting exactly-once semantics, event-time processing with watermarking, and continuous or micro-batch execution against sources like Kafka, Event Hubs, and Delta Lake, so it also performs real-time stream processing. Azure Data Factory (A) is a batch-oriented data integration and orchestration service using pipelines and activities, not a streaming engine.

Azure Analysis Services (C) provides semantic tabular modeling and OLAP query capabilities over pre-processed data rather than processing live streams. Azure Synapse Pipelines (E) is the orchestration component of Synapse Analytics, used for scheduled batch ETL/ELT workflows, not real-time stream processing.

Exam trap

The trap here is that candidates often confuse Azure Data Factory and Azure Synapse Pipelines with stream processing because they can handle data movement, but they are fundamentally batch-oriented orchestration tools, not real-time stream processors.

207
MCQmedium

A company stores IoT sensor data in Azure Blob Storage. Data scientists need to query the data using SQL without moving it to another store. Which Azure service should they use?

A.Azure Synapse Serverless SQL pool
B.Azure Analysis Services
C.Azure Data Lake Storage
D.Azure SQL Database
AnswerA

Azure Synapse Serverless SQL pool is the correct choice because it is a serverless query engine that uses T-SQL to query IoT sensor data directly from Azure Blob Storage in place, without requiring any data movement or ingestion. It leverages OPENROWSET or external tables to read files such as CSV, JSON, or Parquet, and is ideal for ad-hoc or interactive analysis over raw data. You only pay for the amount of data processed, making it a cost-effective, on-demand option for exploring Blob Storage data.

Why this answer

Azure Synapse Serverless SQL pool allows you to query data directly from Azure Blob Storage using T-SQL without moving or copying the data. It uses a distributed query engine that reads files (Parquet, CSV, JSON) in place, making it ideal for ad-hoc analytics over IoT sensor data stored in Blob Storage.

Exam trap

The trap here is that candidates confuse Azure Data Lake Storage (a storage layer) with a query service, or assume Azure SQL Database can query external files directly, when in fact only Synapse Serverless SQL pool (or PolyBase in dedicated SQL pool) provides native SQL-on-file capabilities for Blob Storage.

How to eliminate wrong answers

Option B is wrong because Azure Analysis Services is an OLAP engine that requires data to be loaded into a tabular model, not a service for querying raw files in Blob Storage with SQL. Option C is wrong because Azure Data Lake Storage is a storage service (not a query service) that provides hierarchical namespace and POSIX-like access, but it does not natively support SQL querying without an additional compute layer like Synapse. Option D is wrong because Azure SQL Database is a fully managed relational database that requires data to be imported or ingested into tables, not a service for querying files in Blob Storage directly.

208
MCQmedium

Your company uses Azure SQL Database and needs to ensure that transactions are durable even if the database instance fails. Which feature should you enable?

A.Active geo-replication
B.Zone-redundant storage
C.Transparent Data Encryption
D.Auto-failover groups
AnswerB

Zone-redundant storage for Azure SQL Database ensures high availability and durability by synchronously replicating data across three Azure availability zones within a region. This architecture guarantees that transactions are durable and data remains accessible even if a single database instance or an entire availability zone fails. The data is protected against zonal outages, satisfying the requirement for durable transactions despite instance failure.

Why this answer

Zone-redundant storage (ZRS) replicates your Azure SQL Database transaction logs and data files synchronously across three Azure availability zones within the same region. This ensures that even if an entire zone fails, committed transactions are preserved and the database remains available, providing durability at the storage layer without requiring a separate database replica.

Exam trap

The trap here is that candidates often confuse durability (ensuring committed data survives failures) with high availability or disaster recovery features like geo-replication or failover groups, which address availability rather than the storage-level persistence of transactions.

How to eliminate wrong answers

Option A is wrong because active geo-replication creates asynchronous replicas in a paired region for disaster recovery, but it does not guarantee durability of transactions within the primary region during a zone-level failure. Option C is wrong because Transparent Data Encryption (TDE) only encrypts data at rest and in transit, providing security but no durability or availability guarantees. Option D is wrong because auto-failover groups manage failover between primary and secondary databases, but they rely on the underlying storage durability; they do not themselves make transactions durable against a storage failure.

209
MCQeasy

A retail company stores data about their products in different formats. Product ID and price are stored in a relational database table. Product descriptions are stored as plain text files. Product images are stored as JPEG files. Which of the following best categorizes these data types in order?

A.Structured, semi-structured, unstructured
B.Structured, unstructured, unstructured
C.Structured, semi-structured, structured
D.Semi-structured, structured, unstructured
AnswerB

The relational table is the structured component because it imposes a fixed schema of named columns such as product ID and price, each with defined data types and relational constraints. The product descriptions are plain natural-language text files with no predefined fields or data types, so they are unstructured. The product images are binary files (for example, JPEG or PNG) whose content is pixel data with no rows, columns, or queryable schema, making them unstructured as well. Hence the correct classification is structured, unstructured, unstructured.

Why this answer

Product ID and price in a relational database table are structured because they follow a fixed schema with rows and columns. Product descriptions as plain text files have no predefined structure, making them unstructured. Product images as JPEG files are also unstructured because they consist of binary data without a schema.

Thus, the order is structured, unstructured, unstructured, which matches option B.

Exam trap

The trap here is confusing unstructured data (e.g., plain text files) with semi-structured data (e.g., JSON or XML), leading candidates to misclassify product descriptions as semi-structured when they lack any metadata or tags.

Why the other options are wrong

A

Product descriptions as plain text files and product images as JPEG files are both unstructured data, not semi-structured. Semi-structured data has some organizational properties (e.g., JSON, XML), which plain text and JPEG lack.

C

Product descriptions as plain text files are unstructured, not semi-structured. Semi-structured data has tags or markers (e.g., JSON, XML), which plain text lacks.

D

Product descriptions as plain text files are unstructured, not semi-structured. Semi-structured data has tags or markers (e.g., JSON, XML), which plain text lacks.

210
MCQhard

A company stores customer data in a relational table with fixed columns: CustomerID (integer), FirstName (string), LastName (string), Email (string). They also store product images as JPEG files, and customer feedback as JSON documents that may contain varying fields such as rating, comment, and optional metadata. Which of the following correctly orders these data types from most structured to least structured?

A.JSON documents, relational table, JPEG files
B.Relational table, JSON documents, JPEG files
C.JPEG files, JSON documents, relational table
D.Relational table, JPEG files, JSON documents
AnswerB

A relational table is the most structured here because it enforces a fixed schema: each row (customer record) must conform to predefined columns, data types, and constraints such as primary keys or NOT NULL, enabling rigorous integrity and efficient querying. JSON documents are semi-structured because they consist of key-value pairs and nested objects that can vary across documents—there is no required uniform schema, but the names and types of fields provide intrinsic structure. JPEG files are unstructured binary data; their pixel and compression bytes contain no self-describing fields that a database query engine can interpret as discrete attributes. Thus the descending order fixed-schema table → flexible-schema JSON → schema-less binary JPEG is correct.

Why this answer

The relational table is the most structured because it enforces a fixed schema with predefined columns and data types (e.g., CustomerID integer, FirstName string). JSON documents are semi-structured: they have a flexible schema where fields like rating and comment can vary per document, but they still provide key-value organization. JPEG files are unstructured binary data with no internal schema or queryable structure, making them the least structured.

Exam trap

The trap here is that candidates often confuse semi-structured data (JSON) with unstructured data (JPEG), mistakenly thinking JSON is unstructured because its fields can vary, when in fact it retains a key-value structure that makes it semi-structured.

Why the other options are wrong

A

JSON documents are semi-structured (varying fields), not more structured than a relational table (fixed schema). JPEG files are unstructured binary data, so they are the least structured.

C

JPEG files are unstructured binary data, JSON documents are semi-structured (schema-on-read), and relational tables are structured (fixed schema). Ordering from most to least structured should be relational table, JSON documents, JPEG files, not JPEG first.

211
MCQeasy

An organization uses Azure SQL Database and needs to maintain a copy of the database for read-only reporting without affecting the production workload. Which feature should they use?

A.Azure SQL Database read replica
B.Automated backups
C.Active geo-replication
D.Failover groups
AnswerC

Active geo-replication is the correct answer because it provisions a readable secondary database in a different Azure region, with continuous asynchronous data movement from the primary. The secondary can be queried with its own connection string, making it ideal for read-only reporting and analytics while offloading the primary's workload. Because the secondary is a fully accessible online database, it satisfies the requirement for a maintainable read-only copy.

Why this answer

Active geo-replication (Option C) creates a readable secondary replica of an Azure SQL Database in a different Azure region. This secondary replica is continuously updated asynchronously from the primary and can be used for read-only query workloads, offloading reporting traffic without impacting the production database's performance or transaction throughput.

Exam trap

The trap here is that candidates confuse 'read replica' (which exists in Azure SQL Database Hyperscale and Azure SQL Managed Instance) with the standard Azure SQL Database feature, or they mistakenly think failover groups themselves provide the readable copy, when in fact it is Active geo-replication that creates the readable secondary.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database does not support read replicas in the same way as Azure SQL Database for Hyperscale or Azure SQL Managed Instance; the term 'read replica' is not a standard feature for a single Azure SQL Database (non-Hyperscale) — instead, Active geo-replication provides the read-only secondary. Option B is wrong because automated backups are point-in-time restore copies stored in blob storage, not live, readable replicas; they cannot serve ongoing read-only queries without first being restored, which would create a separate database. Option D is wrong because failover groups manage geo-replication and failover orchestration for a group of databases, but the read-only secondary is provided by the underlying Active geo-replication, not by the failover group itself; failover groups are a management layer, not the feature that creates the readable copy.

212
Multi-Selectmedium

Which TWO Azure services are primarily used for data integration and orchestration?

Select 2 answers
A.Azure Logic Apps
B.Azure Synapse Analytics
C.Azure Stream Analytics
D.Azure Analysis Services
E.Azure Data Factory
AnswersA, E

Azure Logic Apps is a cloud service designed for workflow automation and data integration across disparate systems. It provides prebuilt connectors for hundreds of services and enables you to orchestrate data flows using triggers and actions without writing code. This makes it a first-class tool for integrating data between applications and services, which is why it is a correct answer for this question.

Why this answer

Azure Logic Apps is correct because it is a serverless workflow service that integrates apps, data, and services using connectors and triggers, making it ideal for data integration and orchestration. Azure Data Factory is correct because it is a cloud-based ETL and data integration service that orchestrates and automates data movement and transformation across various data stores.

Exam trap

The trap here is that candidates often confuse Azure Synapse Analytics (a data warehouse) or Azure Stream Analytics (a real-time processing service) with data integration tools, because they involve data movement or processing, but they are not primarily designed for orchestration and integration.

213
MCQhard

You are reviewing an ARM template for an Azure Storage account. The container named 'data' is created with public access set to 'None'. What is the primary benefit of this configuration?

A.It encrypts data at rest.
B.It restricts access to authorized users only.
C.It enables soft delete for the container.
D.It prevents accidental deletion of blobs.
AnswerB

When you set a container's public access level to `None`, you disable anonymous access, meaning any request must present valid credentials such as an account key, shared access signature (SAS), or an Azure AD identity with appropriate RBAC role assignments. Authorized users are then the only parties who can read or list blobs in that container. This is the direct function of the `publicAccess` property in the ARM template.

Why this answer

Setting public access to 'None' on a container means that anonymous read requests are not allowed. The primary benefit is that only requests with proper authorization (e.g., using an account key, a shared access signature, or Azure AD credentials) can access the blobs within that container. This directly restricts access to authorized users only, which is the core security advantage.

Exam trap

The trap here is that candidates often confuse 'public access set to None' with broader security features like encryption or deletion protection, when in fact it only controls anonymous read access and does not affect data encryption, soft delete, or accidental deletion safeguards.

How to eliminate wrong answers

Option A is wrong because encryption at rest is enabled by default at the storage account level via Azure Storage Service Encryption (SSE), regardless of the container's public access setting. Option C is wrong because soft delete is a separate data protection feature that must be explicitly enabled on the storage account or container, and it is not a benefit of setting public access to 'None'. Option D is wrong because preventing accidental deletion of blobs is achieved through features like soft delete or immutable storage, not by disabling anonymous access.

214
MCQhard

Your company is designing a data solution for IoT sensor data that arrives in high volume and must be stored for long-term analytics. The data is append-only and rarely updated. You need to choose a storage solution that balances cost and query performance for historical analysis. Which Azure data store should you recommend?

A.Azure Cosmos DB
B.Azure Table Storage
C.Azure SQL Database
D.Azure Data Lake Storage Gen2
AnswerD

Azure Data Lake Storage Gen2 combines the massive, low-cost capacity of Azure Blob Storage with a hierarchical namespace and POSIX-style access control lists, making it ideal for storing raw and curated IoT data at petabyte scale. Append-only files are written sequentially without update-in-place costs, and because storage is decoupled from compute you can run serverless analytics or spin up Spark clusters only when needed. It integrates natively with Azure Synapse Analytics, Azure Databricks, and HDInsight, enabling schema-on-read processing over Parquet or Delta Lake files. For a historical IoT sensor archive, this is the correct foundation because it makes analytics practical and economical.

Why this answer

Azure Data Lake Storage Gen2 is the correct choice because it combines a hierarchical namespace with Azure Blob Storage, offering scalable, cost-effective storage for high-volume append-only data like IoT sensor logs. It supports both structured and unstructured data, integrates with analytics engines like Azure Synapse and Spark, and provides POSIX-compliant access control, making it ideal for long-term historical analysis at low cost.

Exam trap

The trap here is that candidates often confuse Azure Cosmos DB's low-latency capabilities with suitability for high-volume historical analytics, overlooking its cost model and lack of native file-system semantics for append-only workloads.

How to eliminate wrong answers

Option A is wrong because Azure Cosmos DB is a NoSQL database optimized for low-latency, transactional workloads with global distribution, not for cost-effective long-term storage of append-only IoT data; its per-request pricing and high throughput costs make it unsuitable for high-volume historical analytics. Option B is wrong because Azure Table Storage is a key-value store designed for simple, semi-structured data with limited query capabilities (only on partition and row keys), lacking the hierarchical namespace, file-level security, and native analytics integration needed for complex historical queries on IoT data. Option C is wrong because Azure SQL Database is a relational database with ACID transactions and indexing, which is over-provisioned and expensive for append-only IoT data that rarely updates; its per-core pricing and storage limits make it cost-prohibitive for high-volume, long-term storage compared to object storage.

215
MCQeasy

A hospital collects patient vital signs every minute using IoT sensors. Each reading contains a timestamp, patient ID, heart rate, blood pressure, and temperature. This data is ingested continuously for real-time monitoring and alerting. Which type of data workload does this scenario best represent?

A.A. Transactional workload
B.B. Analytical workload
C.C. Batch processing
D.D. Real-time streaming
AnswerD

Real-time streaming workloads handle continuous data flows that are processed as soon as they arrive, often with low latency requirements. The hospital's IoT sensors generate data every minute that must be acted on promptly, making this a clear example of a real-time streaming workload.

Why this answer

This scenario requires continuous ingestion of sensor data with immediate processing for real-time monitoring and alerting. Real-time streaming workloads, such as those handled by Azure Stream Analytics or Apache Kafka, are designed to process unbounded data streams with low latency, making option D correct.

Exam trap

The trap here is confusing 'real-time streaming' with 'analytical workload' because both involve data processing, but analytical workloads are designed for historical analysis and reporting, not for sub-second alerting on live data streams.

How to eliminate wrong answers

Option A is wrong because transactional workloads focus on ACID-compliant operations (e.g., OLTP) that handle discrete, small-scale read/write operations, not continuous high-velocity sensor streams. Option B is wrong because analytical workloads typically involve batch or interactive queries over historical data (e.g., using Azure Synapse or Power BI), not millisecond-level alerting on live data. Option C is wrong because batch processing processes data in large, scheduled chunks (e.g., nightly ETL jobs), which cannot meet the real-time alerting requirement of this scenario.

216
MCQeasy

A database system ensures that a transaction either completes fully and all changes are applied, or it is completely rolled back and no partial changes are saved. Which property of ACID transactions does this describe?

A.Atomicity
B.Consistency
C.Isolation
D.Durability
AnswerA

Atomicity treats a transaction as an indivisible unit of work: every statement inside it must succeed for any of them to be applied. If any step fails, a rollback undoes all prior changes, restoring the pre-transaction state. This all-or-nothing property is enforced by database recovery mechanisms such as write-ahead logging or undo segments, ensuring no partial updates survive. Thus, it directly answers the question about a transaction either completing fully or not at all.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. If any part of the transaction fails, the entire transaction is rolled back, leaving the database in its original state. This property guarantees that no partial changes are saved, which directly matches the description in the question.

Exam trap

Microsoft often tests the distinction between atomicity and consistency by describing a scenario where a transaction either fully applies or fully rolls back, leading candidates to mistakenly choose consistency because they associate 'valid state' with 'complete execution'.

How to eliminate wrong answers

Option B (Consistency) is wrong because consistency ensures that a transaction brings the database from one valid state to another, preserving all defined rules (e.g., constraints, cascades, triggers), but it does not address the 'all-or-nothing' execution of the transaction itself. Option C (Isolation) is wrong because isolation controls how transaction changes are visible to other concurrent transactions (e.g., via locking or snapshot isolation), not whether the transaction completes fully or rolls back. Option D (Durability) is wrong because durability guarantees that once a transaction is committed, its changes persist even after a system failure (e.g., via write-ahead logging), but it does not describe the rollback behavior on failure.

217
MCQmedium

A retail company captures real-time sensor data from IoT devices to detect anomalies and predict equipment failures. The data must be processed immediately as it arrives. Which type of data processing workload best describes this scenario?

A.Batch processing
B.Streaming processing
C.Online transaction processing (OLTP)
D.Data warehousing
AnswerB

Streaming processing is the correct choice because it ingests and analyzes data continuously as it arrives, rather than waiting for a complete dataset. For real-time IoT sensor feeds, services like Azure Stream Analytics can process event streams with sub-second latency, applying time-windowed aggregations, filters, and anomaly detection logic to trigger immediate alerts. This supports proactive failure prediction and operational monitoring, which is impossible with store-then-process approaches.

Why this answer

B is correct because streaming processing is designed for continuous, real-time data ingestion and immediate analysis, which matches the requirement to process sensor data as it arrives. Technologies like Azure Stream Analytics or Apache Kafka enable low-latency processing of IoT data streams to detect anomalies and predict failures without batching.

Exam trap

Microsoft often tests the distinction between batch and streaming by describing a scenario with 'immediate' or 'real-time' requirements, and candidates mistakenly choose batch processing because they overlook the latency constraint.

Why the other options are wrong

A

Batch processing processes data in large, scheduled chunks, not immediately as it arrives. The scenario requires real-time processing of sensor data for immediate anomaly detection, which batch processing cannot provide.

C

OLTP is designed for managing transactional data (e.g., order processing) with ACID guarantees, not for real-time processing of continuous sensor data streams for anomaly detection.

D

Data warehousing is designed for storing and analyzing historical, structured data from multiple sources, not for processing real-time streaming data from IoT devices.

218
MCQeasy

A social media application displays the number of posts each user has created. After a user submits a new post, the count must reflect the update across all servers within a few seconds. Which data consistency model best describes this requirement?

A.Strong consistency
B.Eventual consistency
C.Sequential consistency
D.Causal consistency
AnswerB

Eventual consistency allows updates to propagate asynchronously to replicas, guaranteeing that if no further updates occur, all replicas will return the same value after a short period. This matches the requirement of reflecting the update within a few seconds.

Why this answer

Eventual consistency is correct because the requirement allows a few seconds for the update to propagate across all servers, meaning the system does not guarantee immediate uniformity but will converge to the same count eventually. This is typical in distributed systems like social media applications where high availability and partition tolerance are prioritized over immediate consistency, often using techniques like asynchronous replication.

Exam trap

The trap here is that candidates confuse 'eventual consistency' with 'weak consistency' or assume that any delay means strong consistency is required, but the key is the explicit tolerance of a few seconds, which aligns with eventual consistency's convergence guarantee.

How to eliminate wrong answers

Option A is wrong because strong consistency would require all servers to reflect the new post count immediately upon write, which conflicts with the 'within a few seconds' tolerance and would impose performance penalties in a distributed system. Option C is wrong because sequential consistency ensures operations appear in a global order consistent with program order, which is stricter than needed and not typically used for simple count updates across servers. Option D is wrong because causal consistency preserves the order of causally related events, which is unnecessary for a simple counter update that has no causal dependencies with other operations.

219
MCQeasy

A retail company processes customer orders throughout the day. Each order involves inserting a new record into a database table, updating inventory counts, and deleting temporary cart data. At the end of each week, the company runs a query that aggregates all orders by product category and region to generate a sales report. Which of the following best describes these two workloads?

A.Order processing is OLAP; weekly reporting is OLTP
B.Order processing is batch processing; weekly reporting is streaming processing
C.Order processing is OLTP; weekly reporting is OLAP
D.Both workloads are OLTP
AnswerC

Order processing is OLTP because each customer order is a discrete transactional unit—creating, updating, and querying order records with ACID guarantees and low-latency, high-concurrency operations. Weekly reporting is OLAP because it requires complex aggregations and analytical scans over large historical order datasets, a pattern optimized in columnar or data warehouse systems. This correctly distinguishes the two common data workload patterns based on access pattern and purpose.

Why this answer

Order processing involves frequent, small transactions (inserts, updates, deletes) that are typical of Online Transaction Processing (OLTP) workloads, which prioritize data integrity and low-latency writes. The weekly sales report aggregates large volumes of historical data by product category and region, which is characteristic of Online Analytical Processing (OLAP) workloads that support complex queries and data summarization. Option C correctly identifies these two distinct workload types.

Exam trap

The trap here is that candidates confuse the terms OLTP and OLAP, mistakenly thinking that any database operation is OLTP or that reporting is always OLTP, when in fact the key differentiator is the workload pattern—transactional vs. analytical.

Why the other options are wrong

A

Order processing involves individual transactions (inserts, updates, deletes) typical of OLTP, not OLAP. Weekly reporting aggregates historical data across categories and regions, which is OLAP, not OLTP.

B

Order processing involves individual transactions (insert, update, delete) and is OLTP, not batch processing. Weekly reporting aggregates historical data and is OLAP, not streaming processing.

D

The weekly reporting aggregates historical data across product categories and regions, which is analytical processing (OLAP), not OLTP. Both workloads are not OLTP because reporting involves complex queries over large datasets, not transaction-oriented operations.

220
MCQeasy

A data engineer needs to load data from an on-premises SQL Server database to Azure Synapse Analytics every hour with minimal latency. Which Azure service should they use?

A.Azure Databricks
B.Azure Data Factory
C.Azure SQL Database
D.Azure HDInsight
AnswerB

Azure Data Factory is the correct choice because it is a cloud-based ETL and data integration service purpose-built for orchestrating and automating data movement. It provides a self-hosted integration runtime that securely connects to on-premises SQL Server databases, and its schedule triggers can run pipelines every hour with minimal latency. The service is designed specifically for copying data from sources like on-premises SQL Server to cloud destinations, making it the ideal tool for this workload.

Why this answer

Azure Data Factory (ADF) is the correct choice because it provides a fully managed, code-free ETL service that can connect to on-premises SQL Server via self-hosted integration runtime, and load data into Azure Synapse Analytics with low latency using a scheduled trigger (e.g., every hour). ADF supports incremental data loading and parallel copy activities, minimizing latency while handling the required frequency.

Exam trap

The trap here is that candidates often confuse Azure Data Factory with Azure Databricks or HDInsight, assuming any big data or analytics service can handle scheduled data ingestion, but only ADF is purpose-built for orchestration and low-latency data movement from on-premises sources.

How to eliminate wrong answers

Option A is wrong because Azure Databricks is an Apache Spark-based analytics platform designed for big data processing and machine learning, not a dedicated data ingestion or orchestration service; it lacks native scheduling and on-premises connectivity for hourly low-latency loads without additional setup. Option C is wrong because Azure SQL Database is a relational database service, not a data integration or orchestration tool; it cannot directly load data from on-premises SQL Server into Synapse Analytics on a schedule. Option D is wrong because Azure HDInsight is a managed Hadoop/Spark cluster service for big data analytics, not a data movement or orchestration service; it requires custom scripting and manual scheduling to perform hourly loads, adding complexity and latency.

221
MCQeasy

A company stores customer data in a SQL Server database table with columns: CustomerID (integer), Name (varchar), Email (varchar), SignupDate (date). All rows adhere to this schema. Which type of data does this represent?

A.Structured data
B.Unstructured data
C.Semi-structured data
D.Transactional data
AnswerA

Structured data conforms to a rigid, predefined schema, typically organized into rows and columns. In a SQL Server database, the customer table enforces data types, constraints, and relationships, enabling efficient querying via SQL. This fixed tabular format is the hallmark of structured data.

Why this answer

This data is structured because it conforms to a fixed schema with clearly defined columns (CustomerID, Name, Email, SignupDate) and data types (integer, varchar, date). In SQL Server, structured data is stored in tables with rows and columns, enabling efficient querying via T-SQL and indexing. The consistent adherence to the schema across all rows is the hallmark of structured data.

Exam trap

The trap here is that candidates confuse the content of the data (e.g., customer information) with its structure, or mistakenly think that any data in a database is automatically structured, ignoring the distinction between structured, semi-structured, and unstructured formats.

How to eliminate wrong answers

Option B is wrong because unstructured data has no predefined schema or organization (e.g., text files, images, videos), whereas this table has a rigid schema. Option C is wrong because semi-structured data (e.g., JSON, XML) allows schema flexibility and nested structures, but this table enforces fixed columns and data types. Option D is wrong because transactional data refers to records of business transactions (e.g., sales orders, payments), not the general classification of data format; this table could store transactional data, but the question asks about the type of data based on its structure.

222
MCQeasy

A company ingests streaming data from social media feeds and needs to process and analyze the data in real time. Which Azure service should they use to capture the stream?

A.Azure Stream Analytics
B.Azure IoT Hub
C.Azure Event Hubs
D.Azure Data Lake Storage
AnswerC

Azure Event Hubs is a fully managed, highly scalable event ingestion service that accepts millions of events per second from diverse publishers, including social media APIs. It provides partitioned streams with configurable retention, enabling multiple independent consumers to read the same events through separate consumer groups. Its AMQP and Kafka-compatible endpoints make it the standard real-time ingestion front door for high-volume social media feeds.

Why this answer

Azure Event Hubs is a fully managed, real-time data ingestion service designed to capture and process millions of events per second from sources like social media feeds. It provides a scalable, low-latency endpoint for streaming data, making it the correct choice for capturing the stream before further analysis.

Exam trap

The trap here is that candidates confuse Azure Stream Analytics (a processing service) with Event Hubs (an ingestion service), or assume IoT Hub is suitable for non-IoT streaming data due to its similar event ingestion capability.

How to eliminate wrong answers

Option A is wrong because Azure Stream Analytics is a stream processing engine that analyzes data in motion, not a capture/ingestion service; it typically consumes from Event Hubs or IoT Hub. Option B is wrong because Azure IoT Hub is specifically built for bidirectional communication with IoT devices, not for general-purpose social media stream ingestion, and it lacks the high-throughput, multi-protocol ingestion capabilities of Event Hubs. Option D is wrong because Azure Data Lake Storage is a hierarchical file store for batch and analytics workloads, not a real-time streaming capture service; it cannot ingest streaming data directly without an intermediary like Event Hubs or Stream Analytics.

223
MCQeasy

A company stores customer data in a SQL Server table with fixed columns (CustomerID, Name, Email, SignupDate). The company also stores application logs as JSON documents and marketing images as JPEG files. Which data type describes the customer data?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Relational data
AnswerA

Structured data is correct because the data is stored in a SQL Server table with a fixed schema: every row must conform to predefined column names, data types, and constraints. This rigid, table-based organization allows efficient indexing, querying, and integrity enforcement, making it the textbook definition of structured data. The term directly contrasts with semi-structured and unstructured data, both of which lack such a uniform, enforced schema.

Why this answer

Customer data stored in a SQL Server table with fixed columns (CustomerID, Name, Email, SignupDate) follows a rigid schema where each row has the same set of columns with defined data types. This conforms to the relational model, making it structured data. Structured data is organized into rows and columns with a fixed schema, enabling efficient querying via SQL.

Exam trap

The trap here is that candidates confuse 'relational data' (a storage model) with 'structured data' (a data type category), leading them to pick D instead of A, even though the question explicitly asks for the data type.

How to eliminate wrong answers

Option B is wrong because semi-structured data (e.g., JSON, XML) does not enforce a fixed schema; it allows flexible key-value pairs or nested structures, which does not match the fixed-column SQL Server table. Option C is wrong because unstructured data (e.g., JPEG images, plain text files) lacks a predefined data model or organization, unlike the tabular customer data. Option D is wrong because 'relational data' is not a data type category in the DP-900 core data concepts; it describes a storage model (relational databases) that can hold structured data, but the question asks for the data type, not the storage model.

224
MCQeasy

A retail company maintains a database of customer information including CustomerID, Name, Address, and Phone. Each record follows the same fixed schema. This type of data is best described as:

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Relational data
AnswerA

Structured data adheres to a predefined schema, with each record consisting of named columns that enforce specific data types and constraints. In a retail customer database, tables store fields such as CustomerID, FirstName, LastName, and Email, making the data easily queryable using SQL. This fixed, tabular arrangement is precisely what classifies it as structured data.

Why this answer

Structured data conforms to a fixed schema where each record has the same fields (CustomerID, Name, Address, Phone) and data types, making it ideal for relational database storage. This rigid, tabular format allows efficient querying using SQL and enforces consistency across all rows.

Exam trap

The trap here is that candidates confuse 'relational data' (a storage model) with 'structured data' (a data type), leading them to select Option D, but the DP-900 exam categorizes data by its structure, not by the database system used to store it.

How to eliminate wrong answers

Option B is wrong because semi-structured data (e.g., JSON, XML) does not enforce a fixed schema; fields can vary between records, unlike the uniform schema described. Option C is wrong because unstructured data (e.g., images, videos, text files) has no predefined structure or schema, whereas customer records with fixed fields are clearly organized. Option D is wrong because 'relational data' is not a data type category in the DP-900 taxonomy; it refers to a database model that stores structured data, but the question asks for the data type itself, not the storage model.

225
MCQeasy

A data file contains records for customer orders. Each record has fields for OrderID, CustomerID, and OrderDate that are present in every record. However, some records include an optional 'DiscountCode' field, and others include an optional 'GiftMessage' field. The file is stored in JSON format. Which type of data does this file represent?

A.Structured data
B.Semi-structured data
C.Unstructured data
D.Transactional data
AnswerB

Semi-structured data has organizational properties such as tags, keys, or hierarchies but does not enforce a uniform schema on every record. A JSON file of customer orders fits this definition: each order is a document with key-value pairs, nested objects, and optional properties like shipping_address, while the overall set of documents can vary in shape. This is the correct structural category.

Why this answer

The JSON file contains records with a fixed set of fields (OrderID, CustomerID, OrderDate) that are always present, but also includes optional fields (DiscountCode, GiftMessage) that may appear in some records but not others. This mix of a consistent schema with flexible, self-describing fields is the hallmark of semi-structured data. JSON itself is a semi-structured format because it uses key-value pairs and allows nested or optional attributes without requiring a rigid schema.

Exam trap

The trap here is that candidates confuse 'semi-structured' with 'unstructured' because they see optional fields and think the data has no structure, but the presence of a consistent base schema (OrderID, CustomerID, OrderDate) clearly distinguishes it as semi-structured.

How to eliminate wrong answers

Option A is wrong because structured data requires a fixed schema (e.g., a relational table with predefined columns), but this JSON file allows optional fields that may be missing from some records, violating the strict schema requirement. Option C is wrong because unstructured data has no predefined structure or organization (e.g., raw text, images, audio), whereas this file has a consistent base schema with OrderID, CustomerID, and OrderDate in every record. Option D is wrong because transactional data refers to data that records events or transactions (like orders), but this is a classification of data content, not a classification of data structure; the question asks about the type of data based on its format, not its business use.

← PreviousPage 3 of 4 · 254 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Describe core data concepts questions.