Courseiva

Microsoft Azure Data Fundamentals DP-900 (DP-900) — Questions 175

820 questions total · 11pages · All types, answers revealed

Page 1 of 11

Page 2
1
MCQmedium

A company uses Azure Stream Analytics to process IoT data from thousands of devices. They need to store the results in a way that supports fast querying for historical analysis. Which output sink should they use?

A.Azure Table Storage
B.Azure Blob Storage
C.Azure Data Lake Storage Gen2
D.Azure Event Hubs
AnswerC

Azure Data Lake Storage Gen2 combines hierarchical namespace with object storage, and unlike Blob Storage, it is deeply integrated with Azure Synapse, Databricks, and HDInsight, which can push down queries through its file system and execute distributed parallel processing. Its design supports schema-on-read, partitioning, and columnar formats like Parquet, enabling fast analytical queries directly on the same data without copying, making it ideal for large-scale historical IoT analytics.

Why this answer

Azure Data Lake Storage Gen2 (ADLS Gen2) is the correct output sink because it combines a hierarchical namespace with Azure Blob Storage's scalable object storage, enabling fast querying for historical analysis via tools like Azure Synapse Analytics, PolyBase, or Apache Spark. ADLS Gen2 supports high-throughput writes from Stream Analytics and allows efficient directory-level operations and fine-grained access control, which are critical for large-scale IoT data analytics.

Exam trap

The trap here is that candidates often confuse Azure Blob Storage with ADLS Gen2, assuming both are equivalent for analytics, but the key differentiator is the hierarchical namespace and native integration with big data analytics engines that ADLS Gen2 provides.

How to eliminate wrong answers

Option A is wrong because Azure Table Storage is a NoSQL key-value store optimized for fast point lookups and small data volumes, not for complex historical queries or large-scale analytical workloads. Option B is wrong because Azure Blob Storage lacks a hierarchical namespace, making directory-level operations and fast querying for historical analysis less efficient compared to ADLS Gen2, and it does not natively support the same level of integration with analytics engines. Option D is wrong because Azure Event Hubs is a real-time data ingestion service, not a storage sink for historical analysis; it is designed for streaming data capture and event processing, not for long-term storage and querying.

2
MCQeasy

A company needs to ensure that their Azure SQL Database is accessible only from a specific virtual network and deny access from public endpoints. Which feature should they configure?

A.Disable public network access
B.Virtual network service endpoints and firewall rules
C.IP firewall rules
D.Azure Private Link
AnswerB

Configure Azure SQL Database firewall to allow connections from a specific virtual network subnet by enabling a service endpoint for Microsoft.Sql on that subnet and adding a virtual network firewall rule. This extends the SQL database's public endpoint to accept traffic from that subnet only, while all other public internet traffic is blocked by default firewall rules. This pairs network-level isolation with firewall rules to restrict access to designated VNets without needing private IPs.

Why this answer

Virtual network service endpoints and firewall rules allow restricting access to a specific VNet while denying public access. Option A is incorrect because disabling public network access alone does not tie to a specific VNet; it would block all access unless combined with Private Link. Option C is incorrect because IP firewall rules allow access from specific public IP addresses, not from a VNet.

Option D is incorrect because Azure Private Link provides private connectivity but does not deny public access by itself; it requires additional configuration to block public endpoints.

3
MCQeasy

A retail company stores three types of customer data: (1) a table with columns for CustomerID, Name, and Email; (2) product reviews as JSON documents with varying fields such as rating and comment; (3) product demonstration videos stored in MP4 format. Which of the following correctly classifies these data types in order from first to third?

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

Correct. The table is structured (fixed schema), JSON documents are semi-structured (flexible schema), and videos are unstructured (no schema).

Why this answer

The customer table with fixed columns (CustomerID, Name, Email) is structured data, product reviews as JSON documents with varying fields are semi-structured data (schema-on-read, flexible fields), and MP4 video files are unstructured data (no schema, binary format). This ordering matches the standard classification in Azure Data Fundamentals: structured → semi-structured → unstructured.

Exam trap

The trap here is that candidates often confuse semi-structured data (like JSON) with unstructured data, or assume all non-tabular data is unstructured, when in fact JSON's key-value pairs with varying fields make it semi-structured.

Why the other options are wrong

A

The first data type is a table with columns (CustomerID, Name, Email), which is structured, not unstructured. The second is JSON documents, which are semi-structured, not structured. The third is MP4 videos, which are unstructured, not semi-structured.

B

The order is incorrect because product reviews as JSON documents are semi-structured (not structured), and product demonstration videos are unstructured (not semi-structured). The correct order is structured (table), semi-structured (JSON), unstructured (video).

D

The order is incorrect: customer data in a table is structured, product reviews as JSON are semi-structured, and MP4 videos are unstructured. Option D reverses this order.

When would these options actually be correct?

A

This option would be correct if the question presented data in a different order: first, product demonstration videos (unstructured), second, a table with columns (structured), and third, product reviews as JSON documents (semi-structured).

B

If the question listed data types as: (1) a JSON document with customer preferences, (2) a relational table of sales transactions, (3) a CSV file of inventory logs, then option B (semi-structured, structured, structured) would be correct because JSON is semi-structured, and both table and CSV are structured.

D

If the question listed data types in order as: (1) product demonstration videos (MP4), (2) product reviews (JSON), (3) customer table, then option D would be correct as Unstructured, semi-structured, structured.

Why candidates pick the wrong answer

A

Candidates may confuse the definitions of structured and semi-structured data, or misorder the data types due to a superficial understanding of data classification.

B

Candidates may confuse JSON as unstructured due to its flexible schema, or mistakenly think videos are semi-structured because they contain metadata, leading to a misordering of semi-structured and unstructured.

D

Candidates may confuse the classification of JSON documents as unstructured instead of semi-structured, or misorder the data types due to lack of clarity on the definitions.

4
MCQhard

A company uses Azure Data Lake Storage Gen2 as a data lake. They need to enforce row-level security for sensitive data so that sales representatives can only see rows for their assigned region. Which approach should they use?

A.Apply sensitivity labels in Microsoft Purview
B.Load data into Azure Synapse Analytics dedicated SQL pool and implement row-level security (RLS)
C.Use Azure RBAC roles on the storage account
D.Use Azure Data Lake Storage Gen2 access control lists (ACLs) on folders per region
AnswerB

Loading the data into a dedicated SQL pool in Azure Synapse Analytics enables row-level security (RLS), which uses a security predicate defined by an inline table-valued function to filter rows at query time. The predicate can reference attributes such as the caller's USER_NAME() or session context, so each user sees only the regions they are authorized to access. This is the only option listed that can enforce row-level restrictions on the actual data, meeting the stated requirement directly.

Why this answer

Row-level security (RLS) in Azure Synapse Analytics dedicated SQL pool allows you to restrict data access at the row level based on a user's identity or group membership. By loading the data into a dedicated SQL pool and defining a security policy with a predicate function that filters rows by region, you can ensure sales representatives only see rows for their assigned region. This is the correct approach because RLS is designed specifically for this purpose and integrates with Azure Active Directory for user authentication.

Exam trap

The trap here is that candidates confuse storage-level access controls (ACLs, RBAC) with data-level security (RLS), assuming that folder-per-region ACLs can achieve row-level filtering, but ACLs cannot filter rows within a file.

How to eliminate wrong answers

Option A is wrong because sensitivity labels in Microsoft Purview classify and protect data at the file or column level, but they do not enforce row-level filtering based on user identity. Option C is wrong because Azure RBAC roles control access to the storage account itself (e.g., read/write permissions), not row-level visibility within a dataset. Option D is wrong because Azure Data Lake Storage Gen2 ACLs provide file- or folder-level permissions, not row-level filtering; they cannot restrict which rows a user sees within a file.

5
MCQmedium

A company runs a SQL Server database on an Azure virtual machine. They need to offload reporting queries to a read-only copy without modifying the application. Which Azure service should they use?

A.Azure Analysis Services
B.Azure SQL Managed Instance
C.Azure SQL Database with read scale-out
D.Azure Synapse Analytics dedicated SQL pool
AnswerC

Azure SQL Database with read scale-out is the correct choice because it natively creates multiple readable replicas of your database in Premium, Business Critical, and Hyperscale tiers. By setting ApplicationIntent=ReadOnly in the connection string, the Azure gateway automatically routes reporting queries to an available read-only replica, offloading the primary for transactional work. This feature directly answers the need to reduce load from reporting queries on a SQL Server-compatible database without additional ETL or separate data stores.

Why this answer

Azure SQL Database with read scale-out (C) is correct because it creates a read-only replica of the database that can handle reporting queries without modifying the application. The application simply adds `ApplicationIntent=ReadOnly` to the connection string, and the Azure gateway automatically routes read-only queries to the secondary replica, offloading the primary from reporting workloads.

Exam trap

The trap here is that candidates confuse read scale-out with Azure SQL Managed Instance or Azure Analysis Services, assuming any read-only copy or analytics service can serve as a transparent offload, but only Azure SQL Database with read scale-out provides automatic, connection-string-based routing without application changes.

How to eliminate wrong answers

Option A is wrong because Azure Analysis Services is a semantic modeling and analytics engine that requires data to be imported or queried via DAX/MDX, not a read-only copy of a SQL Server database, and it cannot be used as a transparent read-only replica for existing SQL queries. Option B is wrong because Azure SQL Managed Instance is a fully managed SQL Server instance that does not support read scale-out; it offers read-only replicas only via failover groups, which require manual redirection and are not transparent to the application. Option D is wrong because Azure Synapse Analytics dedicated SQL pool is a massively parallel processing (MPP) data warehouse designed for large-scale analytics, not a read-only copy of a SQL Server database, and it cannot be used to offload reporting queries without modifying the application or data pipeline.

6
MCQeasy

A logistics company collects data from fleet sensors. Each sensor sends a JSON message containing the vehicle ID, timestamp, and a variable set of measurements such as engine temperature, tire pressure, and fuel level. The structure of the JSON message differs between sensor types and sometimes includes optional fields. How should this data be classified?

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

Semi-structured data is organizational but not rigidly schematized, using tags or keys to impose a hierarchy without requiring the same fields in every record. The fleet sensor JSON uses named key-value pairs and nested objects that can include or omit attributes as needed, which is the defining characteristic of semi-structured data. This is the correct classification for such variable telemetry.

Why this answer

The data is semi-structured because it conforms to a schema (JSON format with fields like vehicle ID and timestamp) but allows variability in structure, such as optional fields and different sets of measurements per sensor type. This flexibility is a hallmark of semi-structured data, which does not require a rigid tabular schema like structured data but still contains tags or markers to separate data elements.

Exam trap

The trap here is that candidates see 'JSON' and assume it is structured data because JSON has keys and values, but they miss that the variable and optional fields make it semi-structured, not strictly structured.

How to eliminate wrong answers

Option A is wrong because structured data requires a fixed schema with consistent fields and data types, typically stored in relational tables, whereas the JSON messages here have variable and optional fields. Option C is wrong because unstructured data has no predefined structure or schema, such as raw video or text files, but these JSON messages have a defined format with key-value pairs. Option D is wrong because relational data is a subset of structured data that is organized into tables with rows and columns and enforces relationships via foreign keys, which does not apply to the flexible JSON messages.

7
MCQmedium

A company has an on-premises SQL Server database with a 1 TB 'Sales' table containing historical data. They want to move this table to Azure SQL Database with minimal downtime. The table is actively written to during business hours. Which approach should they use?

A.Use Azure Data Migration Service with continuous sync from on-premises to Azure SQL Database, then cut over
B.Use the Azure SQL Database migration wizard to perform an offline migration over the weekend
C.Export the table as a .bacpac file and import it into Azure SQL Database during off-hours
D.Use SQL Server Management Studio's 'Deploy Database to Azure SQL Database' wizard
AnswerA

Azure Database Migration Service with continuous sync is the correct online method because it reads the source transaction log and continuously applies those changes to the target Azure SQL Database, all while the on-premises database remains online and fully operational. The migration can run for days to sync historical data without blocking active workloads, and only the final cutover step—stopping the source and pointing the application to the target—requires a brief downtime window measured in minutes. Unlike offline approaches, this preserves continuity for a 1 TB database and provides validation and rollback capability during the migration.

Why this answer

Azure Data Migration Service (DMS) with continuous sync is the correct approach because it supports online migration with minimal downtime. It uses transactional replication to keep the on-premises SQL Server database synchronized with Azure SQL Database while the source remains fully operational, allowing a controlled cutover with only seconds of downtime.

Exam trap

The trap here is that candidates often assume offline methods (bacpac, wizard) are sufficient for large tables, underestimating the downtime required for a 1 TB dataset, and fail to recognize that 'minimal downtime' explicitly requires an online migration with continuous sync.

Why the other options are wrong

B

This option is wrong because the question requires minimal downtime, and an offline migration over the weekend still involves downtime during the migration window. The table is actively written to during business hours, so even weekend migration may not be acceptable if the business operates beyond weekdays or requires near-zero downtime.

C

Exporting a 1 TB table as a .bacpac and importing it is an offline operation that requires the table to be idle, but the table is actively written to during business hours, causing data inconsistency and unacceptable downtime.

D

The 'Deploy Database to Azure SQL Database' wizard in SSMS performs an offline migration, which would cause significant downtime for the actively written Sales table. It does not support continuous sync to minimize downtime.

When would these options actually be correct?

B

This option would be correct if the question specified that the migration can be performed during a scheduled maintenance window where downtime is acceptable, and the table is not actively used during that time. For example: 'A company needs to migrate a 1 TB Sales table to Azure SQL Database and can schedule a 48-hour maintenance window over the weekend with no business impact.'

C

A company needs to migrate a small, static database (e.g., < 20 GB) that is not being modified during migration, and they can afford several hours of downtime. The .bacpac export/import is simple and requires no additional services.

D

This option would be correct for a small, static database (e.g., < 50 GB) that can tolerate several hours of downtime, and when the goal is a simple one-time migration without ongoing replication.

Why candidates pick the wrong answer

B

Candidates may think that performing the migration over the weekend minimizes business impact and is simpler than setting up continuous sync. They might underestimate the requirement for minimal downtime or assume that weekend downtime is acceptable.

C

Candidates may think .bacpac is the standard Azure SQL migration tool and overlook the size and active-write constraints, assuming off-hours migration is sufficient.

D

Candidates may be familiar with SSMS and assume its built-in wizard is sufficient for any migration, overlooking the need for minimal downtime and continuous sync for large, active tables.

8
MCQmedium

A logistics company uses Azure SQL Database to store millions of shipment records. The table has columns: ShipmentID (primary key), CustomerID, ShipDate, and Destination. Queries frequently filter by CustomerID and ShipDate to retrieve shipments for a specific customer over a date range. Which indexing strategy will most improve query performance?

A.Create a nonclustered index on CustomerID and ShipDate
B.Create a clustered index on ShipmentID
C.Partition the table by ShipmentID
D.Create a full-text index on Destination
AnswerA

This composite index covers both filter columns, enabling efficient seek operations for the WHERE clause conditions.

Why this answer

A nonclustered index on CustomerID and ShipDate is the best choice because it directly supports the frequent query pattern filtering by both columns. This composite index allows SQL Database to perform an index seek rather than a full table scan, drastically reducing I/O for selective queries over millions of rows.

Exam trap

The trap here is that candidates often assume a clustered index on the primary key is always optimal, but for queries that filter on non-key columns, a covering nonclustered index is far more effective.

Why the other options are wrong

B

A clustered index on ShipmentID (the primary key) is already the default, but queries filter by CustomerID and ShipDate, not ShipmentID. This index does not support the filtering columns, so it won't improve performance for the specified queries.

C

Partitioning by ShipmentID does not help queries filtering by CustomerID and ShipDate because the partition key is not used in the WHERE clause, so all partitions must be scanned.

D

A full-text index on Destination is designed for text search (e.g., finding words or phrases in a string), not for filtering on exact values like CustomerID and ShipDate. It does not support range queries or equality filters efficiently, so it won't improve performance for the described queries.

When would these options actually be correct?

B

If the question asked for the best indexing strategy when queries frequently filter by ShipmentID or need to retrieve a single shipment by its ID, then a clustered index on ShipmentID would be optimal, as it provides fast point lookups.

C

A question where the table is very large and queries frequently filter or aggregate by ShipmentID ranges, or where data needs to be managed (e.g., archiving old shipments) by ShipmentID ranges.

D

A full-text index on Destination would be correct if the question involved searching for shipments based on keywords or phrases in the destination column, such as 'Find all shipments to cities containing 'Springfield' or 'New York'.

Why candidates pick the wrong answer

B

Candidates may assume that indexing the primary key is always beneficial, or they may not realize that a clustered index on the primary key already exists by default, making this option redundant for the given query pattern.

C

Candidates may think partitioning always improves query performance for any filter, not realizing that the partition key must align with the query filter to be effective.

D

Candidates might think any index on a frequently queried column helps, or they may confuse full-text indexing with regular indexing, assuming it can speed up all types of queries on that column.

9
MCQhard

A company uses Azure Data Lake Storage Gen2 for a data lake. They implement a folder structure with access control lists (ACLs). A new data scientist needs to read data from a specific folder but not write to it. Which ACL permission should be assigned?

A.Execute
B.Modify
C.Write
D.Read
AnswerA

The execute (x) permission on a directory allows a user to traverse through that directory when resolving a path. In ADLS Gen2's POSIX-style ACLs, execute on each folder in the hierarchy is mandatory to reach a file in a subfolder; once the user also has read permission on the target file, they can open and read its contents. Without execute on the folder, the user cannot pass through it, even if the file's own read bit is set.

Why this answer

Execute (X) permission on a folder in Azure Data Lake Storage Gen2 is required to traverse the folder and access its contents. Without Execute, a user cannot list or read files inside the folder, even if Read permission is granted. Since the data scientist only needs to read data (not write), assigning Execute on the folder and Read on the files allows traversal and read access without write capability.

