Courseiva

Microsoft Azure Data Fundamentals DP-900 (DP-900) — Questions 601–675

851 questions total · 12pages · All types, answers revealed

Page 8

Page 9 of 12

Page 10
601
MCQmedium

An administrator runs an Azure CLI command to update an Azure SQL Database's service objective. The command completes without errors, but the database remains at S2. The administrator wants to scale to S3. What is the issue?

A.The command did not specify the new service objective
B.The property names are incorrect
C.The maxSizeBytes value is invalid
D.The Azure CLI does not support scaling Azure SQL Database
AnswerA

Scaling requires the `--service-objective` parameter to carry the new tier value; without it, Azure CLI leaves the existing S2 objective unchanged, so no scaling occurs. The command satisfied the resource group and server constraints but omitted the property that defines the target performance level, leaving the database at S2.

Why this answer

The correct answer is A: the command did not specify the new service objective. To scale an Azure SQL Database with the Azure CLI, you must run `az sql db update` and explicitly pass the target tier/objective, for example `--service-objective S3` (or `--edition Standard --service-objective S3`); without that parameter, the command does not apply any change, so the database remains at S2. The other options do not fit: Azure CLI fully supports scaling Azure SQL Database via `az sql db update`, and there is no indication that the property names or the `maxSizeBytes` value are invalid for this scenario.

602
MCQmedium

A retail company runs its legacy order management application on an on-premises SQL Server. They plan to migrate to Azure with minimal application changes and need high availability with automatic failover to a secondary Azure region. They also require full database-level isolation and the ability to use SQL Server Agent jobs. Which Azure deployment option should they choose?

A.Azure SQL Database single database
B.Azure SQL Database elastic pool
C.Azure SQL Managed Instance
D.SQL Server on Azure Virtual Machine
AnswerC

Azure SQL Managed Instance is correct because it provides near-complete SQL Server instance compatibility, including SQL Server Agent for scheduled maintenance, instance-level features, and cross-database queries, all within a fully managed PaaS environment. It supports auto-failover groups to deliver automated disaster recovery without the manual configuration required by infrastructure-as-a-service deployments. This makes it the lowest-effort managed option for modernizing a legacy order management system with minimal application changes.

Why this answer

Azure SQL Managed Instance (C) is correct because it provides near-100% compatibility with on-premises SQL Server, including full database-level isolation (a dedicated instance) and full support for SQL Server Agent jobs. It also supports auto-failover groups for high availability with automatic failover to a secondary Azure region, meeting the migration requirement with minimal application changes.

Exam trap

The trap here is that candidates often confuse Azure SQL Database (single or elastic pool) with SQL Managed Instance, overlooking that SQL Agent jobs and full instance-level isolation are exclusive to Managed Instance, while also mistakenly thinking that SQL Server on Azure VM is the only option for high availability with automatic failover.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database single database does not provide full database-level isolation (it runs in a shared logical server) and does not support SQL Server Agent jobs. Option B is wrong because Azure SQL Database elastic pool is a multi-tenant resource-sharing model that also lacks SQL Server Agent job support and full instance-level isolation. Option D is wrong because SQL Server on Azure Virtual Machine requires manual configuration of Always On Availability Groups for automatic failover to a secondary region, and it does not offer the same managed experience with minimal application changes as Azure SQL Managed Instance.

603
Drag & Dropmedium

Drag and drop the steps to configure a firewall rule for Azure SQL Database in the correct order.

Drag or tap steps into the slots.

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

Why this order

Firewall rules are set at the server level to allow client IP addresses to access the database.

604
MCQmedium

A manufacturing company collects sensor readings from thousands of IoT devices. Each reading consists of a device ID, a timestamp, and a numeric value. The data is stored as key-value pairs and must support low-latency reads and writes at a global scale. The company also needs to query the data by device ID and time range. Which Azure Cosmos DB API should they choose?

A.Core (SQL) API
B.MongoDB API
C.Table API
D.Gremlin API
AnswerC

The Table API is built for key-value workloads and stores data as items with a partition key and row key. It allows efficient point reads and range queries, making it ideal for IoT sensor data.

Why this answer

The Table API is the correct choice because it is designed for key-value workloads with a schema-less design, supporting low-latency reads and writes at global scale. It allows querying by partition key (device ID) and row key (timestamp) to efficiently retrieve data by device ID and time range, matching the IoT sensor data requirements.

Exam trap

The trap here is that candidates often choose the Core (SQL) API because they associate SQL with querying, but the Table API is specifically built for key-value and time-series workloads with composite key queries, which is the exact pattern described.

Why the other options are wrong

A

The Core (SQL) API uses a SQL-like query language and is optimized for document data models, not key-value pairs with device ID and timestamp queries. It does not natively support the low-latency global-scale key-value access pattern as efficiently as the Table API.

B

The MongoDB API is designed for document data with flexible schemas, not for key-value pairs with simple queries by device ID and time range. The Table API is optimized for key-value workloads and supports low-latency reads/writes at global scale.

D

The Gremlin API is designed for graph databases and queries involving relationships (edges and vertices), not for key-value or time-series data with simple queries by device ID and time range.

When would these options actually be correct?

A

If the company needed to store JSON documents with complex nested structures and run SQL-like queries (e.g., JOINs, aggregations) on the data, the Core (SQL) API would be the correct choice. For example, storing product catalogs with categories and pricing.

B

A company needs to store JSON documents with varying schemas (e.g., product catalogs, user profiles) and requires complex queries (e.g., aggregations, joins) or indexing on multiple fields. The MongoDB API would be correct for document-oriented workloads with rich query capabilities.

D

A question that asks for an API to model and query complex relationships, such as a social network, recommendation engine, or fraud detection system where entities are connected by edges, would make Gremlin API the correct answer.

Why candidates pick the wrong answer

A

Candidates may assume that SQL API is the default or most versatile Cosmos DB API, and they might overlook the specific key-value and time-range query requirements that are better suited to the Table API.

B

Candidates may associate IoT data with NoSQL databases and mistakenly think MongoDB's popularity and flexibility make it suitable, overlooking that the question specifies key-value pairs and simple queries, which align better with the Table API.

D

Candidates may confuse the need for low-latency global scale with graph capabilities, or they might think Gremlin is a general-purpose API without understanding its specific graph-oriented nature.

605
Multi-Selecteasy

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

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

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

Why this answer

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

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

Exam trap

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

606
MCQmedium

A company wants to analyze data from multiple Azure SQL Databases using a single query. Which Azure service should they use?

A.Azure SQL Database elastic query
B.Azure SQL Database failover groups
C.Azure Synapse Link
D.Azure Stream Analytics
AnswerA

Azure SQL Database elastic query runs T-SQL across multiple Azure SQL Databases through an external data source, returning one combined result set. It directly satisfies the stem's single-query constraint without copying data into a separate analytics store, unlike Synapse Analytics or Data Factory pipelines.

Why this answer

Azure SQL Database elastic query is correct because it enables cross-database queries across multiple Azure SQL Databases from a single T-SQL query, using an external data source and external table to reference the other databases. This directly matches the requirement to analyze data from multiple Azure SQL Databases with one query. Failover groups are for high availability and geo-replication, not for querying across databases.

Azure Synapse Link provides near-real-time analytics replication from operational stores into Synapse, and Azure Stream Analytics is for real-time stream processing, so neither fits this cross-database query scenario.

607
MCQmedium

A company stores customer support chat transcripts as plain text files in Azure Blob Storage. The files are accessed frequently for the first 30 days, then infrequently for the next 2 years, and after that must be retained for 7 years for compliance but are rarely accessed. The company wants to minimize storage costs by automatically moving data through appropriate access tiers. Which Azure Blob Storage lifecycle management policy should they implement?

A.Move blobs from Hot to Cool after 30 days, then to Archive after 2 years
B.Store all data in Hot tier for the full retention period
C.Move blobs from Hot to Archive after 30 days and delete after 2 years
D.Store all data in Cool tier for the first 30 days, then move to Archive
AnswerA

This policy correctly matches the access pattern: Hot tier for frequent initial access, Cool for infrequent intermediate access (still retained for 2 years but accessed rarely), and Archive for long-term compliance retention where data is rarely accessed and retrieval latency is acceptable.

Why this answer

The lifecycle management policy matches the access pattern: move blobs from Hot (frequent access for first 30 days) to Cool (infrequent access for next 2 years) after 30 days, then to Archive (rare access for 7-year compliance) after 2 years. This minimizes storage costs by using the cheapest tier for each phase while retaining data for the required 7-year compliance period.

Exam trap

The trap here is that candidates may overlook the rehydration latency of the Archive tier and incorrectly move data to Archive during a period of frequent access, or fail to account for the full compliance retention period when choosing deletion actions.

Why the other options are wrong

B

Storing all data in the Hot tier for the full retention period incurs high storage costs, especially for data that is infrequently accessed after 30 days and rarely accessed after 2 years. The Hot tier is optimized for frequent access, not for long-term, low-cost retention.

C

The policy deletes blobs after 2 years, but the requirement is to retain them for 7 years for compliance. Deleting after 2 years violates the retention policy.

D

The Cool tier is not optimal for the first 30 days of frequent access because Hot tier provides lower latency and higher throughput for frequent access, and the policy should start with Hot tier to minimize costs while meeting performance needs.

When would these options actually be correct?

B

If the question required maximum access performance for the entire retention period and cost was not a concern, or if the data was accessed frequently throughout the entire 7+ year period, then keeping all data in the Hot tier would be appropriate.

C

If the compliance requirement was to retain data for only 2 years and then delete, and access patterns were hot for 30 days then archive, this policy would be correct.

D

If the question stated that data is accessed infrequently from day one (e.g., monthly reports accessed only a few times) and must be retained for compliance, then storing directly in Cool and moving to Archive after 30 days would be cost-effective.

Why candidates pick the wrong answer

B

Candidates may think the Hot tier is the default safe choice for all data, not realizing that lifecycle management policies can automatically move data to lower-cost tiers to reduce costs without manual intervention.

C

Candidates may focus on the cost-saving aspect of moving directly to Archive after 30 days, overlooking the long-term retention requirement of 7 years.

D

Candidates may think Cool tier is sufficient for initial access and that skipping Hot tier saves costs, but they overlook that frequent access in Cool incurs higher read costs and latency compared to Hot.

608
Multi-Selecteasy

Which TWO Azure services can be used to store semi-structured data like JSON or Parquet files for analytics? (Choose two.)

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

Azure Blob Storage is Microsoft's object storage service, ideal for storing massive amounts of unstructured and semi-structured data as blobs. It accepts any file type—JSON, Parquet, CSV, Avro—without a predefined schema, making it a correct choice for semi-structured data. Blob Storage provides tiered storage, lifecycle management, and high durability, and it serves as the foundation for Azure Data Lake Storage Gen2's hierarchical namespace.

Why this answer

Azure Blob Storage (B) is correct because it provides massively scalable object storage that can hold semi-structured files such as JSON and Parquet in containers, and it is commonly used as a landing/staging area for analytics workloads. Azure Data Lake Storage Gen2 (D) is correct because it builds on Blob Storage with a hierarchical namespace, POSIX-like ACLs, and optimized performance for big-data analytics, making it the standard store for JSON, Parquet, and other semi-structured files consumed by engines like Synapse Spark and Databricks. Azure Synapse Analytics (A) is an analytics service with SQL and Spark pools rather than a primary storage service for JSON/Parquet files, Azure SQL Database (C) is a relational database management system designed for structured tabular data, and Azure Cosmos DB (E) is a globally distributed NoSQL database for operational document/key-value workloads, not a file-based analytics data store.

Exam trap

The trap here is that candidates often confuse Azure Synapse Analytics (a query service) with a storage service, or think Azure Cosmos DB is suitable for storing large Parquet files for analytics, when it is actually a transactional NoSQL database with a different cost and performance profile.

609
MCQeasy

A logistics company uses IoT sensors on delivery trucks to transmit GPS location, speed, and engine diagnostics every 10 seconds. The data is ingested into Azure Event Hubs. The company needs to analyze the data in real time to identify speeding trucks and send alerts. The analysis requires joining the live sensor data with a reference table of truck details (e.g., driver name, route number) stored in Azure SQL Database. Which Azure service should they use for the real-time processing?

A.Azure Stream Analytics
B.Azure Synapse Analytics dedicated SQL pool
C.Azure Data Factory
D.Azure Databricks
AnswerA

Azure Stream Analytics is built specifically for real-time stream processing over sources such as Azure Event Hubs and IoT Hub. It continuously consumes telemetry events and executes a declarative SQL-based query engine that can apply tumbling, hopping, or sliding windows to detect patterns like speeding while joining live data with reference data from Azure SQL Database. Its low-latency, in-memory processing and native outputs to alerts, Azure Functions, or Power BI make it the natural fit for this scenario.

Why this answer

Azure Stream Analytics is the correct choice because it is a real-time event processing engine designed to handle streaming data from sources like Azure Event Hubs. It can perform temporal joins between the live IoT sensor stream and a static reference table (e.g., truck details from Azure SQL Database) to enrich the data and trigger alerts when speeding is detected, all with sub-second latency.

Exam trap

The trap here is that candidates often confuse batch-oriented services like Azure Synapse Analytics or Azure Data Factory with real-time processing, or they overcomplicate the solution by choosing Azure Databricks when a simpler, purpose-built service like Stream Analytics is sufficient for the join-and-alert pattern.

How to eliminate wrong answers

Option B is wrong because Azure Synapse Analytics dedicated SQL pool is a massively parallel processing (MPP) data warehouse optimized for large-scale batch analytics and complex queries on historical data, not for real-time stream processing with sub-second latency. Option C is wrong because Azure Data Factory is a cloud-based ETL and data orchestration service designed for scheduled, batch-oriented data movement and transformation, not for continuous, low-latency stream processing. Option D is wrong because Azure Databricks is a unified analytics platform that can process streaming data using Structured Streaming, but it is overkill for this simple join-and-alert scenario; it requires more complex setup, cluster management, and is not as straightforward as Stream Analytics for directly joining Event Hubs data with Azure SQL reference data.

610
MCQmedium

A company stores terabytes of historical log data in Azure Blob Storage. The data is rarely accessed but must be retained for 10 years for compliance. The company wants to minimize storage costs. Which storage tier should you use?

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

