Courseiva

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

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

Page 9

Page 10 of 11

Page 11
676
Multi-Selectmedium

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

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

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

Why this answer

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

Exam trap

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

677
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

678
MCQhard

A company uses Azure SQL Database with active geo-replication for disaster recovery. During a regional outage, the secondary database is promoted. After the primary region recovers, what is the best practice to re-establish geo-replication?

A.Delete the old primary database and create a new geo-replication
B.Add the old primary as a secondary to the new primary
C.Reverse the geo-replication direction automatically
D.Perform a planned failover to make the old primary the primary again
AnswerD

Performing a planned failover correctly fails back to the original primary and re-establishes geo-replication.

Why this answer

Performing a planned failover properly fails back to the original primary and re-establishes geo-replication. Option A is wrong because deleting the old primary loses data and is unnecessary. Option B is wrong because while you can add the old primary as a secondary, it is not the best practice; a planned failover is preferred.

Option C is wrong because automatic reversal of geo-replication direction is not supported; you must manually reconfigure.

Exam trap

A common trap is thinking you can simply reconfigure geo-replication without any failover process. However, after an unplanned failover, the only way to restore the original primary as the primary is through a planned failover, not by deleting or manually reassigning roles.

679
MCQhard

Refer to the exhibit. A data engineer runs the PowerShell script shown. What is the purpose of this script?

A.List all blobs in the container
B.Copy blobs to another container
C.List blobs modified in the last 7 days
D.Delete old blobs from the container
AnswerC

The script retrieves blobs under the given prefix and uses Where-Object to test whether each blob's LastModified property is greater than or equal to the date seven days ago, effectively returning only those changed in the last week. Get-Date generates the current timestamp, and AddDays(-7) computes the cutoff boundary. Blobs with older LastModified values are excluded, making this a targeted inventory of recently modified blobs.

Why this answer

The script uses `Get-AzStorageBlob` with the `-Prefix` parameter to filter blobs by name, then applies a `Where-Object` filter to select only blobs whose `LastModified` property is greater than or equal to 7 days ago. This effectively lists blobs modified in the last 7 days. The script does not perform any copy or delete operations, and it does not list all blobs without filtering.

Exam trap

The trap here is that candidates see `Get-AzStorageBlob` and assume it lists all blobs (option A), overlooking the `Where-Object` filter that restricts results to only recently modified blobs.

How to eliminate wrong answers

Option A is wrong because the script includes a `Where-Object` filter on `LastModified`, so it does not list all blobs — it only returns blobs modified within the last 7 days. Option B is wrong because the script contains no `Start-AzStorageBlobCopy` or any copy cmdlet; it only retrieves blob properties and filters them. Option D is wrong because the script does not call `Remove-AzStorageBlob` or any deletion cmdlet; it only reads and filters blob metadata without modifying storage.

680
Multi-Selecteasy

Which TWO are benefits of using Azure SQL Database elastic pools?

Select 2 answers
A.Predictable pricing for a group of databases
B.Resource sharing across multiple databases
C.Unlimited storage per database
D.Isolated performance for each database
E.Support for databases over 1 TB each
AnswersA, B

An Azure SQL Database elastic pool bills a single fixed price for a shared pool of eDTUs or vCores, regardless of how much each contained database consumes. This makes monthly costs predictable because you pay for the pool capacity, not per-database usage spikes.

Why this answer

Azure SQL Database elastic pools provide predictable pricing because you pay for a fixed set of resources (eDTUs or vCores) allocated to the pool, regardless of how many databases use them. This allows you to budget for a group of databases with variable usage patterns without incurring per-database costs, making it cost-effective for workloads with intermittent or unpredictable demand.

Exam trap

The trap here is that candidates often confuse elastic pools with single databases, assuming they provide unlimited storage or isolated performance, but the core benefit is cost-effective resource sharing across multiple databases with predictable pricing.

681
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

682
MCQmedium

You are a data engineer for a large e-commerce company. The company uses Azure Data Lake Storage Gen2 to store customer transaction data. They also use Azure Databricks for data transformation and Azure Synapse Serverless SQL pool for ad-hoc queries. Recently, the data lake has grown to 10 TB, and query performance in Synapse Serverless has degraded significantly. Users complain that queries that used to take seconds now take minutes. You need to improve query performance without moving data to a dedicated SQL pool. The data is stored in Parquet format, partitioned by date. You notice that the queries often filter on CustomerID and Date. Current queries scan all partitions even when only a few days are needed. What is the most effective solution to improve performance?

A.Create materialized views in the Serverless SQL database on the partitioned data
B.Convert all Parquet files to CSV and use row-level security to limit data access
C.Repartition the Parquet files by both date and CustomerID, and optimize file sizes to 1 GB each
D.Increase the service level of the Synapse workspace to improve query concurrency
AnswerC

Repartitioning Parquet files by date and CustomerID, with roughly 1 GB per file, aligns physical layout with common query predicates, enabling partition pruning so Spark and Synapse only access partitions relevant to filter values. The 1 GB target balances parallel query execution and avoids both many tiny files and overly large files that limit read parallelism. This directly minimizes data scanned and improves query performance for date-and-customer queries.

Why this answer

Repartitioning the Parquet files by both date and CustomerID enables partition pruning in Azure Synapse Serverless SQL pool. When queries filter on CustomerID and Date, the engine can skip irrelevant partitions entirely, drastically reducing the amount of data scanned. Optimizing file sizes to around 1 GB ensures efficient parallelism and avoids the overhead of many small files, which degrades performance in a serverless environment.

Exam trap

The trap here is that candidates may think materialized views (Option A) or scaling up (Option D) can fix performance issues caused by poor data partitioning, but they overlook that serverless SQL pools rely heavily on data layout and partition pruning for efficient query execution.

How to eliminate wrong answers

Option A is wrong because materialized views in Serverless SQL pool are pre-computed aggregations that can speed up certain queries, but they do not address the root cause of scanning all partitions; the underlying data layout remains unchanged, so queries that filter on CustomerID and Date would still scan unnecessary partitions unless the view itself is partitioned, which is not supported. Option B is wrong because converting Parquet to CSV would increase storage size and query cost (CSV is not columnar), and row-level security only controls access, not performance; it would actually worsen query performance due to lack of compression and predicate pushdown. Option D is wrong because increasing the service level (e.g., changing the Synapse workspace tier) improves concurrency and resource allocation but does not change the data layout or partition pruning; queries would still scan all partitions, so the performance gain is marginal and does not solve the fundamental issue.

683
MCQeasy

A company stores JSON documents for a product catalog. Each document has a flexible schema because different product categories have different attributes. The catalog is read-heavy and requires low-latency lookups by product ID. The company expects to handle millions of products and needs to serve customers globally with low latency. Which Azure NoSQL data store should they choose?

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

Azure Cosmos DB is a globally distributed NoSQL database that supports flexible schemas and document models via its SQL API. It offers low-latency reads and writes with guarantees of <10 ms for reads and can be replicated across Azure regions.

Why this answer

Azure Cosmos DB is the correct choice because it is a globally distributed, multi-model NoSQL database that natively supports JSON documents with flexible schemas, provides single-digit-millisecond latency for read-heavy workloads via automatic indexing, and offers turnkey global distribution across Azure regions to serve customers worldwide with low latency.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's key-value model with a document database, overlooking that Table Storage does not support flexible JSON schemas or global distribution with low-latency reads, while Cosmos DB is explicitly designed for these requirements.

How to eliminate wrong answers

Option A is wrong because Azure Table Storage is a key-value store that does not natively support JSON documents with flexible schemas; it stores entities with a fixed set of properties and lacks the rich querying and indexing capabilities needed for product catalog lookups. Option B is wrong because Azure Blob Storage is an object storage service for unstructured binary or text data, not a NoSQL database; it cannot perform low-latency lookups by product ID without additional indexing or compute layers. Option D is wrong because Azure SQL Database is a relational database with a fixed schema, requiring predefined tables and columns, which contradicts the requirement for flexible JSON schemas across different product categories.

684
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

685
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

686
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

Why the other options are wrong

A

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

C

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

D

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

When would these options actually be correct?

A

A question where a company collects daily sales data from stores and runs end-of-day reports to analyze trends and inventory needs. The data is processed in scheduled batches, not in real time.

C

A question describing a retail company's point-of-sale system that must record each customer purchase immediately and reliably, ensuring data integrity for inventory updates and financial records.

D

A company needs to consolidate sales data from multiple stores over the past year for trend analysis and reporting. The data is loaded periodically and queried for business intelligence.

Why candidates pick the wrong answer

A

Candidates may confuse batch processing with any data processing that involves large volumes of data, overlooking the real-time requirement in the scenario.

C

Candidates may confuse 'real-time' with 'online' processing, assuming OLTP handles immediate data, but OLTP focuses on transactions, not streaming analytics.

D

Candidates may associate data warehousing with analytics and reporting, mistakenly thinking it can handle real-time data processing.

687
MCQhard

A retail chain needs to blend two data sources for a near real-time dashboard: daily batch files from store systems (CSV files on Azure Blob Storage updated once per day) and live web clickstream data from Azure Event Hubs. The dashboard must refresh every 5 minutes with combined data. Which combination of Azure services should be used to ingest and process both data types most efficiently?

A.A) Azure Data Factory + Azure Analysis Services
B.B) Azure Stream Analytics + Power BI
C.C) Azure Synapse Pipelines + Azure Stream Analytics
D.D) Azure Databricks + Azure Data Lake Storage
AnswerC

This combination directly covers both sides: Azure Synapse Pipelines can copy and transform the batch CSV files from Blob Storage into Azure Synapse SQL, while Azure Stream Analytics consumes real-time data from Event Hubs and writes it to the same Synapse SQL table or staging store via its Synapse Analytics output. Once both datasets land in Synapse, T-SQL queries can join the historical batch data with the near real-time streaming data, and Synapse's built-in dashboards (or Power BI) can refresh close to live. This separates orchestration and stream processing responsibilities cleanly, making it the only option that provides both a managed batch ingestion path and a managed event-processing path feeding one query surface.

Why this answer

Azure Synapse Pipelines can orchestrate the daily batch CSV files from Azure Blob Storage, while Azure Stream Analytics processes the live web clickstream data from Azure Event Hubs in near real-time. Together, they enable a combined data pipeline that refreshes every 5 minutes, meeting the dashboard's latency requirement efficiently.

Exam trap

The trap here is that candidates often assume Power BI alone can handle both batch and streaming ingestion, but it lacks native batch file ingestion from Blob Storage and requires a separate processing service like Stream Analytics for real-time data.

How to eliminate wrong answers

Option A is wrong because Azure Data Factory is a batch-oriented ETL service that cannot handle live streaming data from Event Hubs, and Azure Analysis Services is a semantic modeling layer that does not ingest or process raw streaming data. Option B is wrong because while Azure Stream Analytics can process the clickstream data, Power BI alone cannot ingest and blend the daily batch CSV files from Blob Storage; it requires a separate ingestion service for batch data. Option D is wrong because Azure Databricks is a big data analytics platform that is overkill for this simple batch-plus-streaming scenario and lacks native integration for near real-time dashboard refresh without additional services, and Azure Data Lake Storage is just a storage layer, not a processing service.

688
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

689
MCQhard

A company is migrating an on-premises SQL Server database to Azure SQL Managed Instance. The database has a large fact table that is partitioned by date (monthly partitions) to improve query performance and simplify data archiving. The company wants to maintain the same partitioning strategy in Azure to avoid rewriting queries. Which feature in Azure SQL Managed Instance should they use to achieve this?

A.Table partitioning with partition functions and schemes
B.Sharding across multiple Azure SQL Managed Instances
C.Index partitioning only
D.Federated tables
AnswerA

In Azure SQL Managed Instance, table partitioning is fully supported using the same T-SQL syntax as on-premises SQL Server: you create a partition function to map rows to partitions based on boundary values, then a partition scheme to assign those partitions to filegroups. When migrating, the restored database retains its partition metadata, so existing queries, partition switches, and partition-aligned indexes continue to work without redesign. This is the only option that preserves the original partition design rather than replacing it with a different architecture.

Why this answer

Azure SQL Managed Instance supports table partitioning using partition functions and partition schemes, which is the same feature available in SQL Server. This allows you to define monthly partitions on the fact table using a date column, preserving the existing partitioning strategy and query logic without modification. The partition function maps rows to partitions based on the date boundary values, and the partition scheme assigns those partitions to filegroups.

Exam trap

The trap here is that candidates confuse table partitioning with sharding or index partitioning, assuming any form of data distribution will work, but only table partitioning with partition functions and schemes preserves the exact same structure and query semantics in Azure SQL Managed Instance.

How to eliminate wrong answers

Option B is wrong because sharding distributes data across multiple databases or instances, which would require rewriting queries and does not maintain the same partitioning strategy within a single database. Option C is wrong because index partitioning only applies to indexes, not to the table itself, and cannot achieve the goal of partitioning the fact table by date for query performance and archiving. Option D is wrong because federated tables are a legacy feature in SQL Server (deprecated) and are not supported in Azure SQL Managed Instance; they involve distributed queries across remote servers, not native table partitioning.

690
MCQmedium

A retail company collects sales data from multiple stores. Data is ingested into Azure Data Lake Storage Gen2 as CSV files. The data team needs to run ad-hoc SQL queries on this data without moving it, and they want to pay only for the amount of data processed. They also need to integrate with Power BI for visualization. Which Azure service should they use?

A.Azure Synapse Analytics dedicated SQL pool
B.Azure SQL Database
C.Azure Data Lake Analytics
D.Azure Synapse Serverless SQL pool
AnswerD

Azure Synapse Serverless SQL pool lets you run on-demand T-SQL queries directly against files in Azure Data Lake Storage Gen2, including CSV, without provisioning any compute. You pay only for the amount of data scanned by each query, making it ideal for ad-hoc exploration of sales data from multiple stores, and it integrates natively with Power BI through built-in endpoints. Because it reads files in-place using standard SQL and requires no cluster setup, it directly matches the requirement of querying collected data for interactive analysis.

Why this answer

Azure Synapse Serverless SQL pool (option D) is correct because it allows querying data directly from Azure Data Lake Storage Gen2 using T-SQL without moving the data, and it uses a pay-per-query model where you are billed only for the amount of data processed. It also integrates seamlessly with Power BI for visualization, making it ideal for ad-hoc SQL queries on CSV files.

Exam trap

The trap here is that candidates often confuse Azure Synapse Serverless SQL pool with Azure Synapse Analytics dedicated SQL pool, mistakenly thinking both require provisioning and pay for compute, or they overlook that Azure Data Lake Analytics is deprecated and not the correct service for ad-hoc SQL queries on data lakes.

How to eliminate wrong answers