Exam trap

The trap here is that candidates often assume Read permission on a folder is sufficient to read its contents, but without Execute permission, the folder cannot be traversed, making the data inaccessible.

How to eliminate wrong answers

Option B (Modify) is wrong because Modify includes Write and Delete permissions, which would allow the data scientist to create, update, or delete files in the folder, violating the requirement to prevent writes. Option C (Write) is wrong because Write permission allows creating and modifying files in the folder, which is explicitly not allowed. Option D (Read) is wrong because Read on a folder alone does not grant the ability to traverse the folder hierarchy; without Execute, the data scientist cannot list or access files within the folder, making Read ineffective for reading data.

10
MCQeasy

A company stores customer information in a SQL database with fixed columns (CustomerID, Name, Email). They also store scanned PDF contracts and product images in a file storage system. Which statement correctly describes the types of data mentioned?

A.Both the customer information and the files are structured data.
B.The customer information is semi-structured, and the files are unstructured.
C.The customer information is structured, and the files are unstructured.
D.Both the customer information and the files are unstructured.
AnswerC

Correct. Customer information in a SQL table with a fixed schema is structured data. PDFs and images lack a predefined schema, making them unstructured.

Why this answer

Customer information stored in fixed columns (CustomerID, Name, Email) follows a strict schema with defined data types and relationships, making it structured data. Scanned PDF contracts and product images are binary files with no inherent schema or organization, fitting the definition of unstructured data. Option C correctly pairs these classifications.

Exam trap

The trap here is that candidates confuse 'semi-structured' (e.g., JSON with flexible fields) with structured data (fixed schema), or assume all digital files are structured because they have metadata, ignoring the lack of a predefined schema in the content itself.

Why the other options are wrong

A

Customer information in a fixed-column SQL database is structured data, not unstructured. The files (PDFs, images) are unstructured, but the option incorrectly classifies both as structured.

B

Customer information in a fixed-column SQL database is structured data, not semi-structured. Semi-structured data has tags or markers (e.g., JSON, XML) without a rigid schema, which does not apply here.

When would these options actually be correct?

A

This option would be correct if the question described customer information stored in a NoSQL database with flexible schema (like JSON documents) and the files as structured data (e.g., CSV files).

B

This option would be correct if the customer information were stored in a format like JSON or XML with variable fields (e.g., custom attributes per customer), making it semi-structured, while the PDFs and images remain unstructured.

Why candidates pick the wrong answer

A

Candidates may confuse 'structured' with 'organized' and think that because the files are stored in a system, they are structured, or they may not distinguish between structured and unstructured data types clearly.

B

Candidates may confuse 'semi-structured' with 'structured' because they think any database implies structure, but they overlook that semi-structured data lacks a fixed schema, unlike a SQL table with predefined columns.

11
MCQhard

Your organization uses Azure Data Lake Storage Gen2 as a data lake. You need to enforce data retention policies automatically, such as deleting files older than 90 days. Which Azure feature should you use?

A.Azure Policy
B.Azure Blob Storage lifecycle management
C.Azure Data Factory
D.Azure RBAC
AnswerB

Azure Blob Storage lifecycle management is the native feature that automates the transition of blobs to cooler storage tiers (hot, cool, cold, or archive) or deletes them according to rules triggered by the last-modified date or other conditions. For Azure Data Lake Storage Gen2, which is built on Blob Storage, these policies apply directly to the underlying blobs, enabling automated retention and cleanup. This is the correct service for managing data lifecycle.

Why this answer

Azure Blob Storage lifecycle management allows you to define rules that automatically delete or tier blobs based on age. Since Azure Data Lake Storage Gen2 is built on top of Azure Blob Storage, you can use lifecycle management policies to delete files older than 90 days by setting a 'Delete blob' action with a 'daysAfterModificationGreaterThan' filter of 90.

Exam trap

The trap here is that candidates may confuse Azure Policy (which enforces rules on resource configurations) with data lifecycle management (which manages data within storage), or think Azure Data Factory is needed for scheduled deletion, when Azure Blob Storage lifecycle management is the native, policy-driven solution.

How to eliminate wrong answers

Option A is wrong because Azure Policy is used to enforce organizational standards and compliance by evaluating resource configurations (e.g., requiring encryption), not to manage data retention or automate deletion of files based on age. Option C is wrong because Azure Data Factory is an ETL and data orchestration service that can move or transform data, but it is not designed for automated, policy-based lifecycle management like deleting old files; you would need custom pipelines and triggers to mimic this, which is less efficient and not the intended use. Option D is wrong because Azure RBAC controls access permissions to resources (who can read/write/delete), not automated data retention or deletion based on time.

12
MCQeasy

A developer is designing a new application that requires a relational database. The database must support complex queries and stored procedures. Which Azure data service should they choose?

A.Azure SQL Database
B.Azure Table Storage
C.Azure Cosmos DB
D.Azure Blob Storage
AnswerA

Azure SQL Database is a fully managed relational database service that supports schema enforcement, primary and foreign keys, T-SQL queries, stored procedures, and ACID transactions. For an application that requires relational storage, it gives direct support for complex joins, indexed views, and fine-grained permissions out of the box.

Why this answer

Azure SQL Database, is the correct choice because it is a fully managed relational database service that supports complex queries (e.g., joins, subqueries) and stored procedures, which are essential for the described application. Option B (Azure Table Storage) is a NoSQL key-value store and does not support relational queries or stored procedures. Option C (Azure Cosmos DB) is a NoSQL database that, while it can support some query capabilities, is not designed for complex relational queries and stored procedures.

Option D (Azure Blob Storage) is object storage for unstructured data and lacks relational features.

13
MCQeasy

A retail company captures real-time clickstream data from its website. They need to store this data for immediate analysis using KQL. Which Azure service should they use?

A.Azure Stream Analytics
B.Azure Cosmos DB
C.Azure Data Explorer
D.Azure SQL Database
AnswerC

Azure Data Explorer (ADX) is a fast, fully managed analytics database built specifically for real-time exploration of streaming telemetry and clickstream data. It natively supports Kusto Query Language (KQL), which provides rich time-series operators, pattern matching, and anomaly detection, and its append-only columnar storage handles high ingestion volumes while remaining instantly queryable—exactly what the retail scenario requires.

Why this answer

Azure Data Explorer (ADX) is optimized for interactive analytics on large volumes of streaming and high-velocity data, supporting Kusto Query Language (KQL) for real-time queries. It ingests clickstream data with low latency and provides immediate analysis capabilities, making it the correct choice for this scenario.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics (a processing service) with Azure Data Explorer (a storage and query service), but the question specifically requires storing data for immediate KQL analysis, which Stream Analytics cannot do natively.

How to eliminate wrong answers

Option A is wrong because Azure Stream Analytics is a real-time stream processing engine that outputs to sinks like Azure Data Explorer or Power BI, but it does not natively support KQL for querying stored data. Option B is wrong because Azure Cosmos DB is a NoSQL database designed for transactional workloads with low-latency reads/writes, not for ad-hoc analytical queries using KQL. Option D is wrong because Azure SQL Database is a relational database optimized for OLTP and structured queries with T-SQL, not for high-velocity streaming data analysis with KQL.

14
MCQeasy

A startup is migrating its on-premises SQL Server database to Azure. They want the least administrative overhead for patching and backups. Which Azure data service should they choose?

A.Azure Database for PostgreSQL
B.SQL Server on Azure Virtual Machines
C.Azure SQL Database
D.Azure Cosmos DB
AnswerC

Azure SQL Database is a fully managed relational database service built on the SQL Server engine, offering near-total compatibility with on-premises SQL Server databases via the Data Migration Assistant and Database Migration Service. It automates patching, backups, point-in-time restore, and provides built-in high availability with a 99.99% SLA, plus intelligent features like automatic performance tuning and threat detection. This makes it the most appropriate choice for a startup wanting to offload maintenance while keeping a relational SQL Server model.

Why this answer

Azure SQL Database is a fully managed platform-as-a-service (PaaS) that automates patching, backups, and high availability. Option A is wrong because Azure Database for PostgreSQL is a different database engine, not SQL Server. Option B is wrong because SQL Server on Azure Virtual Machines (IaaS) requires manual patching and backup management.

Option D is wrong because Azure Cosmos DB is a NoSQL database, not relational.

15
MCQeasy

A retail company processes historical sales data in a nightly batch job that loads aggregated reports into a data warehouse. Additionally, the company analyzes live customer interactions from their website to provide real-time product recommendations. Which pair of terms correctly describes these two data processing approaches?

A.OLTP and OLAP
B.Batch processing and streaming processing
C.Structured data and unstructured data
D.Relational and NoSQL
AnswerB

Batch processing and streaming processing correctly pair the two fundamentally different data processing approaches. Batch processing operates on data in fixed, scheduled intervals—like the nightly job that ingests historical sales data—making it ideal for high-volume, non-urgent workloads. Streaming processing handles data continuously and incrementally as it arrives, enabling low-latency use cases such as real-time recommendation engines. Together, this pair properly addresses the nightly batch requirement and the real-time recommendation need.

Why this answer

The nightly batch job that loads aggregated reports into a data warehouse is a classic example of batch processing, where data is processed in large, scheduled chunks. The real-time analysis of live customer interactions for product recommendations is streaming processing, which handles data continuously as it arrives. Option B correctly pairs these two distinct processing paradigms.

Exam trap

The trap here is that candidates confuse OLTP/OLAP (which describe transactional vs. analytical workloads) with processing methods (batch vs. streaming), leading them to incorrectly select Option A.

Why the other options are wrong

A

OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing) describe system architectures for transaction handling vs. analytics, not the data processing methods (batch vs. streaming) used in the scenario.

C

The question asks about data processing approaches (batch vs. streaming), not data types. 'Structured data and unstructured data' describe data formats, not how data is processed.

D

The question contrasts batch processing (nightly job) with streaming processing (real-time), not database types. Relational and NoSQL refer to data storage models, not processing approaches.

When would these options actually be correct?

A

A question asks: 'A company uses a database for processing customer orders and a separate system for analyzing sales trends. Which pair of terms describes these two systems?' Then OLTP (for orders) and OLAP (for analytics) would be correct.

C

A question that asks: 'A company stores customer records in a SQL database and also collects social media posts. Which pair of terms describes these two data types?' would make 'Structured data and unstructured data' correct.

D

A question asks: 'A company uses a SQL database for transactional data and a document database for product catalogs. Which pair of terms describes these two data storage technologies?'

Why candidates pick the wrong answer

A

Candidates confuse the batch/streaming distinction with the OLTP/OLAP dichotomy, as both involve different processing types, but OLTP/OLAP focus on system purpose rather than processing timing.

C

Candidates may confuse data processing methods with data types, especially when the scenario involves both historical (structured) and real-time (potentially unstructured) data.

D

Candidates may confuse data processing approaches with data storage technologies, especially when terms like 'data warehouse' (often relational) appear in the question.

16
MCQhard

An organization has a large dataset stored in Azure Blob Storage. They need to run complex analytics using SQL queries and also want to use the same data for machine learning models. Which Azure service provides both SQL-based analytics and native integration with ML frameworks?

A.Azure Data Factory
B.Azure Synapse Analytics
C.Azure Analysis Services
D.Azure SQL Database
AnswerB

Azure Synapse Analytics is a unified analytics platform that converges SQL data warehousing, big data processing (Apache Spark), and integrated machine learning under one service. It can query data directly from Azure Blob Storage using serverless SQL or Spark pools, enabling large-scale analytics without managing infrastructure. Its tight integration with Azure Machine Learning and Power BI makes it the appropriate choice for analyzing large datasets stored in blob storage.

Why this answer

Azure Synapse Analytics is correct because it provides a unified analytics platform that combines enterprise data warehousing with big data analytics. It offers built-in SQL-based querying via dedicated SQL pools or serverless SQL pools, and it natively integrates with machine learning frameworks like Apache Spark and Azure Machine Learning for building and training models on the same data stored in Azure Blob Storage.

Exam trap

The trap here is that candidates often confuse Azure Synapse Analytics with Azure SQL Database or Azure Data Factory, mistakenly thinking a traditional database or an ETL tool can handle both complex SQL analytics and native ML integration on large-scale Blob Storage data.

How to eliminate wrong answers

Option A is wrong because Azure Data Factory is a data integration and orchestration service, not a SQL analytics engine; it cannot run SQL queries directly on data. Option C is wrong because Azure Analysis Services is an OLAP engine for semantic models and business intelligence, not designed for complex SQL analytics or native ML framework integration. Option D is wrong because Azure SQL Database is a relational database for transactional workloads, not optimized for large-scale analytics on Blob Storage data and lacks native integration with ML frameworks like Spark.

17
MCQmedium

A company uses Azure Synapse Analytics dedicated SQL pool to store sales data. They frequently run queries that aggregate sales by product and region over the past month. The queries are slow because they scan the entire table. Which index type should they implement on the fact table to improve query performance for these aggregations?

A.Clustered columnstore index
B.Clustered index on the primary key
C.Hash-distributed table on SalesID
D.Non-clustered index on (ProductID, Region)
AnswerA

A clustered columnstore index stores data column-by-column instead of row-by-row, allowing the dedicated SQL pool to read only the columns needed for the aggregation (e.g., ProductID, Region, and measure columns), which dramatically reduces I/O. Each column segment stores min/max metadata, enabling the engine to skip entire rowgroups that fall outside the queried time range. It also uses batch-mode execution and high compression, both of which make full-table scans and large aggregations—the dominant pattern in this fact-table workload—extremely efficient.

Why this answer

A clustered columnstore index is ideal for large fact tables in Azure Synapse Analytics dedicated SQL pool because it stores data column-wise, enabling high compression and eliminating the need to scan irrelevant columns. For aggregation queries that sum sales by product and region over the past month, the columnstore index significantly reduces I/O by reading only the necessary columns and applying batch-mode processing, which accelerates scan and aggregation operations.

Exam trap

The trap here is that candidates confuse indexing strategies for transactional OLTP workloads (where rowstore indexes like clustered or non-clustered are optimal) with analytical OLAP workloads, failing to recognize that columnstore indexes are specifically designed for large-scale aggregations and scans in dedicated SQL pools.

How to eliminate wrong answers

Option B is wrong because a clustered index on the primary key organizes data row-wise, which forces full table scans for aggregation queries and does not benefit from columnar compression or batch-mode processing. Option C is wrong because hash-distributing the table on SalesID improves data distribution and parallel processing but does not change the storage format; without a columnstore index, the table still scans all rows and columns for aggregations. Option D is wrong because a non-clustered index on (ProductID, Region) would require key lookups for additional columns and does not provide the columnar storage and compression benefits needed for efficient scan-heavy aggregation workloads.

18
Matchingmedium

Match each Azure data tool to its purpose.

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

Concepts
Matches

Data integration and orchestration

Apache Spark-based analytics platform

Real-time stream processing

Distributed analytics (legacy)

Managed open-source analytics service

Why these pairings

The correct matches are: Azure Data Lake Storage for scalable data lake storage, Azure Data Factory for data integration, and Azure Stream Analytics for real-time stream processing. Azure Synapse Analytics is a unified analytics platform, and Azure Databricks is an Apache Spark-based analytics platform. Common confusions include mixing up Synapse Analytics with Data Factory, and Databricks with Stream Analytics.

19
MCQeasy

A social media application allows users to post updates and like posts. After a user clicks the like button, the like count must update immediately and be exactly the same for all users viewing the post. Which data consistency model best fits this requirement?

A.Eventual consistency
B.Strong consistency
C.Session consistency
D.Bounded staleness consistency
AnswerB

Strong consistency guarantees that a read always returns the most recently committed write, regardless of which replica receives the request. This is achieved via synchronous replication or quorum-based protocols that ensure no read is served before all relevant replicas agree on the latest state. For a like count, this means every user sees the same, up-to-date total immediately after a like is recorded, which is why it is the correct answer.

Why this answer

Strong consistency ensures that after a write operation (like clicking the like button) completes, any subsequent read operation returns the most recent write. This guarantees that all users viewing the post see the exact same, up-to-date like count immediately. This is required for the social media scenario where the like count must be identical for all viewers without any delay.

Exam trap

Microsoft often tests the misconception that 'eventual consistency' is acceptable for real-time updates, but the key differentiator here is the requirement for immediate and identical visibility for all users, which only strong consistency satisfies.

How to eliminate wrong answers

Option A is wrong because eventual consistency allows replicas to temporarily diverge, meaning some users might see an outdated like count for a period of time, which violates the requirement for immediate and identical updates. Option C is wrong because session consistency only guarantees monotonic reads and writes within a single user session; it does not ensure that all users across different sessions see the same updated count immediately. Option D is wrong because bounded staleness consistency permits a configurable time window or version lag before updates are visible to all readers, which would not meet the requirement for an instant, identical view for all users.

20
MCQeasy

Your company uses Azure Data Lake Storage Gen2 and wants to grant a data scientist read-only access to a specific container. Which built-in RBAC role should you assign?

A.Storage Account Contributor
B.Reader
C.Storage Blob Data Contributor
D.Storage Blob Data Reader
AnswerD

Storage Blob Data Reader is the correct role because it provides exactly the required read access to the data plane of Azure Data Lake Storage Gen2, including listing containers, reading blob properties, and reading blob content. It works with Azure AD authentication and is scoped to the 'read' data action, meaning the user cannot write, delete, or overwrite any data. For read-only workloads such as reporting and data analytics, this is the recommended, least-privilege role.

Why this answer

Storage Blob Data Reader (D) is the correct built-in RBAC role because it grants read-only access to Azure Storage blob containers and data, including Data Lake Storage Gen2. This role provides the necessary permissions for a data scientist to read data from a specific container without allowing write or delete operations.