Archive tier is the most cost-effective storage tier in Azure Blob Storage, designed specifically for long-term retention of data that is rarely accessed. For terabytes of historical log data, it offers the lowest storage price per GB, despite requiring manual rehydration (taking up to 15 hours) to retrieve. This aligns perfectly with the scenario's archival requirements, making it the correct choice.

Why this answer

The Archive tier is the correct choice because it is designed for data that is rarely accessed and has a flexible retrieval latency (hours), making it ideal for long-term retention of historical logs. It offers the lowest storage cost among Azure Blob Storage tiers, which directly minimizes costs for data that must be kept for 10 years but is seldom read.

Exam trap

The trap here is that candidates often confuse the Archive tier's low storage cost with immediate accessibility, forgetting that retrieval latency and rehydration costs apply, but the question explicitly states 'rarely accessed' and 'minimize storage costs,' making Archive the clear choice.

How to eliminate wrong answers

Option A is wrong because the Cool tier is optimized for data accessed infrequently (e.g., every 30 days) but still incurs higher storage costs than Archive and has a minimum storage duration of 30 days, making it less cost-effective for 10-year retention. Option C is wrong because the Hot tier is designed for frequently accessed data with the highest storage cost, which would unnecessarily increase expenses for rarely accessed logs. Option D is wrong because the Premium tier uses SSD-backed storage for low-latency, high-transaction workloads and is the most expensive option, completely unsuitable for archival data.

611
MCQmedium

A company needs to ingest data from an on-premises SQL Server database into Azure SQL Database every hour. During the ingestion, they need to filter out rows where Status = 'Inactive' and convert a date column to a different format. They want a cloud-based, code-free solution that can schedule and orchestrate this task. Which Azure service should they use?

A.Azure Logic Apps
B.Azure Data Factory with Mapping Data Flows
C.Azure Functions
D.Azure SQL Database Change Data Capture
AnswerB

Azure Data Factory provides mapping data flows, a visual designer for building data transformations at scale. It integrates with on-premises data via self-hosted integration runtime, supports scheduling, and requires no code, making it the ideal choice.

Why this answer

Azure Data Factory with Mapping Data Flows is the correct choice because it provides a cloud-based, code-free ETL service that can ingest data from on-premises SQL Server into Azure SQL Database, apply transformations like filtering rows (Status = 'Inactive') and converting date formats, and schedule the task using triggers. Mapping Data Flows run on Spark clusters and allow visual data transformation without writing code, making it ideal for this orchestrated, scheduled ingestion.

Exam trap

The trap here is that candidates often confuse Azure Logic Apps with Azure Data Factory because both can schedule and orchestrate tasks, but Logic Apps lacks the native data transformation capabilities (like filtering and date conversion) required for ETL workloads, making Data Factory with Mapping Data Flows the correct choice for code-free data transformation.

How to eliminate wrong answers