Option A is wrong because Azure Synapse Analytics dedicated SQL pool requires provisioning and paying for dedicated compute resources (even when idle), and it is designed for large-scale data warehousing with persistent storage, not for ad-hoc pay-per-query scenarios on existing data lakes. Option B is wrong because Azure SQL Database is a fully managed relational database that requires data to be imported and stored within it, and it does not support querying data directly from Azure Data Lake Storage Gen2 without moving it. Option C is wrong because Azure Data Lake Analytics uses U-SQL (a combination of SQL and C#) and is a separate analytics service that processes data in a data lake, but it is not a SQL-based query service for ad-hoc queries and does not offer the same pay-per-query model as Serverless SQL pool; it has been deprecated in favor of Azure Synapse Serverless SQL pool.

691
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

Why the other options are wrong

A

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

B

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

D

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

When would these options actually be correct?

A

If the question described order processing as complex analytical queries on historical data (e.g., 'analyze customer purchase patterns across millions of orders') and weekly reporting as simple transactional lookups (e.g., 'retrieve a single order by ID'), then option A would be correct.

B

If the question described a scenario where order processing runs as a scheduled nightly job that processes all orders from the day in one go (batch), and weekly reporting continuously updates as new orders arrive (streaming), then option B would be correct.

D

If the question described two workloads that both involve high-volume, short, atomic transactions (e.g., inserting orders and updating inventory), and the weekly report was generated by running simple transactional queries on the same operational database without aggregation or historical analysis, then both could be considered OLTP.

Why candidates pick the wrong answer

A

Candidates may confuse the terms OLTP and OLAP, or mistakenly think that any data processing involving 'orders' is analytical, while weekly reporting seems like a routine transaction.

B

Candidates may confuse 'batch processing' with any periodic workload (weekly reporting) and 'streaming' with real-time data movement, misapplying these terms to transactional vs. analytical workloads.

D

Candidates may think that because both workloads use the same database and involve data manipulation, they are both OLTP, overlooking the fundamental difference between transactional processing and analytical reporting.

692
MCQhard

A retail company ingests clickstream data from its e-commerce website into Azure Event Hubs. They need to detect customer journey patterns in real time within seconds and also prepare aggregated data for daily trend reports stored in Azure Data Lake Storage Gen2. The real-time processing must handle high throughput and support complex temporal queries like sessionization. The daily aggregation should be cost-effective and use serverless compute. Which combination of Azure services should they use?

A.Azure Stream Analytics for real-time processing and Azure Data Factory for daily batch aggregation
B.Azure Functions for real-time processing and Azure Databricks for daily batch aggregation
C.Azure Stream Analytics for real-time processing and Azure Batch for daily batch aggregation
D.Azure Data Lake Analytics for real-time processing and Azure Data Factory for daily batch aggregation
AnswerA

Azure Stream Analytics is the correct real-time service here because it provides native complex event processing over streaming inputs like Event Hubs or IoT Hub, supporting temporal windows, sessionization, and reference data joins in a SQL-like language. Azure Data Factory complements it by orchestrating daily batch aggregation through serverless Data Flows or external compute, then loading results into Azure Data Lake Storage on a time-based schedule. This pairing cleanly separates low-latency streaming analytics from scheduled batch processing, which is exactly what this scenario requires.

Why this answer

Azure Stream Analytics is ideal for real-time processing of high-throughput clickstream data from Event Hubs, supporting complex temporal queries like sessionization with low latency (seconds). Azure Data Factory provides cost-effective, serverless orchestration for daily batch aggregation, efficiently moving and transforming data to Azure Data Lake Storage Gen2 without managing infrastructure.

Exam trap

The trap here is confusing Azure Functions (serverless compute) with Azure Stream Analytics (dedicated stream processing) for real-time analytics, and assuming Azure Batch (parallel job execution) is equivalent to Azure Data Factory (orchestrated data integration) for batch aggregation, leading candidates to overlook the specific requirements for high-throughput temporal queries and serverless cost-effectiveness.

Why the other options are wrong

C

Azure Batch is not serverless and is designed for compute-intensive parallel batch jobs, not for cost-effective daily aggregation with serverless compute. Azure Data Factory with serverless SQL or Mapping Data Flows is the correct serverless batch option.

D

Azure Data Lake Analytics is not designed for real-time processing; it is a batch analytics service that runs U-SQL jobs on data already in storage, making it unsuitable for handling streaming clickstream data within seconds.

When would these options actually be correct?

C

A question requiring large-scale parallel batch processing for complex transformations (e.g., video rendering, Monte Carlo simulations) where you need to manage a pool of VMs and control job scheduling, with no requirement for serverless compute.

D

A question where the requirement is to run complex batch analytics (e.g., custom U-SQL scripts) on large datasets in Azure Data Lake Storage, and the batch orchestration is handled by Azure Data Factory, with no real-time streaming need.

Why candidates pick the wrong answer

C

Candidates may think 'Batch' implies batch processing for daily aggregation, but they overlook the serverless requirement and that Azure Batch is not serverless, unlike Data Factory's serverless capabilities.

D

Candidates may think Azure Data Lake Analytics can process streaming data because 'Analytics' sounds real-time, or they may confuse it with Azure Stream Analytics due to similar names.

693
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

694
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

695
MCQmedium

A company runs a mission-critical SQL Server database on-premises. They plan to migrate to Azure SQL Database and need to choose the appropriate service tier. The database is currently 500 GB and is expected to grow to 8 TB within two years. The workload is read-heavy with many concurrent users, and they require fast scaling of compute resources without significant downtime. Which Azure SQL Database service tier should they choose?

A.General Purpose
B.Business Critical
C.Hyperscale
D.Serverless
AnswerC

Hyperscale tier supports databases up to 100 TB, allows fast scaling of compute resources with minimal downtime, and is optimized for read-heavy workloads with high concurrency. It is the best fit for databases that exceed 4 TB and require rapid scaling.

Why this answer

Hyperscale is the correct choice because it supports databases up to 100 TB, far exceeding the expected 8 TB growth, and provides fast scaling of compute resources without downtime by using a distributed architecture with separate compute and storage nodes. Its read-heavy workload with many concurrent users benefits from Hyperscale's multiple readable replicas and buffer pool extension, ensuring high performance and availability.

Exam trap

The trap here is that candidates often confuse the 4 TB limit of General Purpose and Business Critical with the 100 TB limit of Hyperscale, or assume that Serverless is suitable for any workload that needs scaling, ignoring its auto-pausing behavior and lack of support for high concurrency and consistent performance.

How to eliminate wrong answers

Option A is wrong because General Purpose has a maximum database size of 4 TB, which cannot accommodate the expected growth to 8 TB, and its compute scaling requires downtime. Option B is wrong because Business Critical also has a 4 TB size limit and, while offering higher performance, does not support the required 8 TB growth or fast compute scaling without downtime. Option D is wrong because Serverless is designed for intermittent, unpredictable workloads with auto-pausing, not for a mission-critical, read-heavy, high-concurrency workload that requires consistent performance and fast scaling without downtime.

696
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

697
MCQmedium

A manufacturing company stores IoT sensor data as JSON documents in Azure Cosmos DB. Each document contains a device ID, a timestamp, and a varying set of sensor readings. The application frequently queries data by device ID and a time range to retrieve all readings for a specific device over a period. The development team wants to use an API that supports SQL-like queries on this JSON data. Which Azure Cosmos DB API should they choose?

A.Azure Cosmos DB Core (SQL) API
B.Azure Cosmos DB MongoDB API
C.Azure Cosmos DB Cassandra API
D.Azure Cosmos DB Gremlin API
AnswerA

The Core (SQL) API stores each IoT sensor payload as a JSON document in a multi-item container and exposes a first-class SQL query engine over that JSON structure. It supports SELECT, WHERE, JOIN, and functions directly on embedded properties such as deviceId and timestamp without needing a separate translation layer. This makes it the optimal choice when the application requires SQL-like queries over JSON time-series data, with automatic indexing and configurable partition keys for scale.

Why this answer

The Azure Cosmos DB Core (SQL) API is the correct choice because it natively supports querying JSON documents using SQL-like syntax, which aligns with the requirement to run SQL-like queries on JSON data. This API provides a rich query language for filtering by device ID and timestamp ranges, making it ideal for the described IoT scenario where documents have varying sensor readings.

Exam trap

The trap here is that candidates may confuse the MongoDB API's support for JSON documents with SQL-like querying, but MongoDB uses its own query language (e.g., db.collection.find()) rather than SQL syntax, which is a key distinction tested in the DP-900 exam.

Why the other options are wrong

B

The MongoDB API supports MongoDB queries, not SQL-like queries. The question explicitly requires an API that supports SQL-like queries on JSON data, which is a feature of the Core (SQL) API.

C

The Cassandra API is designed for wide-column stores and uses CQL (Cassandra Query Language), not SQL-like queries on JSON documents. It does not natively support querying JSON documents with varying schemas or SQL syntax.

D

The Gremlin API is designed for graph databases and graph traversal queries, not for SQL-like queries on JSON documents. The question requires SQL-like queries on JSON data, which is not supported by Gremlin.

When would these options actually be correct?

B

If the question stated that the team wants to use MongoDB tools and drivers, and the data is stored in a format compatible with MongoDB (e.g., BSON), then the MongoDB API would be the correct choice.

C

A company needs to migrate an existing Cassandra workload to Azure Cosmos DB with minimal code changes, requiring compatibility with Cassandra drivers and CQL for time-series data with a fixed schema.

D

A social network application needs to model complex relationships between users, such as friends, followers, and likes, and requires queries like 'find all friends of friends who liked a post'. In this scenario, the Gremlin API would be correct because it supports graph traversal queries.

Why candidates pick the wrong answer

B

Candidates may confuse the MongoDB API's support for JSON-like documents with SQL-like querying, or assume that any NoSQL API can handle SQL queries.

C

Candidates may confuse Cassandra's wide-column model with document databases, or assume that any NoSQL API supports JSON and SQL-like queries, overlooking the specific API capabilities.

D

Candidates may confuse Gremlin with a general-purpose API or think it supports JSON queries because Cosmos DB offers multiple APIs, but Gremlin is specialized for graph data, not document queries.

698
MCQeasy

A company is developing a web application that stores user profiles as JSON documents. The application needs to query these documents using SQL-like queries, and must support automatic indexing of all properties. They want a fully managed, globally distributed NoSQL database with low latency. Which Azure Cosmos DB API should they use?

A.Table API
B.Cassandra API
C.SQL API
D.Gremlin API
AnswerC

The SQL API is the native document API for Azure Cosmos DB: it stores user profiles as full JSON documents in containers and queries them with a SQL-like syntax that understands JSON types, nested objects, and arrays. This API automatically indexes every property of the JSON document, enabling efficient filtering, projection, and joins without requiring a fixed schema. For a web application that needs to store and retrieve JSON user profiles as documents, the SQL API is the correct choice.

Why this answer

The SQL API (formerly DocumentDB API) is the correct choice because it natively supports querying JSON documents with SQL-like syntax (SELECT * FROM c WHERE c.property = value). It automatically indexes all properties by default, provides a fully managed, globally distributed NoSQL database with low-latency reads and writes, and is designed specifically for document-based workloads like user profiles.

Exam trap

The trap here is that candidates often confuse the SQL API with the Table API because both support querying, but the Table API lacks SQL-like syntax and automatic indexing of all properties, making it unsuitable for JSON document workloads.

How to eliminate wrong answers

Option A is wrong because the Table API is designed for key-value storage with a schema-less table structure, not for querying JSON documents with SQL-like queries; it uses OData and REST-based queries, not SQL. Option B is wrong because the Cassandra API is optimized for wide-column stores using the Cassandra Query Language (CQL), which is similar to SQL but does not natively support JSON document queries or automatic indexing of all properties. Option D is wrong because the Gremlin API is built for graph databases and uses the Gremlin traversal language for navigating relationships, not for SQL-like queries on JSON documents.

699
MCQmedium

A data engineering team needs to analyze petabytes of historical sales data stored in Azure Data Lake Storage Gen2. They require the ability to run complex SQL queries that join multiple tables and need high performance. The solution must separate compute from storage to allow independent scaling of resources. Which Azure service should they use?

A.Azure Synapse Analytics dedicated SQL pool
B.Azure SQL Database
C.Azure Cosmos DB
D.Azure Table Storage
AnswerA

Azure Synapse Analytics dedicated SQL pool is purpose-built for this scenario: it is a massively parallel processing (MPP) data warehouse that separates compute and storage, allowing independent scaling and query isolation. The control node distributes complex analytical T-SQL queries across compute nodes, each processing subsets of data stored in Azure Storage, enabling petabyte-scale historical analytics. This architecture is fundamentally different from OLTP or NoSQL systems, making it the correct choice for large-scale relational analytical workloads.

Why this answer

Azure Synapse Analytics dedicated SQL pool is designed for petabyte-scale data warehousing, providing massively parallel processing (MPP) to run complex SQL queries across multiple tables with high performance. It separates compute from storage, allowing independent scaling of compute resources without moving data, which aligns with the requirement for decoupled scaling.

Exam trap

The trap here is that candidates often confuse Azure SQL Database's familiar SQL interface with the ability to handle petabyte-scale analytics, overlooking the fundamental architectural difference between OLTP and MPP data warehouse systems.

How to eliminate wrong answers

Option B is wrong because Azure SQL Database is a relational database service for OLTP workloads, not designed for petabyte-scale analytics or independent compute-storage separation. Option C is wrong because Azure Cosmos DB is a NoSQL database optimized for low-latency, globally distributed applications, not for complex SQL joins on petabytes of historical data. Option D is wrong because Azure Table Storage is a key-value NoSQL store for semi-structured data, lacking SQL query capabilities and MPP architecture for large-scale analytics.

700
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

701
MCQmedium

A manufacturing company collects sensor data from thousands of IoT devices. Each sensor reading includes a timestamp, device ID, and a variable set of measurements (e.g., temperature, pressure, vibration) that differ by device type. The company needs to store this data in a globally distributed NoSQL database that supports low-latency writes and flexible schema. Which Azure data store should they choose?

A.Azure SQL Database
B.Azure Cosmos DB with the NoSQL API
C.Azure Cache for Redis
D.Azure Database for PostgreSQL
AnswerB

Azure Cosmos DB with the NoSQL API is the right fit because it stores JSON documents natively, allowing each sensor record to have a flexible set of attributes without schema migrations. Its multi-region writes and configurable consistency levels (e.g., session or eventual) provide sub-10-ms latencies at scale, which is essential for thousands of concurrent IoT devices writing variable telemetry. The global distribution also ensures data is available close to each factory or region, and the change feed can stream to downstream analytics, making it a purpose-built choice for high-velocity, schema-less sensor data.

Why this answer

Azure Cosmos DB with the NoSQL API is the correct choice because it is a globally distributed, multi-model database service that supports low-latency writes at scale, a flexible schema (schemaless), and automatic indexing of variable sensor measurements. Its multi-region write capability and configurable consistency levels meet the requirements of high-throughput IoT ingestion from thousands of devices.

Exam trap

The trap here is that candidates often confuse Azure Cache for Redis as a primary database for IoT data, but it is an in-memory cache without durability guarantees, not a globally distributed NoSQL store for persistent sensor readings.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database is a relational database with a fixed schema, which cannot easily handle the variable set of measurements per device type and does not natively support global distribution with low-latency writes at IoT scale. Option C is wrong because Azure Cache for Redis is an in-memory data store primarily used for caching and session state, not a durable, globally distributed NoSQL database for persistent sensor data storage. Option D is wrong because Azure Database for PostgreSQL is a relational database with a fixed schema and limited global distribution capabilities compared to Cosmos DB, making it unsuitable for flexible schema and low-latency multi-region writes.

702
MCQmedium

A manufacturing company collects temperature and vibration data from thousands of sensors. The data is streamed to Azure Event Hubs. The company wants to store all this raw data in Azure Data Lake Storage Gen2 for future batch analytics. They need a solution that automatically writes the streaming data to the data lake in near real-time, without requiring any custom code for the write operation. Which Azure feature should they use?

A.Azure Stream Analytics job output to Azure Data Lake Storage Gen2
B.Azure Event Hubs Capture
C.Azure Data Factory Copy Activity
D.Azure Synapse Pipelines
AnswerB

Event Hubs Capture automatically captures streaming data into Azure Blob Storage or Azure Data Lake Storage Gen2 without any custom code. It writes data in Avro format and is ideal for long-term storage and batch analytics.

Why this answer

Azure Event Hubs Capture is the correct choice because it automatically writes streaming data from Event Hubs to Azure Data Lake Storage Gen2 in near real-time without requiring any custom code. It integrates directly with Event Hubs to buffer and write data in Avro format, meeting the requirement for a no-code, automated solution.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics as the only way to output Event Hubs data to storage, overlooking Event Hubs Capture which provides a simpler, code-free alternative for raw data persistence.

How to eliminate wrong answers

Option A is wrong because Azure Stream Analytics requires a job definition and query logic to output to Data Lake Storage Gen2, which involves custom code (SQL-like queries) and is not a fully automatic write operation without configuration. Option C is wrong because Azure Data Factory Copy Activity is a batch-oriented data movement tool that requires scheduling or triggers to copy data, not a near real-time streaming solution, and it does not natively integrate with Event Hubs for continuous streaming. Option D is wrong because Azure Synapse Pipelines are designed for orchestration and ETL in a Synapse workspace, not for automatic, code-free streaming writes from Event Hubs to Data Lake Storage Gen2.

703
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

704
MCQmedium

A social media application uses Azure Cosmos DB to store user posts. When a user publishes a new post, they immediately refresh their feed and expect to see their own post right away. However, the application can tolerate temporary staleness for posts from other users. Which Azure Cosmos DB consistency level should the app use for the read operations that display the feed?

A.Strong
B.Bounded staleness
C.Session
D.Eventual
AnswerC

Session consistency guarantees that within the same client session, reads will see the latest writes. This means the user will always see their own post immediately, while reads of other users' posts may be stale. This is the most cost-effective and correct choice.

Why this answer

Session consistency guarantees monotonic reads, writes, and read-your-writes within a single client session. Because the user expects to see their own post immediately after publishing, but can tolerate staleness for others' posts, Session consistency provides the exact guarantee needed: the user's own writes are immediately visible to them, while other users' posts may be slightly stale.

Exam trap

The trap here is that candidates often pick Eventual consistency because they see 'tolerate temporary staleness' and forget that the user's own post must be immediately visible, which requires at least read-your-writes — a guarantee that Session consistency provides but Eventual does not.

Why the other options are wrong

A

Strong consistency would force all reads to see the latest write, but the application only needs immediate consistency for the user's own posts, not for all posts. Strong consistency also increases latency and reduces availability, which is unnecessary for this use case.

B

Bounded staleness allows a configurable lag (time or updates), but the app needs immediate consistency for the user's own posts, which session guarantees. Bounded staleness could still show stale data for the user's own post if the lag isn't zero, violating the requirement.

D

Eventual consistency does not guarantee that the user's own post is immediately readable after write, which contradicts the requirement that the user sees their own post right away upon refresh.

When would these options actually be correct?

A

A financial trading application that requires real-time accuracy for all transactions, where any stale data could lead to incorrect decisions or regulatory violations, would use Strong consistency to ensure every read reflects the most recent write.

B

A financial trading application requires reads to be within a maximum staleness of 5 seconds and 100 updates, but can tolerate some delay. Bounded staleness would be correct because it provides a predictable lag bound while offering higher availability than strong consistency.

D

An application that displays trending topics or aggregated analytics where immediate consistency is not required and high availability and low latency are prioritized would correctly use Eventual consistency.

Why candidates pick the wrong answer

A

Candidates may think that because the user expects to see their own post immediately, the application needs the highest consistency level, overlooking that session consistency provides this guarantee within the same session without the overhead of strong consistency.

B

Candidates may think bounded staleness offers a good balance between consistency and performance, but they overlook that the user's own post must be immediately visible, which session consistency guarantees by using the same session token.

D

Candidates may assume that because the app can tolerate staleness for others' posts, eventual consistency is sufficient, overlooking the need for immediate read-your-writes for the user's own posts.

705
MCQhard

A data warehouse team uses Azure Synapse Analytics dedicated SQL pool to serve both business executives running weekly reports and data scientists running complex ad-hoc queries on large fact tables. The ad-hoc queries often consume excessive resources and degrade performance for the weekly reports. The team needs to ensure that the weekly reports always get guaranteed resources regardless of other concurrent queries. Which Synapse feature should they use?

A.Workload classification
B.Result set caching
C.Materialized views
D.Columnstore indexes
AnswerA

Workload classification is correct because it directly addresses concurrency and resource guarantee in Azure Synapse dedicated SQL pools. You create classifier rules that map incoming queries (by user, role, or label) to a workload group, which carries an importance level and a resource allocation boundary for CPU and memory. A high-importance query in its own group can preempt or run ahead of low-importance queries, ensuring mission-critical workloads get the resources they need and are protected from runaway queries.

Why this answer

Workload classification in Azure Synapse Analytics dedicated SQL pool allows the team to assign incoming queries to specific workload groups with predefined resource allocations. By classifying the weekly report queries into a group with guaranteed minimum resources (e.g., using `CREATE WORKLOAD CLASSIFIER` with `IMPORTANCE` and `REQUEST_MIN_RESOURCE_PERCENT`), the team ensures those queries always receive the necessary resources, even when ad-hoc data scientist queries are running concurrently. This directly addresses the need for predictable performance for critical reports.

Exam trap

The trap here is that candidates often confuse performance optimization features (like caching, materialized views, or indexes) with resource governance features, mistakenly believing that making queries faster inherently guarantees resource availability, whereas workload classification is the only option that provides explicit resource isolation and guarantees.

How to eliminate wrong answers

Option B (Result set caching) is wrong because it only caches query results for repeated executions, which does not guarantee resources for the weekly reports; it can improve performance for identical queries but does not prevent resource contention. Option C (Materialized views) is wrong because they pre-compute and store aggregated data to speed up queries, but they do not provide resource guarantees or isolation; they can be used alongside workload management but are not a solution for resource contention. Option D (Columnstore indexes) is wrong because they improve compression and query performance for large fact tables by using columnar storage, but they do not allocate or guarantee resources for specific workloads; they are a storage optimization, not a resource management feature.

706
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

707
MCQhard

A company is migrating their on-premises data warehouse, which is built on a Netezza appliance, to Azure. The data warehouse contains over 10 terabytes of data and supports complex BI queries with multiple joins and aggregations. The company requires a cloud-based solution that provides massively parallel processing (MPP) to handle large-scale queries efficiently. They also need to integrate with existing ETL tools like Azure Data Factory and provide native connectivity to Power BI. Which Azure service should they choose?

A.Azure SQL Database
B.Azure Databricks
C.Azure Synapse Analytics dedicated SQL pool
D.Azure HDInsight
AnswerC

Azure Synapse Analytics dedicated SQL pool uses a massively parallel processing (MPP) architecture that distributes data and query execution across multiple compute nodes, delivering the scale and performance required for large-scale data warehousing workloads. It provides T-SQL compatibility, built-in columnstore indexing, and native integration with Azure Data Factory and Power BI, making it the natural cloud replacement for an on-premises data warehouse. Its separation of compute and storage allows independent scaling and on-demand compute pauses, aligning with enterprise analytics needs.

Why this answer

Azure Synapse Analytics dedicated SQL pool is the correct choice because it provides massively parallel processing (MPP) architecture designed for petabyte-scale data warehousing, exactly matching the 10+ TB requirement. It natively integrates with Azure Data Factory for ETL and offers built-in Power BI connectivity via the T-SQL endpoint, supporting complex BI queries with multiple joins and aggregations.

Exam trap

The trap here is that candidates often confuse Azure Databricks (a Spark-based analytics platform) with a data warehouse, overlooking that Synapse dedicated SQL pool is the only option that provides native MPP, T-SQL support, and direct Power BI connectivity for large-scale BI workloads.

Why the other options are wrong

A

Azure SQL Database is a single-node relational database, not a massively parallel processing (MPP) system. It cannot efficiently handle complex BI queries with multiple joins and aggregations over 10+ terabytes of data, as it lacks the distributed architecture required for such large-scale workloads.

B

Azure Databricks is optimized for big data analytics and machine learning using Apache Spark, but it does not provide the same level of MPP for complex BI queries with multiple joins and aggregations as a dedicated SQL pool. It also lacks native Power BI connectivity and is not a direct replacement for a Netezza data warehouse.

D

Azure HDInsight is a managed Hadoop/Spark service, not optimized for MPP data warehousing with complex BI queries and native Power BI connectivity. It lacks the dedicated SQL pool's MPP engine and integrated query optimization for large-scale relational data warehouse workloads.

When would these options actually be correct?

A

A company needs a fully managed relational database for an online transaction processing (OLTP) application with moderate data volume (e.g., under 1 TB) and requires high availability, built-in intelligence, and minimal administrative overhead. The workload is primarily transactional, not analytical.

B

A company needs to perform advanced analytics on large datasets using Python, R, or Scala, and requires collaborative notebooks for data science teams. They also need to integrate with machine learning frameworks and handle streaming data, making Azure Databricks the ideal choice.

D

A company needs to run big data processing (e.g., batch ETL, machine learning) on unstructured or semi-structured data using open-source frameworks like Hadoop, Spark, or Hive, and requires custom cluster configurations. They do not need a dedicated SQL-based data warehouse with native Power BI integration.

Why candidates pick the wrong answer

A

Candidates may confuse Azure SQL Database with a data warehouse solution because it is a SQL-based service, and they might underestimate the scale and complexity of the workload, assuming a single database can handle large analytical queries.

B

Candidates may associate Azure Databricks with large-scale data processing and mistakenly think it can replace a data warehouse for BI workloads, overlooking its primary focus on big data analytics and machine learning rather than MPP SQL querying.

D

Candidates may associate HDInsight with large-scale data processing and mistakenly think it can replace a dedicated MPP data warehouse, overlooking that it is not a SQL-based warehouse solution and lacks built-in BI tool connectivity.

708
MCQmedium

Your company stores customer data in Azure Blob Storage. To comply with data residency regulations, you must ensure data is replicated within the same Azure region. Which replication option should you choose?

A.Zone-redundant storage (ZRS)
B.Locally-redundant storage (LRS)
C.Geo-redundant storage (GRS)
D.Read-access geo-redundant storage (RA-GRS)
AnswerB

Locally-redundant storage (LRS) writes three synchronous copies of your customer data within a single physical data center in the primary Azure region. Every replica remains inside the same datacenter and region, so no data is ever replicated across availability-zone or regional boundaries, satisfying strict data-residency requirements. LRS is the lowest-cost redundancy tier that still provides a durable copy when the requirement is simply to keep data in one geography.

Why this answer

Locally-redundant storage (LRS) replicates data three times within a single physical location in the same Azure region, ensuring data residency compliance by never copying data outside that region. This is the only option that guarantees all replicas stay within one region without any cross-region or cross-zone replication.

Exam trap

The trap here is that candidates often confuse 'replication within the same region' with 'zone-redundant storage' (ZRS) because ZRS also stays within the region, but the question's emphasis on 'data residency' and 'same region' is designed to test whether you know that LRS is the simplest and most restrictive option that keeps all copies in a single location, while ZRS still uses multiple zones which may be considered separate data centers for some compliance definitions.

How to eliminate wrong answers

Option A is wrong because Zone-redundant storage (ZRS) replicates data synchronously across three Azure availability zones within the same region, which still satisfies data residency but is not the simplest or most cost-effective choice when only intra-region replication is required; however, the question asks for the option that ensures data is replicated within the same region, and ZRS does that, but LRS is more directly aligned with the 'same region' requirement without zone-level distribution. Option C is wrong because Geo-redundant storage (GRS) replicates data to a secondary region that is hundreds of miles away, violating data residency regulations that require data to stay within a single region. Option D is wrong because Read-access geo-redundant storage (RA-GRS) also replicates data to a secondary region and additionally provides read access to that secondary copy, which still breaks the data residency constraint.

709
MCQeasy

A ride-sharing company processes trip requests from customers. Each trip is recorded as a single transaction that updates the driver's status, calculates the fare, and logs the ride. At the end of each month, the company runs reports that aggregate millions of trips to determine average wait times and revenue per driver. Which pair of terms best describes these two distinct workloads?

A.OLTP and OLAP
B.Batch processing and stream processing
C.ETL and ELT
D.Relational and non-relational
AnswerA

OLTP (Online Transaction Processing) is the correct workload type for the immediate trip-request workflow: each request creates or updates a small, atomic transaction with high concurrency and fast response times. OLAP (Online Analytical Processing) correctly describes the monthly reporting and aggregation workload, which scans and aggregates large volumes of historical trip data for business analysis. Together they identify the operational versus analytical workload split the question is asking about, rather than data movement patterns or storage models.

Why this answer

The first workload (trip request processing) is a classic OLTP (Online Transaction Processing) system because each trip is a single, atomic transaction that updates driver status, calculates fare, and logs the ride in real time. The second workload (monthly aggregation reports) is OLAP (Online Analytical Processing) because it queries millions of historical trip records to compute averages and revenue summaries. These two patterns have fundamentally different data storage and query optimization requirements, making OLTP and OLAP the correct pair.

Exam trap

The trap here is that candidates confuse the processing method (batch/stream) with the workload type (OLTP/OLAP), but the question specifically asks for the pair that best describes the distinct workloads—transactional updates vs. analytical reporting—which is the classic OLTP vs. OLAP distinction.

Why the other options are wrong

B

The question describes two distinct workloads: individual trip transactions (OLTP) and monthly aggregation reports (OLAP). Batch processing and stream processing refer to how data is processed (in batches vs. continuously), not the nature of the workloads themselves, and the monthly reports are batch processing but the trip processing is not stream processing.

C

The question describes two distinct workloads: transaction processing (trip requests) and analytical reporting (monthly aggregates). ETL and ELT are data integration processes, not workload types; they are used to move and transform data between systems, not to describe the operational vs. analytical nature of the workloads.

D

The question contrasts transactional trip processing (OLTP) with analytical monthly reporting (OLAP), not data storage models. Relational vs. non-relational describes database types, not workload categories.

When would these options actually be correct?

B

A question that asks: 'A company ingests real-time sensor data and also runs nightly summaries. Which pair of terms describes these processing methods?' would make batch processing and stream processing correct.

C

A question asks: 'A company extracts data from multiple sources, transforms it, and loads it into a data warehouse. Which pair of terms describes this process?' In that context, ETL and ELT would be correct options, as they are specific data integration approaches.

D

A question asking: 'A company stores customer profiles in tables with rows and columns, while storing social media posts as JSON documents. Which pair of terms describes these storage approaches?'

Why candidates pick the wrong answer

B

Candidates may confuse the monthly aggregation reports with batch processing and the trip requests with stream processing, but the trip requests are individual transactions (OLTP), not a continuous stream of events being processed in real-time.

C

Candidates may confuse data integration processes (ETL/ELT) with workload types because both involve data movement and transformation, and they often associate ETL with preparing data for analytics, which is part of the analytical workload described.

D

Candidates may confuse workload types with data storage paradigms, especially when both involve data management and processing.

710
MCQhard

A healthcare analytics company receives continuous streams of patient monitoring data from IoT devices. The data must be processed in near real-time to detect critical events (e.g., abnormal heart rate). Processed data is then stored in a columnar format for historical analysis and reporting by data analysts using SQL. Which combination of Azure services should they use for ingestion, processing, and storage?

A.Azure Event Hubs, Azure Stream Analytics, Azure Synapse Analytics
B.Azure IoT Hub, Azure Data Factory, Azure SQL Data Warehouse
C.Azure Event Hubs, Azure Stream Analytics, Azure Cosmos DB
D.Azure Blob Storage, Azure Databricks, Azure Table Storage
AnswerA

Event Hubs is a fully managed, partitioned streaming ingestion service that can absorb millions of events per second, while Stream Analytics executes continuous SQL-like queries over tumbling, hopping, and sliding windows to detect patterns and transform data. Synapse Analytics then serves as the columnar data warehouse, using dedicated or serverless SQL pools to run historical T-SQL analytics at scale. This forms an integrated hot path because every layer is purpose-built for real-time and analytic workloads with no need for custom cluster management.

Why this answer

Azure Event Hubs is designed for high-throughput, low-latency ingestion of streaming data from millions of IoT devices. Azure Stream Analytics provides a SQL-based, near real-time processing engine to detect critical events like abnormal heart rates. Azure Synapse Analytics (formerly SQL Data Warehouse) offers a columnar storage format (e.g., columnstore indexes) optimized for historical analysis and SQL-based reporting by data analysts.

Exam trap

The trap here is that candidates often confuse Azure IoT Hub with Event Hubs for high-volume event ingestion, or assume Cosmos DB is suitable for columnar analytics storage, but IoT Hub is for device management and Cosmos DB is row-oriented NoSQL, not optimized for SQL-based historical reporting.

Why the other options are wrong

B

Azure Data Factory is a batch-oriented ETL service, not suitable for near real-time stream processing of IoT data. Azure SQL Data Warehouse (now Azure Synapse Analytics dedicated SQL pool) does not natively support columnar storage for historical analysis as effectively as Synapse's optimized columnstore indexes.

D

Azure Blob Storage and Azure Table Storage are not optimized for columnar storage and SQL-based historical analysis; Blob Storage is object storage and Table Storage is NoSQL key-value. Azure Databricks is for batch/stream processing but not the simplest near real-time service for this scenario.

When would these options actually be correct?

B

A company needs to ingest data from multiple on-premises databases, transform it using a visual interface, and load it into a cloud data warehouse for batch reporting. Azure Data Factory would orchestrate the ETL, and Azure SQL Data Warehouse would serve as the storage and query layer.

D

A scenario where the company needs to perform advanced analytics (e.g., machine learning) on large volumes of unstructured data (e.g., log files) using Apache Spark, and storage requirements are flexible (not columnar SQL). The question would emphasize data science workloads over near real-time SQL reporting.

Why candidates pick the wrong answer

B

Candidates may confuse Azure IoT Hub (device management) with Event Hubs (event ingestion) and think Data Factory can handle streaming, or they may associate SQL Data Warehouse with columnar storage without considering real-time processing requirements.

D

Candidates may associate Azure Databricks with streaming and analytics, and mistakenly think Blob Storage can serve as a columnar store for SQL queries, overlooking the specific need for columnar format and Synapse's SQL capabilities.

711
MCQhard

A financial services company runs critical end-of-day reports in an Azure Synapse Analytics dedicated SQL pool. These reports require guaranteed resource allocation and must complete within a fixed time window. However, ad-hoc analytical queries from data scientists often consume resources, causing contention and delaying the critical reports. Which feature should the company implement to ensure the critical reports always receive sufficient resources?

A.A. Create a workload group for the critical reports with a high importance setting and assign a minimum percentage of resources.
B.B. Enable result set caching on all queries to reduce execution time.
C.C. Implement materialized views for the aggregations used in the critical reports.
D.D. Use hash distribution for the fact tables to improve query parallelism.
AnswerA

Workload groups in a dedicated SQL pool (formerly Azure SQL Data Warehouse) enable both importance-based scheduling and resource isolation. By setting the critical reports' workload group to High importance, they are queued ahead of lower-priority queries, while assigning a minimum percentage of CPU and memory guarantees those reports always have enough resources to run. This directly mitigates the risk of ad-hoc queries or heavy ETL jobs consuming all available concurrency slots and delaying the end-of-day processing.

Why this answer

Workload groups in Azure Synapse Analytics dedicated SQL pool allow you to assign a minimum percentage of resources (e.g., CPU and memory) to a specific workload, ensuring guaranteed resource allocation. By setting high importance for the critical reports, the system prioritizes them over ad-hoc queries, preventing resource contention and ensuring they complete within the fixed time window.

Exam trap

The trap here is that candidates often confuse performance optimization features (caching, materialized views, distribution) with resource governance, which is the only mechanism to guarantee resource allocation and priority in a shared environment.

Why the other options are wrong

B

Result set caching reduces latency for repeated queries but does not guarantee resource allocation or prevent resource contention, so it cannot ensure critical reports receive sufficient resources under load.

C

Materialized views pre-compute aggregations to speed up queries, but they do not guarantee resource allocation or prevent resource contention from ad-hoc queries. The core issue is resource contention, not query performance.

D

Hash distribution improves query parallelism but does not guarantee resource allocation or prevent contention. The question requires guaranteed resources for critical reports, which hash distribution cannot provide.

When would these options actually be correct?

B

A company runs the same dashboard queries repeatedly and wants to improve response time for end users without changing underlying resources. Enabling result set caching would be correct to return cached results for identical queries.

C

A company has a dedicated SQL pool with complex aggregation queries that run slowly due to repeated full table scans. Implementing materialized views would pre-compute these aggregations, significantly reducing query execution time and improving overall performance.

D

A question asks: 'A company has large fact tables and needs to optimize join performance for complex analytical queries. Which table distribution strategy should they use?' In that scenario, hash distribution on join keys would be correct.

Why candidates pick the wrong answer

B

Candidates may think caching speeds up queries and thus reduces contention, but it does not reserve resources or prioritize critical workloads.

C

Candidates may think that faster queries via materialized views will reduce resource consumption and thus avoid contention, but this does not address the need for guaranteed resource allocation under contention.

D

Candidates may think that improving query performance via distribution will indirectly help critical reports, but they overlook that the core issue is resource contention, not query speed.

712
MCQmedium

A mobile gaming company is building a new feature that stores player profiles and game settings as key-value pairs. The development team is most familiar with SQL queries and wants to minimize the learning curve. They require low-latency reads and writes, and the data does not require complex joins. Which Azure Cosmos DB API should they choose?

A.A. Core (SQL) API
B.B. Azure Cosmos DB for Table API
C.C. Azure Cosmos DB for MongoDB API
D.D. Azure Cosmos DB for Cassandra API
AnswerA

The Core (SQL) API is the default Cosmos DB API, exposing a SQL query dialect that operates directly on JSON documents without any schema mapping. Because the team already knows SQL, they can immediately write SELECT, JOIN, and WHERE clauses with no additional learning curve. It also delivers single-digit-millisecond latency for key-value reads and writes, and its tunable consistency and built-in index management make it the most straightforward and cost-effective choice for the new feature.

Why this answer

The Core (SQL) API is the correct choice because it provides native support for SQL queries, which aligns with the development team's familiarity with SQL and minimizes the learning curve. It stores data in JSON documents with key-value pairs, supports low-latency reads and writes, and does not require complex joins, making it ideal for player profiles and game settings.

Exam trap

The trap here is that candidates may choose the Azure Cosmos DB for Table API (Option B) because they associate 'key-value pairs' with Table storage, but the question emphasizes SQL familiarity and low-latency reads/writes, which the Core (SQL) API directly supports with its native SQL query capability.

Why the other options are wrong

B

The team prefers SQL queries and wants to minimize learning curve; the Table API uses OData and REST, not SQL, so it would require learning a different query model.

C

The team is most familiar with SQL queries and wants to minimize learning curve; MongoDB API uses MongoDB query language (NoSQL), not SQL, so it would require learning a new query syntax.

D

The Cassandra API uses CQL (Cassandra Query Language), not SQL, and is designed for wide-column stores, not simple key-value pairs. The team's familiarity with SQL and need for low-latency key-value access makes the Core (SQL) API a better fit.

When would these options actually be correct?

B

If the question specified that the team is familiar with Azure Table storage or NoSQL key-value stores, and the data is simple key-value pairs with no need for SQL queries, then the Table API would be the correct choice.

C

A question where the development team is already experienced with MongoDB and its query language, and the application requires document storage with flexible schema and low-latency operations, but SQL familiarity is not a requirement.

D

A company needs to migrate an existing Cassandra workload to Azure Cosmos DB with minimal code changes, requiring high throughput and low latency for time-series data with no complex joins.

Why candidates pick the wrong answer

B

Candidates may see 'key-value pairs' and assume the Table API is the natural fit, overlooking the team's SQL familiarity requirement.

C

Candidates may think MongoDB API is a good choice because it is a popular NoSQL option for key-value or document data, overlooking the specific requirement for SQL familiarity.

D

Candidates may confuse Cassandra's CQL with SQL due to similar syntax, or assume any NoSQL API supports key-value stores equally without considering the team's SQL familiarity.

713
MCQhard

Your company uses Azure SQL Database to power a global application. You need to ensure that users in Europe and Asia have low-latency read access to product data, while writes are synchronized across all regions. What should you configure?

A.Use Azure Traffic Manager to route users to the nearest Azure SQL Database instance.
B.Migrate to Azure Cosmos DB for multi-region writes.
C.Create a failover group that includes all regions.
D.Configure Active Geo-Replication with readable secondaries in Europe and Asia.
AnswerD

Active Geo-Replication lets you create up to four readable secondary replicas of an Azure SQL Database in different regions, each asynchronously updated from the primary. By placing secondaries in Europe and Asia, you can route read-only connections to the nearest replica using a connection string with ApplicationIntent=ReadOnly, dramatically lowering read latency for local users. This preserves the relational engine, supports primary-region writes, and also yields incidental disaster recovery if the primary becomes unavailable, making it the precise fit for the global read scenario.

Why this answer

Active Geo-Replication for Azure SQL Database allows you to configure readable secondary replicas in different Azure regions. This provides low-latency read access for users in Europe and Asia by directing their read traffic to the nearest secondary, while writes are synchronized asynchronously to all secondaries, ensuring data consistency across regions.

Exam trap

The trap here is that candidates may confuse failover groups (which provide a single readable secondary for disaster recovery) with Active Geo-Replication (which supports multiple readable secondaries for distributed read scaling), or mistakenly think Traffic Manager alone can solve the read latency issue without database-level replication.

How to eliminate wrong answers

Option A is wrong because Azure Traffic Manager is a DNS-based traffic load balancer that routes users to endpoints, but it does not provide the underlying database replication or readable secondaries needed for low-latency reads and synchronized writes. Option B is wrong because migrating to Azure Cosmos DB is unnecessary; the requirement is for relational data (Azure SQL Database), and Cosmos DB is a NoSQL database, not a relational solution. Option C is wrong because a failover group is designed for high availability and disaster recovery, not for providing low-latency read access across multiple regions; it uses a single readable secondary and does not support multiple readable secondaries for distributed read workloads.

714
MCQeasy

A company stores customer records in a relational database table with fixed columns (CustomerID, Name, Email). They also store product reviews as JSON documents that may contain varying fields such as Rating, Comment, and optional Tags. Additionally, they store product images as JPEG files. Which of the following correctly orders these data types from most structured to least structured?

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

Relational tables enforce a rigid schema with predefined columns, data types, and constraints, making them the most structured form. JSON documents use key-value pairs and nested objects but permit varying fields across documents, classifying them as semi-structured. Image files are raw binary streams with no inherent schema or semantic structure, therefore unstructured. This ordering correctly progresses from highest to lowest structural organization.

Why this answer

Relational tables enforce a fixed schema with predefined columns and data types, making them the most structured. JSON documents have a flexible schema where fields like Tags are optional, placing them in the middle. Image files are binary blobs with no inherent structure, making them the least structured.

Option B correctly orders these from most structured (relational table) to least structured (image files).

Exam trap

The trap here is that candidates often confuse semi-structured JSON with unstructured data, or assume that all data with a format (like JPEG headers) is structured, but the key distinction is schema rigidity and queryability.

Why the other options are wrong

A

JSON documents are semi-structured (schema-on-read), not more structured than a relational table with fixed columns, which is fully structured. Image files are unstructured, so the correct order is relational table (most structured), JSON documents, image files (least structured).

C

Image files are unstructured, not more structured than relational tables or JSON documents. Relational tables are the most structured, followed by semi-structured JSON, then unstructured images.

D

Image files are unstructured, not more structured than JSON documents. JSON documents have some structure (key-value pairs), while relational tables are fully structured with fixed schema.

When would these options actually be correct?

A

If the question asked to order data types from least structured to most structured, then option A (JSON documents, relational table, image files) would be correct, as JSON is semi-structured, relational is structured, and images are unstructured, but reversed order.

C

If the question asked to order data types from least structured to most structured, then 'image files, relational table, JSON documents' would be correct, as images are unstructured, relational tables are structured, and JSON is semi-structured.

D

If the question asked to order data types from least to most structured, then relational table (most structured) would be last, image files (least structured) first, and JSON documents in the middle, making D correct.

Why candidates pick the wrong answer

A

Candidates may mistakenly think JSON is more structured than a relational table because JSON has a defined format (key-value pairs), overlooking that relational tables enforce a rigid schema while JSON allows flexible fields.

C

Candidates may mistakenly think JSON is unstructured because it lacks a fixed schema, or they may confuse the order of 'most to least' vs 'least to most' structured.

D

Candidates may mistakenly think that because JSON documents can have varying fields, they are less structured than image files, or they confuse 'structured' with 'complexity' or 'size'.

715
MCQhard

A company uses Azure Synapse Analytics dedicated SQL pool for a large data warehouse. The fact table contains billions of rows and is hash-distributed on ProductID. Frequent queries join this fact table with a small Store dimension table (10,000 rows) and a medium-sized Product dimension table (500,000 rows). The queries aggregate sales by store and product for recent months, but run slowly due to data movement during joins. Which design change will most reduce data movement and improve query performance?

A.Replicate the Store dimension table
B.Change the distribution of the fact table to round-robin
C.Change the distribution key of the fact table to StoreID
D.Add a nonclustered index on the StoreID column in the fact table
AnswerA

Replicating the Store dimension table is the correct approach because a replicated table is physically copied to every distribution in the dedicated SQL pool. When the fact table joins with the Store table on StoreID, the join is performed locally on each distribution, completely eliminating data movement between distributions. This is ideal for small dimension tables (under 1 GB) that are frequently used in joins and rarely updated, making query performance significantly faster.

Why this answer

Replicating the small Store dimension table (10,000 rows) across all compute nodes eliminates the need to shuffle data during joins with the fact table. In Azure Synapse dedicated SQL pool, replicated tables store a full copy on each distribution, so queries that join a replicated table with a distributed fact table avoid costly data movement, significantly improving performance for frequent aggregation queries.

Exam trap

The trap here is that candidates often think changing the distribution key or adding an index will solve data movement, but they overlook that replicating the small dimension table is the most direct and cost-effective way to eliminate shuffling for frequent joins.

How to eliminate wrong answers

Option B is wrong because changing the fact table to round-robin distribution would distribute rows randomly without any hash key, which would force full data movement for every join and aggregation, making performance worse. Option C is wrong because changing the distribution key to StoreID would co-locate fact rows with the same StoreID on the same distribution, but the Store dimension is small and already a candidate for replication; more importantly, the fact table is large and hash-distributed on ProductID for other workloads, and changing the key could break existing query patterns and still require movement for ProductID-based joins. Option D is wrong because adding a nonclustered index on StoreID in the fact table does not reduce data movement during joins; indexes improve local data access but do not affect the distribution-level data shuffling required when tables are on different distributions.

716
MCQhard

A company uses Azure Databricks for data engineering. They need to ensure that only authorized users can access the workspace, and they want to use single sign-on (SSO) with their existing identity provider. Which integration should they configure?

A.Microsoft Defender XDR
B.Microsoft Intune
C.Azure Key Vault
D.Microsoft Entra ID (Azure AD)
AnswerD

Microsoft Entra ID (formerly Azure Active Directory) is the correct answer because it is the cloud identity and access management service that authenticates users and issues security tokens for Azure Databricks. Azure Databricks integrates natively with Entra ID through OAuth 2.0 and OpenID Connect, enabling single sign-on, conditional access, and MFA for the data engineering platform. Entra ID also supports SCIM-based user provisioning to keep Databricks workspaces synchronized with standard enterprise identities.

Why this answer

Microsoft Entra ID (Azure AD) is the identity and access management service that provides SSO capabilities for Azure Databricks. By integrating Azure Databricks with Entra ID, you can enforce conditional access policies and authenticate users via your existing identity provider using protocols like SAML 2.0 or OAuth 2.0, ensuring only authorized users access the workspace.

Exam trap

The trap here is that candidates may confuse Azure Key Vault (a secrets store) with identity management, or assume Microsoft Defender XDR or Intune handle SSO, when only Microsoft Entra ID provides the federation and authentication services required for single sign-on.

How to eliminate wrong answers

Option A is wrong because Microsoft Defender XDR is a security analytics and threat protection suite, not an identity provider or SSO integration service. Option B is wrong because Microsoft Intune is a mobile device management (MDM) and mobile application management (MAM) service, not used for configuring SSO or identity federation. Option C is wrong because Azure Key Vault is a secrets management service for storing keys, certificates, and passwords, not an identity provider or SSO solution.

717
MCQhard

A data engineer needs to implement a solution that provides near real-time analytics on clickstream data. The data arrives as JSON events and must be queryable with sub-second latency using SQL-like queries. The solution should minimize operational overhead. Which Azure service should they use?

A.Azure Stream Analytics
B.Azure Analysis Services
C.Azure Synapse Analytics
D.Azure Data Explorer
AnswerD

Azure Data Explorer (ADX) is a fully managed, high-performance analytics service built specifically for near real-time telemetry, logs, and time-series data, using the Kusto Query Language (KQL) to filter, aggregate, and join events. It ingests data directly from Event Hubs and IoT Hub with low latency, and its columnar index and sharding design support sub-second query responses on massive streams of append-only data. This combination of rapid ingestion, optimized storage, and fast query execution directly satisfies the requirement for a sub-second analytical solution on streaming data.

Why this answer

Azure Data Explorer (ADX) is designed for interactive analytics on large volumes of streaming and historical data with sub-second query latency using Kusto Query Language (KQL), which supports SQL-like syntax. It natively ingests JSON events, provides near real-time analytics, and minimizes operational overhead as a fully managed, serverless service.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics (a real-time processing engine) with Azure Data Explorer (an interactive analytics database), failing to recognize that the requirement for 'sub-second latency using SQL-like queries' on stored data points to a query engine, not a stream processor.

How to eliminate wrong answers

Option A is wrong because Azure Stream Analytics is a real-time stream processing engine that outputs to sinks (e.g., Power BI, Event Hubs) but does not natively support sub-second interactive SQL queries on stored data; it is designed for continuous queries, not ad-hoc analytics. Option B is wrong because Azure Analysis Services is an OLAP engine for semantic models and multidimensional cubes, not designed for raw clickstream JSON ingestion or sub-second query latency on streaming data. Option C is wrong because Azure Synapse Analytics is a big data analytics platform optimized for large-scale batch and interactive queries using dedicated SQL pools, but it incurs higher operational overhead and is not purpose-built for near real-time, sub-second latency on high-velocity streaming JSON events.

718
Multi-Selecthard

Which THREE components are part of Microsoft Fabric's end-to-end analytics platform? (Choose three.)

Select 3 answers
A.Synapse Data Engineering
B.Azure Machine Learning
C.OneLake
D.Power BI
E.Azure DevOps
AnswersA, C, D

Synapse Data Engineering is a core Fabric workload designed for large-scale data transformation and preparation. It provides a Spark-based environment where users can author and run notebooks, dataflows, and Spark jobs, with results stored directly into OneLake. This workload is essential to the end-to-end pipeline because it turns raw data into cleaned, structured datasets that later power reporting and analysis.

Why this answer

Synapse Data Engineering is a core component of Microsoft Fabric, providing a unified platform for data ingestion, transformation, and orchestration using Spark and pipelines. It integrates seamlessly with OneLake for storage and Power BI for visualization, forming part of Fabric's end-to-end analytics solution.

Exam trap

The trap here is that candidates may confuse Azure Machine Learning as part of Fabric because both involve AI/analytics, but Fabric's scope is limited to integrated data engineering, lakehouse, and BI components, excluding dedicated ML services.

719
MCQmedium

A company stores terabytes of web server log data in CSV files in Azure Data Lake Storage Gen2. Data analysts need to run ad-hoc SQL queries on this data to analyze user behavior patterns. The queries are complex, involve joins across multiple files, and the analysts prefer not to move the data into a separate store. Which Azure service should they use?

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

Azure Synapse Serverless SQL pool is the correct choice because it provides a serverless T-SQL query engine that reads files directly from Azure Data Lake Storage without requiring data to be loaded into a database. It can query terabytes of CSV logs on demand, using compute resources that scale automatically with the amount of data scanned, making it ideal for ad-hoc analysis with zero infrastructure provisioning. The service supports metadata inference for CSV files and integrates with standard T-SQL tools, so analysts can immediately run SQL queries over the raw log data exactly where it is stored.

Why this answer

Azure Synapse Serverless SQL pool is the correct choice because it allows analysts to run T-SQL queries directly against CSV files stored in Azure Data Lake Storage Gen2 without moving the data. It uses a distributed query engine to process complex joins across multiple files, making it ideal for ad-hoc analytics on large-scale log data.

Exam trap

The trap here is that candidates confuse Azure Data Factory's data movement capabilities with query execution, or assume that any SQL-capable service (like Azure SQL Database) can query external files without data import, but only Synapse Serverless SQL pool provides native, serverless SQL querying over Data Lake Storage.

Why the other options are wrong

A

Azure Data Factory is an orchestration and ETL service, not a query engine. It cannot run ad-hoc SQL queries directly on data in Data Lake Storage Gen2; it would require moving or transforming the data first.

C

Azure SQL Database requires data to be imported into a relational store, contradicting the requirement to not move data. It cannot directly query CSV files in Data Lake Storage Gen2.

D

Azure HDInsight is designed for big data processing using Hadoop/Spark clusters, not for ad-hoc SQL queries on CSV files without data movement. It requires provisioning and managing clusters, which contradicts the analysts' preference for simplicity and serverless querying.

When would these options actually be correct?

A

A company needs to ingest web server logs from multiple sources, transform them (e.g., clean, aggregate), and load the processed data into a data warehouse or lake on a scheduled basis. Azure Data Factory would be the correct choice for building and managing these data pipelines.

C

For a scenario where structured data is already stored in Azure SQL Database and needs to be queried with complex joins, or when migrating an on-premises SQL Server database to a managed cloud service with minimal changes.

D

A company needs to run complex, batch-oriented transformations (e.g., ETL) on terabytes of web logs using custom MapReduce or Spark code, and they are willing to manage a Hadoop/Spark cluster. The question would specify the need for distributed processing frameworks like Spark or Hive.

Why candidates pick the wrong answer

A

Candidates may confuse Azure Data Factory's data movement and transformation capabilities with querying, or think it can directly execute SQL on files because it supports data flows and mapping data flows.

C

Candidates may assume SQL Database can query external data sources like CSV files, or they overlook the 'do not move data' constraint, thinking SQL Database is the standard choice for SQL queries.

D

Candidates may associate HDInsight with big data and CSV processing, overlooking that it requires cluster management and is not optimized for serverless SQL queries over data in Data Lake Storage.

720
MCQeasy

A retail chain collects sales data from all its stores at the end of each business day by exporting CSV files from each store's database. The data is then combined and analyzed to generate daily sales reports. Which type of data processing does this describe?

A.Batch processing
B.Real-time processing
C.Stream processing
D.Interactive query
AnswerA

Batch processing executes data transformation and loading as discrete, scheduled jobs that operate on a finite set of data accumulated over time. In this scenario, store sales data is uploaded at the end of each business day, and an Azure Data Factory pipeline runs on a fixed schedule to transform and load it into Azure Synapse Analytics. This matches a typical ETL batch pattern, providing predictable, cost-efficient processing while trading off latency — results are ready the next morning, not instantly.

Why this answer

This describes batch processing because sales data is collected from each store at the end of the business day, exported as CSV files, and then combined and analyzed in a scheduled, non-continuous manner. Batch processing is ideal for large volumes of data that are processed at periodic intervals, such as daily sales reports, rather than requiring immediate action.

Exam trap

The trap here is that candidates confuse 'daily export' with 'real-time' because they think 'daily' implies frequent updates, but batch processing is defined by the scheduled, non-continuous nature of the data collection and processing, not the frequency.

Why the other options are wrong

B

The data is collected at the end of each business day, not continuously or with low latency, so it is not real-time processing.

C

Stream processing handles data continuously as it arrives, but here data is collected at the end of each day in batches from CSV exports, not processed in real-time as events occur.

D

Interactive query implies ad-hoc, on-demand analysis of data, but the scenario describes a scheduled, automated process that combines data at the end of each day, which is batch processing.

When would these options actually be correct?

B

A question describing a system that processes credit card transactions as they occur, generating fraud alerts within milliseconds, would have real-time processing as the correct answer.

C

A question describing a system that ingests sales transactions from store point-of-sale systems continuously throughout the day and updates dashboards or alerts immediately would make stream processing correct.

D

If the question described a data analyst running SQL queries directly against a database to explore sales data and generate reports on the fly, without a predefined schedule, then interactive query would be correct.

Why candidates pick the wrong answer

B

Candidates may confuse 'daily' with 'real-time' because they think of modern data systems, but the key is the scheduled, non-continuous nature of the data collection.

C

Candidates may confuse 'stream processing' with any data that flows from multiple sources, or think that daily exports imply a continuous stream of data from stores.

D

Candidates may confuse the act of generating reports with interactive querying, not recognizing that the scheduled, automated nature of the process defines it as batch processing.

721
MCQmedium

A company receives daily sales data from multiple retail stores as CSV files that are uploaded to Azure Blob Storage. The data must be cleansed, validated, and aggregated before being loaded into Azure Synapse Analytics for reporting. The transformations involve complex business logic and must run reliably every night. The company wants a service that can orchestrate and execute the entire pipeline with minimal development effort. Which Azure service should they use?

A.Azure Data Factory with mapping data flows
B.Azure Stream Analytics
C.Azure Databricks
D.Azure Logic Apps
AnswerA

Azure Data Factory provides schedule-based orchestration and mapping data flows to perform complex transformations without coding. It integrates seamlessly with Azure Synapse Analytics for loading transformed data.

Why this answer

Azure Data Factory with mapping data flows is correct because it provides a code-free, visual interface for building complex data transformations (cleansing, validation, aggregation) that can be orchestrated on a schedule. Mapping data flows execute at scale on Azure Databricks clusters without requiring manual Spark code, making it ideal for nightly batch ETL pipelines with minimal development effort.

Exam trap

The trap here is that candidates often confuse Azure Data Factory with Azure Logic Apps because both are 'orchestration' services, but Logic Apps is for API/application integration (HTTP, Office 365, etc.) and cannot perform large-scale data transformations or run Spark-based data flows.

Why the other options are wrong

B

Azure Stream Analytics is designed for real-time stream processing, not for scheduled batch orchestration of complex transformations on daily CSV files. It lacks native scheduling and orchestration capabilities for nightly batch pipelines.

C

Azure Databricks is a powerful analytics platform but requires significant development effort to write and maintain Spark code for complex transformations, whereas the question emphasizes minimal development effort and orchestration. Data Factory with mapping data flows provides a code-free, managed orchestration and transformation service better suited for this nightly batch pipeline.

D

Azure Logic Apps is designed for lightweight, event-driven workflows and integrations, not for orchestrating complex ETL pipelines with data cleansing, validation, and aggregation on large datasets. It lacks native data flow capabilities and is not optimized for scheduled, high-volume data processing.

When would these options actually be correct?

B

A company needs to process a continuous stream of sales data from IoT devices, performing real-time aggregations and alerting when sales exceed thresholds, then output results to Azure Synapse Analytics for live dashboards.

C

A company needs to perform advanced analytics and machine learning on large datasets using custom Python or Scala code, with the ability to scale compute resources dynamically. The question would specify that data scientists need to collaborate on complex transformations and model training, making Databricks the right choice.

D

A company needs to automate a workflow that triggers when a new CSV file is uploaded to Blob Storage, then sends an email notification and copies the file to another container. Minimal coding and quick integration with Office 365 are required.

Why candidates pick the wrong answer

B

Candidates may confuse batch processing with stream processing, or think that 'data flows' implies streaming, leading them to select Stream Analytics for any data transformation task.

C

Candidates may associate Databricks with complex data transformations and batch processing, overlooking that it requires more development effort and is not primarily an orchestration service like Data Factory.

D

Candidates may confuse Logic Apps' workflow orchestration with Data Factory's ETL orchestration, assuming both can handle data pipelines. Logic Apps is simpler to set up for basic tasks, leading to the misconception that it can scale to complex data transformations.

722
MCQeasy

A company wants to run SQL queries on data stored in Azure Cosmos DB for NoSQL. Which API should they use?

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

The Core (SQL) API is the native and default API for Azure Cosmos DB, optimized for querying JSON documents using a SQL query dialect. It supports familiar relational constructs such as SELECT, WHERE, JOIN, and GROUP BY, adapted to work on schema-flexible NoSQL data. This makes it the only API that directly accepts SQL queries without translation or compatibility layers.

Why this answer

The Core (SQL) API is the native API for Azure Cosmos DB for NoSQL, designed to query JSON documents using a SQL-like syntax. Since the requirement is to run SQL queries on data stored in Azure Cosmos DB for NoSQL, this API directly supports that need without requiring any protocol translation or schema mapping.

Exam trap

The trap here is that candidates often confuse 'SQL queries' with the Cassandra API because both use a SQL-like language, but Cassandra uses CQL, not standard SQL, and is designed for a different data model (wide-column vs. document).

How to eliminate wrong answers

Option B (Gremlin API) is wrong because it is used for graph data models and queries using the Apache TinkerPop graph traversal language, not for SQL queries on NoSQL documents. Option C (Cassandra API) is wrong because it implements the Apache Cassandra wire protocol for wide-column stores and uses CQL (Cassandra Query Language), not standard SQL. Option D (MongoDB API) is wrong because it provides compatibility with MongoDB's document model and query syntax (e.g., BSON, find(), aggregate()), not SQL.

723
MCQmedium

A manufacturing company installs IoT sensors on equipment in a factory. Each sensor sends a reading (device ID, timestamp, temperature, vibration) every second. The application must store these readings with extremely low write latency, support queries for the latest reading per device, and allow range queries over the last hour for a specific device. The development team expects high throughput writes (millions per day) and does not require complex joins. Which Azure data store is most appropriate for this workload?

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

Azure Cosmos DB is a multi-model NoSQL database with single-digit-millisecond write and read latencies, automatic indexing, and tunable consistency, making it ideal for high-throughput IoT telemetry from manufacturing sensors. Its schema-agnostic JSON documents easily accommodate varying sensor payloads, and its partitioning enables efficient point reads and time-based range queries. Support for global distribution and a 99.999% SLA further justify it as the purpose-built choice for per-second equipment data ingestion.

Why this answer

Azure Cosmos DB is the most appropriate because it offers single-digit millisecond write and read latencies at any scale, which is critical for the high-throughput, low-latency IoT sensor ingestion described. Its support for automatic indexing and efficient point reads (by device ID and timestamp) enables fast retrieval of the latest reading per device, while its native time-to-live (TTL) and range query capabilities on the timestamp field allow efficient queries over the last hour for a specific device. Additionally, Cosmos DB's schema-agnostic, non-relational model fits the simple key-value structure of sensor readings without requiring complex joins.

Exam trap

The trap here is that candidates often choose Azure Table Storage because it is a low-cost, schema-less NoSQL option, but they overlook its lack of guaranteed single-digit millisecond latency and the need for manual partition key design to avoid throttling under high-throughput IoT workloads.

Why the other options are wrong

B

Azure Table Storage does not support range queries on timestamps efficiently because its partition key design typically requires equality filters on partition key; range queries across time for a specific device would be inefficient without proper partitioning, and it lacks native support for ordering by timestamp across partitions.

C

Azure Blob Storage is optimized for storing large unstructured data (e.g., files, images, logs) but does not support low-latency point reads by device ID or efficient range queries over time, nor does it provide native indexing for querying individual sensor readings.

D

Azure SQL Database is a relational database with higher write latency and overhead for schema enforcement, making it unsuitable for the extreme low-latency, high-throughput write workload of millions of IoT sensor readings per day.

When would these options actually be correct?

B

A question requiring a cost-effective, schema-less store for high-volume telemetry data where queries are always by device ID (exact match) and no range queries or ordering by timestamp are needed, e.g., 'Store IoT sensor readings with simple key-value lookups by device ID, no complex queries, and low cost.'

C

A company needs to store historical sensor data as JSON files for batch analytics, with no requirement for real-time queries per device. The workload involves infrequent writes and reads of entire files, and cost-effective storage for large volumes of data is the priority.

D

A question requiring complex joins, ACID transactions, or structured relational queries (e.g., 'Store customer orders with line items and enforce referential integrity') would make Azure SQL Database the correct choice.

Why candidates pick the wrong answer

B

Candidates may confuse Azure Table Storage with a time-series store due to its ability to handle large volumes of structured data and its low cost, overlooking its limitations in range queries and ordering across partitions.

C

Candidates may associate IoT sensor data with 'big data' and assume blob storage is suitable for high-volume writes, overlooking the need for low-latency queries on individual records.

D

Candidates may assume that any structured data with timestamps and device IDs needs a relational database, overlooking the non-relational, high-throughput nature of IoT time-series workloads.

724
MCQhard

Refer to the exhibit. A database administrator runs this KQL query in Azure Monitor Log Analytics. The query returns no results. What is the most likely reason?

A.The summarize operator syntax is wrong
B.The ResourceType filter is incorrect
C.The render command is not supported
D.The time range is incorrect
AnswerB

The ResourceType filter is the root cause of the failure because Azure SQL Database diagnostic logs are written to the AzureDiagnostics table with a resource type value of `MICROSOFT.SQL/SERVERS/DATABASES`, not the friendly name `AZURESQLDB`. When the query filters on `ResourceType == "AZURESQLDB"`, it matches zero rows because the actual value stored in the ResourceType column is the full ARM resource type path. To correctly filter Azure SQL Database diagnostics, the query should use `ResourceType == "MICROSOFT.SQL/SERVERS/DATABASES"` or omit the filter to see all diagnostic data. This is a common mistake because the Azure portal may display friendly names, but the underlying KQL data uses the canonical resource type string.

Why this answer

The KQL query filters on `ResourceType` with a value that does not match any actual Azure resource type (e.g., a typo or incorrect casing). Since Azure Monitor Log Analytics stores resource types in a specific format (e.g., 'microsoft.compute/virtualmachines'), an incorrect filter will return zero results even if data exists. The query syntax, render command, and time range are all valid, so the filter is the most likely cause.

Exam trap

Microsoft often tests the candidate's understanding that KQL filters are case-sensitive and that resource type values must exactly match the Azure Resource Manager format, leading candidates to overlook a simple typo or casing error.

How to eliminate wrong answers

Option A is wrong because the `summarize` operator syntax is correct: it uses `count()` as an aggregation function, which is valid. Option C is wrong because the `render` command is supported in Azure Monitor Log Analytics for visualizing results (e.g., `render timechart`). Option D is wrong because the time range is not specified in the query, so it defaults to the last 24 hours, which is a valid range and would not cause zero results unless no data exists in that period.

725
MCQeasy

Your company wants to use Microsoft Fabric to create a unified analytics platform. Which component in Microsoft Fabric provides a lake-centric, collaborative, and governed data foundation?

A.Power BI
B.Data Factory
C.OneLake
D.Synapse Data Engineering
AnswerC

OneLake is the central, lake-centric data storage foundation in Microsoft Fabric, providing a single, unified logical data lake that all Fabric workloads share. It automatically organizes data into tables and files, supports open formats like Delta and Parquet, and eliminates data duplication by allowing multiple engines to work on the same data. This makes OneLake the correct answer, as it is the foundational component that unifies data management across the platform.

Why this answer

OneLake is the correct answer because it is the single, unified, lake-centric data foundation in Microsoft Fabric. It provides a multi-cloud, SaaS-based data lake that is automatically provisioned for every Fabric tenant, enabling collaborative and governed access to data without data duplication, while supporting open formats like Delta Parquet.

Exam trap

The trap here is that candidates confuse the tool that provides the data foundation (OneLake) with the workloads that operate on top of it (like Synapse Data Engineering or Data Factory), or mistake Power BI's role as a visualization layer for the underlying storage and governance layer.

How to eliminate wrong answers

Option A is wrong because Power BI is a business intelligence and visualization tool, not a data lake or storage foundation; it consumes data from sources like OneLake but does not provide the lake-centric foundation itself. Option B is wrong because Data Factory is a data integration and orchestration service for pipelines and data movement, not a governed, collaborative data lake. Option D is wrong because Synapse Data Engineering is a workload for building and managing data transformation pipelines (e.g., using Spark or notebooks), but it relies on OneLake as its underlying storage and governance layer, not the other way around.

726
MCQmedium

A social media analytics company needs to store large amounts of user activity logs. Each log entry contains a timestamp, user ID, activity type, and a dynamic set of custom attributes (e.g., page viewed, time spent). The application requires low-latency writes and point reads by a composite key (user ID and timestamp). The data is rarely updated after insertion. The company wants a fully managed NoSQL database that supports serverless throughput and automatic expiration of old logs (TTL). Which Azure Cosmos DB API should they choose?

A.Table API
B.NoSQL API (Core/SQL API)
C.Cassandra API
D.Gremlin API
AnswerA

The Table API is built for key-value stores and supports a schema-less design with composite keys (PartitionKey + RowKey). It also supports serverless throughput and TTL (time-to-live) to automatically delete old entries, fitting the activity log use case.

Why this answer

The Table API is the correct choice because it provides a fully managed, serverless NoSQL database with automatic TTL (Time-to-Live) for data expiration, low-latency point reads and writes by a composite key (partition key + row key), and is optimized for storing large volumes of structured log data with dynamic attributes. It supports the exact requirements: high-throughput writes, point queries by user ID and timestamp, and automatic expiration of old logs without manual intervention.

Exam trap

The trap here is that candidates often choose the NoSQL API (Core/SQL API) because it is the most well-known Cosmos DB API, but they overlook that the Table API is specifically optimized for high-volume, low-latency key-value workloads with composite keys and automatic TTL, making it the correct choice for log data with dynamic attributes.

How to eliminate wrong answers

Option B (NoSQL API) is wrong because while it supports serverless throughput and TTL, it is designed for document-based data with flexible schemas and requires a partition key and sort key for point reads, but it does not natively support composite key queries as efficiently as the Table API's row key design; however, the primary reason it is not the best fit is that the Table API is more cost-effective and simpler for log data with dynamic attributes. Option C (Cassandra API) is wrong because it is based on the Cassandra distributed database, which uses a different data model (wide-column stores) and does not support serverless throughput in the same way; it also requires more manual management of consistency and replication, and while it supports TTL, it is not the simplest fully managed option for this use case. Option D (Gremlin API) is wrong because it is a graph database API designed for traversing relationships between entities (e.g., social networks, recommendation engines), not for storing and querying time-series log data with composite keys; it lacks native support for TTL and serverless throughput in the same manner as the Table API.

727
MCQeasy

You need to migrate an on-premises SQL Server database to Azure SQL Managed Instance with minimal downtime. Which tool should you use?

A.Azure Data Factory
B.SQL Server Integration Services (SSIS)
C.BACPAC export and import
D.Azure Database Migration Service (DMS)
AnswerD

DMS supports online migrations with minimal downtime.

Why this answer

The correct tool for migrating an on-premises SQL Server database to Azure SQL Managed Instance with minimal downtime is Azure Database Migration Service (DMS). DMS supports online migrations with minimal downtime. Option A (Azure Data Factory) is primarily for data integration and orchestration, not optimized for online database migrations.

Option B (SSIS) is an ETL tool, not designed for minimal downtime migration. Option C (BACPAC export/import) is an offline method that involves exporting the database to a .bacpac file and then importing, which requires downtime. Therefore, option D is correct.

728
Multi-Selectmedium

Which TWO of the following are correct descriptions of data processing workloads in Azure?

Select 2 answers
A.Streaming processing is used for interactive queries on historical data.
B.Streaming processing is used to process data at rest.
C.Streaming processing is used to process data in real time as it arrives.
D.Batch processing is used to process data in real time as it arrives.
E.Batch processing is used to process large volumes of data at scheduled intervals.
AnswersC, E

Streaming processing is purpose-built for real-time data: it ingests events continuously from sources like Azure Event Hubs or IoT Hub and processes them as they arrive, often with sub-second latency. This architecture enables real-time dashboards, anomaly alerts, and event-driven responses where decisions must be made on the latest data. For example, a streaming pipeline might aggregate clickstream events into 5-second windows to show current user activity, which is impossible with batch processing that defers computation until a scheduled run.

Why this answer

Streaming processing in Azure (e.g., Azure Stream Analytics, Event Hubs, or Kafka on HDInsight) is designed to ingest, analyze, and act on data in near real-time as it arrives, often with sub-second latency. This is fundamentally different from batch processing, which handles data at rest.

Exam trap

The trap here is that candidates confuse 'streaming' with 'interactive querying' or assume batch can handle real-time data, but Azure explicitly separates these workloads based on data state (in motion vs. at rest) and latency requirements.

729
MCQmedium

A company has an existing IoT application that uses Apache Cassandra for time-series sensor data. They want to migrate to Azure's fully managed NoSQL database service while continuing to use the Cassandra Query Language (CQL) and benefiting from global distribution and low latency. Which Azure Cosmos DB API should they use?

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

The Cassandra API provides a native compatibility layer for the Apache Cassandra wire protocol and CQL, allowing existing Cassandra drivers, queries, and schemas to work with minimal changes. This makes it the only option that supports a seamless migration from an on-premises Cassandra cluster to Azure Cosmos DB while preserving the time-series data model and query patterns. Cosmos DB then adds global distribution, multi-region writes, and a fully managed SLA on top of that Cassandra compatibility.

Why this answer

The Cassandra API for Azure Cosmos DB is wire-protocol-compatible with Apache Cassandra, meaning you can use existing CQL (Cassandra Query Language) tools, drivers, and code with minimal changes. It provides a fully managed, globally distributed NoSQL database with low-latency reads and writes, which directly matches the company's requirement to migrate from self-managed Cassandra while preserving their CQL-based application logic.

Exam trap

The trap here is that candidates may confuse the 'Cassandra API' with the 'Core (SQL) API' because both support SQL-like syntax, but only the Cassandra API uses the native CQL wire protocol and wide-column storage model required for time-series sensor data.

How to eliminate wrong answers

Option A is wrong because the Core (SQL) API uses a SQL-like query language and a different data model (JSON documents with optional schema), not the Cassandra Query Language (CQL), so existing CQL code would not work. Option B is wrong because the MongoDB API uses the MongoDB wire protocol and BSON document model, which is incompatible with CQL and Cassandra's table/partition-key structure. Option D is wrong because the Gremlin API is designed for graph databases using the Apache TinkerPop graph traversal language, not for time-series sensor data modeled in Cassandra's wide-column format.

730
MCQhard

A company ingests raw clickstream data as JSON files into Azure Data Lake Storage Gen2. Data scientists need to explore the data interactively using Python notebooks, and the BI team needs to create reports from aggregated datasets derived from this data. The solution must be serverless, scale automatically, and minimize administration. Which Azure service should they choose?

A.A. Azure Synapse Analytics (serverless SQL pool)
B.B. Azure Databricks
C.C. Azure HDInsight with Spark
D.D. Azure Data Lake Analytics
AnswerB

Azure Databricks is the right fit because it provides a fully managed, collaborative notebook environment with native Python, Scala, and SQL kernels. Its serverless mode dynamically acquires and releases compute pools based on workload, eliminating manual cluster sizing and scaling. This supports interactive exploration by data scientists as well as production transformation, minimizing administration while covering the full data science lifecycle.

Why this answer

Azure Databricks is correct because it provides a serverless, interactive Apache Spark environment that data scientists can use with Python notebooks for exploratory analysis, and it can produce aggregated datasets for BI reporting. It scales automatically and minimizes administration by managing the cluster lifecycle, making it ideal for ad-hoc data exploration on raw JSON files in Azure Data Lake Storage Gen2.

Exam trap

The trap here is that candidates often confuse serverless SQL pools (Synapse) as suitable for interactive Python exploration, but they are designed for SQL-based querying, not notebook-based data science workflows.

Why the other options are wrong

A

Serverless SQL pool in Azure Synapse Analytics is optimized for T-SQL queries over relational data, not for interactive Python notebook exploration of raw JSON files. It lacks native Python notebook support and is less suited for data science workflows.

D

Azure Data Lake Analytics is deprecated and not serverless in the same sense; it requires job submission and does not support interactive Python notebooks for data exploration.

When would these options actually be correct?

A

A question requiring serverless T-SQL querying over data lake files (e.g., CSV, Parquet) without managing infrastructure, and where the primary users are analysts writing SQL rather than data scientists using Python notebooks.

D

A question requiring batch processing of large-scale data using U-SQL or .NET code, where the solution must run on Azure without managing clusters, and interactive exploration is not needed.

Why candidates pick the wrong answer

A

Candidates may confuse 'serverless' with the requirement for minimal administration, and Synapse Analytics offers a serverless SQL pool, but they overlook the need for interactive Python notebook exploration, which is a core feature of Databricks.

D

Candidates may confuse Data Lake Analytics with a serverless analytics option because of its name, and overlook its lack of Python notebook support and deprecation status.

731
MCQhard

A global gaming company stores player profiles in Azure Cosmos DB. Each profile document contains PlayerID (unique), PlayerName, Email, and a nested array of Achievements. The most common query is to look up a player by PlayerID and retrieve their achievements. The company needs strong consistency for reads and writes to ensure that when a player earns an achievement, it is immediately visible. Which partition key and consistency level should they choose?

A.A. Partition key: PlayerID; Consistency: Eventual
B.B. Partition key: PlayerID; Consistency: Strong
C.C. Partition key: Achievements; Consistency: Strong
D.D. Partition key: Email; Consistency: Bounded staleness
AnswerB

PlayerID is an ideal partition key because it matches the application's point-lookup pattern: every read and write for a player can be routed to a single physical partition, avoiding cross-partition queries. Strong consistency in Azure Cosmos DB ensures that a write is acknowledged only after it is durably committed, and every subsequent read that uses the same partition key returns that committed value. This directly satisfies the requirement that profile updates be immediately and reliably visible. Note that strong consistency is supported only with single-region writes, which is an appropriate choice for this workload.

Why this answer

PlayerID is the natural partition key for the most common query (lookup by PlayerID), ensuring efficient single-partition queries. Strong consistency is required to guarantee that when a player earns an achievement, the write is immediately visible to all subsequent reads, which is critical for the gaming scenario.

Exam trap

The trap here is that candidates may confuse 'most common query' with 'partition key' and pick a non-query column (like Achievements or Email) or choose a weaker consistency level, not realizing that Strong consistency is required for immediate visibility and that PlayerID is the optimal partition key for the lookup pattern.

How to eliminate wrong answers

Option A is wrong because Eventual consistency does not guarantee immediate visibility of writes, which violates the requirement that achievements are immediately visible after earning. Option C is wrong because Achievements is a nested array, not a top-level property, and using it as a partition key would cause inefficient cross-partition queries and potential hot partitions. Option D is wrong because Email is not the primary query key (PlayerID is), and Bounded staleness, while stronger than Eventual, still allows a configurable lag, which does not meet the strict 'immediately visible' requirement.

732
MCQmedium

The exhibit shows a T-SQL query against an Azure SQL Database. What is the purpose of the HAVING clause in this query?

A.To sort the result set by TotalSales descending
B.To join two tables
C.To filter groups after aggregation
D.To filter rows before grouping
AnswerC

The HAVING clause is used to filter groups after aggregation has been performed. In the query shown, the GROUP BY clause likely groups rows by one or more columns, and then HAVING applies a condition to the aggregated TotalSales value (e.g., HAVING SUM(TotalSales) > 1000) to keep only certain groups. This differs from WHERE, which cannot reference aggregate functions, whereas HAVING is evaluated after GROUP BY and can directly test SUM, COUNT, AVG, and other aggregate results.

Why this answer

The HAVING clause is used in T-SQL to filter groups after the GROUP BY clause has performed aggregation. In this query, it restricts the result set to only those product categories whose total sales (SUM(Amount)) exceed 1000, which is a condition on the aggregated value, not on individual rows.

Exam trap

The trap here is that candidates often confuse HAVING with WHERE, mistakenly thinking HAVING filters individual rows before grouping, when in fact WHERE performs that role and HAVING only applies after aggregation.

How to eliminate wrong answers

Option A is wrong because sorting the result set is done by the ORDER BY clause, not HAVING. Option B is wrong because joining tables is accomplished with JOIN clauses (e.g., INNER JOIN, LEFT JOIN), not HAVING. Option D is wrong because filtering rows before grouping is the role of the WHERE clause, which operates on individual rows before aggregation; HAVING filters after aggregation.

733
MCQmedium

A marketing company ingests streaming data from social media feeds into Azure Event Hubs. They want to perform real-time sentiment analysis on the data and store the results in Azure SQL Database for immediate dashboarding. They also need to aggregate the raw data over longer time windows and store it in Azure Data Lake Storage for historical trend analysis. Which combination of Azure services should they use for the two processing paths?

A.Azure Stream Analytics for real-time analysis and Azure Data Factory for batch aggregation
B.Azure Databricks for both real-time analysis and batch aggregation
C.Azure Stream Analytics for both real-time analysis and batch aggregation
D.Azure Data Factory for real-time analysis and Azure Databricks for batch aggregation
AnswerA

Azure Stream Analytics handles real-time processing and outputs to SQL Database. Azure Data Factory can schedule batch pipelines to read raw data from Event Hubs (or captured data) and aggregate it into Azure Data Lake Storage.

Why this answer

Azure Stream Analytics is ideal for real-time sentiment analysis on streaming data from Event Hubs, as it can process data in-motion with low latency and output directly to Azure SQL Database for immediate dashboarding. Azure Data Factory is the correct choice for batch aggregation over longer time windows, as it can orchestrate and execute periodic data movement and transformation jobs to load aggregated data into Azure Data Lake Storage for historical analysis.

Exam trap

The trap here is that candidates often assume a single service like Stream Analytics or Databricks can handle both real-time and batch processing equally well, but the exam expects you to recognize that Stream Analytics excels at real-time streaming while Data Factory is the appropriate managed service for scheduled batch aggregation in a cost-effective, serverless manner.

Why the other options are wrong

B

Azure Databricks is not optimized for continuous real-time streaming analytics on Event Hubs; it is better suited for complex batch processing and interactive analytics, not low-latency sentiment analysis.

D

Azure Data Factory is not designed for real-time stream processing; it is an orchestration and ETL service for batch data movement. Azure Databricks can handle batch aggregation but is not the optimal choice for the simple batch aggregation described here, whereas Azure Data Factory is better suited for scheduled batch pipelines to Azure Data Lake Storage.

When would these options actually be correct?

B

If the question required complex machine learning model training or advanced transformations on streaming data, and batch aggregation for historical analysis, Azure Databricks would be the correct choice for both paths.

D

If the question required complex batch transformations (e.g., machine learning models on historical data) and real-time processing needed custom logic (e.g., using Spark Structured Streaming), then Azure Databricks for batch and Azure Stream Analytics for real-time would be correct. However, here the batch aggregation is simple and better served by Azure Data Factory.

Why candidates pick the wrong answer

B

Candidates may think Databricks is a one-size-fits-all solution for both real-time and batch processing due to its Spark-based streaming capabilities, overlooking that Stream Analytics is simpler and more cost-effective for straightforward real-time ETL.

D

Candidates may think Azure Databricks is a one-size-fits-all solution for both real-time and batch analytics, and they may underestimate the simplicity of using Azure Data Factory for straightforward batch aggregation to Data Lake Storage.

734
MCQhard

A company needs to migrate 10 on-premises SQL Server databases (each 50–200 GB) to Azure. The databases frequently run cross-database queries using three-part names (e.g., DB1.dbo.table) and rely on SQL Server Agent for maintenance tasks. They want to minimize management overhead and share resources across databases to reduce costs. Which Azure SQL deployment option should they choose?

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

Azure SQL Managed Instance is the correct target for this migration because it supports cross-database queries using three-part naming, SQL Server Agent, and linked servers, just like on-prem SQL Server. It also allows multiple databases (10, ranging from 50–200 GB) to reside in a single instance, sharing resources efficiently while preserving existing database dependencies. As a fully managed PaaS service, it offers automatic patching, backups, and high availability, making it ideal for a lift-and-shift migration with minimal application changes.

Why this answer

Azure SQL Managed Instance is correct because it provides native support for cross-database queries using three-part names (e.g., DB1.dbo.table) and SQL Server Agent for maintenance tasks, which are critical requirements. It also offers a fully managed platform that minimizes management overhead while allowing resource sharing across databases within the instance, reducing costs compared to single databases or VMs.

Exam trap

The trap here is that candidates often choose Azure SQL Database elastic pool (Option A) because they think it supports cross-database queries and SQL Agent, but it actually lacks native three-part name support and SQL Agent, which are only available in Managed Instance.

Why the other options are wrong

A

Azure SQL Database elastic pool does not support cross-database queries using three-part names or SQL Server Agent, both of which are required by the company.

C

SQL Server on Azure VM requires manual management of OS, SQL Server, and backups, increasing overhead. It does not natively support cross-database queries with three-part names across separate VMs without linked servers, and sharing resources across databases is less efficient than a managed instance.

D

Azure SQL Database single database does not support cross-database queries using three-part names or SQL Server Agent, which are required by the company's workloads.

When would these options actually be correct?

A

A company needs to migrate multiple small-to-medium databases with varying usage patterns to Azure, wants to share resources to reduce costs, and does not require cross-database queries or SQL Server Agent. Elastic pool would be the correct choice to maximize resource utilization and minimize management overhead.

C

A company needs full control over the SQL Server environment, including custom configurations, third-party tools, or legacy features not supported in PaaS. They also require OS-level access for specific compliance or performance tuning, and are willing to manage patching and backups.

D

A company needs to migrate individual, independent databases with no cross-database dependencies and minimal management overhead, and they do not require SQL Server Agent or instance-level features.

Why candidates pick the wrong answer

A

Candidates see 'share resources' and 'minimize management overhead' and associate elastic pools with cost savings and low management, overlooking the critical requirements for cross-database queries and SQL Server Agent.

C

Candidates may think IaaS offers the most flexibility and familiarity, assuming it can easily handle cross-database queries and agent jobs, while overlooking the management overhead and cost inefficiency for multiple databases.

D

Candidates may think single databases are the simplest and cheapest option, overlooking the need for cross-database queries and agent jobs that require instance-level scope.

735
MCQmedium

A healthcare application stores patient vital signs readings. Each reading is a JSON document with fields: PatientID, Timestamp, HeartRate, BloodPressure (systolic and diastolic). The application frequently queries for all readings of a specific patient within a time range, and the schema varies occasionally (e.g., new optional fields are added). How should this data be classified?

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

Semi-structured data, such as JSON, XML, or key-value pairs, uses tags or markers to separate elements and permits schema flexibility. Vital signs readings naturally fit this model because each reading can include a variable set of measured parameters (e.g., some include SpO2, some include respiratory rate) without requiring every record to have identical fields, and the order of fields does not matter.

Why this answer

The data is semi-structured because it is stored as JSON documents, which have a flexible schema that can vary between records (e.g., new optional fields can be added). JSON documents are self-describing and do not require a fixed schema like relational tables, but they still have organizational properties (fields like PatientID, Timestamp) that distinguish them from unstructured data like plain text or images. The application's queries on specific fields (PatientID, Timestamp) further confirm the data has structure, but the schema flexibility rules out structured or relational classifications.

Exam trap

The trap here is that candidates confuse 'structured' with 'having fields'—they see PatientID and Timestamp and assume it must be structured, but the key differentiator is schema flexibility (optional fields, varying structure) which defines semi-structured data.

How to eliminate wrong answers

Option A is wrong because structured data requires a rigid, predefined schema (e.g., fixed columns and data types in a SQL table), but JSON documents allow schema variation and optional fields, which violates the strict schema constraint. Option C is wrong because unstructured data has no predefined data model or organization (e.g., raw text files, images, videos), whereas JSON documents have named fields and a hierarchical structure that can be parsed and queried. Option D is wrong because relational data is a subset of structured data that enforces relationships through foreign keys and normalization, but JSON documents in this scenario are not stored in relational tables and do not enforce referential integrity or a fixed schema.

736
MCQhard

Your application stores millions of small log entries in Azure Table Storage. Queries by partition key and row key are fast, but you also need to query by timestamp across partitions. The query performance is slow. What is the best way to improve query performance?

A.Migrate the data to Azure Cosmos DB and use the SQL API.
B.Use Azure Cognitive Search to index the Table Storage data.
C.Create a new table with the timestamp as the partition key and copy data there for time-based queries.
D.Add a secondary index on the timestamp column.
AnswerC

In Azure Table Storage, the only supported primary key is the pair of PartitionKey and RowKey, and queries that filter by PartitionKey are served directly without a full scan. By creating a new table with the timestamp as the PartitionKey and copying the data there, you make time-based queries use an equality comparison on PartitionKey (e.g., a specific date or hour) and optionally a range on RowKey, which is the most performant pattern. This is the correct answer because it applies the service's native indexing model without reintroducing scanning or paying for a separate service.

Why this answer

Creating a separate table with timestamp as the partition key allows efficient range queries across all data. Option A (migrate to Azure Cosmos DB) is wrong because Cosmos DB is significantly more expensive and may be overkill for this scenario. Option B (Azure Cognitive Search) is wrong because it is designed for full-text search, not for optimizing time-based queries on Table Storage.

Option C is correct as it enables partition-level queries by timestamp. Option D is wrong because Table Storage does not support secondary indexes.

737
MCQmedium

A financial services company runs a single SQL Server database that is 6 TB in size and handles a high volume of concurrent transactions. The database needs to support near real-time analytics without impacting OLTP performance. The company wants to migrate to Azure SQL Database and requires fast scale-out for read workloads, as well as the ability to independently scale compute and storage. Which Azure SQL Database service tier should they choose?

A.Serverless
B.Hyperscale
C.Business Critical
D.General Purpose
AnswerB

Azure SQL Database Hyperscale is the only service tier that can store a 6 TB database, with a maximum data size of 100 TB, while also decoupling compute from storage so read-only replicas can be added independently. It supports up to four readable replicas, allowing the financial services company to offload reporting and analytics queries from the primary transactional workload without degrading performance. The tier also uses snapshot-based backups, making backup and restore near-instantaneous even at large scale.

Why this answer

Hyperscale is the correct choice because it is designed for databases up to 100 TB, supports high-volume concurrent transactions, and provides near real-time read scale-out via named replicas that offload read workloads without affecting OLTP performance. It also allows independent scaling of compute (vCores) and storage (auto-scaled), meeting the company's requirements for fast scale-out and decoupled resources.

Exam trap

The trap here is that candidates may confuse Business Critical's high availability features with read scale-out, but Business Critical does not provide dedicated read replicas for analytics workloads, and its storage is not independently scalable from compute.

Why the other options are wrong

A

Serverless is designed for intermittent, unpredictable workloads with auto-pausing and compute scaling, not for a 6 TB database with high concurrent transactions requiring near real-time analytics and fast read scale-out.

C

Business Critical provides high availability and performance with local SSD storage, but it does not support fast scale-out for read workloads via readable replicas with independent compute scaling, nor does it allow independent scaling of compute and storage like Hyperscale does.

D

General Purpose does not support fast scale-out for read workloads with readable replicas, and it cannot independently scale compute and storage to the degree needed for a 6 TB database with high concurrency and near real-time analytics.

When would these options actually be correct?

A

A question where the database has sporadic usage patterns, low average compute utilization, and can tolerate auto-pause delays, such as a development or test database with infrequent access.

C

A question where the database requires the highest level of resilience and performance for OLTP with low latency, such as a mission-critical application needing multiple synchronous replicas and automatic failover, but does not require near real-time analytics or independent storage scaling.

D

A question where the database is under 4 TB, has moderate concurrency, and the primary requirement is cost optimization with balanced performance for typical OLTP workloads, without needing read scale-out or independent compute/storage scaling.

Why candidates pick the wrong answer

A

Candidates may confuse 'serverless' with 'scalable' or think it automatically handles large workloads, overlooking its limitations on storage size and concurrency.

C

Candidates may choose Business Critical because it offers high performance and availability, assuming it can handle large databases and analytics, but they overlook the specific need for fast scale-out of read workloads and independent compute/storage scaling that Hyperscale provides.

D

Candidates may choose General Purpose because it is the most commonly used tier for standard workloads, and they might overlook the specific requirements for large size, high concurrency, and read scale-out that Hyperscale addresses.

738
MCQeasy

A business user wants to ask natural language questions about their data in Power BI and get answers without writing DAX. Which Power BI feature should they use?

A.Copilot for Microsoft 365
B.Q&A visual
C.Power Automate
D.Quick Insights
AnswerB

The Q&A visual is a core Power BI feature that lets users type natural-language questions and receive answers rendered as charts, tables, or cards. It leverages the underlying semantic model, including field names, synonyms, and relationships, to parse the question and generate a valid query. This is the built-in tool specifically designed for interactive, ad-hoc querying of a report's data without needing to write DAX or SQL.

Why this answer

The Q&A visual in Power BI allows users to type natural language questions about their data and receive answers in the form of charts or tables, without needing to write DAX expressions. It uses an underlying natural language engine that interprets the query and automatically generates the appropriate visual or summary. This directly matches the business user's requirement for a no-code, natural language interface.

Exam trap

The trap here is that candidates may confuse the Q&A visual with Quick Insights, because both involve automated analysis, but Quick Insights is a one-click automated pattern discovery tool, not an interactive natural language query interface.

How to eliminate wrong answers

Option A is wrong because Copilot for Microsoft 365 is an AI assistant integrated into Microsoft 365 apps (like Word, Excel, Teams) and does not provide a dedicated natural language query interface within Power BI reports. Option C is wrong because Power Automate is a workflow automation tool for creating flows between services, not a feature for asking natural language questions about data in Power BI. Option D is wrong because Quick Insights automatically generates visualizations and patterns from a dataset without user input, but it does not allow users to ask specific natural language questions; it is an automated, non-interactive analysis.

739
MCQmedium

A media company stores large video files and associated metadata (title, duration, tags) as JSON documents. The application requires low-latency streaming of videos to users worldwide and the ability to quickly query metadata by tag. Which combination of Azure services should the company use?

A.Azure Blob Storage for videos and Azure Cosmos DB for metadata
B.Azure Blob Storage for both videos and metadata
C.Azure Cosmos DB for videos and Azure Table Storage for metadata
D.Azure Files for videos and Azure SQL Database for metadata
AnswerA

Azure Blob Storage is purpose-built for large unstructured binary data: it offers high-throughput write/read, configurable access tiers, and HTTPS-based access suitable for storing and delivering video files at scale. Azure Cosmos DB complements this by storing video metadata as flexible JSON documents, with automatic indexing and sub-millisecond point reads that support rich queries on tags, durations, and upload dates. This pairing keeps the media payload and its searchable catalog decoupled, so storage optimization and query performance are each handled by the most appropriate service.

Why this answer

Azure Blob Storage is optimized for storing large binary objects like video files, offering high-throughput streaming via HTTP/HTTPS and integration with CDN for low-latency global delivery. Azure Cosmos DB provides single-digit millisecond read and write latencies with automatic indexing, making it ideal for quickly querying JSON metadata by tag using SQL or MongoDB API. This combination separates storage concerns (blobs for raw video, document DB for structured metadata) to meet both streaming and query performance requirements.

Exam trap

The trap here is that candidates may assume a single service (like Blob Storage or Cosmos DB) can handle both data types, but the exam tests understanding that each Azure service has specific strengths—blobs for large binary objects and Cosmos DB for low-latency document queries—and that mixing them is the correct architectural pattern.

Why the other options are wrong

B

Azure Blob Storage is optimized for unstructured data like video files, but it lacks native querying capabilities for JSON metadata. Storing metadata in Blob Storage would require scanning all blobs or using external indexing, failing to meet the low-latency query requirement by tag.

C

Azure Cosmos DB is not optimized for storing large video files; it is a NoSQL database designed for low-latency queries on structured data. Using it for videos would be cost-inefficient and would not support streaming workloads as effectively as Blob Storage.

D

Azure Files is designed for file shares accessed via SMB protocol, not optimized for low-latency video streaming to users worldwide. Azure SQL Database is a relational database, which is not ideal for quickly querying JSON metadata by tag compared to a NoSQL solution like Cosmos DB.

When would these options actually be correct?

B

A company stores large video files and associated metadata as JSON documents, but the application only needs to stream videos and does not require any querying of metadata. In that case, Azure Blob Storage for both videos and metadata would be sufficient.

C

If the question asked for storing small media files (e.g., thumbnails) with metadata that requires global distribution and low-latency queries, and the videos were stored elsewhere, then Cosmos DB for media and Table Storage for metadata could be correct.

D

A company needs to store and stream video files to a small number of users within a corporate network, and the metadata requires complex relational queries (e.g., joining with user permissions). In that case, Azure Files for shared access and Azure SQL Database for relational metadata would be appropriate.

Why candidates pick the wrong answer

B

Candidates may think that since both videos and metadata are stored as files (JSON), Blob Storage can handle both, overlooking the need for fast, indexed queries on metadata that Blob Storage does not natively support.

C

Candidates may think Cosmos DB's multi-model capabilities can handle any data type, including videos, and that Table Storage is a natural fit for metadata, overlooking the specialized streaming and cost benefits of Blob Storage for large files.

D

Candidates may think Azure Files is suitable for video storage because it supports file sharing, and Azure SQL Database is a familiar choice for storing structured data, overlooking the specific requirements for low-latency global streaming and flexible JSON querying.

740
MCQhard

Your organization has a data warehouse in Azure Synapse Analytics. You need to load data from Azure Blob Storage daily, transforming it using a data flow. Which Azure service should you use for the ETL process?

A.Azure Databricks
B.Azure Data Factory
C.Azure Logic Apps
D.Azure Synapse Pipelines
AnswerB

Azure Data Factory is the correct choice because its mapping data flows provide a visual, code-free environment for designing ETL transformations by connecting source and sink datasets and arranging transformation activities on a canvas. These data flows execute on a managed Spark cluster, allowing complex joins, aggregations, and derived columns to be built declaratively without writing any code, making it the core ETL service for a data warehouse in Azure.

Why this answer

Azure Data Factory (ADF) is the correct choice because it provides native integration with Azure Synapse Analytics and Azure Blob Storage, and it includes a visual data flow designer for transforming data without writing code. ADF's mapping data flows execute at scale on Spark clusters, making it ideal for daily ETL workloads that require both ingestion and transformation.

Exam trap

The trap here is that candidates confuse Azure Synapse Pipelines (which is just ADF inside Synapse) as a separate service, but the correct Azure service name for the ETL tool is Azure Data Factory, not Synapse Pipelines.

How to eliminate wrong answers

Option A is wrong because Azure Databricks is a big data analytics platform that requires you to write code (Python, Scala, SQL) to build transformations, and it does not have a native, no-code data flow designer like ADF; it is overkill for a simple daily load with transformations. Option C is wrong because Azure Logic Apps is a workflow automation service designed for integrating SaaS applications and orchestrating business processes, not for performing data transformations at scale or loading data into a data warehouse. Option D is wrong because Azure Synapse Pipelines is actually built on top of Azure Data Factory and shares the same engine, but the standalone service name for the ETL tool is Azure Data Factory; Synapse Pipelines is a feature within Synapse, not a separate service, and the question asks for the Azure service, which is Azure Data Factory.

741
MCQhard

A company uses Azure Databricks to process data stored in Azure Data Lake Storage Gen2. They need to enforce fine-grained access control on files and folders based on user identity. Which security feature should they implement?

A.Storage account firewall rules
B.Shared access signatures (SAS)
C.Access control lists (ACLs)
D.Azure RBAC roles on the storage account
AnswerC

Access control lists (ACLs) in Azure Data Lake Storage Gen2 provide fine-grained, POSIX-compliant permissions on every file and directory, exactly what is required to control data access within Azure Databricks. Each ACL entry associates a specific user, group, or the owning principal with a combination of read, write, and execute permissions on a specific object, enabling precise authorization separate from network or token-based mechanisms. Databricks clusters can leverage the cluster's managed identity or service principal to authenticate, and then ACLs govern which identities can traverse, list, read, or modify each folder and file down to the leaf level. This makes ACLs the correct choice for enforcing user-level data permissions on data stored in Azure Storage that Databricks processes.

Why this answer

Access control lists (ACLs) on Azure Data Lake Storage Gen2 provide POSIX-compliant, fine-grained permissions at the file and folder level. This allows you to grant read, write, or execute permissions to specific users or groups, which is exactly what is needed for enforcing identity-based access control on individual files and folders.

Exam trap

The trap here is that candidates often confuse Azure RBAC (which controls management-plane access) with ACLs (which control data-plane access at the file/folder level), leading them to select RBAC when fine-grained data access is required.

How to eliminate wrong answers

Option A is wrong because storage account firewall rules control network-level access (IP addresses or virtual networks), not user-identity-based permissions on files or folders. Option B is wrong because shared access signatures (SAS) grant time-limited, delegated access to storage resources via a token, but they do not enforce access based on the user's identity; the token itself is the credential. Option D is wrong because Azure RBAC roles on the storage account provide coarse-grained control over management operations (e.g., read keys, list containers) but cannot enforce fine-grained permissions on individual files or folders within a container.

742
MCQmedium

A company uses Azure SQL Database for an e-commerce system. The Orders table has millions of rows with a clustered index on OrderID (the primary key). Queries that filter on OrderDate and CustomerID to find recent orders for a specific customer are very slow. Which indexing strategy will most improve the performance of these queries?

A.Create a nonclustered index on OrderID only
B.Create separate nonclustered indexes on OrderDate and CustomerID
C.Create a nonclustered composite index on (OrderDate, CustomerID)
D.Create a clustered index on CustomerID instead of OrderID
AnswerC

A composite index on both columns allows the database to find rows matching both filter conditions in a single index seek. This is the most efficient strategy for queries that filter on multiple columns together.

Why this answer

The query filters on both OrderDate and CustomerID, so a composite nonclustered index on (OrderDate, CustomerID) allows SQL Server to perform a single index seek to locate the matching rows without touching the clustered index until the final key lookup. This dramatically reduces I/O compared to scanning the entire clustered index or using multiple separate indexes.

Exam trap

The trap here is that candidates often think separate indexes on each filter column are sufficient, not realizing that a composite index is far more efficient for queries that filter on multiple columns together, because it avoids the need for index intersection or multiple lookups.

How to eliminate wrong answers

Option A is wrong because creating a nonclustered index on OrderID only does not help filter on OrderDate or CustomerID; the query would still need to scan the clustered index. Option B is wrong because separate indexes on OrderDate and CustomerID would require SQL Server to choose one index for a seek and then filter the other column in a bookmark lookup, or perform an index intersection, both of which are less efficient than a single composite index that covers both filter columns. Option D is wrong because changing the clustered index to CustomerID would reorder the entire table by CustomerID, which could improve queries filtering by CustomerID alone but would not help the OrderDate filter and would disrupt the primary key's order, potentially harming other queries that rely on OrderID ordering.

743
Multi-Selecteasy

Which TWO of the following are features of Azure Cosmos DB that help ensure high availability?

Select 2 answers
A.Data encryption at rest
B.Change feed
C.Automatic failover
D.Point-in-time restore
E.Multi-region writes
AnswersC, E

Automatic failover is a core high-availability feature in Azure Cosmos DB that continuously monitors the health of regions and, if the primary region becomes unavailable, automatically redirects traffic to a secondary region without manual intervention. This ensures that the database remains accessible and can continue to serve read and write requests (depending on the consistency configuration) during an outage. It directly addresses the need for uptime and resilience, which makes it a correct answer for a high-availability question.

Why this answer

Cosmos DB supports multi-region writes and automatic failover for high availability. Point-in-time restore and change feed are features but not directly for high availability.

744
MCQmedium

A company stores customer data in a relational database. The database design includes a rule that every order must be associated with a valid customer ID that exists in the Customers table. This rule is an example of which data concept?

A.Referential integrity
B.Data normalization
C.Entity integrity
D.Data consistency
AnswerA

Referential integrity is a database constraint enforced by foreign keys: it guarantees that every value in a foreign key column exactly matches an existing primary key value in the referenced table, thereby preventing orphaned rows. This rule is precisely what the scenario describes—the relational database uses these key relationships to maintain valid associations between customer records and related tables.

Why this answer

Referential integrity ensures that relationships between tables remain consistent. In a relational database, a foreign key constraint enforces that every order's customer ID must match an existing customer ID in the Customers table, preventing orphaned records. This rule directly implements referential integrity as defined by the SQL standard (e.g., via FOREIGN KEY constraints).

Exam trap

The trap here is that candidates often confuse referential integrity with entity integrity, mistakenly thinking that any rule involving a 'valid ID' is about primary keys, when in fact it is about foreign key relationships between tables.

How to eliminate wrong answers

Option B is wrong because data normalization is a design process to reduce data redundancy and avoid anomalies (e.g., 1NF, 2NF, 3NF), not a rule that enforces valid cross-table relationships. Option C is wrong because entity integrity ensures that the primary key of a table is unique and not null, which applies to the Customers table's customer ID column, not to the foreign key relationship from Orders to Customers. Option D is wrong because data consistency is a broader property of the database state (e.g., ensuring all constraints are satisfied), not a specific constraint type; referential integrity is one mechanism to achieve consistency, but the rule itself is a referential integrity constraint.

745
MCQmedium

A company stores customer transaction data in Azure Blob Storage. The data is rarely accessed after 30 days, but must be retained for 7 years for compliance. Which access tier minimizes storage cost while meeting the retention requirement?

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

Archive tier offers the lowest storage cost of any Blob Storage tier, ideal for data that is seldom accessed and due for long-term retention. It accepts retrieval latency of up to 15 hours and carries a minimum 180-day storage commitment, making it perfect for dormant customer transaction records that must be preserved for compliance. This is why it is the correct selection.

Why this answer

The Archive tier is the correct choice because it offers the lowest storage cost for data that is rarely accessed, which aligns with the scenario where data is accessed infrequently after 30 days but must be retained for 7 years. Azure Blob Storage's Archive tier is designed for long-term retention with a retrieval latency of several hours, making it cost-effective for compliance-driven data that does not require immediate access.

Exam trap

The trap here is that candidates may choose the Cool tier thinking it balances cost and access, but they overlook that the Archive tier is significantly cheaper for data that is accessed less than once a year, which is typical for 7-year compliance retention.

How to eliminate wrong answers

Option A is wrong because the Hot tier is optimized for frequent access and has the highest storage cost, which would be wasteful for data that is rarely accessed after 30 days. Option B is wrong because the Cool tier is designed for data accessed infrequently (e.g., every 30 days or more) but still has higher storage costs than Archive and is not the most cost-effective for 7-year retention with rare access. Option C is wrong because the Premium tier is for high-performance, low-latency access (e.g., via Azure Virtual Machines) and is the most expensive, making it unsuitable for rarely accessed compliance data.

746
MCQhard

A financial services company stores account balances in Azure SQL Database (strong consistency) and transaction audit logs in Azure Cosmos DB (eventual consistency by default). A compliance requirement demands that when a transaction is rolled back in the SQL database, the corresponding audit log entries in Cosmos DB must also be removed within a short time frame. Which term best describes the difficulty of maintaining this constraint?

A.ACID compliance
B.Idempotency
C.Distributed transaction coordination
D.Schema flexibility
AnswerC

A financial transfer that debits one account and credits another touches two independent storage systems. Distributed transaction coordination—via a two-phase commit or a saga pattern with compensating actions—ensures atomicity across those stores, so a failure in one step does not leave a partial, inconsistent state. Without such coordination, one side could commit while the other fails, causing account balances to diverge and require manual reconciliation.

Why this answer

The scenario requires coordinating a rollback across two distinct data stores—Azure SQL Database (ACID-compliant, strong consistency) and Azure Cosmos DB (eventual consistency by default). This cross-system transactional consistency is a classic distributed transaction coordination problem, often addressed via patterns like the two-phase commit (2PC) or the saga pattern, but not natively supported between these two services without custom orchestration.

Exam trap

The trap here is that candidates confuse ACID compliance (which is a property of a single database) with the ability to maintain atomicity across multiple independent data stores, leading them to select Option A instead of recognizing the need for distributed transaction coordination.

Why the other options are wrong

A

ACID compliance applies to a single database system (like Azure SQL) ensuring atomicity, consistency, isolation, durability. The question involves coordinating two different databases (SQL and Cosmos DB) with different consistency models, which is beyond ACID's scope.

B

Idempotency ensures that repeated operations produce the same result, but the difficulty here is coordinating atomic rollback across two different databases (SQL and Cosmos DB), not ensuring idempotent retries.

D

Schema flexibility refers to the ability to store data without a fixed schema, which is irrelevant to the challenge of ensuring atomicity across two different databases (Azure SQL and Cosmos DB) with different consistency models.

When would these options actually be correct?

A

A question asking about the property that ensures a database transaction is all-or-nothing, such as 'Which property guarantees that a transaction in a relational database either fully completes or fully rolls back?'

B

A question describing a system where a payment processing API must safely handle duplicate requests (e.g., due to network retries) without causing double charges. The correct answer would be idempotency, as the API should produce the same result regardless of how many times the request is sent.

D

Schema flexibility would be the correct answer in a question asking about the advantage of using a NoSQL database like Cosmos DB over a relational database when dealing with rapidly changing data structures, such as in a content management system where each document can have different fields.

Why candidates pick the wrong answer

A

Candidates see 'transaction rolled back' and 'consistency' and incorrectly associate ACID with the cross-database coordination, not realizing ACID is limited to a single database system.

B

Candidates may confuse idempotency with consistency guarantees, thinking that ensuring operations can be safely retried is the same as maintaining cross-database atomicity.

D

Candidates might confuse the need for data consistency across databases with the flexibility of data models, or they may incorrectly associate Cosmos DB's schema-agnostic nature with solving consistency problems.

747
MCQmedium

A travel booking application stores user itineraries in Azure Cosmos DB using the NoSQL API. Each itinerary document contains: UserID (unique to user), ItineraryID, Destination, BookingDate, and a nested array of Activities. The most common query is: 'Retrieve all itineraries for a specific UserID sorted by BookingDate descending.' To minimize Request Unit (RU) consumption, which partition key should be chosen?

A.ItineraryID
B.UserID
C.Destination
D.BookingDate
AnswerB

UserID is the ideal partition key here because it is both the most common filter in the application's queries ("show me my itineraries") and a high-cardinality value that naturally distributes data across many logical partitions. All documents for a given user are co-located in a single logical partition, so queries for that user's itineraries are single-partition operations, consuming minimal RUs and returning quickly. This directly matches the access pattern and avoids the cross-partition overhead that the other options create.

Why this answer

UserID is the correct partition key because the most common query filters on UserID, ensuring that all itineraries for a specific user are stored in the same physical partition. This allows the query to target a single partition, minimizing cross-partition queries and reducing Request Unit (RU) consumption. A partition key that aligns with the primary query filter is essential for optimal performance and cost efficiency in Azure Cosmos DB.

Exam trap

The trap here is that candidates often choose a unique identifier like ItineraryID as the partition key, thinking it ensures even distribution, but they overlook that the query pattern (filtering by UserID) requires the partition key to match the filter to avoid expensive cross-partition queries.

How to eliminate wrong answers

Option A (ItineraryID) is wrong because ItineraryID is unique per document, leading to a high-cardinality partition key that distributes each itinerary across different partitions; queries for a specific UserID would then require a fan-out to all partitions, increasing RU consumption. Option C (Destination) is wrong because it does not directly align with the query filter on UserID, and multiple users may share the same destination, causing hot partitions and inefficient cross-partition queries. Option D (BookingDate) is wrong because it is a time-based attribute that can create hot partitions (e.g., all bookings on the same date) and does not support the primary query pattern of filtering by UserID, forcing cross-partition scans.

748
MCQmedium

A company runs an e-commerce application backed by an on-premises SQL Server database. They plan to migrate to Azure SQL Database and require automatic failover across two Azure regions for disaster recovery. The application must continue to connect using the same connection string after a failover, with no code changes. Which feature should they implement?

A.Active Geo-Replication
B.Elastic pools
C.Failover groups
D.SQL Server on Azure Virtual Machine with Always On Availability Groups
AnswerC

Failover groups are the correct choice because they automatically replicate databases or elastic pools to a secondary region and provide an automatic failover mechanism that requires no application code changes. The group exposes a single readable/writable listener endpoint that remains identical after failover, so clients keep connecting to the same fully qualified domain name. You can also set a graceful data-loss boundary (RPO) and configure a read-only listener for offloading reporting traffic, making it a fully managed, PaaS-native DR solution.

Why this answer

Failover groups (Option C) enable automatic, geo-redundant failover across two Azure regions while providing a single read-write listener endpoint that remains unchanged after failover. This ensures the application can continue using the same connection string without any code modifications, meeting the stated requirement for disaster recovery with zero application changes.

Exam trap

The trap here is that candidates often confuse Active Geo-Replication with Failover groups, not realizing that only Failover groups provide a single, unchanged connection string endpoint for automatic failover, while Active Geo-Replication requires manual connection string updates.

Why the other options are wrong

A

Active Geo-Replication does not support automatic failover with the same connection string; it requires manual failover and connection string changes, whereas the question demands automatic failover with no code changes.

B

Elastic pools are used to manage and scale multiple databases with varying resource demands, not for disaster recovery or automatic failover with a single connection string.

D

SQL Server on Azure VM with Always On Availability Groups requires managing VMs and does not provide a single connection string that remains unchanged after failover without additional configuration like a listener, which is not the simple, managed solution the question requires.

When would these options actually be correct?

A

Active Geo-Replication would be correct if the question required read-scale workloads or allowed manual failover with connection string updates, such as: 'You need to replicate a database to a secondary region for read-only queries and are willing to update the connection string after a manual failover.'

B

A company has multiple Azure SQL databases with unpredictable usage patterns and wants to optimize cost by sharing resources across databases while ensuring performance isolation.

D

This option would be correct if the question specified that the company needs full control over the SQL Server instance, requires compatibility with on-premises features like SQL Server Agent or CLR, or needs to lift-and-shift existing Always On configurations without redesigning the application.

Why candidates pick the wrong answer

A

Candidates may confuse Active Geo-Replication with Failover Groups because both involve geo-replication, but they overlook that Failover Groups provide the automatic failover and listener endpoint needed for transparent connection string continuity.

B

Candidates may confuse elastic pools with high-availability features because both involve multiple databases, but elastic pools address resource management, not failover.

D

Candidates may confuse the high-availability capabilities of Always On Availability Groups with the managed failover groups feature, assuming that the VM-based solution can also provide automatic failover with a constant connection string, overlooking the additional complexity and management overhead.

749
MCQmedium

A company plans to migrate a 500 GB SQL Server database from on-premises to Azure SQL Database. They require minimal downtime during the migration. Which approach should they use?

A.Export a BACPAC file and import to Azure SQL Database
B.Use Azure Database Migration Service with online migration mode
C.Use Azure Site Recovery to replicate the database
D.Create a full database backup and restore to Azure SQL Database
AnswerB

Correct. Online migration via DMS synchronizes changes in near real-time, allowing the source to stay online until cutover, minimizing downtime.

Why this answer

Azure Database Migration Service (DMS) with online migration mode is the correct approach because it supports minimal-downtime migrations by continuously replicating ongoing changes from the source SQL Server to Azure SQL Database using the transactional replication technology. This allows the source database to remain operational during the migration, and only a brief cutover is needed at the end to switch applications to the target.

Exam trap

The trap here is that candidates often confuse offline backup/restore or BACPAC methods (which are simpler but cause downtime) with the online migration capability of DMS, assuming any Azure tool can achieve minimal downtime without understanding the underlying replication mechanism.

Why the other options are wrong

A

Exporting a BACPAC file requires the database to be online and can cause significant downtime due to data export and import times, especially for a 500 GB database. It does not support minimal downtime migration.

C

Azure Site Recovery is designed for disaster recovery and replication of entire VMs or physical servers, not for online migration of a single database with minimal downtime. It would replicate the entire server environment, which is overkill and not optimized for database migration.

D

Creating a full database backup and restoring to Azure SQL Database requires the source database to be offline or in read-only mode during the backup, causing significant downtime. This does not meet the minimal downtime requirement.

When would these options actually be correct?

A

A company needs to migrate a small database (e.g., under 100 GB) to Azure SQL Database and can tolerate several hours of downtime. The BACPAC method is simple and does not require additional Azure services.

C

A company needs to migrate an entire on-premises SQL Server instance (including multiple databases and server-level objects) to Azure VMs with minimal downtime for disaster recovery purposes. Azure Site Recovery would be the correct choice for replicating the entire server.

D

This approach would be correct if the question specified that the database is small (e.g., under 200 GB), the migration can tolerate several hours of downtime, and the company wants a simple, low-cost method without additional Azure services.

Why candidates pick the wrong answer

A

Candidates may think BACPAC is the standard migration tool for Azure SQL Database, overlooking its limitations for large databases and minimal downtime requirements.

C

Candidates may think Site Recovery can handle database migration because it provides replication and failover capabilities, but they overlook that it is not a database-specific migration tool and does not support online migration to Azure SQL Database.

D

Candidates are familiar with backup and restore operations from on-premises SQL Server and may assume this straightforward method can be used with minimal downtime, overlooking the fact that Azure SQL Database does not support native restore from a full backup without downtime.

750
MCQeasy

A retail company stores customer data in a relational database table with columns for CustomerID, Name, and Email. Product reviews are stored as JSON documents where each document contains review text and a rating. Product images are stored as binary files in Azure Blob Storage. Which of the following correctly categorizes these data types in order: relational table, JSON documents, binary images?

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

Relational database tables are structured because they enforce a fixed schema with defined columns and data types, allowing straightforward SQL queries. JSON is semi-structured since it uses self-describing key-value pairs that can vary from record to record, lacking a rigid schema. Binary image files are unstructured as they contain raw pixel data with no inherent organization or queryable structure, completing the correct classification.

Why this answer

A is correct because relational tables enforce a fixed schema (columns with defined data types), making them structured data. JSON documents have a flexible schema (key-value pairs) but still contain metadata, classifying them as semi-structured. Binary image files in Azure Blob Storage have no inherent structure or schema, making them unstructured data.

This matches the order: structured, semi-structured, unstructured.

Exam trap

The trap here is that candidates often confuse semi-structured data (like JSON) with unstructured data because JSON appears 'flexible,' but it still has a defined key-value structure, whereas truly unstructured data (binary blobs) has no schema at all.

Why the other options are wrong

B

The relational table (structured) is mislabeled as semi-structured, and the JSON documents (semi-structured) are mislabeled as structured, reversing the correct order.

C

Option C orders the data types as unstructured, semi-structured, structured, but the question asks for the order: relational table (structured), JSON documents (semi-structured), binary images (unstructured). This mismatches the correct sequence.

D

The question orders data types as relational table, JSON documents, binary images. Option D (structured, unstructured, semi-structured) incorrectly classifies JSON documents as unstructured and binary images as semi-structured. In reality, JSON is semi-structured and binary images are unstructured.

When would these options actually be correct?

B

If the question asked about a NoSQL key-value store (semi-structured), a relational table (structured), and binary files (unstructured), then the order semi-structured, structured, unstructured would be correct.

C

If the question asked to categorize the data types in the order: binary images, JSON documents, relational table, then the correct answer would be unstructured, semi-structured, structured (Option C).

D

Option D would be correct if the question asked to classify data types in the order: a relational table, a collection of scanned PDF documents (unstructured), and XML files with a schema (semi-structured).

Why candidates pick the wrong answer

B

Candidates may confuse JSON as structured because it has a schema-like format, or mistakenly think relational data is semi-structured due to its tabular nature.

C

Candidates may confuse the order of data types or mistakenly think that JSON documents are unstructured because they lack a fixed schema, overlooking that JSON has inherent structure (key-value pairs).

D

Candidates may confuse JSON as unstructured because it lacks a fixed schema, or mistakenly think binary images have some structure (e.g., file headers), leading them to misorder the categories.

Page 9

Page 10 of 11

Page 11

All pages