Exam trap

The trap here is that candidates often confuse the ARM-level Reader role (which only allows viewing storage account metadata) with data plane roles like Storage Blob Data Reader, mistakenly thinking Reader grants data access.

How to eliminate wrong answers

Option A is wrong because Storage Account Contributor grants full management access to the storage account, including the ability to change account configuration and delete the account, which far exceeds read-only container access. Option B is wrong because Reader provides read-only access to Azure resource management (ARM) plane operations, such as viewing storage account properties, but does not grant any permissions to read data within containers or blobs. Option C is wrong because Storage Blob Data Contributor allows read, write, and delete operations on blob containers and data, which is not read-only and would grant the data scientist excessive permissions.

21
MCQeasy

A marketing team needs to analyze customer sentiment from social media posts in real time. The solution must ingest a stream of tweets, perform sentiment analysis using a pre-built AI model, and store the results in a dashboard for immediate visualization. The team has limited coding experience and prefers a low-code/no-code approach. Which combination of Azure services should you recommend?

A.Azure Event Hubs, Azure Functions, and Azure Cosmos DB
B.Azure IoT Hub, Azure Data Factory, and Power BI
C.Azure Event Hubs, Azure Stream Analytics, and Power BI
D.Azure Event Hubs, Azure HDInsight, and Power BI
AnswerC

Azure Event Hubs is the correct streaming ingestion service for high-throughput social media events. Azure Stream Analytics provides a serverless, low-code SQL-based query engine that can natively call the built-in sentiment analysis function (which uses Azure Cognitive Services under the hood) on incoming messages, and it can send results directly to Power BI as a streaming output. This creates a seamless, real-time dashboard experience without requiring custom code or separate data stores.

Why this answer

Azure Event Hubs ingests the real-time tweet stream, Azure Stream Analytics performs sentiment analysis using its built-in machine learning functions (a low-code/no-code approach), and Power BI provides the dashboard for immediate visualization. This combination meets the real-time, low-code requirement without custom coding.

Exam trap

The trap here is that candidates may choose Azure Functions (Option A) thinking it's serverless and low-code, but it actually requires writing code for sentiment analysis, whereas Azure Stream Analytics provides a true low-code/no-code solution with built-in ML capabilities.

How to eliminate wrong answers

Option A is wrong because Azure Functions requires custom code to implement sentiment analysis, which violates the low-code/no-code preference, and Azure Cosmos DB is a NoSQL database not optimized for real-time dashboarding. Option B is wrong because Azure IoT Hub is designed for IoT device telemetry, not social media streams, and Azure Data Factory is a batch-oriented ETL service, not suitable for real-time stream processing. Option D is wrong because Azure HDInsight is a big data analytics service that requires coding (e.g., Spark, Hive) and is overkill for simple sentiment analysis, contradicting the low-code/no-code requirement.

22
MCQmedium

A manufacturing company installs temperature sensors in a factory. Sensor data is streamed to Azure Event Hubs. The company needs to detect when the average temperature of any sensor exceeds 100°F over a 5-minute sliding window and then send an alert. Which Azure service should be used for this real-time stream processing?

A.Azure Stream Analytics
B.Azure Functions
C.Azure SQL Database
D.Azure Logic Apps
AnswerA

Azure Stream Analytics is a fully managed stream-processing engine that consumes from Azure Event Hubs and applies continuous SQL queries with time-windowed semantics (Tumbling, Hopping, Sliding) to compute values such as rolling temperature averages. A query can specify a SlidingWindow(second, 30) to emit an average every time an event arrives, or a TumblingWindow to emit on fixed intervals. This native windowing support, plus built-in state management and alerting to outputs like Power BI or SQL Database, makes it the correct choice for this real-time scenario.

Why this answer

Azure Stream Analytics is the correct choice because it is designed for real-time stream processing, including the ability to define a 5-minute sliding window over sensor data from Event Hubs, compute the average temperature per sensor, and trigger an alert when the threshold of 100°F is exceeded. It natively integrates with Event Hubs as an input and supports temporal window functions like TumblingWindow, HoppingWindow, and SlidingWindow for exactly this kind of time-based aggregation.

Exam trap

The trap here is that candidates often confuse Azure Functions with Stream Analytics because both can process Event Hubs data, but Functions lacks native windowing and stateful aggregation capabilities, making it unsuitable for sliding window calculations without significant custom code.

How to eliminate wrong answers

Option B (Azure Functions) is wrong because while it can process events from Event Hubs, it lacks native support for complex windowed aggregations like a 5-minute sliding window average; you would have to manually implement state management and windowing logic, which is inefficient and error-prone for real-time streaming. Option C (Azure SQL Database) is wrong because it is a relational database for storing and querying static data, not a real-time stream processing engine; it cannot natively consume Event Hubs streams or perform sliding window computations without additional ETL and custom code. Option D (Azure Logic Apps) is wrong because it is a workflow orchestration service for integrating applications and services, not a real-time analytics engine; it lacks the ability to perform continuous, low-latency stream processing with windowed aggregations over streaming data.

23
MCQmedium

Refer to the exhibit. An Azure Data Factory pipeline JSON is shown. What does this pipeline do?

A.Copies sales data from Azure SQL Database to on-premises
B.Copies all sales data from on-premises to Azure SQL Database
C.Copies filtered sales data from on-premises to Azure SQL Database
D.Copies sales data from on-premises to Azure Data Lake Storage
AnswerC

This accurately describes the pipeline's copy activity: the source dataset points to an on-premises SQL Server source, the sink dataset points to an Azure SQL Database, and the source query uses a WHERE clause to filter sales records for 2023 onwards. Because the source-to-destination mapping and the presence of the filter are all reflected in the JSON, this is the correct choice.

Why this answer

The pipeline uses a Copy activity with a source dataset pointing to an on-premises SQL Server (via a self-hosted integration runtime) and a sink dataset pointing to an Azure SQL Database. The source query includes a WHERE clause filtering sales data by a date range, so only filtered data is copied. This matches option C.

Exam trap

The trap here is that candidates often overlook the WHERE clause in the source query and assume the pipeline copies all data, or they confuse the direction of data movement between on-premises and Azure.

How to eliminate wrong answers

Option A is wrong because the source is on-premises SQL Server and the sink is Azure SQL Database, not the reverse. Option B is wrong because the source query includes a WHERE clause that filters the data, so it does not copy all sales data. Option D is wrong because the sink is Azure SQL Database, not Azure Data Lake Storage.

24
MCQhard

A database administrator manages an Azure SQL Database with a table that has a clustered index on OrderID. Frequent queries filter on OrderDate and then sort the results by CustomerID. These queries perform poorly. Which indexing strategy will most improve performance for these specific queries?

A.Create a nonclustered index on (OrderDate, CustomerID)
B.Create a nonclustered index on (CustomerID, OrderDate)
C.Change the clustered index to (OrderDate)
D.Create a filtered index on OrderDate WHERE CustomerID IS NOT NULL
AnswerA

A composite nonclustered index on (OrderDate, CustomerID) is ideal for a query filtering on OrderDate and ordering by CustomerID. SQL Server can perform an index seek on the leading OrderDate column to isolate the matching rows, and because CustomerID is the second key column, the rows are already returned in the required sort order—eliminating the need for a separate SORT operator and reducing query cost significantly.

Why this answer

The query filters on OrderDate and then sorts by CustomerID. A nonclustered index on (OrderDate, CustomerID) supports both the WHERE clause (by OrderDate) and the ORDER BY clause (by CustomerID) as a covering index, allowing the database engine to perform a single index seek or scan without needing a separate sort operation. This directly addresses the performance bottleneck by eliminating the need to sort the results after filtering.

Exam trap

The trap here is that candidates often think a filtered index or changing the clustered index is the best solution, but they overlook that the query requires both filtering and sorting on different columns, and the leading key in a composite index must match the filter column to support both operations efficiently.

How to eliminate wrong answers

Option B is wrong because the index on (CustomerID, OrderDate) does not support the filter on OrderDate as the leading key; the query would require a full index scan or a separate sort, as the filter on OrderDate cannot use the index efficiently. Option C is wrong because changing the clustered index to OrderDate would reorder the entire table physically, which could improve range scans on OrderDate but would not directly optimize the sort by CustomerID; the query still needs to sort results by CustomerID, and the clustered index order does not help with that sort. Option D is wrong because a filtered index on OrderDate WHERE CustomerID IS NOT NULL does not include CustomerID as a key column, so it cannot help with the ORDER BY CustomerID clause; it also restricts the index to rows where CustomerID is not null, which may not cover all queries.

25
MCQeasy

A company must archive customer correspondence PDFs that are rarely accessed but must be retained for seven years. The documents must be available for read within seconds if requested. Which Azure Blob Storage access tier should be used to minimize storage cost while meeting the availability requirement?

A.Hot
B.Cool
C.Archive
D.Premium
AnswerB

Cool tier is for infrequent access with immediate availability and lower storage cost than Hot.

Why this answer

The Cool tier is optimal because it balances low storage cost with high availability for data that is infrequently accessed but must be retrievable within seconds. It offers the same low-latency retrieval as the Hot tier (milliseconds) but at a lower storage price, making it ideal for archived correspondence that still requires immediate read access.

Exam trap

The trap here is that candidates see 'archived' and immediately choose the Archive tier, forgetting the 'within seconds' availability requirement that disqualifies it.

How to eliminate wrong answers

Option A is wrong because the Hot tier has the highest storage cost and is designed for frequently accessed data, not for rarely accessed archives. Option C is wrong because the Archive tier has the lowest storage cost but retrieval times can range from minutes to hours, failing the 'within seconds' requirement. Option D is wrong because the Premium tier is optimized for high transaction volumes and low latency on block blobs, not for cost-effective archiving of rarely accessed data.

26
MCQeasy

A company is designing a new application that will store customer orders in a relational database on Azure. The data includes order IDs, customer IDs, product IDs, quantities, and order dates. The application needs to support complex queries that join multiple tables and enforce referential integrity. Which Azure service should the company use?

A.Azure SQL Database
B.Azure Table Storage
C.Azure Cosmos DB
D.Azure Blob Storage
AnswerA

Azure SQL Database is a fully managed relational database engine that provides complete T-SQL support, including table joins with various join types, primary/foreign key enforcement, check constraints, and ACID transactions. This makes it the only option in the list that natively supports the referential integrity and complex relational queries expected when designing an application that stores customer data across normalized tables. It also offers built-in high availability, automated backups, and scaling options, so it aligns with both the relational data model and operational requirements.

Why this answer

Azure SQL Database is the correct choice because it is a fully managed relational database service that supports complex queries with JOINs and enforces referential integrity. In contrast, Azure Cosmos DB is a NoSQL database, Azure Table Storage is a key-value store, and Azure Blob Storage is for unstructured data, none of which are suitable for relational requirements.

27
MCQhard

A manufacturing company ingests real-time sensor data from factory equipment via Azure Event Hubs. The data is a continuous stream of measurements (sensorId, timestamp, value). Additionally, historical maintenance records are stored as CSV files in Azure Data Lake Storage Gen2. The operations team needs to join the streaming data with the historical records in near real-time to detect anomalies. They also need to run complex T-SQL queries on the combined dataset for ad-hoc analysis. Which Azure service should they use as the primary analytics platform?

A.Azure Stream Analytics
B.Azure Synapse Analytics
C.Azure Data Factory
D.Azure HDInsight with Spark
AnswerB

Azure Synapse Analytics is correct because it unifies big data and data warehousing in a single service, letting you run T-SQL queries against both real-time streaming data from Event Hubs and historical batch data in Azure Data Lake Storage. Its serverless SQL pool can query data directly from the lake without loading, and dedicated SQL pools provide familiar relational warehouse semantics. This allows ad-hoc analytics on fresh sensor data joined with historical context, exactly matching the company's requirement.

Why this answer

Azure Synapse Analytics is the correct choice because it provides a unified analytics platform that can ingest real-time streaming data from Azure Event Hubs via its built-in pipeline or Spark Structured Streaming, and simultaneously query historical CSV files in Azure Data Lake Storage Gen2 using serverless SQL or dedicated SQL pools. This allows the operations team to join streaming and batch data in near real-time for anomaly detection, and also run complex T-SQL queries for ad-hoc analysis, all within a single service.

Exam trap

The trap here is that candidates often choose Azure Stream Analytics because it handles streaming data, but they overlook the requirement for complex T-SQL ad-hoc queries, which Stream Analytics cannot support, while Azure Synapse Analytics provides both streaming ingestion and full T-SQL analytics in a single platform.

Why the other options are wrong

A

Azure Stream Analytics is optimized for real-time stream processing but cannot natively join streaming data with static historical data stored in Azure Data Lake Storage Gen2 for complex T-SQL queries. It lacks the ability to run ad-hoc T-SQL queries on combined datasets.

C

Azure Data Factory is an orchestration and ETL service, not an analytics platform. It cannot perform real-time stream processing or run T-SQL queries directly on combined streaming and batch data.

When would these options actually be correct?

A

Azure Stream Analytics would be correct if the question required only real-time anomaly detection on the streaming sensor data without needing to join with historical records or run ad-hoc T-SQL queries. For example, a scenario where you need to filter or aggregate streaming data in real-time and output to a dashboard.

C

A question asks: 'Which service should be used to orchestrate the movement and transformation of data from multiple sources into a data warehouse for later analysis?' In that scenario, Azure Data Factory is the correct answer.

Why candidates pick the wrong answer

A

Candidates may think Stream Analytics is sufficient because it can process streaming data and has some reference data capabilities, but they overlook the need for complex T-SQL queries and integration with historical data in Data Lake Storage.

C

Candidates may think Data Factory can handle both streaming and batch data integration and assume it can also perform analytics, confusing its ETL capabilities with actual query processing.

28
Multi-Selectmedium

A company is designing a solution to store time-series data from millions of IoT devices. Which TWO Azure services are most suitable for this scenario?

Select 2 answers
A.Azure Data Explorer
B.Azure Blob Storage
C.Azure Cosmos DB
D.Azure Redis Cache
E.Azure SQL Database
AnswersA, C

Azure Data Explorer is purpose-built for storing and analyzing time-series and high-throughput telemetry data. Its columnar storage and specialized Kusto Query Language (KQL) engine index data by time partitions, enabling fast, server-side aggregations and native time-series functions like make-series and anomaly detection. This makes it the most appropriate choice for interactive analytics over large volumes of timestamped events.

Why this answer

Azure Data Explorer (option A) is optimized for time-series analytics and ingesting high volumes of data from IoT devices. Azure Cosmos DB (option C) provides a flexible schema and low latency suitable for time-series data storage. Azure Blob Storage (option B) is for unstructured blob data, not optimized for time-series queries.

Azure Redis Cache (option D) is a caching layer, not a primary storage solution. Azure SQL Database (option E) is relational and less efficient for high-velocity time-series data.

29
MCQeasy

A company needs to store JSON documents that are frequently updated by multiple services. The solution must support indexing and querying by any property. Which Azure data service should they use?

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

Azure Cosmos DB is a fully managed, horizontally scalable NoSQL database that stores documents natively in JSON format and automatically indexes every property without requiring a schema. Its SQL API supports filtering, projection, and joins over JSON, and turnkey global distribution provides low-latency access for frequently read documents. This combination of native JSON storage, automatic indexing, and direct querying exactly meets the requirement.

Why this answer

Azure Cosmos DB is a fully managed NoSQL database designed for JSON documents, offering native support for indexing every property automatically without requiring a predefined schema. Its multi-model API (including SQL API) allows querying by any property with low-latency reads and writes, making it ideal for services that frequently update JSON documents.

Exam trap

The trap here is that candidates confuse Azure Blob Storage's ability to store JSON files (as blobs) with the ability to query them by property, overlooking the lack of native indexing and querying capabilities.

How to eliminate wrong answers

Option A is wrong because Azure Blob Storage stores unstructured binary or text data as blobs, not queryable JSON documents, and lacks native indexing or querying by arbitrary properties. Option B is wrong because Azure SQL Database is a relational database that requires a fixed schema and does not natively store or index JSON documents without manual schema design and JSON functions. Option D is wrong because Azure Table Storage is a key-attribute store that only supports queries on partition key and row key, not arbitrary property indexing, and is not optimized for JSON document storage.

30
MCQmedium

A company has a table named 'Sales' in Azure SQL Database with columns: SaleID (int, primary key), ProductID (int), SaleDate (datetime), Quantity (int), UnitPrice (decimal), TotalAmount (computed column). Queries frequently run to retrieve the total Quantity and UnitPrice for a specific ProductID over a date range. The query filters on ProductID and SaleDate and selects only Quantity and UnitPrice. Which index would most improve query performance?

A.Nonclustered index on (ProductID, SaleDate) INCLUDE (Quantity, UnitPrice)
B.Nonclustered index on (SaleDate) INCLUDE (Quantity, UnitPrice)
C.Clustered index on (ProductID, SaleDate)
D.Nonclustered index on (ProductID) INCLUDE (Quantity, UnitPrice)
AnswerA

This covering index includes all columns needed by the query (Quantity, UnitPrice) as included columns, and the key columns (ProductID, SaleDate) support efficient filtering. The query can be satisfied entirely from the index without key lookups.

Why this answer

It creates a covering nonclustered index that supports both the WHERE clause (ProductID, SaleDate) and the SELECT clause (Quantity, UnitPrice) without needing to access the base table. The index key order matches the query filter, and the included columns avoid key lookups, minimizing I/O for the frequent aggregation queries.

Exam trap

The trap here is that candidates often think a clustered index on the filter columns is always best, but they overlook that a nonclustered index with included columns can provide a covering index that avoids costly key lookups, especially when the SELECT list is a subset of columns.

Why the other options are wrong

B

This index does not include ProductID as the leading key, so queries filtering on both ProductID and SaleDate cannot seek on ProductID first; they may scan or seek on SaleDate only, missing the optimal key order for the query's filter.