Option A is wrong because Azure Logic Apps is a workflow automation service that can connect to on-premises SQL Server via the on-premises data gateway, but it lacks native data transformation capabilities for filtering rows and converting date formats within the data flow; it is designed for lightweight integration and orchestration, not for complex ETL transformations. Option C is wrong because Azure Functions is a serverless compute service that requires writing custom code (e.g., C#, Python) to perform the ingestion and transformation, which contradicts the requirement for a code-free solution. Option D is wrong because Azure SQL Database Change Data Capture (CDC) is a feature that tracks changes in a database for incremental data capture, but it does not provide scheduling, orchestration, or transformation capabilities; it is a data capture mechanism, not an ETL or orchestration service.

612
MCQmedium

Refer to the exhibit. You execute the above T-SQL statements in Azure Synapse Analytics. What is the purpose of this code?

A.To create an external table that can query Parquet files stored in Azure Data Lake Storage Gen2.
B.To create a view over the Parquet files.
C.To import data from Parquet files into a permanent table in Synapse.
D.To create a regular table in the Synapse database.
AnswerA

This T-SQL statement creates an external table in Azure Synapse Analytics (dedicated SQL pool). The EXTERNAL keyword, combined with LOCATION pointing to an ADLS Gen2 path and a FILE_FORMAT specifying PARQUET, defines metadata that allows T-SQL queries to read the Parquet files directly in place. No data is copied into the database; the table is a read-only schema abstraction over the files.

Why this answer

The T-SQL code creates an external data source pointing to Azure Data Lake Storage Gen2, an external file format for Parquet, and an external table that references the Parquet files. This allows querying the Parquet files directly without importing them into the database, which is the definition of an external table in Azure Synapse Analytics.

Exam trap

The trap here is that candidates confuse an external table (which reads files in place) with importing data into a permanent table or creating a view, because the syntax resembles regular table creation but includes external source and format clauses.

How to eliminate wrong answers

Option B is wrong because the code creates an external table, not a view; a view is a saved SELECT query that does not define a schema over external files. Option C is wrong because the code does not use CREATE TABLE AS SELECT (CTAS) or INSERT INTO to import data into a permanent table; it only creates an external table that reads the Parquet files on demand. Option D is wrong because the table is defined with an external data source and file format, making it an external table, not a regular (managed) table stored in the Synapse database.

613
MCQmedium

A retail company needs to analyze streaming clickstream data from their website to detect shopping cart abandonment in real-time. They want to use Azure Stream Analytics to output results that can be visualized on a live dashboard. Which output sink allows the fastest data visualization for a real-time dashboard in Power BI?

A.Azure Blob Storage
B.Azure Event Hubs
C.Power BI dataset
D.Azure SQL Database
AnswerC

A Power BI dataset—specifically a streaming or push dataset—is the correct target because Azure Stream Analytics includes a native output connector that pushes rows to Power BI in near-real time. Power BI then updates tile visualizations automatically without manual refresh or intermediate storage, and the dataset's in-memory analytics engine is optimized for interactive slicing, filtering, and drill-down. This direct path minimizes latency and is purpose-built for live dashboards fed by streaming clickstream data.

Why this answer

Power BI dataset is the correct output sink because Azure Stream Analytics can directly stream data into a Power BI dataset via the Power BI output adapter, enabling real-time dashboard updates with sub-second latency. This integration uses the Power BI REST API to push streaming data events, which Power BI then visualizes immediately without requiring intermediate storage or batch processing.

Exam trap

The trap here is that candidates often confuse Azure Event Hubs as a visualization output because it is a streaming service, but Event Hubs is an ingestion endpoint, not a visualization sink; the correct sink for real-time Power BI dashboards is the Power BI dataset output directly from Stream Analytics.

How to eliminate wrong answers

Option A is wrong because Azure Blob Storage is a batch-oriented, file-based storage service that introduces latency due to write operations and lacks native real-time streaming visualization capabilities; data must be read and processed again before it can be displayed in Power BI. Option B is wrong because Azure Event Hubs is a message ingestion service, not a visualization sink; it can receive streaming data but requires a downstream consumer (like Stream Analytics or a custom application) to forward data to Power BI, adding an extra hop and latency. Option D is wrong because Azure SQL Database is a relational database optimized for transactional workloads and batch inserts; streaming data into SQL Database incurs write latency and row-level locking, and Power BI would need to poll or refresh the dataset, which is not real-time.

614
Matchingmedium

Match each Azure SQL Database tier to its description.

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

Concepts
Matches

Low-cost for small workloads

Balanced performance and cost

High performance and low latency

Highly scalable for large databases

Auto-scaling compute based on demand

Why these pairings

Azure SQL Database tiers: Basic (low-cost, small), Standard (mid-range, predictable), Premium (high-performance, mission-critical), Hyperscale (large, scalable). Common confusions: mixing Premium and Basic, or Standard and Hyperscale.

615
MCQhard

A logistics company tracks shipments. For each shipment, metadata (ID, weight, destination) is stored in a relational table. The route history is a sequence of events (timestamp, location, status) that is frequently appended but never updated or deleted. The application needs to quickly retrieve the latest status of a shipment and occasionally run analytical queries over the full route history. The company wants to minimize storage cost and use Azure services. Which Azure data store should they choose for the route history?

A.Azure Cosmos DB Core (SQL) API
B.Azure Table Storage
C.Azure Blob Storage with append blobs
D.Azure SQL Database with a JSON column
AnswerC

Append blobs are an Azure Blob Storage variant purpose-built for high-frequency append operations: each append writes a new block at the end without modifying existing data, making them ideal for shipment tracking logs. They provide low-cost, immutable storage, and using Azure Data Lake Storage Gen2 or serverless SQL, you can run queries over the entire blob to reconstruct the full route history. Unlike the other options, append blobs give you native append semantics, no per-event write cost beyond storage, and direct integration with analytics tools.

Why this answer

Azure Blob Storage with append blobs is the correct choice because route history is write-once, read-many (WORM) data that is frequently appended but never modified or deleted. Append blobs are optimized for sequential append operations, offering low-cost storage for large volumes of event data, and they support fast retrieval of the latest status by reading the last block. This minimizes storage cost while allowing occasional analytical queries over the full history via Azure Synapse or other analytics services.

Exam trap

The trap here is that candidates often choose Azure Cosmos DB or Azure SQL Database because they associate 'fast retrieval' with transactional databases, overlooking that append blobs provide both low-cost storage and efficient last-block retrieval for append-only event sequences.

Why the other options are wrong

A

Cosmos DB is optimized for low-latency reads and writes with flexible schemas, but it is more expensive than Blob Storage for append-only, rarely queried data. The question prioritizes minimizing storage cost, making Cosmos DB unsuitable.

B

Azure Table Storage is a NoSQL key-value store optimized for point queries and high-volume structured data, but it does not support append-only blobs or efficient append operations for sequence-of-events data. It also lacks the analytical query capabilities needed for occasional full route history analysis, and its storage cost for large append-heavy data is higher than blob storage.

D

Azure SQL Database with a JSON column is not optimal for frequently appended, never-updated route history because it incurs higher storage costs and transactional overhead compared to Azure Blob Storage append blobs, and it is not designed for high-throughput append-only workloads.

When would these options actually be correct?

A

If the application required sub-millisecond reads of the latest route history, global distribution, or needed to query individual events with low latency and a flexible schema, Cosmos DB Core (SQL) API would be the correct choice.

B

An exam scenario where the requirement is to store large amounts of structured, non-relational data (e.g., device telemetry, user preferences) with low latency point queries by partition key and row key, and where data is rarely updated or deleted, but append operations are not the primary pattern. For example, storing IoT sensor readings where each reading is a separate entity and queries are by device ID and timestamp.

D

This option would be correct if the route history required complex relational queries (e.g., joining with shipment metadata), needed transactional consistency, and the append volume was low enough to justify the cost of a relational database.

Why candidates pick the wrong answer

A

Candidates may assume Cosmos DB is always the best for any NoSQL or event-driven scenario, overlooking its higher cost compared to simpler storage options like Blob Storage for append-only workloads.

B

Candidates may confuse Table Storage's ability to store large volumes of structured data with the append-heavy, event-log pattern, overlooking that append blobs are cheaper and more efficient for sequential writes. They might also assume Table Storage's schema-less design fits event data without considering the lack of native append support.

D

Candidates may think JSON in SQL Database offers flexibility for semi-structured event data and familiarity with SQL, overlooking that append blobs are cheaper and better suited for append-heavy, read-latest scenarios.

616
Multi-Selecteasy

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

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

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

Why this answer

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

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

Exam trap

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

617
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

618
MCQmedium

An e-commerce company runs a product inventory database on Azure SQL Database. During a flash sale, write transactions are slow because many read queries are running simultaneously and consuming resources. The company wants to isolate read workloads without modifying application code or database schemas. Which Azure SQL Database feature should they implement?

A.Active geo-replication
B.Read scale-out
C.Auto-failover groups
D.Elastic pools
AnswerB

Read scale-out uses the built-in readable secondary replica of Azure SQL Database, which resides in the same region as the primary and is kept transactionally consistent through asynchronous replication. By setting the connection string's ApplicationIntent parameter to ReadOnly, read-only queries are automatically routed to this secondary, offloading CPU, IO, and memory pressure from the primary without requiring schema changes or application rewrites. This directly satisfies the scenario's requirements of isolating read workloads in the same region while leaving the existing database schema untouched.

Why this answer

Read scale-out (B) is correct because it allows read-only queries to be offloaded to a read-only replica of the database, freeing up the primary replica for write transactions. This feature is built into Azure SQL Database at the Business Critical and Premium service tiers, and it requires no application code changes—just a connection string modification to use the `ApplicationIntent=ReadOnly` parameter. It directly addresses the performance bottleneck caused by concurrent read queries during the flash sale.

Exam trap

The trap here is that candidates confuse read scale-out with geo-replication or failover groups, assuming any replica can offload reads, but only read scale-out provides a local read-only replica without requiring application code changes or cross-region latency.

How to eliminate wrong answers

Option A is wrong because active geo-replication creates readable replicas in a different Azure region for disaster recovery, not for offloading read workloads from the same region, and it requires application code changes to redirect read queries. Option C is wrong because auto-failover groups manage automatic failover between primary and secondary databases for high availability, not for isolating read workloads; they also require modifying the connection string or application logic. Option D is wrong because elastic pools are used to manage and share resources among multiple databases, not to isolate read workloads within a single database, and they do not provide a read-only replica.

619
MCQhard

Your company runs a global e-commerce platform on Azure SQL Database. The platform experiences heavy read traffic on product catalog and inventory tables. You need to reduce read latency for users in different geographic regions while keeping write latency low. The solution must be cost-effective and require minimal application changes. Current architecture: a single Azure SQL Database in West US. You have budget for additional Azure resources. What should you implement?

A.Configure Active Geo-Replication to create readable secondaries in regions where users are located.
B.Migrate the database to Azure Cosmos DB with multi-region writes.
C.Use Azure Traffic Manager to route read requests to the primary database in West US.
D.Enable Read Scale-Out on the existing database and configure application to use the read-only endpoint.
AnswerA

Active Geo-Replication creates readable secondaries in other Azure regions, letting each region serve reads locally and cutting latency. Writes still go to the primary in West US, keeping write latency low, and it needs no application changes beyond connection strings.

Why this answer

Active Geo-Replication (option A) is correct because it creates readable secondary databases in multiple Azure regions, allowing read queries to be served locally in each user's region while writes continue to the primary, reducing read latency without changing the application's write path. It is cost-effective relative to a full re-platforming and requires minimal application changes—just directing read-only connections to the regional secondary endpoints. Option B does not fit because migrating to Azure Cosmos DB with multi-region writes is a major architectural change and typically more expensive, and it changes the data model and consistency semantics.

Option C is wrong because Azure Traffic Manager only routes traffic to endpoints and cannot make a single West US database serve reads faster for users in other regions. Option D is incorrect because Read Scale-Out uses a read-only replica in the same region as the primary, so it does not reduce cross-region read latency for geographically distributed users.

620
Matchingmedium

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

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

Concepts
Matches

Document (JSON)

Document (BSON)

Column-family

Graph

Key-value

Why these pairings

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

621
MCQmedium

A company runs an e-commerce platform on Azure SQL Database. The database handles many concurrent transactions (OLTP). The business team runs complex reporting queries on the same database during business hours, which slows down the transactional workload. The company wants to offload the reporting queries to a separate read-only copy of the database to avoid performance impact. Which Azure SQL Database feature should they enable?

A.Hyperscale service tier
B.Geo-replication
C.Read scale-out
D.Elastic query
AnswerC

Read scale-out is the correct feature because it provisions a transparent, read-only replica on a separate compute resource within the same region as the primary database. When enabled on Premium, Business Critical, or Hyperscale service tiers, clients can use ApplicationIntent=ReadOnly in their connection string to have their queries automatically routed to that replica, offloading reporting workloads and reducing contention on the primary. This directly addresses the requirement of improving OLTP performance by separating read-only queries from the transactional workload, with low lag and minimal configuration overhead.

Why this answer

Read scale-out (C) is the correct feature because it allows Azure SQL Database to offload read-only workloads, such as complex reporting queries, to a separate read-only replica. This is achieved by using the `ApplicationIntent=ReadOnly` connection string parameter, which routes queries to a secondary replica, thereby preventing performance impact on the primary transactional (OLTP) workload. This feature is specifically designed for scenarios where you need to isolate reporting from high-concurrency OLTP operations without requiring a separate database copy.

Exam trap

The trap here is that candidates often confuse Geo-replication with read scale-out because both provide readable secondaries, but Geo-replication is for disaster recovery and requires a separate database in a different region, while read scale-out is for performance isolation within the same region and uses the existing high-availability replicas.

How to eliminate wrong answers

Option A is wrong because Hyperscale is a service tier that provides high scalability and fast backup/restore, but it does not inherently create a separate read-only replica for offloading reporting queries; it focuses on storage and compute elasticity, not read workload isolation. Option B is wrong because Geo-replication creates a readable secondary replica for disaster recovery and geographic redundancy, but it is not designed for offloading reporting queries during business hours—it requires manual failover and is primarily for availability, not performance isolation. Option D is wrong because Elastic query enables querying across multiple Azure SQL databases or external data sources (e.g., Azure SQL Database, Azure SQL Data Warehouse) using T-SQL, but it does not provide a read-only replica for offloading reporting from a single database.

622
MCQeasy

A company needs to run complex analytical queries that aggregate terabytes of sales data across multiple years. The queries are used for monthly business reports and are not latency-sensitive. The data is stored in Azure Data Lake Storage Gen2. The company wants a fully managed, petabyte-scale data warehouse solution that supports SQL queries and integrates with Power BI for reporting. Which Azure service should they use?

A.Azure Synapse Analytics
B.Azure Analysis Services
C.Azure Data Factory
D.Azure HDInsight
AnswerA

Azure Synapse Analytics provides a cloud-based data warehouse that can scale to petabytes. It uses dedicated SQL pools for high-performance analytical queries and has built-in integration with Power BI, Azure Data Lake Storage, and other Azure services.

Why this answer

Azure Synapse Analytics (formerly SQL Data Warehouse) is a fully managed, petabyte-scale analytics service that provides a dedicated SQL pool for running complex, high-performance T-SQL queries against massive datasets. It natively integrates with Azure Data Lake Storage Gen2 for reading data directly via PolyBase or external tables, and it offers built-in connectors to Power BI for reporting. This makes it the ideal choice for the described workload, which requires large-scale aggregation without low-latency demands.

Exam trap

The trap here is that candidates may confuse Azure Analysis Services (an OLAP modeling tool) with a data warehouse, or assume HDInsight is suitable for SQL-based reporting, but Synapse is the only fully managed, petabyte-scale SQL data warehouse with native Power BI integration.

How to eliminate wrong answers

Option B is wrong because Azure Analysis Services is an OLAP engine for semantic modeling and in-memory cubes, not a petabyte-scale data warehouse for raw SQL queries on terabytes of data. Option C is wrong because Azure Data Factory is a cloud-based ETL and data orchestration service, not a data warehouse or query engine. Option D is wrong because Azure HDInsight is a managed Hadoop/Spark cluster for big data processing, but it is not a fully managed SQL-based data warehouse and does not provide the same native SQL query experience or direct Power BI integration as Synapse.

623
MCQmedium

A company runs an online booking system on Azure SQL Database. The system handles many concurrent transactions (OLTP). The business team runs complex reporting queries on the same database during business hours, which slows down the booking transactions. The company needs a solution to separate the analytical workload from the transactional workload without duplicating data manually. Which Azure SQL Database feature should they use?

A.Read Scale-out (readable secondary replica)
B.Active Geo-Replication
C.Elastic pools
D.Hyperscale service tier
AnswerA

Read Scale-out in Azure SQL Database leverages a built-in readable secondary replica in the same region. When a connection string specifies ApplicationIntent=ReadOnly, connections are automatically routed to that replica, allowing reporting and analytical queries to execute without consuming primary CPU and I/O. For an online booking system, this directly separates read-only load from transactional write traffic while maintaining the same logical database endpoint.

Why this answer

Read Scale-out (readable secondary replica) is the correct choice because it allows the company to offload complex reporting queries to a read-only replica of the primary database, thereby isolating the analytical workload from the OLTP transactions. This feature is built into Azure SQL Database and does not require manual data duplication or ETL processes, directly addressing the requirement to separate workloads without manual effort.

Exam trap

The trap here is that candidates often confuse Active Geo-Replication (which also provides readable secondaries) with Read Scale-out, but Geo-Replication is regionally separated and intended for disaster recovery, not for local workload isolation within the same region.

How to eliminate wrong answers

Option B (Active Geo-Replication) is wrong because it is designed for disaster recovery and business continuity by maintaining readable secondary replicas in a different Azure region, not for offloading read-only analytical workloads within the same region during business hours. Option C (Elastic pools) is wrong because they are a resource management model for sharing resources among multiple databases, not a feature for separating analytical and transactional workloads on a single database. Option D (Hyperscale service tier) is wrong because, while it offers high scalability and fast backup/restore, it does not inherently provide a built-in mechanism to separate analytical queries from transactional ones without additional configuration like Read Scale-out.

624
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

625
MCQmedium

A mobile app stores user preferences as JSON documents in Azure Cosmos DB. The document includes userId, theme, language, and notification settings. The most common query retrieves the document for a specific userId. To minimize cost and ensure even distribution, which property should be chosen as the partition key?

A.userId
B.theme
C.language
D.a concatenation of userId and language
AnswerA

Using userId as the partition key is correct because it has high cardinality — each user has a unique ID, so every document maps to a distinct logical partition. This evenly spreads data across the physical partitions, preventing hot spots. It also makes point reads by userId highly efficient: the container can route directly to the partition containing that document, typically consuming a minimal number of Request Units (RUs) and delivering low-latency lookups.

Why this answer

The userId property is the ideal partition key because it provides high cardinality (each user has a unique ID) and ensures even request distribution across physical partitions. Since the most common query retrieves a document by userId, using it as the partition key makes those queries point reads (single-partition queries), which are the most cost-efficient and fastest in Azure Cosmos DB.

Exam trap

The trap here is that candidates often choose a concatenated key (option D) thinking it adds uniqueness or query flexibility, but Azure Cosmos DB's partition key design favors a single high-cardinality attribute for even distribution and simple point reads.

How to eliminate wrong answers

Option B (theme) is wrong because theme has low cardinality (only a few possible values like 'light' or 'dark'), leading to hot partitions and uneven data distribution. Option C (language) is wrong because language also has low cardinality (e.g., 'en', 'fr', 'es'), causing similar skew and throttling under load. Option D (a concatenation of userId and language) is wrong because it adds unnecessary complexity without benefit—userId alone already provides unique document identification and even distribution, and concatenation would increase storage overhead and partition key size (up to 2 KB limit) without improving query performance.

626
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

627
Multi-Selecthard

Which THREE components are essential for building a modern data warehouse architecture on Azure?

Select 3 answers
A.Azure Analysis Services
B.Azure Cosmos DB
C.Azure Databricks
D.Azure Data Lake Storage
E.Azure Synapse Analytics
AnswersC, D, E

Azure Databricks is essential for data transformation and processing because it provides a managed Apache Spark platform that scales out for large-scale batch and streaming workloads. It enables the ELT/ETL steps that convert raw data into clean, curated datasets, often using Delta Lake for transactional integrity. In the modern data warehouse (lakehouse) architecture, Databricks acts as the compute engine that prepares data for downstream analytics, making it a core component.

Why this answer

Azure Databricks is correct because it provides an Apache Spark-based analytics platform that enables data engineering, data science, and machine learning on large-scale data. In a modern data warehouse architecture, Azure Databricks is used for data transformation, preparation, and advanced analytics, often feeding into or complementing Azure Synapse Analytics for structured querying and reporting.

Exam trap

The trap here is that candidates may confuse Azure Analysis Services as a core component of the data warehouse architecture, when it is actually a downstream BI tool, or mistakenly think Azure Cosmos DB is suitable for analytical workloads, whereas it is optimized for transactional and real-time NoSQL scenarios.

628
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

629
Multi-Selectmedium

Which TWO are valid deployment options for Azure SQL?

Select 2 answers
A.Azure SQL Managed Instance
B.Azure SQL Database
C.Azure Cosmos DB
D.Azure Database for MariaDB
E.Azure Synapse Analytics Dedicated SQL Pool
AnswersA, B

Azure SQL Managed Instance is a full PaaS deployment of the SQL Server database engine that offers nearly 100% surface-area compatibility with on-premises SQL Server. It supports SQL Server Agent, linked servers, cross-database queries, and CLR, while relieving you of patching and backup management. It runs inside your Azure virtual network to support private IP addresses, making it the preferred target for lift-and-shift migrations without redesigning applications.

Why this answer

Options A and B are correct. Azure SQL Database and Azure SQL Managed Instance are the two main deployment options for Azure SQL. Options C, D, and E are incorrect: Azure Cosmos DB is a NoSQL database, Azure Database for MariaDB is a separate managed database service, and Azure Synapse Analytics Dedicated SQL Pool is a data warehousing service.

630
MCQmedium

A retail company analyzes customer purchase patterns. Every night, they run a batch job that aggregates millions of transactions from the past day into summary tables for reporting. Which type of data processing workload best describes this nightly job?

A.Batch processing
B.Real-time processing
C.Streaming processing
D.Transactional processing
AnswerA

Batch processing is the correct fit because the nightly job processes a large, accumulated volume of purchase records at a scheduled time, using a bounded dataset. This aligns with the classic batch pattern of ingesting data over a period, then running a job (e.g., Azure Data Factory or Spark) to aggregate and analyze patterns offline without requiring sub-second latency.

Why this answer

This nightly job processes a large volume of transactions accumulated over the past day in a single, scheduled run, which is the defining characteristic of batch processing. In Azure, this workload would typically be implemented using Azure Synapse Analytics or Azure Data Factory to orchestrate the aggregation of millions of rows into summary tables for reporting, without requiring immediate output.

Exam trap

The trap here is that candidates confuse 'batch processing' with 'transactional processing' because both involve databases, but batch processing is designed for high-volume, scheduled analytics (OLAP), not for real-time, row-by-row operations (OLTP).

Why the other options are wrong

B

The nightly job processes data in large batches once per day, not continuously or with low latency, so it is not real-time processing.

C

Streaming processing handles data continuously as it arrives, but this job runs nightly on already-collected data, making it batch, not streaming.

D

Transactional processing handles individual, real-time transactions (e.g., order placement), not nightly aggregation of millions of past transactions into summary tables.

When would these options actually be correct?

B

A question describing a system that monitors credit card transactions for fraud and must flag suspicious activity within milliseconds would make real-time processing correct.

C

A question describing a system that continuously ingests and processes transactions as they occur (e.g., fraud detection on credit card swipes) would make streaming processing the correct answer.

D

A question describing a system that processes individual sales transactions as they occur, ensuring ACID properties for each purchase, would make transactional processing correct.

Why candidates pick the wrong answer

B

Candidates may confuse 'nightly' with 'real-time' because they think of the job running every night as a scheduled, recurring process, but real-time requires immediate processing.

C

Candidates may confuse 'streaming' with any large-scale data processing, or think that processing millions of transactions implies a stream, missing the scheduled batch trigger.

D

Candidates may confuse 'transactional' with any data processing involving transactions, not realizing it specifically refers to OLTP systems that handle individual, real-time operations.

631
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

Why the other options are wrong

B

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

C

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

D

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

When would these options actually be correct?

B

If the question defined JPEG files as having metadata tags (like EXIF) that are semi-structured, and JSON documents as lacking any schema (e.g., arbitrary text), then B would be correct.

C

Option C would be correct if the relational table had variable columns or allowed schema changes (making it semi-structured), and the JSON documents had a fixed schema enforced by the application (making them structured). For example, a table with optional columns and JSON with required fields.

D

If the question described a relational table storing unstructured data like BLOBs, JPEG files with EXIF metadata (structured), and JSON documents with a fixed schema enforced by a validation tool (structured), then D would be correct.

Why candidates pick the wrong answer

B

Candidates may confuse 'semi-structured' with 'unstructured' due to the flexibility of JSON, or mistakenly think image files have inherent structure because they can be parsed.

C

Candidates may confuse 'semi-structured' with 'structured' because JSON has a key-value format that appears organized, and they might think a relational table is 'semi-structured' if they consider data types as flexible, overlooking the fixed schema.

D

Candidates may confuse 'structured' with 'binary' or think JPEG files have a rigid format (structured), and mistakenly view JSON as unstructured due to its flexible schema.

632
MCQmedium

A gaming company stores player game scores in Azure Cosmos DB. Each document contains PlayerID, GameID, Score, Timestamp. The most common query is: 'Get all scores for a specific game ordered by score descending'. Which partition key should be chosen to minimize Request Unit (RU) consumption?

A.PlayerID
B.GameID
C.Score
D.Timestamp
AnswerB

Partitioning on GameID co-locates every score for one game in a single logical partition, so the query reads one partition and returns results already ordered by score, avoiding cross-partition fan-out that inflates Request Unit consumption.

Why this answer

GameID is the correct partition key because the most common query filters on GameID, and Cosmos DB routes queries to the exact physical partition(s) containing that GameID. This avoids cross-partition fan-out, minimizing RU consumption. A partition key that matches the query filter ensures efficient index lookup and data retrieval.

Exam trap

The trap here is that candidates often pick PlayerID thinking it uniquely identifies each player, but they overlook that the query filters on GameID, making GameID the only partition key that avoids cross-partition queries and minimizes RU consumption.

How to eliminate wrong answers

Option A (PlayerID) is wrong because it would scatter scores for the same game across multiple partitions, forcing a cross-partition query that scans all partitions and increases RU cost. Option C (Score) is wrong because it is a high-cardinality, frequently updated value that can cause hot partitions and does not align with the query filter on GameID. Option D (Timestamp) is wrong because it would distribute data by time, not by game, so querying for a specific game would still require scanning all partitions.

633
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

634
MCQmedium

A retail company uses Azure SQL Database for an order management system. The Orders table has columns: OrderID (primary key, clustered), CustomerID, OrderDate, TotalAmount. Queries frequently filter on CustomerID and OrderDate, and sort results by OrderDate in descending order. The queries also return the TotalAmount. Which indexing strategy will most improve query performance for these operations?

A.Maintain the existing clustered index on OrderID only.
B.Create a nonclustered index on (CustomerID, OrderDate DESC) INCLUDE (TotalAmount).
C.Create a nonclustered index on (OrderDate DESC) INCLUDE (CustomerID, TotalAmount).
D.Create a clustered columnstore index on the entire table.
AnswerB

This index is ordered by CustomerID then OrderDate descending, allowing efficient seeks for a specific CustomerID and range scans over OrderDate in descending order. Including TotalAmount covers the SELECT clause without needing to access the base table.

Why this answer

It creates a covering nonclustered index that supports both the filter predicates (CustomerID and OrderDate) and the sort order (OrderDate DESC) while including TotalAmount as an included column to avoid key lookups. This index allows SQL Server to satisfy the query entirely from the index pages, minimizing I/O and improving performance.

Exam trap

Microsoft often tests the distinction between covering indexes and columnstore indexes, and the trap here is assuming a columnstore index is appropriate for transactional queries with filtering and sorting, when it is actually designed for large-scale analytics and data warehousing workloads.

How to eliminate wrong answers

Option A is wrong because the existing clustered index on OrderID does not support filtering on CustomerID or OrderDate, forcing a full clustered index scan. Option C is wrong because while it supports sorting on OrderDate, it does not include CustomerID as a leading key column, so filtering on CustomerID would require a scan or additional lookups. Option D is wrong because a clustered columnstore index is optimized for large-scale analytical workloads and batch processing, not for point lookups or range queries with sorting on a single table; it would degrade performance for the described transactional queries.

635
Multi-Selecteasy

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

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

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

Why this answer

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

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

Exam trap

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

636
MCQhard

A company stores IoT sensor data in Azure Table Storage. The data is accessed frequently for the first 30 days, then rarely. You need to minimize storage costs while ensuring data is available for queries within 24 hours of a request. What should you implement?

A.Configure a lifecycle management policy on the Table Storage account to move data to Cool tier after 30 days.
B.Store all data in Azure SQL Database and use index maintenance to improve query performance.
C.Migrate the data to Azure Cosmos DB and use Time-to-Live (TTL) to expire old data.
D.Move data older than 30 days to Azure Blob Storage Cool tier and use an Azure Data Factory pipeline to copy data back to Table Storage when requested.
AnswerD

This pattern uses Blob Storage's Cool tier, which is priced for infrequently accessed data, to hold IoT records older than 30 days while keeping them readily retrievable. An Azure Data Factory pipeline can copy the requested entities from the Cool-tier blobs back into Azure Table Storage on demand, restoring them for queries without requiring the data to stay in the high-priced table tier. This optimizes cost while maintaining availability, typically within the Cool tier's 24-hour retrieval-time SLA.

Why this answer

Azure Table Storage does not support tiering (Hot/Cool/Archive) — it is a single-tier, NoSQL key-attribute store. To reduce cost for cold data while keeping it queryable, the standard pattern is to offload aged data to Blob Storage Cool tier (cheaper per GB) and use Azure Data Factory to copy it back on demand, satisfying the 24-hour retrieval SLA. This matches the question's requirement of minimizing cost with delayed availability.

Exam trap

The trap here is assuming that because Blob Storage supports lifecycle tiering, Table Storage does too — candidates who don't know Table Storage is single-tier pick the 'move to Cool tier' option.

How to eliminate wrong answers

Option A is wrong because Azure Table Storage has no Cool or Archive access tiers — lifecycle management policies that move data between hot/cool/archive tiers apply to Blob Storage (and Azure Files), not Table Storage. Option B is wrong because Azure SQL Database is a relational PaaS database, not a cost-optimized store for high-volume IoT telemetry, and index maintenance does not address storage cost tiering. Option C is wrong because Cosmos DB TTL deletes expired items rather than archiving them, which violates the requirement to keep data available for later queries.

637
MCQeasy

A data scientist needs to perform exploratory data analysis on a large dataset stored in Azure Data Lake Storage Gen2 using Python notebooks. The solution must minimize infrastructure management. Which Azure service should the data scientist use?

A.Azure Machine Learning compute instances.
B.Power BI with dataflows.
C.Azure HDInsight with Jupyter notebooks.
D.Azure Databricks with collaborative notebooks.
AnswerD

Azure Databricks with collaborative notebooks is the correct choice because it provides a serverless, auto-scaling Apache Spark platform purpose-built for interactive data exploration and data science. Notebooks support Python, R, SQL, and Scala, and allow multiple data scientists to share and co-edit in real time with integrated version control, while the cluster can auto-start, scale, and terminate to minimize cost. Databricks also includes built-in data visualization and integration with the lakehouse architecture, making it ideal for EDA.

Why this answer

Azure Databricks provides a fully managed, collaborative notebook environment optimized for big data analytics and machine learning. It integrates natively with Azure Data Lake Storage Gen2, allowing the data scientist to perform exploratory data analysis (EDA) using Python notebooks without managing any underlying infrastructure. This minimizes operational overhead while providing autoscaling clusters and built-in Spark capabilities.

Exam trap

The trap here is that candidates often confuse Azure Machine Learning compute instances (which are for ML model development) with a general-purpose data analytics environment, or they assume HDInsight's Jupyter notebooks are equally managed, overlooking the significant infrastructure management overhead and lack of serverless autoscaling.

How to eliminate wrong answers

Option A is wrong because Azure Machine Learning compute instances are designed for training and deploying ML models, not for general-purpose EDA on large datasets; they require manual scaling and lack the native Spark engine needed for efficient processing of data in Data Lake Storage Gen2. Option B is wrong because Power BI with dataflows is a business intelligence and visualization tool, not an interactive coding environment for Python-based EDA; it abstracts away code and cannot run arbitrary Python notebooks. Option C is wrong because Azure HDInsight with Jupyter notebooks requires manual provisioning and management of Hadoop/Spark clusters, contradicting the requirement to minimize infrastructure management; it also lacks the collaborative, serverless notebook experience of Databricks.

638
Multi-Selectmedium

Which TWO Azure services can be used to store non-relational data? (Choose two.)

Select 2 answers
A.Azure Cosmos DB
B.Azure SQL Database
C.Azure Synapse Analytics
D.Azure Database for MySQL
E.Azure Table Storage
AnswersA, E

Azure Cosmos DB is a globally distributed, multi-model NoSQL database supporting document, key-value, graph and column-family APIs. Its schema-agnostic design satisfies the non-relational requirement, unlike Azure SQL Database, which enforces relational tables, schemas and joins.

Why this answer

Azure Cosmos DB (A) is correct because it is Microsoft's globally distributed, multi-model NoSQL database service that natively stores non-relational data such as documents, key-value pairs, graphs, and column-family data. Azure Table Storage (E) is also correct because it is a NoSQL key-attribute store designed for storing large amounts of non-relational structured data (entities with partition key and row key) at low cost. Azure SQL Database (B) is a relational PaaS database engine using T-SQL, so it stores relational data, not non-relational.

Azure Synapse Analytics (C) is an analytics service built on relational MPP (massively parallel processing) SQL pools and Spark, primarily for data warehousing and analytics rather than non-relational storage. Azure Database for MySQL (D) is a managed relational MySQL database, so it stores relational data in tables with schemas and foreign keys.

639
MCQmedium

A manufacturing company stores IoT sensor data as JSON documents in Azure Cosmos DB. Each document has fields: deviceId (high cardinality, many unique values), timestamp, temperature, and humidity. The most frequent query is: 'Retrieve all readings for a specific deviceId from the last hour.' To minimize Request Unit (RU) consumption, which combination of partition key and indexing policy should be chosen?

A.Partition key: deviceId, Indexing: automatic on all properties
B.Partition key: timestamp, Indexing: automatic on all properties
C.Partition key: deviceId, Indexing: none
D.Partition key: temperature, Indexing: automatic on all properties
AnswerA

Choosing deviceId as the partition key is optimal because it has high cardinality and aligns directly with the query's equality filter (WHERE deviceId = ?). Automatic indexing on all properties ensures the timestamp field is indexed, so the time-range filter within the selected partition uses a precise index seek rather than a scan, minimizing request-unit (RU) consumption. This combination targets a single physical partition and uses an index for the most selective predicates, making it the most efficient design for this IoT workload.

Why this answer

DeviceId is the most frequently filtered attribute (in the WHERE clause), making it an ideal partition key that ensures queries are scoped to a single physical partition, minimizing cross-partition fan-out. Automatic indexing on all properties allows efficient filtering on timestamp within the partition, while the index on deviceId is not strictly needed since the partition key itself routes the query, but it does not harm RU consumption significantly. This combination balances query performance and RU cost for the described workload.

Exam trap

The trap here is that candidates often pick timestamp as the partition key because it seems logical for time-range queries, but they overlook that the most frequent query filters on deviceId, making deviceId the correct partition key to avoid cross-partition queries.

How to eliminate wrong answers

Option B is wrong because timestamp as a partition key would cause each query for a specific deviceId to scatter across all partitions (since the same deviceId's data spans many timestamps), resulting in high RU consumption due to cross-partition queries. Option C is wrong because setting indexing to 'none' would force full scans of all documents within the partition for the timestamp filter, dramatically increasing RU cost compared to using an index. Option D is wrong because temperature has low cardinality (few unique values) and is not used in the WHERE clause, leading to hot partitions and inefficient query routing.

640
MCQmedium

A data engineer needs to transform large datasets stored in Azure Data Lake Storage Gen2 using Python and Apache Spark. They want a serverless compute option that automatically scales and requires no cluster management. Which Azure service should they use?

A.Azure Synapse Analytics dedicated SQL pool
B.Azure Databricks with interactive clusters
C.Azure Synapse Analytics serverless Spark pool
D.Azure Data Factory with MapReduce
AnswerC

Azure Synapse Analytics serverless Spark pool is a fully managed, serverless Spark environment that automatically provisions and scales compute on demand without requiring any cluster setup or management. You can submit PySpark, Scala, or Spark SQL jobs directly against files in Azure Data Lake Storage Gen2, and you pay only for the seconds the job executes. This makes it the ideal service for ad-hoc, large-scale data transformations with zero infrastructure overhead.

Why this answer

Azure Synapse Analytics serverless Spark pool is correct because it provides a serverless Apache Spark compute environment that automatically scales based on workload demand and requires no cluster management. This aligns perfectly with the requirement to transform large datasets in Azure Data Lake Storage Gen2 using Python and Spark without provisioning or managing infrastructure.

Exam trap

The trap here is that candidates often confuse 'serverless' with 'interactive clusters' in Azure Databricks, assuming that Databricks offers a serverless option (which it does not for interactive clusters), or they mistakenly think a dedicated SQL pool can run Spark transformations.

How to eliminate wrong answers

Option A is wrong because Azure Synapse Analytics dedicated SQL pool is a provisioned, always-on MPP (Massively Parallel Processing) SQL engine that requires manual scaling and management, not a serverless Spark compute option. Option B is wrong because Azure Databricks with interactive clusters requires manual cluster creation, configuration, and management, and interactive clusters are not serverless—they run continuously until terminated. Option D is wrong because Azure Data Factory with MapReduce is an orchestration and ETL service that uses external MapReduce jobs (e.g., on HDInsight), not a native serverless Spark compute option, and it does not provide direct Python/Spark execution without cluster management.

641
MCQeasy

A media company needs to store thousands of high-resolution videos. Each video is up to 10 GB in size and must be accessible via HTTP/HTTPS URLs for playback. The company does not require a file system hierarchy or SMB protocol support. Which Azure storage solution is most appropriate for this scenario?

A.Azure Blob Storage
B.Azure Files
C.Azure Queue Storage
D.Azure Table Storage
AnswerA

Azure Blob Storage is the correct choice because it is purpose-built for storing massive amounts of unstructured data, such as high-resolution video files. Blobs are accessible via HTTP/HTTPS URLs, enabling direct streaming and integration with Azure CDN for low-latency delivery. The service scales to petabytes and supports tiers like Hot, Cool, and Archive, making it both cost-effective and performant for media workloads.

Why this answer

Azure Blob Storage is designed for storing massive amounts of unstructured data, such as high-resolution videos, and provides HTTP/HTTPS access via URLs. It supports objects up to 4.77 TiB (or larger with premium block blobs), easily accommodating 10 GB files, and offers no file system hierarchy or SMB protocol, matching the company's requirements exactly.

Exam trap

The trap here is that candidates may confuse Azure Files (which supports SMB) with general file storage, but the question explicitly rules out SMB and file hierarchy, making Blob Storage the correct choice for HTTP/HTTPS-accessible binary objects.

How to eliminate wrong answers

Option B is wrong because Azure Files provides SMB and NFS protocol support and a file system hierarchy, which the company explicitly does not require. Option C is wrong because Azure Queue Storage is a messaging service for asynchronous communication between application components, not for storing or serving video files. Option D is wrong because Azure Table Storage is a NoSQL key-value store for structured data, not designed for large binary objects like videos.

642
Multi-Selectmedium

Which TWO are valid ways to secure data in transit for an Azure SQL Database?

Select 2 answers
A.Use the 'Encrypt connection' setting in connection strings
B.Require TLS 1.2 for client connections
C.Enable Transparent Data Encryption (TDE)
D.Configure firewall rules to allow only specific IPs
E.Use Always Encrypted
AnswersA, B

The 'Encrypt connection' setting in connection strings instructs the client driver to negotiate TLS encryption for the entire connection to Azure SQL Database. When Encrypt=True and TrustServerCertificate=False are used, the driver validates the server certificate and creates an encrypted channel, preventing eavesdropping and man-in-the-middle attacks on all data sent between the application and the database. This is a direct, connection-level mechanism for securing data in transit.

Why this answer

Option A is correct because the 'Encrypt connection' setting in a connection string (e.g., Encrypt=True;TrustServerCertificate=False) forces the client driver to negotiate an encrypted channel to Azure SQL Database, protecting data in transit. Option B is correct because requiring TLS 1.2 for client connections ensures that only modern, secure transport encryption is used between the client and the database, preventing downgrade to weaker protocols. Option C is not correct because Transparent Data Encryption protects data at rest by encrypting database files, not data moving over the network.

Option D is not correct because firewall rules restrict which IP addresses can reach the server but do not encrypt the traffic itself. Option E is not correct because Always Encrypted protects sensitive columns at rest and in memory on the client side, not the transport channel.

Exam trap

The trap here is that candidates confuse encryption at rest (TDE) or column-level encryption (Always Encrypted) with transport encryption, leading them to select options that protect data at different layers rather than data in transit.

643
Drag & Dropmedium

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

Drag or tap steps into the slots.

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

Why this order

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

644
MCQmedium

A company is migrating an on-premises SQL Server database to Azure. The database uses SQL Server Integration Services (SSIS) packages for daily ETL processes. The company wants to minimize administrative overhead for patching and backup management, but needs to retain full control over instance-level configurations and support for SSIS. Which Azure SQL service should they choose?

A.Azure SQL Database
B.Azure SQL Managed Instance
C.Azure Synapse Analytics
D.Azure SQL Server on Azure Virtual Machines
AnswerB

Azure SQL Managed Instance is the correct choice because it provides near 100% compatibility with on-premises SQL Server, including support for SQL Server Integration Services (SSIS) via Azure-SSIS Integration Runtime. As a Platform as a Service (PaaS) offering, it automates critical maintenance tasks such as patching, backups, and high availability, while preserving instance-scoped features like SQL Agent, linked servers, and CLR. This minimizes administrative overhead while supporting SSIS, making it the ideal target for a direct migration of a SQL Server database with integration services workloads.

Why this answer

Azure SQL Managed Instance is correct because it provides near 100% compatibility with on-premises SQL Server, including full support for SQL Server Integration Services (SSIS) via Azure-SSIS Integration Runtime, while offloading patching and backup management to the platform. It also allows full control over instance-level configurations such as collation, CLR, and SQL Agent jobs, which are not available in Azure SQL Database.

Exam trap

The trap here is that candidates often confuse Azure SQL Database's PaaS benefits with full SQL Server compatibility, overlooking that SSIS and instance-level configurations require Managed Instance, not the more restrictive Azure SQL Database.

Why the other options are wrong

A

Azure SQL Database does not support SQL Server Integration Services (SSIS) and provides limited instance-level configuration control, making it unsuitable for the company's need to run SSIS packages and retain full control over instance-level settings.

C

Azure Synapse Analytics is a cloud-scale analytics service that does not support SSIS packages natively, and it is not designed for transactional workloads or instance-level configuration control like patching and backup management.

D

Azure SQL Server on Azure Virtual Machines requires you to manage patching and backups manually, which contradicts the goal of minimizing administrative overhead. It also does not provide the same level of managed service as Azure SQL Managed Instance.

When would these options actually be correct?

A

A company is migrating a simple OLTP workload that does not require SSIS or instance-level configurations, and they want a fully managed platform with built-in high availability and automated patching. Azure SQL Database would be the correct choice.

C

A company needs to run large-scale data warehousing and analytics workloads, such as petabyte-scale queries across relational and non-relational data, and requires integrated data integration pipelines (e.g., Synapse Pipelines) but does not need SSIS or instance-level control.

D

A company needs to run a legacy SQL Server application that requires full control over the OS, custom configurations, or third-party software alongside SQL Server, and is willing to handle patching and backup management themselves.

Why candidates pick the wrong answer

A

Candidates may assume that Azure SQL Database is the default managed option for SQL Server migrations, overlooking its lack of SSIS support and limited instance-level configurability.

C

Candidates may confuse Synapse Analytics' data integration capabilities with SSIS support, or think it is a suitable replacement for SQL Server due to its SQL-based querying and ETL features.

D

Candidates may think that running SQL Server on VMs offers the most control and compatibility for SSIS, but overlook the higher administrative overhead and that Azure SQL Managed Instance also supports SSIS with less management.

645
MCQmedium

A company uses Azure SQL Database to store order data. The Orders table has millions of rows with columns: OrderID (primary key, clustered), CustomerID, OrderDate, Status, TotalAmount. Queries frequently filter on OrderDate and Status, and sort results by OrderDate descending. Which indexing strategy will most improve query performance for these filters and sort?

A.Create a clustered index on OrderDate
B.Create a nonclustered index on (OrderDate DESC, Status) and include TotalAmount
C.Create a nonclustered index on Status alone
D.Create a clustered columnstore index on the table
AnswerB

This composite index covers both filter columns in the correct sort order and includes the TotalAmount column, making the query fully covered without needing to access the table. This yields the best performance for the described queries.

Why this answer

Creates a covering nonclustered index on (OrderDate DESC, Status) that directly supports the frequent filter on OrderDate and Status and the ORDER BY OrderDate DESC. Including TotalAmount as a non-key column makes the index covering, so all needed columns come from the index without key lookups, maximizing query performance.

Exam trap

The trap here is that candidates often think a clustered index on the filter column is always best, but they overlook that the existing clustered index on OrderID is needed for primary key enforcement and that a covering nonclustered index is the optimal way to support specific query patterns without disrupting the table's physical design.

How to eliminate wrong answers

Option A is wrong because changing the clustered index from OrderID to OrderDate would break the primary key constraint and could cause fragmentation and performance issues for other queries that rely on the clustered key. Option C is wrong because an index on Status alone does not help with the OrderDate filter or the ORDER BY OrderDate DESC, requiring a separate sort operation. Option D is wrong because a clustered columnstore index is optimized for large-scale analytical scans and aggregations, not for point lookups or ordered retrieval of specific rows, and would perform poorly for this filtered, sorted query.

646
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

647
MCQmedium

A hospital stores patient vital signs data in Azure Cosmos DB. Each document contains PatientID, Timestamp, HeartRate, BloodPressure, and other measurements. The most common query retrieves all vital signs for a specific patient within a time range (e.g., last 24 hours). Which property should be chosen as the partition key to minimize Request Unit (RU) consumption and ensure even data distribution?

A.PatientID
B.Timestamp
C.HeartRate
D.BloodPressure
AnswerA

PatientID is an ideal partition key because it is the natural filtering attribute for the most common query: retrieving all vital signs for a specific patient. It has high cardinality, since each patient has a unique identifier, so data is spread evenly across logical partitions. Queries that include PatientID are single-partition queries, which are the fastest and most cost-effective in Azure Cosmos DB, avoiding cross-partition fan-out.

Why this answer

PatientID is the ideal partition key because the most common query filters by PatientID and a time range. With PatientID as the partition key, Cosmos DB can route the query to a single physical partition containing all documents for that patient, minimizing cross-partition queries and reducing RU consumption. It also ensures even data distribution since each patient generates a similar volume of vital signs data, avoiding hot partitions.

Exam trap

Microsoft often tests the misconception that Timestamp is a good partition key for time-based queries, but candidates fail to realize that Timestamp causes hot partitions and does not distribute write load evenly.

How to eliminate wrong answers

Option B (Timestamp) is wrong because using Timestamp as the partition key would cause all writes for the same time window to land on a single partition, creating a hot partition and increasing RU costs due to throttling; it also makes range queries across patients inefficient. Option C (HeartRate) is wrong because HeartRate has low cardinality (e.g., 30–250 bpm), leading to a small number of logical partitions that cannot be evenly distributed across physical partitions, causing storage and throughput imbalances. Option D (BloodPressure) is wrong because BloodPressure values are also low cardinality and often repeated across patients, resulting in uneven data distribution and poor query performance when filtering by patient and time.

648
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

Why the other options are wrong

B

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

C

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

D

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

When would these options actually be correct?

B

If the question described a scenario where GPS data is collected in files throughout the day and processed nightly, and the nightly aggregation updates a live dashboard in real-time, then B would be correct.

C

If the question described both workloads as continuously processing data as it arrives (e.g., GPS coordinates streamed and aggregated in real-time for immediate reporting), then both would be stream processing.

D

If the question described a scenario where GPS data is collected in files throughout the day and processed in a nightly batch job, and the aggregation is also batch, then both would be batch processing. For example: 'A company collects GPS logs in daily CSV files and runs a nightly job to process them into a report.'

Why candidates pick the wrong answer

B

Candidates may confuse the continuous nature of GPS data collection with batch processing, or mistakenly think that nightly jobs are stream processing because they run regularly.

C

Candidates may confuse 'real-time' with any data processing that happens frequently, or mistakenly think that the nightly job is also stream processing because it runs regularly.

D

Candidates may confuse 'ingestion' with 'batch' if they think of data being collected over time and processed later, not realizing that real-time ingestion is stream processing.

649
MCQeasy

A company needs to store archived log files that are rarely accessed but must be retained for regulatory compliance. The logs are text-based and each file is about 10 MB. They want the lowest storage cost while ensuring the data is durable and can be read when needed. Which Azure Blob Storage access tier should they choose?

A.Hot
B.Cool
C.Cold
D.Archive
AnswerD

Archive is an offline tier with the lowest storage cost in Azure Blob Storage, specifically built for long-term retention of data that is rarely accessed. To read archived log files, you first rehydrate them to an online tier, a process that typically takes minutes to hours, but that latency is completely acceptable given the access pattern described. This combination of minimal cost and the ability to eventually retrieve the data makes Archive the correct choice.

Why this answer

The Archive tier is the correct choice because it offers the lowest storage cost for data that is rarely accessed and must be retained for long periods. Archived log files that are text-based and 10 MB each fit this profile perfectly, as the Archive tier is designed for data that can tolerate a retrieval latency of several hours (up to 15 hours for standard priority) while providing the same high durability (99.9999999999% or 11 nines) as other tiers. The data remains fully durable and can be read when needed by first rehydrating it to an online tier (Hot, Cool, or Cold) before access.

Exam trap

The trap here is that candidates often confuse 'Cold' with 'Archive' because both are low-cost tiers, but Cold is still an online tier with immediate access and higher cost, while Archive is the only offline tier designed for true archival storage with the lowest cost but significant retrieval latency.

How to eliminate wrong answers

Option A (Hot) is wrong because it is optimized for frequent access and has the highest storage cost, making it unsuitable for rarely accessed archived data. Option B (Cool) is wrong because it is designed for data accessed infrequently (about once a month) but still incurs higher storage costs than Archive, and it is not the lowest-cost option for long-term retention. Option C (Cold) is wrong because, while it is a lower-cost tier for infrequent access with a 30-day minimum storage period, it still costs more than Archive and is intended for data that may be accessed occasionally, not for rarely accessed archival data.

650
MCQmedium

A company has a suite of 20 e-commerce applications, each with its own SQL Server database. The databases vary in size from 5 GB to 100 GB and have unpredictable usage patterns with bursty peaks. The company wants to migrate to Azure SQL Database to benefit from built-in high availability and automatic backups. They need to minimize costs by only paying for the resources each database actually uses, and they want to avoid over-provisioning for peak loads. Which Azure SQL Database deployment option should they choose?

A.Azure SQL Database Elastic Pool
B.Azure SQL Database (single database) with Serverless compute tier
C.Azure SQL Managed Instance
D.Azure SQL Database Hyperscale
AnswerA

Azure SQL Database Elastic Pool is the correct choice because it lets all 20 databases share a single pool of eDTUs or vCores, with adjustable per-database minimum and maximum limits. This avoids over-provisioning each app separately and smooths out intermittent usage spikes across tenants. You pay only for the pooled resources actually allocated, not for 20 individually sized databases, which is exactly what unpredictable e-commerce workloads need.

Why this answer

Azure SQL Database Elastic Pool is the correct choice because it allows multiple databases to share a fixed pool of resources (DTUs or vCores), enabling cost efficiency by pooling and reallocating resources across databases with unpredictable, bursty usage patterns. This avoids over-provisioning for peak loads while still providing built-in high availability and automatic backups, as each database in the pool benefits from these features without needing individual resource reservations.

Exam trap

The trap here is that candidates confuse the Serverless compute tier (which auto-pauses for cost savings on a single database) with the Elastic Pool (which shares resources across multiple databases), leading them to choose Serverless for cost minimization without recognizing the need for resource pooling across 20 databases.

Why the other options are wrong

B

The Serverless compute tier is designed for a single database with intermittent usage, but the question involves 20 databases with bursty peaks. An Elastic Pool shares resources across databases, which is more cost-effective for multiple databases with varying peak times than provisioning each database individually with Serverless.

C

Azure SQL Managed Instance is designed for lift-and-shift migrations requiring full SQL Server instance-level features (e.g., SQL Agent, cross-database queries) and does not offer the cost-sharing, per-database resource pooling that Elastic Pools provide. It would require over-provisioning for peak loads and does not minimize costs for 20 separate databases with bursty, unpredictable usage.

D

Hyperscale is designed for very large databases (up to 100 TB) and high transaction throughput, not for managing multiple smaller databases with bursty, unpredictable usage patterns. It does not provide the cost-sharing benefits of an elastic pool, leading to over-provisioning and higher costs.

When would these options actually be correct?

B

A company has a single e-commerce application with a database that experiences long periods of idle time and short, unpredictable bursts of activity. They want to minimize costs by paying only for compute used during active periods and automatically pausing during idle times.

C

A company needs to migrate multiple on-premises SQL Server databases to Azure with minimal application changes, requiring instance-scoped features like SQL Agent jobs, cross-database queries, and linked servers. They have a predictable workload and are willing to pay for a fixed set of resources rather than pooling databases.

D

A company has a single, very large database (e.g., over 4 TB) with high transaction throughput and requires rapid scaling for unpredictable workloads. They need built-in high availability and automatic backups, and cost is less of a concern than performance and scalability.

Why candidates pick the wrong answer

B

Candidates may think Serverless is the best fit for unpredictable usage patterns because it automatically scales and pauses, but they overlook that the question involves multiple databases where resource pooling is more economical.

C

Candidates may confuse Managed Instance as a 'pooled' option because it supports multiple databases, but they overlook that it charges for the entire instance's resources (vCores and storage) rather than per-database usage, making it cost-inefficient for bursty, variable workloads across many databases.

D

Candidates may associate 'bursty peaks' with Hyperscale's rapid scaling capabilities, but overlook that Hyperscale is for individual large databases, not for pooling multiple smaller databases to share resources and minimize costs.

651
MCQmedium

A retail company is designing a product catalog for its e-commerce website. Each product has a unique ProductID, a name, a price, and a variable number of attributes (e.g., size, color, weight) that differ across product categories. The application requires ability to read a product's details by ProductID with single-digit millisecond latency from any Azure region globally. The schema must be flexible to accommodate new attributes without schema changes. Which Azure data store should the company choose?

A.Azure Cosmos DB using the NoSQL API
B.Azure Table Storage
C.Azure SQL Database
D.Azure Blob Storage
AnswerA

Azure Cosmos DB using the NoSQL API is the correct choice because it provides schema-agnostic document storage that adapts to varying product attributes without migrations. It also guarantees single-digit millisecond latency for point reads (under 10 ms) at any scale, supported by a 99.999% availability SLA. Its turnkey global distribution allows replicas across Azure regions, ensuring low-latency access for e-commerce customers worldwide, and the SQL-like query engine supports rich filtering and projection over flexible JSON documents.

Why this answer

Azure Cosmos DB with the NoSQL API is correct because it provides a fully managed, globally distributed NoSQL database that supports flexible schemas (allowing variable product attributes without schema changes) and guarantees single-digit millisecond read latency at any scale from any Azure region via its multi-region write and read replicas. The unique ProductID serves as a natural partition key, enabling efficient point reads with consistent low latency.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's flexible schema and global distribution with Cosmos DB's performance guarantees, overlooking the specific single-digit millisecond latency requirement that only Cosmos DB can consistently meet across all regions.

How to eliminate wrong answers

Option B (Azure Table Storage) is wrong because while it offers a flexible schema and global distribution, it does not guarantee single-digit millisecond latency for point reads across regions; its latency is typically higher and less consistent than Cosmos DB. Option C (Azure SQL Database) is wrong because it enforces a fixed relational schema, requiring schema changes (ALTER TABLE) to add new product attributes, and its global read latency is not optimized for single-digit millisecond reads from any region without complex geo-replication setups. Option D (Azure Blob Storage) is wrong because it is an object store for unstructured blobs, not a database; it lacks native query capabilities for individual product details by ID and cannot provide single-digit millisecond read latency for structured data access.

652
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

653
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

654
MCQeasy

A small business needs a cost-effective relational database for a new web application. The workload is light and predictable. They want to minimize administrative overhead. Which Azure service should they choose?

A.Azure Database for PostgreSQL
B.SQL Server on Azure Virtual Machines
C.Azure SQL Database (provisioned DTU)
D.Azure SQL Database serverless
AnswerD

Azure SQL Database serverless is a fully managed PaaS offering with vCore-based compute that automatically scales to match the workload and pauses during periods of inactivity. While paused, you are billed only for storage, not compute, which makes it the most cost-effective choice for a small business with light, intermittent database usage. It remains a relational database with no administrative overhead, and the auto-pause delay can be configured to suit the application's needs.

Why this answer

Azure SQL Database serverless is the correct choice because it automatically pauses the database during periods of inactivity, charging only for storage and compute used. This aligns perfectly with the small business's need for a cost-effective, low-administration relational database for a light, predictable workload, as it eliminates the need to manage infrastructure or pay for idle compute.

Exam trap

The trap here is that candidates often choose Azure SQL Database (provisioned DTU) because it is fully managed, but they overlook the serverless option's cost-saving auto-pause feature, which is specifically designed for light, predictable workloads with idle periods.

How to eliminate wrong answers

Option A is wrong because Azure Database for PostgreSQL is a fully managed relational database, but it does not offer a serverless compute tier that auto-pauses; it requires continuous compute billing, making it less cost-effective for a light, predictable workload. Option B is wrong because SQL Server on Azure Virtual Machines requires the user to manage the OS, SQL Server installation, and patching, which increases administrative overhead, contradicting the goal of minimizing management. Option C is wrong because Azure SQL Database (provisioned DTU) allocates fixed compute resources that are billed continuously, even when idle, making it more expensive than serverless for a workload that may have periods of no activity.

655
MCQeasy

Refer to the exhibit. A data engineer is reviewing an ARM template for a storage account. What does the property 'isHnsEnabled' set to true indicate?

A.Blob soft delete is enabled
B.The storage account supports Azure Data Lake Storage Gen2
C.Versioning is enabled for blobs
D.Geo-redundant storage is configured
AnswerB

The hierarchical namespace (HNS) setting, when enabled, transforms a Blob Storage account into an Azure Data Lake Storage Gen2 account. This provides a true file system hierarchy with directories, atomic rename, and POSIX-based access control lists. The ARM template's 'isHnsEnabled' property set to true is the definitive indicator that the account supports ADLS Gen2, which is the answer shown in the exhibit.

Why this answer

The 'isHnsEnabled' property, when set to true, enables the Hierarchical Namespace (HNS) on the storage account. HNS is the core feature that differentiates Azure Data Lake Storage Gen2 from a standard blob storage account, allowing for a true file system hierarchy with POSIX-like access control lists (ACLs). This enables the storage account to support Data Lake Storage Gen2 workloads.

Exam trap

The trap here is that candidates confuse 'isHnsEnabled' with other blob-level features like soft delete or versioning, because all three are often discussed in the context of data protection and management, but only HNS is specific to Data Lake Storage Gen2.

How to eliminate wrong answers

Option A is wrong because blob soft delete is controlled by the 'deleteRetentionPolicy' property on the blob service, not by 'isHnsEnabled'. Option C is wrong because blob versioning is enabled via the 'isVersioningEnabled' property on the blob service, not by 'isHnsEnabled'. Option D is wrong because geo-redundant storage (GRS) is a replication setting configured via the 'sku.name' property (e.g., 'Standard_GRS'), not by 'isHnsEnabled'.

656
MCQmedium

A company plans to migrate a 2-TB on-premises SQL Server database to Azure. The database uses SQL Server Agent jobs for scheduled maintenance and requires automatic failover across Azure regions. The company wants a fully managed service with minimal application changes. Which Azure SQL service should they choose?

A.Azure SQL Database
B.Azure SQL Managed Instance
C.SQL Server on Azure Virtual Machines
D.Azure Synapse Analytics
AnswerB

Azure SQL Managed Instance is a fully managed PaaS service that delivers near 100% SQL Server compatibility, including native support for SQL Server Agent, which the company needs for scheduled maintenance. It supports storage capacities up to 16 TB for a 2 TB migration, and its auto-failover groups enable cross-region high availability with automatic replication and failover, making it the appropriate target.

Why this answer

Azure SQL Managed Instance is correct because it provides near 100% compatibility with SQL Server, including support for SQL Server Agent jobs, and offers automatic failover across Azure regions via failover groups. It is a fully managed service that requires minimal application changes, unlike Azure SQL Database which lacks SQL Server Agent and has limited cross-region failover capabilities.

Exam trap

The trap here is that candidates often choose Azure SQL Database because it is the most well-known fully managed service, overlooking the specific requirement for SQL Server Agent jobs and automatic cross-region failover, which Managed Instance uniquely supports.

Why the other options are wrong

A

Azure SQL Database does not support SQL Server Agent jobs or cross-region automatic failover with minimal application changes; it requires database-level management and lacks instance-scoped features.

C

SQL Server on Azure VMs requires you to manage the OS and SQL Server, including SQL Server Agent jobs and high availability setup, which contradicts the requirement for a fully managed service with minimal application changes.

D

Azure Synapse Analytics is a distributed analytics service for large-scale data warehousing and big data workloads, not designed for transactional SQL Server databases with SQL Server Agent jobs and automatic failover across regions.

When would these options actually be correct?

A

For a new application with a single database under 4 TB, no dependency on instance-level features like SQL Agent, and requiring built-in high availability within a single region, Azure SQL Database would be the correct choice.

C

A company needs full control over the SQL Server environment, including custom configurations, third-party tools, or legacy dependencies that are not supported in PaaS offerings, and is willing to manage the underlying VM and high availability manually.

D

A company needs to migrate a 10-TB data warehouse from on-premises SQL Server to Azure, requiring massively parallel processing (MPP) for complex analytical queries and integration with big data pipelines, with minimal changes to existing SQL code.

Why candidates pick the wrong answer

A

Candidates may assume Azure SQL Database is the default fully managed option and overlook the specific requirements for SQL Agent jobs and cross-region failover, which are only available in Azure SQL Managed Instance.

C

Candidates may think that migrating to VMs is the simplest lift-and-shift approach, but they overlook the management overhead and the fact that Azure SQL Managed Instance provides near 100% compatibility with less administrative effort.

D

Candidates may confuse Synapse Analytics as a fully managed SQL service that supports large databases, overlooking its focus on analytics rather than OLTP and its lack of support for SQL Server Agent jobs and auto-failover groups.

657
Drag & Dropmedium

Drag and drop the steps to load data into Azure Synapse Analytics using PolyBase in the correct order.

Drag or tap steps into the slots.

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

Why this order

PolyBase loading involves defining external data source, file format, external table, then using CTAS to move data into the warehouse.

658
MCQmedium

A company runs a web application on Azure SQL Database that experiences unpredictable spikes in traffic. They want to automatically adjust compute resources based on demand without manual intervention and without over-provisioning. Which Azure SQL Database feature should they use?

A.Serverless compute tier
B.Active geo-replication
C.Hyperscale service tier
D.Read scale-out
AnswerA

Serverless compute tier automatically scales compute resources based on actual demand, scaling down or even pausing the database during periods of inactivity to control costs. It bills per-second for compute and storage separately, making it ideal for workloads with unpredictable, intermittent spikes where manual provisioning or pre-scaling would be wasteful. This meets the requirement because it handles those spikes without intervention.

Why this answer

The Serverless compute tier for Azure SQL Database automatically scales compute resources based on workload demand, pausing databases during idle periods and resuming them when traffic spikes occur. This eliminates the need for manual intervention and prevents over-provisioning by charging only for the compute used per second, making it ideal for unpredictable traffic patterns.

Exam trap

The trap here is that candidates confuse the Hyperscale service tier's storage scalability with compute auto-scaling, but Hyperscale requires manual vCore adjustment and does not support auto-pause, whereas Serverless is specifically designed for unpredictable, intermittent workloads with automatic compute scaling.

How to eliminate wrong answers

Option B (Active geo-replication) is wrong because it focuses on disaster recovery and read-scale availability by replicating data to a secondary region, not on dynamic compute scaling based on demand. Option C (Hyperscale service tier) is wrong because it provides high scalability for storage and fast backup/restore but requires manual scaling of compute resources (vCores) and does not auto-pause or auto-scale compute like Serverless. Option D (Read scale-out) is wrong because it offloads read-only queries to a secondary replica for performance, but it does not automatically adjust compute resources or handle unpredictable traffic spikes without manual configuration.

659
MCQhard

A data analyst needs to run ad-hoc SQL queries on large datasets stored as Parquet files in Azure Data Lake Storage Gen2. The queries are infrequent and the data volume varies. The analyst wants to pay only for the amount of data processed per query and does not want to manage any infrastructure. They also need to create views in T-SQL to simplify queries for Power BI reports. Which Azure service should they use?

A.Azure Synapse Serverless SQL pool
B.Azure Data Lake Analytics
C.Azure HDInsight
D.Azure Databricks
AnswerA

Azure Synapse Serverless SQL pool is the correct choice because it lets the analyst run standard T-SQL queries directly against files in Azure Data Lake Storage using the OPENROWSET function or external tables, with no infrastructure to provision. It is truly serverless: compute scales automatically and billing is per-query on data processed, which fits ad hoc exploration of large datasets. It also supports creating views for reuse and connects directly to Power BI, making it a low-friction, cost-effective solution for interactive SQL analysis.

Why this answer

Azure Synapse Serverless SQL pool is the correct choice because it allows running ad-hoc T-SQL queries directly on Parquet files in Azure Data Lake Storage Gen2 without provisioning any infrastructure. It uses a pay-per-query model, charging only for the amount of data processed, and supports creating T-SQL views that can be used directly by Power BI for simplified reporting.

Exam trap

The trap here is that candidates may confuse Azure Data Lake Analytics (which also processes data in ADLS Gen2) with a serverless SQL option, but it does not support T-SQL or views, making it unsuitable for the analyst's requirement to create T-SQL views for Power BI.

How to eliminate wrong answers

Option B (Azure Data Lake Analytics) is wrong because it uses U-SQL, not T-SQL, and requires managing a job submission model rather than providing a serverless SQL endpoint for ad-hoc queries. Option C (Azure HDInsight) is wrong because it requires provisioning and managing a Hadoop cluster (infrastructure), and does not offer a serverless pay-per-query model for SQL queries on Parquet files. Option D (Azure Databricks) is wrong because it is primarily a Spark-based analytics platform that requires cluster management and uses Spark SQL or Python, not native T-SQL, and does not support creating T-SQL views for Power BI without additional configuration.

660
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

661
MCQhard

A company has a Power BI dashboard that refreshes daily from an Azure SQL Database. During refresh, the database experiences high CPU usage that impacts transactional applications. They need to minimize impact while keeping the dashboard up-to-date. What should they do?

A.Disable the Query Store in the database
B.Create a read-only user for Power BI
C.Set Power BI to use a lower-capacity license
D.Configure Azure SQL Database with a readable secondary replica
AnswerD

Configuring a readable secondary replica offloads the Power BI refresh and report queries to a separate compute node that maintains a read-only copy of the data. With read-scale enabled, you can point the connection string to the listener and specify ApplicationIntent=ReadOnly; Azure SQL Database then routes these read requests to the secondary, sparing the primary replica's CPU for writes and other OLTP activity. This directly lowers CPU utilization on the primary without reducing functionality or throttling the BI workload.

Why this answer

Configuring Azure SQL Database with a readable secondary replica offloads read-only workloads, such as Power BI refreshes, to the secondary replica. This eliminates CPU contention on the primary replica, protecting transactional applications from performance degradation while keeping the dashboard up-to-date with near-real-time data. Option A (Disable Query Store) is irrelevant to reducing refresh CPU impact.

Option B (read-only user) does not physically separate the read workload. Option C (lower-capacity license) does not change query execution location.

Exam trap

The trap here is that candidates often confuse user permissions (read-only user) with workload isolation, not realizing that read-only replicas are required to physically separate read and write workloads at the infrastructure level.

How to eliminate wrong answers

Option A is wrong because disabling the Query Store does not reduce CPU usage from Power BI refreshes; it only removes query performance insights and may even degrade plan stability. Option B is wrong because creating a read-only user does not change the physical execution of queries—Power BI will still run on the primary replica and consume CPU. Option C is wrong because a lower-capacity Power BI license (e.g., changing from Premium to Pro) affects dataset size limits and refresh frequency, not the database CPU load during refresh.

662
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

Why the other options are wrong

A

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

C

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

D

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

When would these options actually be correct?

A

If the data were in a fixed schema like a CSV file with predefined columns and consistent data types, it would be structured data. For example, a table of customer orders with columns OrderID, CustomerName, and OrderDate.

C

A question where the data consists of free-form text documents, images, or audio files without any metadata or schema. For example: 'A company stores customer support chat logs as plain text files. Which data type describes these files?'

D

If the question described data stored in normalized tables with foreign keys (e.g., customer orders in a SQL database), then 'relational data' would be correct.

Why candidates pick the wrong answer

A

Candidates may think JSON is structured because it has keys and values, but they overlook that JSON allows varying fields and nested structures, making it semi-structured.

C

Candidates may think JSON is just text and thus unstructured, overlooking that JSON has a defined key-value structure. They confuse 'unstructured' with 'non-relational' or 'not in a table'.

D

Candidates may confuse 'relational' with any structured format, or think JSON's key-value pairs resemble relational tables, ignoring the schema flexibility.

663
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

664
MCQeasy

A social media application stores user sessions as JSON documents. Each session document has fields like sessionId, userId, startTime, endTime, and a list of pageviews. The application needs to quickly retrieve a session by its sessionId and also run queries like 'find all sessions for a user in the last 24 hours' using SQL-like syntax. The data has no fixed schema; different sessions may include additional optional fields like 'deviceType' or 'promotionCode'. Which Azure data store should the company use?

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

Azure Cosmos DB with SQL API natively stores JSON documents as its core data model, making it schema-agnostic so user sessions with varying fields can be ingested without any upfront schema design. It automatically indexes every JSON property by default, and its SQL-like query language can directly filter, project, and traverse nested objects—for example, WHERE sessionId = @id. Combined with single-digit-millisecond latency for point reads and horizontal partitioning, it is specifically engineered to serve flexible, queryable session data at global scale.

Why this answer

Azure Cosmos DB with SQL API is the correct choice because it natively supports storing JSON documents with flexible schemas, allows fast point reads by sessionId using a unique identifier, and enables SQL-like queries (e.g., filtering by userId and startTime) with automatic indexing. Its schema-agnostic design handles optional fields like deviceType or promotionCode without requiring schema changes, and it provides low-latency reads essential for real-time session retrieval.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's key-value simplicity with JSON document support, but Table Storage does not provide SQL-like querying or native JSON handling, making Cosmos DB the only option that combines flexible schema, SQL syntax, and fast point reads.

Why the other options are wrong

B

Azure Table Storage does not support SQL-like query syntax or JSON documents natively; it uses OData and requires a fixed schema for partition and row keys, making it unsuitable for schema-less JSON sessions and complex queries like 'find all sessions for a user in the last 24 hours'.

C

Azure SQL Database enforces a fixed schema, but the question states that session documents have no fixed schema and may include additional optional fields. It also requires SQL-like queries on JSON documents, which Azure SQL Database supports, but the lack of schema flexibility makes it unsuitable for this use case.

D

Azure Blob Storage is optimized for unstructured binary or text data, not for querying JSON documents with SQL-like syntax or indexing on fields like sessionId and userId. It lacks native support for complex queries and schema flexibility required for this use case.

When would these options actually be correct?

B

A company needs to store large amounts of structured, non-relational data (e.g., device telemetry) with simple key-based lookups and no need for complex queries or indexing. The data has a fixed schema and queries are limited to partition key + row key patterns.

C

A company needs to store structured relational data with a fixed schema, such as customer orders with predefined columns, and requires complex joins, ACID transactions, and SQL queries. The data does not have varying fields, and schema changes are infrequent and managed through migrations.

D

A company needs to store and serve large media files (e.g., images, videos) for a social media application, with no need for querying individual fields within the files. The primary requirement is cost-effective, scalable storage with high throughput for blob data.

Why candidates pick the wrong answer

B

Candidates may confuse Azure Table Storage with a NoSQL option that can handle JSON, but they overlook its lack of native JSON support, SQL querying, and flexible schema capabilities.

C

Candidates may think that because the question mentions SQL-like syntax and JSON support, Azure SQL Database is a good fit, overlooking the requirement for a flexible schema that can handle optional fields without schema changes.

D

Candidates may think Blob Storage can handle JSON documents because it supports storing text files, and they might overlook the need for querying capabilities and indexing that are not available in Blob Storage.

665
MCQmedium

A social media application stores user posts in Azure Cosmos DB using the NoSQL API. Each document includes: PostID (unique), UserID, Timestamp, Content. The most common query is: 'Get all posts for a specific UserID, sorted by Timestamp descending.' Which partition key should be chosen to distribute load evenly across physical partitions while also supporting this query efficiently?

A.PostID
B.UserID
C.Timestamp
D.Content
AnswerB

UserID is the ideal partition key because all posts belonging to the same user are colocated in a single logical partition, allowing the query for a user's posts to be served from one partition with minimal request units and low latency. Since the application has many users, data is spread evenly across physical partitions, preventing hot spots. Additionally, using UserID aligns with the natural query pattern and enables efficient pagination of results.

Why this answer

UserID is the correct partition key because it evenly distributes write operations across physical partitions (each user has a unique ID) and directly supports the most common query: filtering by UserID. With UserID as the partition key, the query 'Get all posts for a specific UserID, sorted by Timestamp descending' becomes a single-partition query (using the partition key in the WHERE clause), which is efficient and avoids cross-partition fan-out. This design also allows Cosmos DB to use the Timestamp field as a sort key within each logical partition, enabling efficient sorting without additional indexing overhead.

Exam trap

The trap here is that candidates often choose a unique identifier like PostID (Option A) thinking it guarantees even distribution, but they overlook that the partition key must also match the most frequent query filter to avoid cross-partition queries and high RU costs.

How to eliminate wrong answers

Option A is wrong because PostID is unique per document, which would create a separate logical partition for each post, leading to an extremely high number of small partitions and poor query performance for the common query (which filters by UserID, not PostID). Option C is wrong because Timestamp is a high-cardinality, monotonically increasing value; using it as a partition key would cause all new posts to land on a single hot partition (the latest timestamp), creating a throughput bottleneck and uneven load distribution. Option D is wrong because Content is a large, variable-length string with no guarantee of even distribution; it would result in unpredictable partition sizes and cannot efficiently support the required filter on UserID.

666
MCQmedium

You are a data engineer for a financial services company. The company uses Azure Synapse Analytics dedicated SQL pool for its data warehouse. They have a fact table named Transactions that contains 2 billion rows. The table is hash-distributed on the AccountID column. Users run reports that aggregate transaction amounts by date and account type. The reports are slow. Upon investigation, you find that the distribution is highly skewed because a few accounts have millions of transactions. You need to improve query performance without redesigning the entire schema. Which action should you take?

A.Change the distribution key to a column with more unique values, such as TransactionID
B.Change the distribution to round-robin
C.Create a clustered columnstore index on the table
D.Replicate the Transactions table to all distributions
AnswerA

Changing the distribution key to a high-cardinality column such as TransactionID is the correct fix. In a hash-distributed table, rows are assigned to distributions by hashing the distribution key, so a key with millions of unique values spreads rows nearly uniformly across all compute nodes. This directly eliminates the data skew on the existing key and also ensures that subsequent joins and aggregations on TransactionID can occur with minimal data movement, allowing the massive table to be processed in parallel.

Why this answer

Changing the distribution key to TransactionID, which has far more unique values than AccountID, will eliminate the data skew that is causing performance degradation. In a hash-distributed table, a skewed distribution key leads to some distributions holding a disproportionate amount of data, causing parallel query execution to be bottlenecked by the largest distribution. By using a highly unique column like TransactionID, the data will be evenly distributed across all 60 distributions, enabling balanced parallelism and faster aggregation queries.

Exam trap

The trap here is that candidates often assume that a clustered columnstore index (Option C) is the universal fix for slow queries, but they fail to recognize that data skew in a hash-distributed table is a distribution-level problem that columnstore indexes cannot solve.

How to eliminate wrong answers

Option B is wrong because changing to round-robin distribution would distribute rows evenly but would eliminate data collocation benefits, causing all queries that filter or join on AccountID to require data movement across distributions, which would severely degrade performance. Option C is wrong because the table already has a clustered columnstore index (the default for dedicated SQL pool tables), and while columnstore indexes improve compression and scan performance, they do not address the root cause of data skew in a hash-distributed table. Option D is wrong because replicating a 2-billion-row fact table to all distributions would consume excessive storage and cause significant overhead during data loading and maintenance, and it is not a supported or practical action for large fact tables in Azure Synapse Analytics.

667
Multi-Selecthard

Which THREE components are typically part of a modern data warehouse architecture on Azure? (Choose three.)

Select 3 answers
A.Azure Data Factory
B.Azure Synapse Analytics
C.Azure Stream Analytics
D.Azure Data Lake Storage Gen2
E.Azure Cosmos DB
AnswersA, B, D

Azure Data Factory is the cloud-backed ETL/ETL orchestration engine that connects to 90+ on-premises and cloud sources, moves data into Data Lake Storage Gen2, and triggers transformation activities on Azure Databricks or HDInsight. Its scheduled or event-driven pipelines are what make repeatable batch data processing possible. Without it, the modern data warehouse cannot automate the ingestion and transformation steps that feed the serving layer.

Why this answer

Azure Data Factory is correct because it serves as the cloud-based ETL (Extract, Transform, Load) service that orchestrates and automates data movement and transformation across various sources and destinations. In a modern data warehouse architecture, Data Factory is used to ingest raw data from on-premises or cloud sources, transform it using mapping data flows or external compute (e.g., Azure Databricks), and load it into the data warehouse or data lake for analytics. It provides a code-free visual interface or SDK-based control for scheduling and monitoring pipelines, making it essential for the ingestion and preparation layer.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics (a real-time processing service) with a batch data warehouse component, or mistakenly think Azure Cosmos DB can serve as an analytical data store due to its multi-model capabilities, but it lacks the columnar storage and MPP architecture required for modern data warehousing.

668
MCQeasy

You are storing log files from multiple applications in Azure Blob Storage. Each log file is a text file with timestamp data. You need to query logs for a specific date range using SQL. Which Azure service can query these files directly?

A.Azure Stream Analytics
B.Azure Data Lake Storage
C.Azure Synapse Serverless SQL
D.Azure Analysis Services
AnswerC

Azure Synapse Serverless SQL is an on-demand query engine that uses T-SQL and OPENROWSET to query files directly from Blob Storage or Azure Data Lake Storage Gen2 without provisioning dedicated compute. It supports various file formats such as Parquet, CSV, and JSON, and charges per query based on bytes scanned. This enables interactive, schema-on-read analysis of log files, exactly matching the requirement to query stored log files.

Why this answer

Azure Synapse Serverless SQL pool can query text files in Azure Blob Storage directly using T-SQL with OPENROWSET or external tables, without loading the data. It supports querying CSV, JSON, and Parquet files and can filter by timestamp columns. This makes it ideal for ad-hoc SQL queries over log files stored in Blob Storage.

Exam trap

DP-900 often tests the difference between storage, stream processing, and query engines; candidates pick Data Lake Storage because it stores the files, but the question asks for a service that can query them with SQL.

How to eliminate wrong answers

Option A is wrong because Azure Stream Analytics is designed for real-time stream processing from sources like Event Hubs or IoT Hub, not for querying static text files in Blob Storage with SQL. Option B is wrong because Azure Data Lake Storage is a storage service, not a query engine; it provides hierarchical namespace but does not execute SQL queries. Option D is wrong because Azure Analysis Services is an OLAP engine for semantic models and tabular data, not for querying raw text files in Blob Storage.

669
MCQhard

A company's application uses Microsoft SQL Server with multiple databases that need to run complex queries joining tables across databases. They are migrating to Azure and need a fully managed relational database service with high availability, automated backups, and minimal management overhead. They do not need a separate SQL Server installation and want to avoid managing VMs. Which Azure deployment option should they choose?

A.Azure SQL Database single database
B.Azure SQL Managed Instance
C.SQL Server on Azure Virtual Machines
D.Azure SQL Database elastic pool
AnswerB

Azure SQL Managed Instance is a fully managed PaaS offering that maintains near-complete SQL Server engine compatibility, including linked servers and native cross-database queries. It also provides built-in high availability, automated backups, and automatic patching, which eliminates the operational overhead of managing virtual machines. For a company moving an existing SQL Server workload with multiple interdependent databases, this option gives the required functionality while minimizing management burden.

Why this answer

Azure SQL Managed Instance is the correct choice because it provides near-100% compatibility with on-premises SQL Server, including support for cross-database queries and linked servers, while being a fully managed platform-as-a-service (PaaS) offering. It eliminates the need to manage VMs or a separate SQL Server installation, and it includes built-in high availability (99.99% SLA) and automated backups, meeting all stated requirements.

Exam trap

The trap here is that candidates often confuse Azure SQL Database elastic pool with Managed Instance, assuming elastic pools support cross-database queries, but elastic pools only manage resource allocation for single databases and do not provide the instance-level features needed for cross-database joins.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database single database does not support cross-database queries or linked servers; it is designed for isolated databases and requires elastic query or external tools for cross-database joins, which adds complexity. Option C is wrong because SQL Server on Azure Virtual Machines is an infrastructure-as-a-service (IaaS) option that requires managing VMs, patching, and SQL Server installation, contradicting the need for minimal management overhead and a fully managed service. Option D is wrong because Azure SQL Database elastic pool is a resource-sharing model for multiple single databases within the same logical server, but it inherits the same cross-database query limitations as single databases and does not enable native cross-database joins.

670
MCQmedium

A social media application stores user profiles as JSON documents. Each profile has standard fields like userId, name, and email, but also optional fields such as education and work history. The application needs to query profiles by userId with low latency and also run SQL-like queries to find all profiles with a specific work history value. Which Azure Cosmos DB API should they choose?

A.SQL (Core) API
B.MongoDB API
C.Gremlin (Graph) API
D.Table API
AnswerA

Azure Cosmos DB SQL (Core) API is a document model that natively stores JSON documents and exposes a SQL-enabled query language specifically designed to query those documents. It automatically indexes every property within the JSON, allowing flexible queries on optional and nested fields, which is ideal for a social media app's user profiles that vary in structure. Because it supports SQL-like syntax that can filter on userId and any other key with minimal effort, it best matches the requirement for querying JSON profiles.

Why this answer

The SQL (Core) API is the correct choice because it natively supports querying JSON documents with SQL-like syntax, enabling both low-latency point reads by userId and complex queries on nested fields like work history. It provides automatic indexing of all JSON properties, which ensures efficient execution of queries across optional fields without requiring schema management.

Exam trap

The trap here is that candidates often choose the MongoDB API because they associate JSON documents with MongoDB, but the question explicitly requires SQL-like queries, which is a native feature of the Core API and not MongoDB's query syntax.

Why the other options are wrong

B

The MongoDB API is designed for MongoDB wire protocol compatibility, not for native SQL-like queries. While it supports JSON documents, it cannot run SQL queries directly, which the application requires.

C

The Gremlin (Graph) API is designed for graph data models with nodes and edges, not for JSON documents with optional fields. Querying by userId and running SQL-like queries on nested JSON is better suited to the SQL (Core) API.

D

The Table API is designed for key-value and tabular data with a fixed schema, not for JSON documents with optional fields. It does not support SQL-like queries on nested JSON properties like work history.

When would these options actually be correct?

B

A question where the application already uses MongoDB drivers and needs to migrate to Azure Cosmos DB with minimal code changes, or where the query requirements are limited to MongoDB-style queries (e.g., find, aggregate) without needing SQL syntax.

C

If the application needed to model complex relationships between users, such as social connections, friend-of-friend queries, or recommendation engines based on graph traversal, the Gremlin API would be the correct choice.

D

A question where the application stores structured, non-relational data with a fixed schema (e.g., device telemetry) and requires key-based lookups with O(1) latency, and does not need complex queries or nested JSON.

Why candidates pick the wrong answer

B

Candidates see JSON documents and assume MongoDB is the natural choice, overlooking that the SQL API also stores JSON and provides SQL query capabilities.

C

Candidates may mistakenly think that because the data has optional fields and relationships (e.g., work history), a graph API is appropriate, overlooking that the query patterns are document-oriented and SQL-like.

D

Candidates may confuse the Table API's simple key-value model with document storage, or assume any NoSQL API in Cosmos DB can handle JSON documents equally well.

671
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

672
MCQmedium

A marketing team wants to analyze social media sentiment in near real-time. They will use Azure Event Hubs to capture tweets and need to aggregate sentiment scores over 5-minute windows. The aggregated results must be stored in Azure Blob Storage for later analysis. Which Azure service should they use to perform the stream processing?

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

Azure Stream Analytics is a fully managed stream-processing engine that ingests events directly from Azure Event Hubs or IoT Hub, applies SQL-like queries with temporal windows such as tumbling, hopping, and sliding, and emits results to Blob Storage or other sinks. This gives the marketing team near-real-time sentiment analytics without provisioning clusters or writing distributed-streaming logic. Its low-latency, event-time-aware processing is exactly what this social media sentiment scenario requires.

Why this answer

Azure Stream Analytics is the correct choice because it is a real-time stream processing engine designed to ingest data from sources like Azure Event Hubs, apply temporal aggregations (e.g., 5-minute tumbling windows), and output results directly to Azure Blob Storage. It provides built-in support for windowed functions and exactly-once delivery semantics, making it ideal for near-real-time sentiment analysis without requiring custom code.

Exam trap

The trap here is that candidates often confuse Azure Data Factory or Azure Synapse Analytics as stream processing tools, but Data Factory is batch-only and Synapse is primarily a data warehouse, not a real-time stream processor.

Why the other options are wrong

B

Azure Data Factory is an ETL and data orchestration service, not a real-time stream processing engine. It cannot perform near real-time aggregation over 5-minute windows from Event Hubs.

C

Azure Databricks is a big data analytics platform that can process streams, but it is not the simplest or most cost-effective choice for near real-time sentiment aggregation over 5-minute windows from Event Hubs to Blob Storage. Azure Stream Analytics provides a purpose-built, serverless SQL-based solution for such streaming ETL tasks.

D

Azure Synapse Analytics is a data warehousing and analytics service, not a real-time stream processing engine. It cannot directly process streaming data from Event Hubs over 5-minute windows and output to Blob Storage without additional tools.

When would these options actually be correct?

B

A question where the requirement is to orchestrate and schedule batch data movement from Event Hubs to Blob Storage, or to transform data in a batch manner using mapping data flows, without needing real-time processing.

C

A question where the team needs to perform complex, custom machine learning transformations on streaming data (e.g., using a trained sentiment model in Python) and also requires collaborative notebook development. For example: 'A data science team wants to build and deploy a custom sentiment analysis model on streaming tweets, with the ability to iterate on the model interactively.'

D

A question asks: 'You need to run complex T-SQL queries on large datasets stored in Azure Blob Storage and create a reporting dashboard. Which service provides a serverless SQL pool for querying data lakes?' In that scenario, Azure Synapse Analytics is correct.

Why candidates pick the wrong answer

B

Candidates may confuse Data Factory's data movement and transformation capabilities with stream processing, or think it can handle streaming data because it can ingest from Event Hubs in batch mode.

C

Candidates may associate Databricks with stream processing due to its Structured Streaming capabilities and think it is always the best choice for real-time analytics, overlooking simpler services like Stream Analytics for straightforward aggregation tasks.

D

Candidates may confuse Synapse Analytics with a stream processing service because it supports real-time analytics through its Spark pools, but the question specifically requires near real-time stream processing with windowed aggregation, which is not Synapse's primary function.

673
MCQeasy

A company is migrating on-premises Hadoop HDFS data to Azure. They want to keep the same file system semantics for compatibility with existing analytics jobs. Which Azure storage solution should they use?

A.Azure Blob Storage
B.Azure SQL Database
C.Azure Data Lake Storage Gen2
D.Azure Cosmos DB
AnswerC

Azure Data Lake Storage Gen2 (ADLS Gen2) is the correct migration target because it is built on Azure Blob Storage but adds a hierarchical namespace that mirrors HDFS. It exposes a native HDFS-compatible ABFS driver plus a REST API, enabling Hadoop, Spark, and Databricks to read and write data with full file-system semantics like atomic rename and POSIX file permissions. ADLS Gen2 is specifically designed for big data analytics and is the Azure service that most closely and natively replaces an on-premises Hadoop HDFS cluster.

Why this answer

Azure Data Lake Storage Gen2 (ADLS Gen2) is built on top of Blob Storage but adds a hierarchical namespace, which provides true directory and file semantics compatible with Hadoop HDFS. This means existing analytics jobs that expect HDFS-style paths (for example, abfss://container@account.dfs.core.windows.net/path) can run with minimal changes, and tools like Azure Databricks, HDInsight, and Synapse Spark can access the data natively.

Exam trap

DP-900 often tests the distinction between Blob Storage (flat namespace, no HDFS semantics) and ADLS Gen2 (hierarchical namespace, HDFS-compatible) — candidates who pick Blob Storage miss the keyword 'same file system semantics' in the question.

How to eliminate wrong answers

Option A is wrong because plain Blob Storage uses a flat namespace where directories are simulated by naming conventions (slashes in blob names); this breaks HDFS semantics such as atomic directory renames and true directory-level ACLs, which many analytics jobs depend on. Option B is wrong because Azure SQL Database is a relational database engine, not a file system — it cannot store or serve HDFS-style file data for analytics jobs. Option D is wrong because Azure Cosmos DB is a globally distributed NoSQL database for document, key-value, graph, and column-family data; it has no HDFS-compatible file system interface.

674
MCQhard

A financial services company needs to build a data pipeline that ingests daily transaction files from multiple sources. The pipeline must perform data quality checks, transform data using complex business logic, and load it into Azure Synapse Analytics. The transformations involve conditional branching (e.g., if a transaction amount exceeds a threshold, apply additional validation). The company wants to minimize coding effort and prefers a visual, configuration-based approach. Which Azure service should they use as the primary orchestration and transformation engine?

A.Azure Data Factory with Data Flows
B.Azure Databricks with notebooks
C.Azure Stream Analytics
D.Azure Logic Apps
AnswerA

Mapping data flows provide a visual, code-free canvas for conditional branching and complex transformations, satisfying the requirement to minimise coding effort. Azure Data Factory orchestrates the nightly ingestion and loading into Azure Synapse Analytics, so no separate compute engine is needed.

Why this answer

Azure Data Factory with Data Flows is the correct choice because it provides a visual, configuration-based interface for both orchestration and transformation, including support for complex business logic like conditional branching (e.g., via conditional split transformations). It natively integrates with Azure Synapse Analytics for loading transformed data, minimizing coding effort compared to code-heavy alternatives.

Exam trap

The trap here is that candidates may confuse Azure Data Factory with Azure Databricks, assuming Databricks is required for complex transformations, but Data Flows provide the same Spark power with a visual interface, meeting the 'minimize coding' requirement.

Why the other options are wrong

B

Azure Databricks with notebooks requires coding in Python, Scala, or SQL, not a visual, configuration-based approach. The question explicitly prefers minimal coding effort and a visual approach, making Databricks unsuitable.

C

Azure Stream Analytics is designed for real-time stream processing, not batch ingestion and transformation of daily transaction files. It lacks the visual, configuration-based data flow capabilities for complex business logic with conditional branching required by the question.

D

Azure Logic Apps is designed for lightweight workflow automation and integration, not for complex data transformations with conditional branching on large datasets. It lacks native data flow capabilities and is not optimized for orchestrating ETL pipelines into Azure Synapse Analytics.

When would these options actually be correct?

B

A data science team needs to build a machine learning pipeline that ingests streaming data, performs advanced analytics (e.g., anomaly detection using custom algorithms), and requires collaborative development with version control. Azure Databricks with notebooks would be the correct choice for its support for ML frameworks and collaborative coding.

C

A company needs to process real-time sensor data from IoT devices, apply windowed aggregations, and output alerts to Azure Event Hubs. They prefer a serverless, SQL-based approach without managing infrastructure. Azure Stream Analytics would be the correct choice.

D

A company needs to automate a business process that triggers when a new file is uploaded to Blob Storage, then sends an email notification and updates a CRM record. The question emphasizes low-code integration between SaaS services and minimal data transformation.

Why candidates pick the wrong answer

B

Candidates may associate Databricks with data transformation and orchestration, overlooking the requirement for a visual, low-code solution. They might also overestimate the ease of use of notebooks for non-coders.

C

Candidates might confuse Stream Analytics' ability to handle transformations with the batch-oriented, visual data flows of Data Factory, especially if they overlook the 'daily files' batch requirement and focus on the 'transformation' aspect.

D

Candidates may confuse Logic Apps' visual designer and low-code approach with Data Factory's visual ETL capabilities, overlooking that Logic Apps is for integration workflows, not heavy data transformation and orchestration.

675
MCQmedium

A data engineer needs to design a solution for a healthcare organization that must store patient records for 7 years to comply with regulatory requirements. The data will be accessed infrequently after the first year. Which Azure storage tier should be used for data older than one year?

A.Transaction-optimized tier
B.Cool tier
C.Archive tier
D.Hot tier
AnswerB

Cool tier is the correct choice for healthcare data older than one year because it provides low storage costs while keeping data immediately readable without rehydration. It is designed for data that is infrequently accessed but needs to be held for at least 30 days, which aligns with a seven-year retention requirement. Although access fees are higher than Hot, the overall cost for rarely read data is significantly lower, and there is no 180-day minimum or retrieval latency as in Archive.

Why this answer

The Cool tier is designed for data that is accessed infrequently but must be available immediately when needed, with a minimum storage duration of 30 days. Since patient records older than one year are accessed rarely but may still require low-latency retrieval for compliance audits, Cool tier balances cost and accessibility. Hot tier is for frequent access, Archive tier has a retrieval latency of hours (not suitable for occasional access), and Transaction-optimized is not a standard Azure Blob Storage tier.

Exam trap

Microsoft often tests the misconception that Archive tier is the cheapest and therefore always the best for old data, but the trap here is ignoring the retrieval latency and access requirements—Archive is only appropriate if data can tolerate hours of delay for rehydration.

How to eliminate wrong answers

Option A is wrong because Transaction-optimized tier is not a valid Azure Blob Storage access tier; Azure offers Hot, Cool, Cold, and Archive tiers, and 'Transaction-optimized' is a misleading term that does not exist in the service. Option C is wrong because Archive tier has a retrieval time of up to 15 hours (rehydration) and is intended for data that is rarely accessed and can tolerate significant delay, making it unsuitable for records that may need occasional access within a reasonable time. Option D is wrong because Hot tier is optimized for frequent access patterns and higher storage costs, which would be wasteful for data accessed only infrequently after the first year.

Page 8

Page 9 of 12

Page 10