C

A clustered index on (ProductID, SaleDate) would physically order the table by those columns, but the query selects only Quantity and UnitPrice, which are not included in the index key. This forces key lookups to retrieve those columns, reducing performance compared to a covering nonclustered index.

D

This index does not include SaleDate, so it cannot efficiently support the date range filter. The query would still need to scan all rows for the given ProductID to find those within the date range.

When would these options actually be correct?

B

If the query filtered only on SaleDate (e.g., total Quantity and UnitPrice for all products over a date range), this index would be correct because it supports seeking on SaleDate and includes the needed columns.

C

If the query required all columns from the Sales table (e.g., SELECT *), a clustered index on (ProductID, SaleDate) would be optimal because it includes all columns without additional lookups. This is common in queries that retrieve full rows for reporting or analysis.

D

If the query only filters on ProductID (no date range) and selects Quantity and UnitPrice, this covering index would be optimal. For example: 'SELECT Quantity, UnitPrice FROM Sales WHERE ProductID = ?'

Why candidates pick the wrong answer

B

Candidates may think that since SaleDate is used in the filter, it should be the index key, overlooking that the query also filters on ProductID and that leading with ProductID is more selective.

C

Candidates may think a clustered index is always faster for range queries, or they may confuse the covering index concept, assuming that clustering on the filter columns automatically includes all data.

D

Candidates may think that filtering on ProductID alone is sufficient, overlooking the date range filter. They might also assume that including the selected columns makes the index covering, ignoring the missing filter column.

31
MCQeasy

A healthcare organization is planning a data analytics platform. They will ingest data from various sources: structured patient records from a relational database, semi-structured JSON logs from medical devices, and unstructured physician notes as plain text files. Which characteristic of big data describes the different formats of data being ingested?

A.Volume
B.Velocity
C.Variety
D.Veracity
AnswerC

Variety is the correct choice because it specifically captures the heterogeneity of data types being ingested — structured data like lab values in relational tables, semi-structured data like HL7/FHIR messages or JSON, and unstructured data like physician notes or scanned images. In a healthcare analytics platform, this diversity of formats and schemas across sources (EHR, imaging, wearables) is exactly what the variety dimension addresses. It does not focus on quantity, speed, or trustworthiness, which are other V's of big data.

Why this answer

The question describes data in three distinct formats: structured (relational database), semi-structured (JSON logs), and unstructured (plain text). In big data terminology, 'Variety' specifically refers to the different types and formats of data being processed. This is a core concept in the 4 V's of big data, where Variety captures the heterogeneity of data sources and structures.

Exam trap

The trap here is that candidates often confuse 'Variety' with 'Volume' because they associate big data with large datasets, but the question explicitly asks about different formats, not size.

Why the other options are wrong

A

The question specifically asks about 'different formats of data,' which is the definition of variety. Volume refers to the amount of data, not its format.

B

The question specifically asks about the different formats of data (structured, semi-structured, unstructured), which is the definition of variety, not velocity. Velocity refers to the speed at which data is generated and processed.

D

Veracity refers to the trustworthiness or quality of data, not the different formats. The question specifically asks about the characteristic describing different data formats, which is Variety.

When would these options actually be correct?

A

A question that asks: 'Which characteristic of big data describes the challenge of storing and processing terabytes of data from thousands of sensors?' would have Volume as the correct answer.

B

A question like 'A stock trading platform ingests real-time market data and must process trades within milliseconds. Which big data characteristic is most relevant?' would make velocity the correct answer.

D

Veracity would be correct in a question about data quality challenges, e.g., 'A data platform ingests data from multiple sources with inconsistent accuracy and missing values. Which big data characteristic is most relevant?'

Why candidates pick the wrong answer

A

Candidates may confuse the large amount of data from multiple sources with the concept of volume, not realizing the question focuses on format differences.

B

Candidates may confuse the high speed of data ingestion from multiple sources (like medical devices) with the concept of velocity, not realizing that the question focuses on data format differences.

D

Candidates may confuse Veracity with Variety because both start with 'V' and relate to data complexity, or they may think different formats imply data quality issues.

32
Matchingmedium

Match each Azure data service to its primary purpose.

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

Concepts
Matches

Relational database as a service

NoSQL multi-model database

Big data and analytics

Unstructured object storage

Scalable data lake for analytics

Why these pairings

Azure SQL Database is for relational data, Azure Cosmos DB is a NoSQL globally distributed database, Azure Blob Storage stores unstructured objects, and Azure Synapse Analytics handles big data analytics and warehousing.

33
MCQmedium

A company has a legacy application that requires SMB (Server Message Block) file shares to store and access configuration files. They want to migrate this data to Azure without modifying the application. Which Azure storage solution should they use?

A.Azure Blob Storage
B.Azure Files
C.Azure Queue Storage
D.Azure Disk Storage
AnswerB

Azure Files is a fully managed file share service that supports the SMB protocol, specifically SMB 3.0 and later, enabling a legacy application to mount a cloud-backed share just like a traditional on-premises file server. It provides native Windows and Linux client support, and with Azure Active Directory Domain Services integration, it can preserve existing SMB-based authentication and authorization, so the application continues to work without code changes.

Why this answer

Azure Files provides fully managed SMB (Server Message Block) file shares in the cloud, supporting the SMB 3.0 protocol. This allows the legacy application to access configuration files over the network using standard file share paths without any code changes, making it the ideal migration target for lift-and-shift scenarios.

Exam trap

The trap here is that candidates often confuse Azure Blob Storage (object storage) with file shares, assuming it can serve SMB traffic, but Blob Storage does not natively support the SMB protocol and requires application modifications or third-party tools to emulate file shares.

Why the other options are wrong

A

Azure Blob Storage does not support SMB protocol; it uses REST APIs for access, so the legacy application requiring SMB file shares cannot use it without modification.

C

Azure Queue Storage is a messaging service for asynchronous communication between application components, not a file share protocol. It does not support SMB protocol or provide a file system interface, so it cannot replace SMB file shares for the legacy application.

D

Azure Disk Storage provides block-level storage volumes for Azure VMs, not SMB file shares. It does not natively support the SMB protocol for file sharing, so the legacy application requiring SMB shares cannot use it without modification.

When would these options actually be correct?

A

When a question asks for storing large amounts of unstructured data (e.g., images, videos, backups) accessible via HTTP/HTTPS, and the application can use REST APIs or SDKs, Azure Blob Storage is the correct choice.

C

Azure Queue Storage would be correct for a question about decoupling application components, such as when a web app needs to offload long-running tasks to a backend worker. The scenario would involve asynchronous message passing, not file sharing.

D

Azure Disk Storage is correct when the question specifies a need for persistent, high-performance block storage for a virtual machine, such as for a database or custom application that requires direct disk access via iSCSI or as a VM disk.

Why candidates pick the wrong answer

A

Candidates may confuse Blob Storage with file storage because both can store data, but they overlook the specific protocol requirement (SMB) in the question.

C

Candidates may confuse Azure Queue Storage with a storage option for data, or mistakenly think it can serve files because it is a type of Azure storage. The word 'queue' might be overlooked, focusing only on 'storage'.

D

Candidates may confuse Azure Disk Storage with file storage because both are used for storing data, or they might think that any Azure storage can support SMB if configured, but Disk Storage does not offer file-level sharing.

34
MCQmedium

A company uses Azure SQL Database for an order management system. The Orders table has columns: OrderID (int, primary key), CustomerID (int), OrderDate (datetime), Status (varchar), TotalAmount (decimal). Queries frequently filter on CustomerID and OrderDate to find orders from a specific customer within a date range. Which index would most improve performance for these queries?

A.A clustered index on OrderID
B.A non-clustered index on Status
C.A non-clustered index on (CustomerID, OrderDate) INCLUDE (TotalAmount)
D.A non-clustered index on (OrderDate, TotalAmount)
AnswerC

This composite non-clustered index is optimal because CustomerID is the leftmost key column, enabling a seek on CustomerID and then matching the OrderDate range or equality, while TotalAmount is stored as a non-key included column. That makes the index covering for this query, meaning all required data is present in the index pages and no round-trip to the clustered base table is needed, thereby minimizing logical reads and I/O.

Why this answer

The query filters on CustomerID and OrderDate, so a composite non-clustered index on (CustomerID, OrderDate) allows SQL Server to perform an index seek on both columns, drastically reducing the number of rows scanned. Including TotalAmount as a non-key column makes this a covering index, meaning all needed data (including TotalAmount) is in the index leaf pages, avoiding costly key lookups to the clustered index.

Exam trap

The trap here is that candidates often pick an index starting with OrderDate (Option D) because they think date-range filtering is the primary need, forgetting that the equality filter on CustomerID must be the leading column for an efficient seek.

Why the other options are wrong

A

A clustered index on OrderID is already the primary key, so it exists by default. The query filters on CustomerID and OrderDate, not OrderID, so this index does not help with those filters.

D

The index on (OrderDate, TotalAmount) does not include CustomerID, which is a primary filter in the queries. Without CustomerID as a leading key, the index cannot efficiently narrow down rows for a specific customer, leading to scans rather than seeks.

When would these options actually be correct?

A

If the query frequently searched for a specific order by OrderID (e.g., SELECT * FROM Orders WHERE OrderID = ?), then a clustered index on OrderID would be optimal for that point lookup.

D

If the query filters only on OrderDate and TotalAmount (e.g., finding orders with a total amount above a threshold within a date range), this index would be optimal as it directly supports both filter and potential covering.

Why candidates pick the wrong answer

A

Candidates may think a clustered index is always the best for performance, or they confuse the primary key index with being useful for all queries, not realizing it only helps when filtering on the key column.

D

Candidates may think any index on columns used in WHERE clause helps, but they overlook the importance of leading column order for multi-column filters, especially when one column (CustomerID) is highly selective.

35
MCQhard

You are a data architect for a logistics company. The company uses Azure Data Lake Storage Gen2 to store shipment tracking data. The data is ingested from IoT devices on trucks. Each record contains truck ID, timestamp, GPS coordinates, speed, and fuel level. The volume is 5 TB per day. The company wants to build a near-real-time dashboard to monitor truck locations and speeds. They also need to run daily batch analytics to compute fuel efficiency trends. You need to design a solution that minimizes latency for the dashboard and maximizes cost efficiency for batch processing. You plan to use Azure Event Hubs for ingestion. Which approach should you take?

A.Use Azure Stream Analytics to process the stream and output directly to Azure SQL Database. Use Power BI to query SQL Database for both real-time dashboard and historical analytics.
B.Use Azure Event Hubs Capture to store data in Azure Blob Storage, then use Azure Data Factory to transform and load into Azure Synapse Analytics for both dashboard and batch.
C.Use Azure Databricks with Structured Streaming to process the stream, write to Delta Lake, and use Delta Lake to serve both real-time and batch queries.
D.Use Azure Stream Analytics to process the stream, output to Power BI for real-time dashboard, and simultaneously output raw data to Azure Data Lake Storage. Use Azure Databricks to process the data lake for batch analytics.
AnswerD

Stream Analytics provides low latency for dashboard; Data Lake Storage is cost-effective for large volumes; Databricks handles batch efficiently.

Why this answer

It separates the real-time and batch processing paths to minimize latency and maximize cost efficiency. Azure Stream Analytics outputs directly to Power BI for near-real-time dashboard updates, while simultaneously writing raw data to Azure Data Lake Storage for cost-effective storage. Azure Databricks then processes the data lake for daily batch analytics, avoiding expensive real-time compute for historical analysis.

Exam trap

The trap here is that candidates often assume a single technology (like Databricks or Synapse) can handle both real-time and batch workloads equally well, but the DP-900 exam tests the understanding that separating the streaming path (Stream Analytics to Power BI) from the batch path (Data Lake to Databricks) optimizes for both latency and cost.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database is not optimized for high-velocity streaming ingestion and would introduce latency for the dashboard, plus it is costly for storing 5 TB/day of raw data. Option B is wrong because Event Hubs Capture to Blob Storage and then Azure Data Factory to Synapse Analytics introduces batch processing latency that cannot meet near-real-time dashboard requirements. Option C is wrong because while Delta Lake can serve both real-time and batch queries, using Databricks Structured Streaming for the dashboard adds unnecessary complexity and cost compared to a dedicated stream processing service like Stream Analytics.

36
MCQmedium

Refer to the exhibit. An administrator deploys this Azure Policy assignment. What is the most likely effect on storage account 'storage1'?

A.Public network access will be denied.
B.The storage account will be deleted.
C.Firewall rules will be added.
D.Soft Delete will be enabled.
AnswerA

The Azure Policy assignment uses the `deny` effect, which explicitly blocks any non-compliant create or update request. When a user attempts to deploy a storage account with `publicNetworkAccess` enabled (or leaves it at the default of `Enabled`), policy evaluation returns a 403 Forbidden error and the request fails. This prevents the storage account from ever being provisioned in a state that exposes it to the public internet, thus enforcing the rule that public network access is denied.

Why this answer

The Azure Policy assignment shown in the exhibit denies the creation or update of storage accounts that do not have public network access disabled. Since 'storage1' is subject to this policy, the policy will enforce the 'Deny' effect, preventing any configuration that allows public network access. If 'storage1' already exists and is compliant, it remains; if it is non-compliant, the policy will block changes that would enable public access, effectively denying public network access.

Exam trap

The trap here is that candidates confuse 'Deny' with 'DeployIfNotExists' or 'Modify' effects, assuming the policy will automatically change settings or delete resources, when in fact 'Deny' only blocks non-compliant requests.

How to eliminate wrong answers

Option B is wrong because Azure Policy with a 'Deny' effect does not delete resources; it only prevents non-compliant creation or updates. Option C is wrong because the policy specifically targets 'public network access' (a property of the storage account), not firewall rules—firewall rules are a separate configuration that can coexist with disabled public network access. Option D is wrong because the policy does not mention 'Soft Delete' or any blob-level data protection feature; it only evaluates the 'public network access' property.

37
MCQmedium

A company is designing a data solution for their e-commerce platform. They need to store product catalogs with varying attributes, support high-throughput read/write operations, and ensure low-latency access globally. Which Azure data store is most appropriate?

A.Azure Cosmos DB
B.Azure SQL Database
C.Azure Redis Cache
D.Azure Data Lake Storage
AnswerA

Azure Cosmos DB is a multi-model NoSQL database service that provides turnkey global distribution, single-digit-millisecond read and write latencies at the 99th percentile, and automatic indexing of all data without requiring a predefined schema. For an e-commerce product catalog, this means product attributes, variants, and pricing can evolve freely while data is replicated across Azure regions using multiple consistency models to serve customers globally. Its SLA-backed availability and multi-master write support make it the right operational store for always-on transactional catalog workloads.

Why this answer

Azure Cosmos DB is the most appropriate choice because it is a globally distributed, multi-model database service that supports schema-agnostic storage of product catalogs with varying attributes. It offers guaranteed single-digit-millisecond latency for reads and writes at any scale, and its turnkey global distribution enables low-latency access from multiple regions, meeting the e-commerce platform's high-throughput and global requirements.

Exam trap

The trap here is that candidates often confuse Azure SQL Database's JSON support with native schema flexibility, overlooking the fact that Cosmos DB is purpose-built for globally distributed, schema-agnostic workloads with guaranteed latency SLAs.

How to eliminate wrong answers

Option B is wrong because Azure SQL Database is a relational database with a fixed schema, which is not suitable for storing product catalogs with varying attributes without complex schema changes or using JSON columns that lack native indexing and global distribution capabilities. Option C is wrong because Azure Redis Cache is an in-memory data store primarily used for caching and session state, not for durable, persistent storage of product catalogs with high-throughput writes and global replication. Option D is wrong because Azure Data Lake Storage is designed for big data analytics and batch processing of large volumes of unstructured data, not for low-latency, high-throughput transactional read/write operations required by an e-commerce product catalog.

38
MCQeasy

A transportation company collects real-time GPS data from thousands of delivery vehicles. They need to process this streaming data to detect delays and generate alerts when a vehicle is behind schedule. Which Azure service should they use for the stream processing?

A.A. Azure Data Factory
B.B. Azure Stream Analytics
C.C. Azure Data Lake Analytics
D.D. Azure Analysis Services
AnswerB

Azure Stream Analytics is a fully managed, PaaS stream-processing engine that consumes data from sources such as Event Hubs, IoT Hub, or Blob storage and applies SQL-like queries with temporal windows—tumbling, hopping, sliding, and session—to filter, aggregate, and join events. It processes millions of events per second with low latency and can emit alert outputs directly to Power BI, Azure Functions, or Event Hubs, making it ideal for real-time GPS geofencing, speed alerts, or route analytics. Stream Analytics also supports exactly-once event delivery and watermarking for handling late or out-of-order telemetry, and it can run on IoT Edge for on-device processing.

Why this answer

Azure Stream Analytics is the correct choice because it is a fully managed, real-time stream processing engine designed to handle high-velocity data from sources like IoT devices and GPS sensors. It can ingest streaming data from Azure Event Hubs or IoT Hub, apply SQL-based queries to detect patterns such as delays, and output alerts to sinks like Azure Functions or Power BI in near real-time.

Exam trap

The trap here is that candidates often confuse Azure Data Factory's batch orchestration capabilities with real-time processing, or mistakenly think Azure Data Lake Analytics can handle streaming data because of its 'analytics' name, but neither supports continuous, low-latency stream processing.

How to eliminate wrong answers

Option A is wrong because Azure Data Factory is a cloud-based ETL and data integration service for orchestrating batch data movement and transformation, not designed for real-time stream processing. Option C is wrong because Azure Data Lake Analytics is a batch analytics service that processes large volumes of data stored in Data Lake Storage using U-SQL, not suited for low-latency streaming scenarios. Option D is wrong because Azure Analysis Services is an analytical engine for semantic modeling and business intelligence on pre-processed data, not capable of ingesting or processing real-time streaming data.

39
MCQhard

A social media application stores user posts in Azure Cosmos DB. Each document contains fields: PostID (unique), UserID, Timestamp, Content, LikesCount. The most common query retrieves all posts by a specific UserID ordered by Timestamp descending. Which partition key and indexing strategy minimizes Request Unit (RU) consumption?

A.Partition key: PostID; Index: range on Timestamp
B.Partition key: UserID; Index: range on Timestamp
C.Partition key: Timestamp; Index: range on UserID
D.Partition key: UserID; Index: composite on (UserID, PostID)
AnswerB

Correct - UserID as partition key keeps each user's posts together. A range index on Timestamp enables efficient in-partition sorting, resulting in low RU.

Why this answer

The query filters on UserID, so setting UserID as the partition key ensures all posts for a user are in the same physical partition, avoiding cross-partition queries. Adding a range index on Timestamp allows efficient sorting without additional RU overhead, as Cosmos DB can use the index to return results in descending order directly.

Exam trap

The trap here is that candidates often choose a composite index (Option D) thinking it optimizes both filter and sort, but Cosmos DB's indexing engine can satisfy the ORDER BY with a simple range index on the sort column alone, and a composite index would only add unnecessary write RU cost.

How to eliminate wrong answers

Option A is wrong because PostID as partition key would scatter each user's posts across multiple partitions, forcing a fan-out query that scans all partitions and consumes more RUs. Option C is wrong because Timestamp as partition key would also scatter posts for the same user across partitions, and the range index on UserID does not help sort by Timestamp efficiently. Option D is wrong because while UserID partition key is correct, a composite index on (UserID, PostID) is unnecessary and adds write overhead; a simple range index on Timestamp is sufficient for the ORDER BY clause.

40
MCQmedium

A business analyst needs to query a large Azure SQL Database table that stores sales transactions. The table contains over 100 million rows. The analyst wants to retrieve aggregated sales per product category for the current month. The current query performs a full table scan and takes several minutes. Which indexing strategy will best improve the performance of this aggregation query?

A.Create a clustered index on the transaction date column
B.Create a nonclustered index on the product category column
C.Create a columnstore index on the table
D.Create a filtered index on transactions from the current month
AnswerC

A columnstore index stores each column as a separate, compressed segment and enables SQL Server to read only the columns needed for the query (e.g., amount, category, date) rather than whole rows. It uses batch-mode processing, where the engine processes data in large batches with vectorized operators, dramatically accelerating SUM and GROUP BY over large tables. For a large Azure SQL Database table used in analytical queries, a clustered columnstore index is purpose-built for this exact scenario and requires no query rewrites.

Why this answer

A columnstore index stores data column-wise and uses batch processing, which dramatically accelerates aggregation queries (like SUM, COUNT, GROUP BY) over large tables. For a 100-million-row table, this reduces I/O and CPU by reading only the columns needed for the aggregation, making it the optimal choice for the analyst's current-month sales-per-category query.

Exam trap

The trap here is that candidates often choose a filtered or nonclustered index thinking they will reduce the scan scope, but they overlook that columnstore indexes are specifically designed for high-performance analytical aggregations on large tables, not just for filtering or single-column lookups.

How to eliminate wrong answers

Option A is wrong because a clustered index on transaction date would only speed up range scans or point lookups on that column, not aggregations by product category; the query would still need to scan all rows or perform a costly key lookup. Option B is wrong because a nonclustered index on product category would help with equality or range searches on that column, but for a full-table aggregation with GROUP BY, it would still require a full index scan and does not provide the columnar compression and batch processing benefits needed. Option D is wrong because a filtered index on transactions from the current month would only cover a subset of rows, but the query already filters to the current month; the real performance bottleneck is the aggregation over millions of rows, which a filtered index does not address as effectively as a columnstore index.

41
MCQmedium

Refer to the exhibit. An Azure Policy is defined as shown. A database administrator attempts to create an Azure SQL Database without enabling zone redundancy. What will happen?

A.The database will be created and an audit event will be logged
B.The database creation will be denied
C.The database will be created and zone redundancy will be automatically enabled
D.The database will be created with zone redundancy disabled
AnswerB

This is correct because the policy rule uses a deny effect with a condition that compares the 'zoneRedundant' property to the literal value false. When a user attempts to create a SQL Database with zoneRedundant set to false, the condition evaluates true, causing Azure Resource Manager to block the deployment before the resource provider provisions anything. The request fails with an error indicating the resource was disallowed by policy, so the database is never created. This is the intended behavior of a deny policy.

Why this answer

The policy has an effect of 'deny', so any attempt to create an Azure SQL Database without zone redundancy will be denied. Option B is correct because the policy explicitly denies the creation. Option A is incorrect because the effect is deny, not audit.

Option C is incorrect because the policy denies creation rather than enabling zone redundancy automatically. Option D is incorrect because the policy denies the creation entirely, it does not allow creation with zone redundancy disabled.

42
MCQmedium

A bank processes a fund transfer transaction. The system debits $100 from Account A and then credits $100 to Account B. If the system crashes after debiting Account A but before crediting Account B, the database automatically reverts the debit. Which ACID property ensures this behavior?

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

Correct - Atomicity guarantees that the transaction is all-or-nothing. The rollback of the debit upon crash is a direct result of atomicity enforcement.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. If any part of the transaction fails (e.g., a crash after debiting Account A but before crediting Account B), the entire transaction is rolled back, reverting any partial changes like the debit. This all-or-nothing behavior is the core of atomicity in database systems.

Exam trap

The trap here is that candidates often confuse atomicity with consistency, thinking that 'keeping the database in a valid state' is what triggers the rollback, but it is actually atomicity that enforces the all-or-nothing rule for the transaction itself.

How to eliminate wrong answers

Option B is wrong because Consistency ensures that a transaction transforms the database from one valid state to another, enforcing integrity constraints (e.g., total balance remains constant), but it does not handle rollback of partial changes after a crash. Option C is wrong because Isolation ensures that concurrent transactions do not interfere with each other (e.g., via locking or MVCC), but it does not address crash recovery or rollback of incomplete transactions. Option D 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 revert uncommitted changes; that is the role of atomicity.

43
Multi-Selecthard

Which TWO Azure services are primarily used for batch processing of large volumes of data? (Choose two.)

Select 2 answers
A.Azure Synapse Analytics
B.Azure SQL Database
C.Azure Stream Analytics
D.Azure Databricks
E.Azure Data Lake Storage
AnswersA, D

Synapse provides SQL and Spark engines for batch processing.

Why this answer

Azure Synapse Analytics is correct because it provides a cloud-based data warehousing and analytics service that uses massively parallel processing (MPP) to run complex queries and batch processing jobs over large datasets, often using PolyBase or T-SQL to transform and load data in bulk. Azure Databricks is correct because it is an Apache Spark-based analytics platform optimized for batch processing, allowing users to run distributed data processing jobs (e.g., ETL, data transformation) across large volumes of data using DataFrames and RDDs in a cluster environment.

Exam trap

The trap here is that candidates often confuse Azure Data Lake Storage (a storage service) with a processing service, or mistakenly think Azure SQL Database can handle large-scale batch processing due to its ability to run bulk insert operations, but it lacks the distributed compute and parallel architecture required for true batch processing at scale.

44
MCQeasy

A business analyst needs to create interactive visualizations and share dashboards with colleagues using data stored in an Azure Synapse Analytics dedicated SQL pool. Which tool should the analyst use?

A.Azure Data Studio
B.Power BI Desktop
C.SQL Server Management Studio (SSMS)
D.Azure Machine Learning Studio
AnswerB

Power BI Desktop is the correct answer because it provides a complete self-service business intelligence workflow. You can connect to sources like Azure Synapse Analytics, transform data with Power Query, build rich interactive visuals on a drag-and-drop canvas, and create measures using DAX. You then publish the report to the Power BI service for sharing, collaboration, scheduled refresh, and security, making it perfectly suited for an analyst creating interactive visualizations.

Why this answer

Power BI Desktop is the correct tool because it is designed for creating interactive visualizations and dashboards, and it can connect directly to Azure Synapse Analytics dedicated SQL pools via the built-in Azure Synapse Analytics connector. This allows the business analyst to build reports and share them with colleagues through the Power BI service, meeting the requirement for interactive dashboards and collaboration.

Exam trap

The trap here is that candidates often confuse Azure Data Studio or SSMS as tools for visualization because they can run queries and view results, but they lack the interactive dashboard and sharing features that Power BI provides.

How to eliminate wrong answers

Option A is wrong because Azure Data Studio is a database management and query tool focused on SQL development and administration, not on creating interactive visualizations or sharing dashboards. Option C is wrong because SQL Server Management Studio (SSMS) is primarily for managing SQL Server and Azure SQL databases, including querying and administration, but it lacks the visualization and dashboard-sharing capabilities needed for business analytics. Option D is wrong because Azure Machine Learning Studio is a platform for building, training, and deploying machine learning models, not for creating interactive visualizations or dashboards from data in a dedicated SQL pool.

45
MCQmedium

A data engineer needs to query data stored in CSV files in Azure Data Lake Storage Gen2 using T-SQL in Azure Synapse Analytics, without loading the data into the database. Which feature should they use?

A.External tables
B.Materialized views
C.Stored procedures
D.Indexed views
AnswerA

An external table in Azure Synapse SQL defines a schema over files in Azure Data Lake Storage Gen2 using an external data source and external file format. PolyBase enables T-SQL queries to read the CSV or Parquet files directly from the storage account without loading or moving the data into a database. This is exactly the capability needed to query CSV data in ADLS Gen2.

Why this answer

External tables in Azure Synapse Analytics allow you to query data stored in files (such as CSV in Azure Data Lake Storage Gen2) using T-SQL without loading the data into the database. They use the PolyBase engine to read the files directly, enabling on-the-fly querying of external data sources.

Exam trap

The trap here is that candidates may confuse external tables with materialized views or indexed views, thinking any database object can query external files, but only external tables provide the PolyBase-based bridge to read data directly from storage without loading.

How to eliminate wrong answers

Option B is wrong because materialized views store pre-computed data physically in the database, requiring data to be loaded first, which contradicts the requirement to query without loading. Option C is wrong because stored procedures are a set of T-SQL statements executed on the database, but they do not provide a mechanism to directly query external files without loading data into tables. Option D is wrong because indexed views require data to be stored in the database and indexed, which again necessitates loading the data first.

46
MCQmedium

An e-commerce company has 20 SQL Server databases that each range from 10 GB to 50 GB and experience unpredictable usage patterns with occasional spikes in user activity. The company wants to migrate to Azure SQL Database to reduce management overhead and minimize costs by allowing databases to share resources. Which Azure SQL Database deployment option should they choose?

A.A: Single database with provisioned throughput
B.B: Elastic pool
C.C: Managed Instance
D.D: SQL Server on Azure VM
AnswerB

An elastic pool allocates a shared set of vCores/eDTUs to multiple Azure SQL databases that reside on the same logical server. Databases can consume extra resources as needed up to a configured per-database cap, while idle databases automatically release unused capacity back to the pool. This shared capacity model is ideal for 20 databases with unpredictable usage because you pay for the aggregate demand of the pool rather than the sum of each database's individual peak, dramatically reducing cost.

Why this answer

Elastic pools allow multiple SQL databases to share a fixed set of resources (eDTUs or vCores), which is ideal for databases with unpredictable usage patterns and occasional spikes. By pooling resources, the company can reduce management overhead and minimize costs compared to provisioning each database individually, as the pool's total resources are shared among all databases, smoothing out peak demands.

Exam trap

The trap here is that candidates may confuse 'reducing management overhead' with choosing a fully managed option like Managed Instance, but fail to recognize that the key requirement is 'sharing resources to minimize costs,' which is uniquely addressed by elastic pools, not by single databases or instance-level offerings.

Why the other options are wrong

A

Single database with provisioned throughput does not allow databases to share resources or minimize costs for unpredictable, spiky workloads across multiple databases. Each database is isolated with dedicated resources, leading to over-provisioning and higher costs.

C

Azure SQL Managed Instance is designed for lift-and-shift migrations requiring near 100% compatibility with on-premises SQL Server, but it does not support resource sharing across multiple databases via elastic pools, so it would not minimize costs for unpredictable, shared workloads.

D

SQL Server on Azure VM requires manual management of the OS and SQL Server, including patching and backups, which does not reduce management overhead. It also cannot share resources across databases to minimize costs like an elastic pool.

When would these options actually be correct?

A

A single database with provisioned throughput is correct when a company has one large database (e.g., >500 GB) with predictable, steady-state usage and requires guaranteed performance isolation without sharing resources with other databases.

C

A company needs to migrate multiple on-premises SQL Server databases to Azure with minimal application changes, requiring features like SQL Agent, cross-database queries, and VNet integration, and is willing to pay for dedicated resources rather than sharing.

D

A company needs full control over the SQL Server environment, requires custom configurations or third-party software, or must lift-and-shift existing applications with minimal changes, and is willing to manage the VM.

Why candidates pick the wrong answer

A

Candidates may think 'single database' is simpler and cheaper, but they overlook the requirement for multiple databases to share resources and handle unpredictable spikes cost-effectively.

C

Candidates may confuse Managed Instance as a 'managed' option that reduces overhead, but overlook that it lacks elastic pool support and is more expensive for databases with variable usage that could share resources.

D

Candidates may think that migrating to a VM is the simplest lift-and-shift approach, overlooking the management overhead and the lack of resource sharing for cost optimization.

47
MCQeasy

A small online retailer wants to migrate its single on-premises SQL Server database to Azure. They require a fully managed relational database service with built-in high availability, automated backups, and no need to manage virtual machines. They do not need features like multiple databases with cross-database queries or SQL Agent. Which Azure service should they choose?

A.Azure SQL Database
B.Azure SQL Managed Instance
C.SQL Server on Azure Virtual Machines
D.Azure Database for MySQL
AnswerA

Azure SQL Database is a fully managed Platform-as-a-Service offering that provides built-in high availability, automated backups, and automatic patching, eliminating all VM and OS management. For migrating a single on-premises SQL Server database, it delivers the needed storage, indexing, and query capabilities without the overhead of maintaining infrastructure, making it the simplest, most cost-effective PaaS choice.

Why this answer

Azure SQL Database is a fully managed Platform-as-a-Service (PaaS) relational database that provides built-in high availability (99.99% SLA with zone-redundant configuration), automated backups with point-in-time restore, and eliminates the need to manage virtual machines or operating system patches. It is the ideal choice for a single database migration when features like cross-database queries and SQL Agent are not required.

Exam trap

The trap here is that candidates often choose Azure SQL Managed Instance because it offers more SQL Server parity, but the question explicitly states the retailer does not need SQL Agent or cross-database queries, making the simpler and more cost-effective Azure SQL Database the correct choice.

How to eliminate wrong answers

Option B (Azure SQL Managed Instance) is wrong because it includes SQL Agent and cross-database query capabilities, which the retailer explicitly does not need, and it still requires managing a virtual network and instance-level configuration, adding unnecessary complexity. Option C (SQL Server on Azure Virtual Machines) is wrong because it is an Infrastructure-as-a-Service (IaaS) offering that requires the customer to manage the VM, apply OS and SQL Server patches, and configure high availability manually, contradicting the requirement for a fully managed service with no VM management. Option D (Azure Database for MySQL) is wrong because it is a different database engine (MySQL) and not a direct migration path for an existing SQL Server database; it would require schema and query changes, and it does not support SQL Server-specific features like T-SQL or CLR integration.

48
MCQeasy

A retail company operates an e-commerce website that processes customer orders (insert, update, delete) throughout the day. The same company also runs reports on sales trends at the end of each quarter. Which type of data processing workload does the order processing represent?

A.A) Batch processing
B.B) Transactional processing (OLTP)
C.C) Analytical processing (OLAP)
D.D) Stream processing
AnswerB

Order processing on an e-commerce site is the canonical example of OLTP: each click, cart update, and checkout triggers immediate INSERT, UPDATE, and DELETE operations against a normalized database. These transactions are short-lived, ACID-compliant, and require high concurrency and low latency to keep inventory and orders consistent. OLTP is optimized for fast, atomic writes and point lookups, not for scanning large historical datasets. Thus, the correct workload type for processing individual orders in real time is OLTP.

Why this answer

Order processing involves inserting, updating, and deleting individual customer orders in real time as they occur. This is the classic definition of an Online Transaction Processing (OLTP) workload, which is optimized for high-volume, low-latency transactions that maintain ACID (Atomicity, Consistency, Isolation, Durability) properties. The e-commerce website requires immediate data consistency for each order, which is the hallmark of transactional processing.

Exam trap

The trap here is that candidates confuse 'analytical processing' (OLAP) with 'transactional processing' (OLTP) because both involve databases, but OLAP is for read-heavy, aggregated queries on historical data, not for the write-heavy, individual row operations of order management.

Why the other options are wrong

A

Order processing involves individual insert, update, and delete operations on customer orders, which are typical of transactional processing (OLTP), not batch processing. Batch processing handles large volumes of data in scheduled, offline batches, not real-time transactions.

C

Order processing involves frequent insert, update, and delete operations on individual records, which is characteristic of OLTP, not OLAP. OLAP is used for complex queries and aggregations on historical data, not for day-to-day transaction handling.

D

Order processing involves individual insert, update, and delete operations on customer orders, which are typical of transactional processing (OLTP), not stream processing. Stream processing handles continuous, real-time data flows (e.g., sensor data, clickstreams) and is not designed for discrete record-level transactions.

When would these options actually be correct?

A

A question describing a scenario where a company processes end-of-month payroll for all employees by running a scheduled job that calculates salaries and generates pay slips in one go would make batch processing (option A) the correct answer.

C

A question describing a workload that runs complex queries on large volumes of historical sales data to identify trends, such as 'Which processing type is used for quarterly sales trend analysis?' would make OLAP correct.

D

Stream processing would be correct if the question described a scenario where the company needs to analyze real-time clickstream data from the e-commerce website to detect fraud or personalize offers as users browse, without storing each event as a persistent record.

Why candidates pick the wrong answer

A

Candidates may confuse batch processing with any data processing that occurs in groups, but the key distinction is that batch processing is scheduled and not real-time, whereas order processing here is continuous and interactive.

C

Candidates may confuse 'reports on sales trends' (which is OLAP) with the order processing itself, mistakenly thinking that because the company runs reports, the entire workload is analytical.

D

Candidates may confuse 'real-time' order processing with stream processing, not realizing that OLTP handles real-time transactions on persistent data, while stream processing deals with transient event streams without persistent storage.

49
MCQhard

A marketing company stores years of historical campaign data in Azure Data Lake Storage Gen2 as Parquet files. Data analysts need to run complex SQL queries over this data to identify trends, and they want to visualize results in Power BI dashboards. The company wants to avoid moving data into a separate database to minimize duplication and latency. Which Azure service should they use to query the data directly in the data lake?

A.Azure Data Factory
B.Azure Synapse Serverless SQL pool
C.Azure Databricks
D.Azure HDInsight
AnswerB

Serverless SQL pool (part of Azure Synapse Analytics) enables querying data directly from Azure Data Lake Storage using standard T-SQL. It is serverless (no infrastructure to manage) and perfect for ad-hoc analytics integration with Power BI.

Why this answer

Azure Synapse Serverless SQL pool is the correct choice because it allows you to run T-SQL queries directly over Parquet files in Azure Data Lake Storage Gen2 without moving or copying the data. It uses a pay-per-query model and supports standard SQL syntax, making it ideal for analysts who need to query historical campaign data and visualize results in Power BI with minimal latency.

Exam trap

The trap here is that candidates often confuse Azure Data Factory (an ETL tool) with a query service, or they assume Azure Databricks is the only option for big data SQL queries, overlooking the serverless SQL pool's ability to query data in place without cluster management.

Why the other options are wrong

A

Azure Data Factory is an ETL and data orchestration service, not a query engine. It cannot run SQL queries directly against data in the data lake; it moves or transforms data, which contradicts the requirement to avoid data movement and latency.

C

Azure Databricks is optimized for big data analytics and machine learning using Spark, but it is not the best choice for directly running complex SQL queries on Parquet files in Azure Data Lake Storage Gen2 without moving data, as it requires a Spark cluster and is more complex than a serverless SQL pool for ad-hoc SQL queries.

D

Azure HDInsight is a managed big data analytics service that requires provisioning clusters and is designed for batch processing with technologies like Spark, Hive, or MapReduce. It does not provide a serverless, on-demand SQL query interface over data in Azure Data Lake Storage Gen2 without moving data, unlike Azure Synapse Serverless SQL pool.

When would these options actually be correct?

A

A company needs to ingest data from multiple sources into Azure Data Lake Storage Gen2 on a scheduled basis, performing transformations like filtering and aggregation before loading. The question would emphasize orchestration and data movement, not direct querying.

C

A company needs to perform advanced analytics, including machine learning and real-time data processing, on large datasets stored in Azure Data Lake Storage Gen2. They require a collaborative environment for data scientists and engineers to run custom code in Python, Scala, or SQL, and they are willing to manage cluster resources. In this scenario, Azure Databricks would be the correct answer.

D

A company needs to run custom MapReduce or Spark jobs on large datasets stored in Azure Data Lake Storage Gen2, and they require full control over cluster configuration, including specific versions of Hadoop, Spark, or Hive. They are willing to manage cluster lifecycle and pay for compute resources.

Why candidates pick the wrong answer

A

Candidates may confuse Data Factory's data integration capabilities with querying, or think it can perform SQL-like transformations on the fly, overlooking that it primarily orchestrates data pipelines rather than serving ad-hoc queries.

C

Candidates may choose Azure Databricks because it is a powerful analytics platform that can query data in data lakes, but they overlook that the question specifically asks for simple SQL queries and Power BI integration, where Synapse Serverless SQL pool is more straightforward and cost-effective.

D

Candidates may associate HDInsight with big data querying using Hive or Spark SQL, and mistakenly think it can directly query Parquet files in a data lake without data movement, overlooking the need for cluster provisioning and the serverless alternative.

50
MCQeasy

A manufacturing company stores two types of data: (1) real-time sensor readings from production machines used to monitor current machine status, and (2) historical daily production summaries used by managers to identify trends over months. Which statement accurately describes these workloads?

A.Sensor readings are an OLAP workload; daily summaries are an OLTP workload.
B.Sensor readings are an OLTP workload; daily summaries are an OLAP workload.
C.Sensor readings are a NoSQL workload; daily summaries are a relational workload.
D.Sensor readings are a batch workload; daily summaries are a real-time workload.
AnswerB

Sensor readings represent OLTP because every reading is an atomic transaction: frequent, small inserts that require fast response times, often with ACID guarantees, and typically involving a single sensor or a small batch at a time. Daily summaries represent OLAP because they are produced by aggregating millions of sensor readings into totals, averages, or trends—long-running, complex analytical queries that support decision-making. This distinction aligns with the classic separation between transactional systems that capture operations and analytical systems that support reporting.

Why this answer

Real-time sensor readings involve frequent, small inserts and point lookups (typical of an OLTP workload), while historical daily summaries are aggregated data used for trend analysis over months (typical of an OLAP workload). OLTP systems handle high-volume transactional operations, whereas OLAP systems support complex queries and aggregations on large historical datasets.

Exam trap

The trap here is that candidates confuse OLTP with real-time and OLAP with batch, but OLTP can be real-time (e.g., sensor inserts) and OLAP can be batch (e.g., daily summaries), so the key distinction is transactional vs. analytical processing, not timing.

How to eliminate wrong answers

Option A is wrong because it reverses the definitions: sensor readings are an OLTP workload (not OLAP), and daily summaries are an OLAP workload (not OLTP). Option C is wrong because the workload type (OLTP vs. OLAP) is independent of the data model (NoSQL vs. relational); sensor readings could be stored in a relational or NoSQL database, and daily summaries could also be in either.

Option D is wrong because sensor readings are a real-time (streaming) workload, not batch; daily summaries are a batch workload (processed from historical data), not real-time.

51
MCQmedium

A media company stores user profiles in Azure Cosmos DB using the Core (SQL) API. Each profile document contains a userId (unique), name, email, and a subscriptions array containing objects with a serviceName and startDate. The application needs to efficiently retrieve a single user by userId and also run a query to find all users who have a subscription to the service 'PremiumVideo'. Which partition key design is most appropriate for this workload?

A.Partition key on email
B.Partition key on userId
C.Partition key on serviceName (extracted from subscriptions array)
D.Partition key on a composite key combining userId and serviceName
AnswerB

Partitioning by userId creates one logical partition per user, enabling efficient point reads for fetching a user's profile and subscriptions. The subscription usage query will be a cross-partition query because it scans all partitions, but that is acceptable given the workload's emphasis on low-latency profile access. This also distributes request units (RUs) evenly across partitions as user activity tends to be uniform.

Why this answer

Partitioning on userId ensures each document is evenly distributed across physical partitions, as userId is unique and used for point reads (the most efficient operation in Cosmos DB). The query for users with a 'PremiumVideo' subscription will be a cross-partition query regardless of partition key choice, but the primary workload—retrieving a single user by userId—is optimized with this design. Partitioning on userId also avoids hot partitions and adheres to the best practice of using a high-cardinality, frequently queried field as the partition key.

Exam trap

The trap here is that candidates assume partitioning on a frequently queried field like serviceName will optimize the subscription query, but they overlook that Cosmos DB requires the partition key to be a top-level property with high cardinality, and that point reads (by userId) are the most common and cost-sensitive operation in this workload.

Why the other options are wrong

A

Partitioning on email would not efficiently support the primary query (retrieving a user by userId) because queries on userId would require a cross-partition scan. Additionally, the query for users with 'PremiumVideo' subscription would also be a cross-partition query, as email is unrelated to the subscription data.

C

Partitioning on serviceName extracted from subscriptions array would cause most queries to be cross-partition, as retrieving a single user by userId would require fanning out across all partitions, and the query for users with 'PremiumVideo' subscription would still be a cross-partition query unless filtered by a specific partition key value.

D

A composite key on userId and serviceName would cause queries for a single user by userId to be cross-partition, as userId alone is not the partition key. Additionally, queries for users with 'PremiumVideo' subscription would also be cross-partition unless the partition key exactly matches the filter.

When would these options actually be correct?

A

This would be correct if the application's primary workload was to look up users by their email address (e.g., for login or email-based search) and the query for subscription data was secondary or could be handled by a separate index.

C

If the workload consisted solely of queries to find all users subscribed to a specific service (e.g., 'PremiumVideo'), and each service had a large number of users, then partition key on serviceName would make those queries single-partition and efficient.

D

This would be correct if the workload required efficient queries for both a specific user's subscriptions and all users with a specific subscription, and the partition key was designed to distribute data evenly while supporting both query patterns with in-partition queries.

Why candidates pick the wrong answer

A

Candidates may think email is a good partition key because it is unique and evenly distributed, but they overlook that the main access pattern is by userId, not email.

C

Candidates may think that since the query involves filtering on serviceName, using it as the partition key would make that query efficient, overlooking that the primary access pattern (retrieving by userId) would become inefficient.

D

Candidates may think a composite key covers both query patterns, but they overlook that Azure Cosmos DB partition key is used for data distribution and must be a single property path; composite keys are not supported as partition keys, and queries not specifying the full partition key become cross-partition.

52
MCQeasy

A company wants to store JSON documents from IoT devices with low latency and high availability. Which Azure data store should they use?

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

Azure Cosmos DB is a globally distributed, multi-model NoSQL database with native JSON document support, meaning JSON objects are stored as-is and every property is automatically indexed for querying. It provides single-digit-millisecond reads and writes at any scale via request-unit throughput, making it ideal for high-ingestion IoT workloads that need to query device JSON documents with low latency.

Why this answer

Azure Cosmos DB is the correct choice because it is a fully managed NoSQL database designed for low-latency, high-availability workloads, with native support for JSON documents. It offers single-digit millisecond read/write latencies at the 99th percentile, global distribution with multi-region writes, and multiple consistency models, making it ideal for IoT scenarios that require fast, always-on access to semi-structured data.

Exam trap

The trap here is that candidates often confuse Azure Blob Storage's ability to store JSON files with the need for a database that can natively query and index JSON documents, leading them to choose Blob Storage for its low cost rather than Cosmos DB for its low-latency querying capabilities.

How to eliminate wrong answers

Option A is wrong because Azure Blob Storage is an object store for unstructured binary data (blobs) and does not provide native JSON document querying or indexing; it would require additional compute to parse and query JSON files. Option C is wrong because Azure Table Storage is a key-value store that does not natively support JSON documents; it stores entities as rows with a fixed schema and lacks the rich querying and indexing capabilities of a document database. Option D is wrong because Azure SQL Database is a relational database that requires a predefined schema and is not optimized for storing and querying flexible JSON documents with the same low-latency, high-throughput characteristics as Cosmos DB.

53
MCQmedium

A mobile gaming company stores player session data as key-value pairs. Each player has a unique PlayerID, and the application needs to read/write the player's current level and score with very low latency. The data does not require complex queries, and the schema (attributes per player) can vary. The company wants a fully managed, globally distributed NoSQL database. Which Azure data store should they choose?

A.Azure Cosmos DB Table API
B.Azure SQL Database
C.Azure Blob Storage
D.Azure Cache for Redis
AnswerA

Azure Cosmos DB Table API is a fully managed, schema-agnostic key-value store that excels at high-throughput, low-latency point lookups. Player session data can be naturally modeled with a partition key (e.g., player ID) and row key (e.g., session timestamp), enabling fast reads and writes at global scale. It also offers automatic indexing, configurable consistency levels, and 99.999% availability SLAs, making it ideal for the simple, high-volume key-value access patterns of mobile gaming telemetry.

Why this answer

Azure Cosmos DB Table API is the correct choice because it provides a fully managed, globally distributed NoSQL database that supports key-value data with schema flexibility. It offers low-latency reads and writes (single-digit milliseconds at the 99th percentile) and automatic global distribution, making it ideal for storing player session data with varying attributes per player.

Exam trap

The trap here is that candidates may confuse Azure Cache for Redis as a durable database, but it is primarily an in-memory cache that requires additional configuration for persistence and global distribution, whereas Cosmos DB Table API is a fully managed, globally distributed NoSQL database with built-in durability and low latency.

How to eliminate wrong answers

Option B (Azure SQL Database) is wrong because it is a relational database requiring a fixed schema and complex query capabilities, which contradicts the requirement for schema flexibility and key-value simplicity. Option C (Azure Blob Storage) is wrong because it is an object storage service for unstructured blobs (files, images, videos), not a low-latency key-value store for small data items like player level and score. Option D (Azure Cache for Redis) is wrong because it is an in-memory caching service, not a fully managed, globally distributed durable database; it would require additional persistence and replication setup to meet the durability and global distribution needs.

54
MCQhard

A large e-commerce company needs to build an analytics solution. They have streaming clickstream data from their website (JSON) and daily sales data from their transactional database (CSV). They need to perform real-time dashboards on clickstream for the current hour, and also run complex historical queries that join sales data with aggregated clickstream data over the past year. They want a single Azure service that can handle both stream processing and batch processing using a unified experience, without moving data between separate systems. Which Azure service should they use?

A.Azure Stream Analytics
B.Azure Data Factory
C.Azure Synapse Analytics
D.Azure HDInsight
AnswerC

Synapse Analytics provides a unified analytics experience with support for both real-time stream processing (via Synapse Pipelines and Spark structured streaming) and large-scale batch analytics using dedicated SQL pools or serverless SQL. It meets all requirements.

Why this answer

Azure Synapse Analytics is the correct choice because it provides a unified experience for both stream processing (via Synapse Pipelines or Spark Structured Streaming) and batch processing (via dedicated SQL pools or serverless SQL), enabling real-time dashboards on clickstream data and complex historical queries joining sales data with aggregated clickstream data without moving data between separate systems.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics (a pure stream processor) with a unified analytics service, overlooking that Synapse Analytics can handle both real-time and batch workloads in a single platform without requiring separate data movement or additional services.

Why the other options are wrong

A

Azure Stream Analytics is designed for real-time stream processing but lacks native batch processing and unified experience for complex historical queries joining streaming and batch data without moving data between systems.

B

Azure Data Factory is an orchestration and ETL service for data movement and transformation, but it does not natively support real-time stream processing or unified stream/batch analytics in a single service.

D

Azure HDInsight requires managing separate clusters for stream (Spark Streaming) and batch (Spark SQL) processing, and does not offer a unified experience without moving data between systems. It also lacks native real-time dashboard capabilities.

When would these options actually be correct?

A

An exam question that requires only real-time analytics on streaming data (e.g., IoT telemetry) with simple aggregations and no need for historical batch joins or unified batch/stream processing.

B

A company needs to orchestrate and automate data movement from multiple on-premises and cloud sources to a central data lake, performing scheduled transformations without real-time requirements.

D

A question where the requirement is to process large-scale data using open-source frameworks like Hadoop, Spark, or Hive, with full control over cluster configuration and scaling, and where a unified stream/batch experience is not required.

Why candidates pick the wrong answer

A

Candidates see 'streaming clickstream data' and 'real-time dashboards' and immediately think of Stream Analytics, overlooking the requirement for unified batch processing and complex historical queries.

B

Candidates may think Data Factory can handle both streaming and batch because it can integrate with other services, but it lacks native stream processing capabilities and is not a unified analytics platform.

D

Candidates may think HDInsight's support for both Spark Streaming and batch processing via Spark SQL provides a unified experience, overlooking the operational overhead and lack of integrated real-time dashboards.

55
MCQmedium

A retail company collects streaming clickstream data from its website into Azure Event Hubs. They need to aggregate the data in real-time to count page views per product every minute and store the results in Azure SQL Database for a live dashboard. Which Azure service should they use to perform this real-time aggregation?

A.Azure Stream Analytics
B.Azure Data Factory
C.Azure Synapse Pipelines
D.Azure Databricks
AnswerA

Azure Stream Analytics is a fully managed, serverless stream-processing engine that executes continuous, SQL-based queries over unbounded data. It provides built-in temporal windowing functions (tumbling, hopping, and sliding windows) that are ideal for analyzing clickstream events in near real time, and it can write results directly to Azure SQL Database or Power BI with minimal configuration. Unlike a batch tool, it maintains long-running, stateful queries with sub-minute latency, and its per-streaming-unit cost model makes it the simplest and most cost-effective choice for this retail clickstream scenario.

Why this answer

Azure Stream Analytics is purpose-built for real-time stream processing, allowing you to define a query that aggregates clickstream data from Event Hubs using a tumbling window of one minute to count page views per product. The result can be written directly to Azure SQL Database, enabling a live dashboard without additional orchestration.

Exam trap

The trap here is that candidates may confuse Azure Stream Analytics with Azure Data Factory or Synapse Pipelines because both can move data, but only Stream Analytics provides native, low-latency stream processing with temporal windowing for real-time aggregation.

How to eliminate wrong answers

Option B (Azure Data Factory) is wrong because it is a data integration and orchestration service for batch and scheduled data movement, not a real-time stream processing engine. Option C (Azure Synapse Pipelines) is wrong because it is essentially the same as Data Factory within Synapse, designed for batch ETL and orchestration, not for continuous, low-latency aggregation of streaming data. Option D (Azure Databricks) is wrong because while it can process streaming data via Structured Streaming, it requires a cluster to be running and is overkill for a simple per-minute aggregation; it is not the simplest or most cost-effective service for this specific real-time aggregation task.

56
MCQmedium

A smart building monitoring company ingests real-time sensor data (temperature, humidity, occupancy) from thousands of IoT devices into Azure Event Hubs. The company also stores historical building blueprints and maintenance records as CSV files in Azure Data Lake Storage Gen2. The engineering team needs to build a dashboard that displays live sensor readings overlaid on building floor plans, and also allows facility managers to run ad-hoc T-SQL queries that combine live sensor data with historical maintenance records. Which Azure service should they use as the primary analytics platform to meet both requirements?

A.Azure Stream Analytics
B.Azure Synapse Analytics
C.Azure Databricks
D.Azure Analysis Services
AnswerB

Azure Synapse Analytics unifies big data and data warehousing. It can ingest streaming data via Event Hubs, query both streaming and batch data using T-SQL across the data lake, and support dashboarding, making it the best fit for both real-time and ad-hoc requirements.

Why this answer

Azure Synapse Analytics is the correct choice because it provides a unified analytics platform that combines big data and data warehousing. It can ingest real-time streaming data from Azure Event Hubs via its built-in Spark pools or pipelines, and also run ad-hoc T-SQL queries against both the live sensor data (staged in tables) and historical CSV files stored in Azure Data Lake Storage Gen2 using serverless SQL pools. This meets both the real-time dashboard and ad-hoc T-SQL query requirements.

Exam trap

The trap here is that candidates often choose Azure Stream Analytics because they focus only on the real-time dashboard requirement, overlooking the need for ad-hoc T-SQL queries against historical data, which Stream Analytics cannot fulfill.

Why the other options are wrong

A

Azure Stream Analytics is a real-time stream processing engine, but it cannot directly serve ad-hoc T-SQL queries that combine live sensor data with historical CSV files in Data Lake Storage. It lacks a unified query interface for both streaming and batch data.

C

Azure Databricks is optimized for big data engineering and machine learning with Spark, but it does not natively support ad-hoc T-SQL queries or direct integration with live streaming data from Event Hubs for real-time dashboards without additional configuration, making it less suitable than Synapse Analytics for combining live sensor data with historical records via T-SQL.

D

Azure Analysis Services is a semantic modeling and OLAP engine, not designed for real-time streaming or direct T-SQL queries on raw data. It cannot ingest live Event Hubs data or run ad-hoc T-SQL queries combining streaming and historical data.

When would these options actually be correct?

A

A question where the only requirement is real-time processing of streaming data (e.g., alerting on temperature thresholds) without any need for ad-hoc T-SQL queries or combining with historical batch data. For example: 'Which service should be used to filter and aggregate IoT sensor data in real-time before sending to a dashboard?'

C

A data science team needs to build a machine learning model on historical sensor data stored in Data Lake Storage, and then deploy the model for real-time predictions on streaming data from Event Hubs. Azure Databricks would be the correct choice because it provides collaborative notebooks, Spark-based processing, and MLflow for model management.

D

A question where the requirement is to create a semantic model for interactive reporting and analysis on pre-aggregated, historical data from a data warehouse, with no need for real-time streaming or direct T-SQL queries. For example: 'A company needs to build a tabular model for Power BI reports from an existing Azure SQL Data Warehouse.'

Why candidates pick the wrong answer

A

Candidates see 'real-time sensor data' and 'dashboard' and immediately think of Stream Analytics, overlooking the additional requirement for ad-hoc T-SQL queries that combine streaming and historical data, which Stream Analytics cannot do.

C

Candidates may think Databricks can handle both streaming and batch analytics, but they overlook that the question specifically requires ad-hoc T-SQL queries, which are not a native feature of Databricks, and that Synapse provides a unified experience for T-SQL and real-time dashboards.

D

Candidates may confuse Analysis Services with Synapse Analytics because both are analytics services, and Analysis Services is known for fast query performance on aggregated data, but it lacks streaming and direct T-SQL capabilities.

57
MCQeasy

A company needs to analyze streaming data from IoT devices in real time. They want to identify anomalies and trigger alerts. Which Azure service should they use as the core processing engine?

A.Azure Stream Analytics
B.Azure Synapse Analytics
C.Azure Databricks
D.Azure Data Lake Storage
AnswerA

Azure Stream Analytics is a real-time event-processing engine that can ingest millions of events per second from IoT devices via Event Hubs or IoT Hub, apply a SQL-based query language with temporal windows (tumbling, hopping, sliding) to detect anomalies or threshold breaches, and emit instantaneous alerts to Power BI, Logic Apps, or Azure Functions. Its native support for time-sliced aggregations and low-latency pipelines makes it the most fitting choice for the specific requirement of analyzing streaming telemetry and triggering immediate notifications.

Why this answer

Azure Stream Analytics is purpose-built for real-time stream processing, allowing you to define SQL-like queries that run continuously against streaming data from sources like IoT Hub. It can detect anomalies and trigger alerts on the fly, making it the correct core processing engine for this IoT scenario.

Exam trap

The trap here is that candidates often confuse batch processing tools like Synapse Analytics or Databricks with real-time stream processing, overlooking that only Azure Stream Analytics is designed as a dedicated, low-latency stream processing engine for this exact pattern.

How to eliminate wrong answers

Option B is wrong because Azure Synapse Analytics is a unified analytics platform designed for batch and interactive analytics on large-scale data, not for real-time stream processing with sub-second latency. Option C is wrong because Azure Databricks is a big data and AI platform that can process streaming data via Structured Streaming, but it is not the simplest or most direct service for real-time anomaly detection and alerting; it requires more complex setup and is not the core processing engine for this specific use case. Option D is wrong because Azure Data Lake Storage is a scalable data lake for storing raw data, not a processing engine; it cannot analyze streaming data or trigger alerts in real time.

58
MCQmedium

A data engineer is designing a data lake architecture in Azure. They plan to first ingest raw data from various sources into a landing zone in Azure Data Lake Storage Gen2. Then they will clean, validate, and deduplicate that data in a second zone. Finally, they will create aggregated, business-ready datasets in a third zone for analysts. This layered approach is known as which architecture?

A.Star schema
B.Snowflake schema
C.Medallion architecture
D.Lambda architecture
AnswerC

Medallion architecture is the correct pattern because it incrementally improves data quality across bronze, silver, and gold layers. Bronze stores raw ingested data as-is, silver applies validation and cleansing and conforms schemas, and gold provides business-ready, aggregated datasets for reporting and machine learning. This layered approach is standard for lakehouse implementations on Azure, for example Azure Data Lake Storage with Delta Lake, and directly matches the goal of designing a data lake architecture.

Why this answer

The medallion architecture (bronze, silver, gold) is a layered data lake design pattern where raw data lands in the bronze zone, is cleaned and deduplicated in the silver zone, and aggregated into business-ready datasets in the gold zone. This directly matches the described three-zone ingestion, transformation, and aggregation pipeline in Azure Data Lake Storage Gen2.

Exam trap

The trap here is that candidates confuse the medallion architecture's sequential data lake zones with Lambda architecture's parallel batch/stream processing layers, or incorrectly associate star/snowflake schemas with data lake layering instead of data warehouse modeling.

How to eliminate wrong answers

Option A is wrong because a star schema is a dimensional modeling technique for data warehouses (fact and dimension tables), not a data lake layering pattern. Option B is wrong because a snowflake schema is a normalized variant of star schema, also specific to data warehouse design, not a data lake architecture. Option D is wrong because Lambda architecture separates batch and streaming processing paths (speed layer, batch layer, serving layer), not a sequential three-zone data lake ingestion and transformation pipeline.

59
MCQmedium

Your organization is migrating on-premises SQL Server databases to Azure. The databases include a mission-critical OLTP system that requires high availability with automatic failover and a reporting database that is used for read-only queries. You need to choose the appropriate Azure SQL deployment options for each workload. The OLTP system must have a recovery point objective (RPO) of less than 5 seconds and a recovery time objective (RTO) of less than 30 seconds. The reporting database should be cost-effective and can tolerate up to 5 minutes of data loss. What should you recommend?

A.Use SQL Server on Azure Virtual Machines with Always On Availability Groups for both workloads.
B.Use Azure SQL Database Hyperscale for OLTP and Azure SQL Database serverless for reporting.
C.Use Azure SQL Database Managed Instance with a failover group for OLTP, and use a read-only replica of the Managed Instance for reporting.
D.Use Azure SQL Database single database with active geo-replication for both workloads.
AnswerC

Azure SQL Database Managed Instance with a failover group automatically replicates to a secondary instance, providing a low RPO (usually within 5–10 seconds) and automated failover that preserves the same connection string. The failover group's secondary can also serve as a read-only replica, offloading reporting workloads without interfering with OLTP transactions. This PaaS solution minimizes operational overhead while meeting both the high-availability and reporting needs, making it the correct choice.

Why this answer

Azure SQL Database Managed Instance supports failover groups that provide automatic failover across regions with an RPO of less than 5 seconds and an RTO of less than 30 seconds, meeting the OLTP requirements. The read-only replica of the Managed Instance can be used for reporting queries without impacting the primary OLTP workload, and it is cost-effective as it does not require a separate database instance.

Exam trap

The trap here is that candidates often confuse the high availability features of Azure SQL Database single database (active geo-replication) with the stricter RPO/RTO guarantees of Managed Instance failover groups, or they assume that SQL Server on Azure VMs with Always On Availability Groups is the only option for such requirements, overlooking the managed service benefits.

How to eliminate wrong answers

Option A is wrong because SQL Server on Azure Virtual Machines with Always On Availability Groups requires manual configuration and management of the VMs and availability groups, and it does not provide the automatic failover with the specified RPO/RTO as a managed service; it also incurs higher operational overhead and cost for both workloads. Option B is wrong because Azure SQL Database Hyperscale is designed for large databases with high scalability and fast backup/restore, but it does not guarantee an RPO of less than 5 seconds and an RTO of less than 30 seconds for automatic failover; the serverless tier for reporting is cost-effective but does not provide a read-only replica for reporting without additional cost. Option D is wrong because Azure SQL Database single database with active geo-replication can provide failover but typically has an RPO of up to 5 seconds and an RTO of up to 1 hour, which does not meet the strict RTO of less than 30 seconds for the OLTP system; using it for both workloads would also be less cost-effective for the reporting database.

60
MCQeasy

A financial database system ensures that once a transaction is committed, the data changes are permanently stored and will survive any subsequent system failure, such as a power outage or crash. Which property of ACID transactions does this describe?

A.A: Atomicity
B.B: Consistency
C.C: Isolation
D.D: Durability
AnswerD

Durability is the ACID property that once a transaction has been committed, its changes are permanently recorded and will survive subsequent system failures, such as sudden power loss or crashes. Database engines implement this using mechanisms like write-ahead logging (WAL) or backup/restore strategies to ensure committed transactions can be recovered. This directly matches the scenario in the question: after the 'COMMIT' statement returns success, the data is expected to remain intact.

Why this answer

D is correct because durability guarantees that once a transaction is committed, the changes persist permanently, even in the event of a system failure like a power outage or crash. In SQL Server, this is implemented via the write-ahead log (WAL) and checkpoint processes, ensuring committed data is flushed to disk before acknowledging success.

Exam trap

The trap here is that candidates confuse durability with atomicity, thinking 'permanent storage' relates to the all-or-nothing nature of a transaction, but atomicity only guarantees that partial changes are rolled back, not that committed data survives crashes.

How to eliminate wrong answers

Option A is wrong because atomicity ensures that a transaction is treated as an all-or-nothing unit, not that committed data survives failures. Option B is wrong because consistency ensures that a transaction brings the database from one valid state to another, preserving integrity constraints, not permanent storage. Option C is wrong because isolation ensures that concurrent transactions do not interfere with each other, not that committed data is durable.

61
MCQhard

Refer to the exhibit. You are analyzing the configuration of an Azure Storage account. Which of the following is true about this account?

A.It supports Azure Data Lake Storage Gen2.
B.It allows all network traffic by default.
C.Encryption uses Azure Key Vault.
D.It is a general-purpose v1 storage account.
AnswerA

The hierarchical namespace enabled property (isHnsEnabled) is set to true, which is the defining feature of Azure Data Lake Storage Gen2. This couples Blob Storage scalability with a real directory hierarchy and POSIX-style access control lists, enabling file-level and directory-level permissions. Therefore this account is confirmed to support Azure Data Lake Storage Gen2 workloads.

Why this answer

The property 'isHnsEnabled' is set to true, which enables the hierarchical namespace for Azure Data Lake Storage Gen2. Option A is correct because this configuration supports Azure Data Lake Storage Gen2. Option B is wrong because the network ACLs have default action 'Deny' and no rules, so access is denied by default.

Option C is wrong because the encryption key source is Microsoft.Storage, not Azure Key Vault. Option D is wrong because the account kind is StorageV2, not general-purpose v1.

62
MCQeasy

A financial company needs to store transactional records where each record has a fixed set of attributes (TransactionID, Amount, Date, AccountID). The data must support complex queries and enforce referential integrity. Which type of data store is most appropriate?

A.Key-value store
B.Document database
C.Relational database
D.Graph database
AnswerC

Relational databases such as SQL Server or PostgreSQL store transactional records in normalized tables with defined schemas, enforcing referential integrity through primary and foreign keys. They guarantee ACID transactions—atomicity, consistency, isolation, durability—so a financial posting either fully commits or fully rolls back, protecting against partial writes. Additionally, SQL's powerful join and aggregate capabilities enable complex reporting and audit queries, while mature built-in security, logging, and backup features align with regulatory compliance. This combination of structured schema, transactional integrity, and strong querying makes the relational model the gold standard for financial records.

Why this answer

A relational database (option C) is the most appropriate choice because transactional records with a fixed schema and the need for referential integrity (e.g., ensuring AccountID references a valid account) are best handled by a structured, ACID-compliant system like Azure SQL Database or SQL Server. Relational databases enforce constraints such as foreign keys and support complex queries using JOINs and aggregations, which are essential for financial reporting and auditing.

Exam trap

The trap here is that candidates often confuse 'fixed schema' with 'document databases,' assuming JSON documents can enforce structure, but document databases do not enforce schema or referential integrity at the database level, which is a key requirement for transactional records.

How to eliminate wrong answers

Option A is wrong because a key-value store (e.g., Azure Cosmos DB Table API) treats each record as an opaque blob indexed by a key, lacking built-in support for complex queries (e.g., filtering by Amount range) and referential integrity constraints. Option B is wrong because a document database (e.g., Azure Cosmos DB Core API) stores semi-structured JSON documents, which do not enforce a fixed schema or foreign key relationships, making it unsuitable for strict referential integrity. Option D is wrong because a graph database (e.g., Azure Cosmos DB Gremlin API) is optimized for traversing relationships between entities (e.g., social networks), not for enforcing referential integrity or performing SQL-style complex queries on tabular transactional data.

63
MCQeasy

A company wants to build a real-time dashboard that visualizes sales data as transactions occur. Which combination of Azure services should they use?

A.Azure Synapse Analytics and PolyBase
B.Azure Data Explorer and Azure Data Lake Storage
C.Azure Stream Analytics and Power BI
D.Azure Analysis Services and Excel
AnswerC

Azure Stream Analytics is a fully managed stream-processing engine that can consume millions of events per second from Event Hubs or IoT Hub, apply windowed aggregations, temporal filters, and pattern matching, and then emit results through its Power BI output sink. That output creates or updates a Power BI dataset in essentially real time, allowing the dashboard to refresh as new data arrives. Together they deliver the complete path from live streaming source to interactive visual dashboard, which is exactly what the company needs.

Why this answer

Azure Stream Analytics is a real-time event processing engine that can ingest streaming data (e.g., from Azure Event Hubs or IoT Hub) and output results directly to Power BI via the built-in Power BI output sink. This combination enables a live dashboard that updates automatically as sales transactions occur, without requiring batch processing or manual refresh.

Exam trap

The trap here is that candidates often confuse batch-oriented services (like Synapse or Analysis Services) with real-time streaming, or assume that any storage-plus-query combination (like Data Explorer + Data Lake) can achieve live dashboards, ignoring the need for a dedicated stream processing engine with a direct visualization output.

How to eliminate wrong answers

Option A is wrong because Azure Synapse Analytics is a distributed analytics service designed for large-scale data warehousing and batch/streaming integration, but PolyBase is used for querying external data sources (e.g., Azure Storage) via T-SQL, not for real-time dashboard visualization. Option B is wrong because Azure Data Explorer is optimized for interactive analytics on large volumes of time-series and log data, and Azure Data Lake Storage is a hierarchical file store; together they support ad-hoc queries but lack the native real-time streaming-to-visualization pipeline that Stream Analytics provides. Option D is wrong because Azure Analysis Services is an OLAP engine for semantic modeling and tabular data, and Excel is a client tool; this combination requires manual data refresh and cannot deliver real-time streaming updates to a live dashboard.

64
MCQhard

A financial institution needs to run complex queries against petabytes of historical trading data stored in Azure Data Lake Storage. The queries must be efficient and use columnar storage format. Which technology should they use to process this data?

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

Azure Synapse Analytics is a cloud data warehouse built on Massively Parallel Processing (MPP), which automatically distributes T-SQL queries across multiple compute nodes to scan and aggregate huge volumes of data. It natively supports columnar storage formats like Parquet, along with its own clustered columnstore indexes, enabling high-compression and efficient analytic reads. Integration with Azure Data Lake Storage and serverless SQL pools means the bank can run complex analytical queries directly over petabyte-scale historical data without loading it into a busy OLTP system.

Why this answer

Azure Synapse Analytics (formerly SQL Data Warehouse) is the correct choice because it is a cloud-based analytics service designed for petabyte-scale data warehousing. It supports PolyBase to query data directly from Azure Data Lake Storage and uses a columnar storage format (via clustered columnstore indexes) to enable efficient, high-performance analytical queries on massive historical datasets.

Exam trap

The trap here is that candidates often confuse Azure SQL Database (a transactional system) with Azure Synapse Analytics (an analytical system), assuming both can handle petabyte-scale analytics, but only Synapse provides the columnar storage and MPP engine required for efficient historical data queries.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database is a transactional OLTP database optimized for row-based storage and small, frequent read/write operations, not for petabyte-scale analytical queries requiring columnar storage. Option C is wrong because Azure Cosmos DB is a NoSQL database designed for globally distributed, low-latency transactional workloads with flexible schemas, not for running complex analytical queries on petabytes of historical data in columnar format. Option D is wrong because Azure Table Storage is a key-value store for semi-structured NoSQL data, lacking columnar storage and the distributed query engine needed for efficient petabyte-scale analytics.

65
MCQeasy

A company stores product information such as product ID, name, price, and category in a relational database with rows and columns. This data is best described as:

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

Structured data is correct because the product information—such as product ID and name—is organized into well-defined rows and columns with a fixed schema. This rigid, tabular format is the hallmark of structured data, which typically resides in relational databases and can be queried using SQL. The attributes (product ID and name) map directly to columns, and each product instance maps to a row, perfectly satisfying the definition of structured data.

Why this answer

Structured data conforms to a predefined schema with rows and columns, making it easily searchable and queryable via SQL. The product information (ID, name, price, category) fits this model exactly, as each attribute has a fixed data type and is stored in a relational database table.

Exam trap

The trap here is confusing 'transactional data' (a workload type) with 'structured data' (a data format), leading candidates to pick D because product information is often used in transactions, but the question asks about the data's structure, not its purpose.

How to eliminate wrong answers

Option B is wrong because semi-structured data (e.g., JSON, XML) does not require a fixed schema and often uses tags or key-value pairs, not rigid rows and columns. Option C is wrong because unstructured data (e.g., images, videos, text files) lacks a predefined data model or organization into rows and columns. Option D is wrong because transactional data refers to records of business transactions (e.g., sales orders, payments) and is a type of structured data, not a distinct category of data structure.

66
MCQmedium

A healthcare provider stores patient admission data in a relational database table with columns for PatientID, Name, and AdmissionDate. Progress notes are stored as free-text documents. Lab results are stored as XML files that contain varying fields depending on the test type. Which of the following correctly categorizes these three data types in order: relational table, progress notes, lab results?

A.Structured, Unstructured, Semi-structured
B.Structured, Semi-structured, Unstructured
C.Semi-structured, Unstructured, Structured
D.Unstructured, Structured, Semi-structured
AnswerA

The relational table has a fixed schema (structured). Free-text progress notes have no schema (unstructured). XML files have tags and can vary, making them semi-structured. This is correct.

Why this answer

The relational table with PatientID, Name, and AdmissionDate enforces a fixed schema with defined data types, making it structured data. Progress notes as free-text documents have no predefined structure or schema, classifying them as unstructured data. Lab results in XML files use tags to organize data but allow varying fields per test type, which is the hallmark of semi-structured data.

Option A correctly maps these in order: structured, unstructured, semi-structured.

Exam trap

The trap here is that candidates confuse semi-structured data (like XML with varying fields) with unstructured data, or they misorder the three types by not recognizing that a relational table is always structured and free-text is always unstructured.

Why the other options are wrong

B

Progress notes are free-text, which is unstructured data, not semi-structured. Lab results as XML have a schema and tags, making them semi-structured, not unstructured.

C

Lab results (XML) are semi-structured, not unstructured; progress notes (free-text) are unstructured, not semi-structured. The order should be: structured (relational table), unstructured (progress notes), semi-structured (lab results).

D

The option D (Unstructured, Structured, Semi-structured) is wrong because it misorders the data types: patient admission data (relational table) is structured, progress notes (free-text) are unstructured, and lab results (XML) are semi-structured.

When would these options actually be correct?

B

If the question had progress notes as structured fields (e.g., coded entries) and lab results as free-text reports, then the order would be Structured, Semi-structured, Unstructured.

C

If the question asked for 'relational table, lab results, progress notes' and lab results were described as free-text documents while progress notes were XML files, then the order would be: structured, unstructured, semi-structured.

D

This option would be correct if the question asked: 'A healthcare provider stores patient admission data as free-text documents, progress notes in a relational database, and lab results as JSON files. Which order correctly categorizes these data types?' Then the order would be Unstructured (admission data), Structured (progress notes), Semi-structured (lab results).

Why candidates pick the wrong answer

B

Candidates may confuse free-text documents as semi-structured because they contain some organization (e.g., headings), or mistakenly think XML is unstructured due to varying fields.

C

Candidates may confuse semi-structured data (like XML) with unstructured data, or misorder the types due to not carefully reading the sequence of data types in the question.

D

Candidates may confuse the data types, thinking that free-text progress notes are semi-structured or that XML lab results are unstructured, leading to a misordering that seems plausible but is incorrect.

67
MCQeasy

A company stores customer orders in a relational database that handles many small transactions (inserts, updates, deletes) throughout the day. Separately, they maintain a data warehouse that is used for complex aggregations and historical trend analysis. Which statement correctly describes these two workloads?

A.The first system is an OLTP workload; the second is an OLAP workload.
B.Both systems are OLTP workloads because they store customer orders.
C.The first system is an OLAP workload; the second is an OLTP workload.
D.Both systems are OLAP workloads because they both involve data storage.
AnswerA

OLTP systems handle many small, real-time transactions, while OLAP systems are used for complex analytical queries on aggregated data. This accurately describes the two workloads.

Why this answer

The first system handles many small, concurrent transactions (inserts, updates, deletes) typical of an Online Transaction Processing (OLTP) workload, optimized for ACID compliance and fast query response. The second system is an Online Analytical Processing (OLAP) workload, designed for complex aggregations and historical trend analysis using columnar storage and star schemas. This distinction is fundamental in data architecture, where OLTP systems prioritize write performance and OLAP systems prioritize read performance for large-scale analytics.

Exam trap

The trap here is that candidates confuse the terms OLTP and OLAP, often assuming any database that stores data is OLTP or that any system with 'warehouse' in the name is automatically OLTP, when in fact the workload pattern (many small transactions vs. complex aggregations) defines the category.

How to eliminate wrong answers

Option B is wrong because both systems are not OLTP; the data warehouse is specifically designed for analytical queries, not transactional processing. Option C is wrong because it reverses the definitions: the first system is OLTP (transactional), not OLAP (analytical). Option D is wrong because both systems are not OLAP; the relational database handling small transactions is an OLTP workload, and data storage alone does not define a workload type.

68
MCQhard

A financial services company runs a critical application on Azure SQL Managed Instance. They need to ensure that a recent transaction can be recovered within 15 minutes of a user error. Which feature should they configure?

A.Geo-restore
B.Point-in-time restore (PITR)
C.Automatic failover groups
D.Long-term retention (LTR)
AnswerB

Point-in-time restore (PITR) is the correct solution because it recreates a database to any specific second within the automated backup retention period (default 7 days, up to 35 days for vCore) by replaying transaction logs over a full backup. This lets you roll back an accidental table drop, erroneous UPDATE, or malformed migration without affecting the current production database — the restore creates a new database at the chosen timestamp. It directly addresses the logical error scenario described.

Why this answer

Point-in-time restore (PITR) is the correct feature because it allows you to restore an Azure SQL Managed Instance to a specific point in time within the retention period (default 7 days, configurable up to 35 days). This directly addresses the requirement to recover a recent transaction after a user error, such as an accidental data modification or deletion, within 15 minutes. PITR creates a new database from automated backups, enabling precise recovery to the moment just before the error occurred.

Exam trap

The trap here is that candidates confuse disaster recovery features (Geo-restore, failover groups) with data recovery features (PITR), assuming any backup-related option can recover from a user error, but only PITR provides the granular, time-specific restore needed for transactional errors.

How to eliminate wrong answers

Option A (Geo-restore) is wrong because it restores a database from geo-replicated backups to a different Azure region, which is designed for disaster recovery (e.g., regional outage), not for recovering from a user error within 15 minutes. Option C (Automatic failover groups) is wrong because it manages high availability and failover of a managed instance to a secondary region, not point-in-time recovery of a specific transaction. Option D (Long-term retention) is wrong because it retains backups for up to 10 years for compliance or archival purposes, not for quick recovery of recent user errors within minutes.

69
MCQmedium

A data analyst needs to run interactive SQL queries on a large dataset stored as CSV files in Azure Blob Storage. The analyst wants to explore the data using T-SQL without loading the data into a database. Which Azure service should they use?

A.Azure SQL Database
B.Azure Synapse Serverless SQL pool
C.Azure Data Factory
D.Azure Stream Analytics
AnswerB

Azure Synapse Serverless SQL pool is the correct choice because it allows an analyst to run interactive T-SQL queries directly against CSV files residing in Azure Blob Storage (or Data Lake Gen2) using the OPENROWSET function, with no data loading and no provisioning of infrastructure. Compute is billed per terabyte of data read, so the analyst pays only for the exact amount of data scanned per query, making it ideal for ad-hoc exploration and lightweight reporting on files that are already stored in the cloud.

Why this answer

Azure Synapse Serverless SQL pool is correct because it allows you to run interactive T-SQL queries directly against CSV files in Azure Blob Storage without loading the data into a database. It uses a pay-per-query model and leverages the OPENROWSET function to query external data in place, making it ideal for ad-hoc exploration of large datasets.

Exam trap

The trap here is that candidates often confuse Azure Synapse Serverless SQL pool with Azure SQL Database, assuming both require data loading, but the serverless pool is specifically designed for external data querying without ingestion.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database requires data to be loaded into a relational database before querying, which contradicts the requirement to avoid loading data. Option C is wrong because Azure Data Factory is an ETL and orchestration service, not an interactive SQL query engine; it cannot run T-SQL queries directly on CSV files. Option D is wrong because Azure Stream Analytics is designed for real-time stream processing, not for interactive ad-hoc queries on static CSV files in Blob Storage.

70
MCQmedium

A company stores customer orders. Each order has a unique order ID, customer ID, a list of items (each item contains product ID, quantity, and price), and an order date. They frequently query orders by customer ID and also need to filter by order date ranges. The data volume is high and schema flexibility is desired because items can vary in structure. Which type of data store is best suited for this scenario?

A.Relational database
B.Key-value store
C.Document database
D.Graph database
AnswerC

A document database like Azure Cosmos DB stores an entire order as a single JSON document, with the order's line items embedded as an array within that document. This matches the natural order-with-items hierarchy and allows atomic reads and writes for the whole order. It also supports scalable secondary indexing and a rich SQL-like query language to filter on customer ID, order date, or item details without joins.

Why this answer

A document database (e.g., Azure Cosmos DB for NoSQL) is ideal because it stores each order as a self-contained JSON document, allowing the items array to vary in structure per order (schema flexibility). It supports efficient queries by customer ID (using a partition key) and filtering by order date ranges (using indexing on the date field), while handling high data volumes with horizontal scaling.

Exam trap

The trap here is that candidates often choose a relational database (Option A) because they think 'orders' and 'items' imply a need for joins, but the requirement for schema flexibility and high-volume queries by customer ID and date range actually points to a document store, which can embed items directly and index the relevant fields.

How to eliminate wrong answers

Option A is wrong because a relational database enforces a fixed schema (e.g., separate normalized tables for orders and items), which conflicts with the requirement for schema flexibility when items can vary in structure. Option B is wrong because a key-value store (e.g., Azure Cosmos DB for Table API) retrieves data only by a single key (e.g., order ID) and does not natively support filtering by non-key attributes like customer ID or order date ranges without scanning all records. Option D is wrong because a graph database (e.g., Azure Cosmos DB for Gremlin) is optimized for traversing relationships between entities (e.g., customer-product networks), not for storing and querying semi-structured documents with flexible schemas and range filters.

71
MCQeasy

A company collects customer feedback forms. Each form contains always-present fields like CustomerID and SubmissionDate, but also a free-text Comments field and optional fields like Rating or ProductCategory that vary between forms. How should this data be classified?

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

Semi-structured data is the correct classification because the feedback forms contain a flexible, self-describing schema with some mandatory fields and many optional or form-specific fields. This variability is characteristic of formats such as JSON or XML, where tags or keys identify each field and missing fields simply are absent rather than requiring placeholders. The forms do not fit a rigid relational table, but they still impose enough order to rule out being completely unstructured.

Why this answer

The customer feedback forms contain a mix of structured fields (CustomerID, SubmissionDate) that follow a fixed schema and unstructured fields (free-text Comments) plus optional fields (Rating, ProductCategory) that may or may not be present. This combination of schema-optional and schema-fixed data within the same record is the hallmark of semi-structured data, which does not require a rigid schema like a relational table but still has some organizational properties (e.g., tags or key-value pairs). In Azure, this data is well-suited for storage in Azure Cosmos DB (using JSON documents) or Azure Blob Storage with metadata, rather than a strictly relational database.

Exam trap

Microsoft often tests the misconception that any data with some structure (like a form with fixed fields) must be 'structured,' but the presence of optional or free-text fields pushes it into the semi-structured category.

How to eliminate wrong answers

Option A is wrong because structured data requires a fixed, predefined schema where every record has the same fields and data types (like a SQL table), but the optional and free-text fields here break that rigidity. Option C is wrong because unstructured data has no schema at all (e.g., raw video files, plain text without metadata), whereas these forms have always-present fields like CustomerID and SubmissionDate that provide structure. Option D is wrong because relational data is a subset of structured data that enforces relationships through foreign keys and normalization, which does not apply to forms with varying optional fields.

72
Multi-Selectmedium

Which TWO are valid access tiers for Azure Blob Storage? (Choose two.)

Select 2 answers
A.Premium
B.Cold
C.Cool
D.Frozen
E.Hot
AnswersC, E

Cool is a valid access tier designed for data that is infrequently accessed but still must be available immediately when needed. It provides lower storage costs than Hot while incurring higher access charges, making it suitable for backups, short-term retention, or disaster recovery files. Because Cool is one of the documented access tiers for Azure Blob Storage, it is a correct answer.

Why this answer

Hot, Cool, and Archive are the three access tiers. Premium is a performance tier, not an access tier. Cold is not a standard tier.

73
Multi-Selectmedium

Which TWO Azure services can be used to build a data pipeline that moves data from on-premises SQL Server to Azure Synapse Analytics?

Select 2 answers
A.Azure Data Factory
B.Azure Databricks
C.Azure Machine Learning
D.Azure Stream Analytics
E.Azure Analysis Services
AnswersA, B

Azure Data Factory is a managed cloud ETL service that lets you author, schedule, and monitor data movement and transformation. It uses pipelines, linked services, datasets, and a self-hosted integration runtime to copy data from an on-premises SQL Server to Azure Synapse Analytics. With code-free pipeline orchestration, schedule triggers, and comprehensive monitoring, it is a core service for building batch data pipelines.

Why this answer

Azure Data Factory (A) is correct because it is a cloud-based ETL and data integration service that provides built-in connectors for both on-premises SQL Server (via self-hosted integration runtime) and Azure Synapse Analytics, enabling you to create, schedule, and orchestrate data pipelines that move and transform data between these sources.

Exam trap

The trap here is that candidates often confuse Azure Databricks (a data engineering and analytics platform) with a pure pipeline orchestration service, but it is correct in this context because it can read from on-prem SQL Server via JDBC and write to Synapse using the Spark Synapse connector, making it a valid alternative for building the data pipeline.

74
MCQhard

A company uses the above ARM template snippet to deploy an Azure SQL Database. The deployment fails with an error about invalid SKU. What is the most likely cause?

A.The SKU name 'GP_Gen5_2' is not valid for the 'GeneralPurpose' tier
B.The 'tier' property should be 'Standard' instead of 'GeneralPurpose'
C.The location 'eastus' does not support GeneralPurpose tier
D.The capacity value must be a multiple of 4
AnswerD

Incorrect because GeneralPurpose vCore capacity does not have to be a multiple of 4; 2 vCores is valid.

Why this answer

The deployment would not fail because of a capacity multiple requirement. 'GP_Gen5_2' is a valid vCore SKU for the GeneralPurpose tier with 2 vCores, and Azure SQL Database supports 2 vCores in the GeneralPurpose tier. Therefore none of the listed options is correct; the question is invalid as written.

Exam trap

Candidates often assume there is always a listed correct answer, but if the premise is factually incorrect, no option may be valid.

75
MCQmedium

A company is migrating an on-premises SQL Server database to Azure SQL Database. The database currently uses SQL Server Agent jobs for nightly ETL processes. Which Azure service should the company use to replace these jobs?

A.Azure Automation
B.Azure Logic Apps
C.Elastic Database Jobs
D.Azure Data Factory
AnswerC

Elastic Database Jobs is the native Azure SQL Database service for scheduling T-SQL scripts and stored procedures across one or many databases, directly replacing the SQL Server Agent functionality that is absent in Azure SQL Database. It enables recurring administrative tasks such as index maintenance, data consistency checks, and automated batch operations, with job definitions and history stored in a dedicated job agent database. This provides a secure, scalable, and database-scoped alternative for executing T-SQL logic without external orchestration.

Why this answer

Elastic Database Jobs in Azure SQL Database can replace SQL Server Agent jobs for scheduling T-SQL scripts across multiple databases. Option A is incorrect because Azure Automation is not designed for T-SQL job scheduling; it is used for automating Azure management tasks. Option B is incorrect because Azure Logic Apps is for workflow automation and integration, not for direct T-SQL job scheduling.

Option D is incorrect because Azure Data Factory is primarily for data integration and orchestration, not for scheduling ad-hoc T-SQL jobs.

Page 1 of 11

Page 2

All pages