Courseiva

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

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

Page 4

Page 5 of 11

Page 6
301
MCQmedium

Refer to the exhibit. A data engineer needs to query the orders.csv file using Azure Synapse Serverless SQL. What is the most efficient way to access this data?

A.Use PolyBase to create external table
B.Use OPENROWSET in Serverless SQL
C.Copy data to Azure SQL Database using ADF
D.Load data into a dedicated SQL pool
AnswerB

OPENROWSET is a T-SQL function available in the built-in serverless SQL endpoint that reads files directly from Azure Data Lake or Blob storage without loading them into a database. You can query CSV, Parquet, JSON, and Delta Lake files by specifying a path and optional WITH clause for schema; the engine processes only the requested data and you pay only for the data scanned. This is the optimal choice for an ad-hoc query because no compute pool, external table, or pipeline must be provisioned beforehand.

Why this answer

Azure Synapse Serverless SQL is designed for on-demand querying of data stored in data lakes without provisioning storage. The OPENROWSET function with the BULK option allows direct querying of CSV files using T-SQL, making it the most efficient method for ad-hoc analysis of the orders.csv file without data movement or schema management.

Exam trap

The trap here is that candidates often confuse PolyBase (which is for dedicated SQL pools) with Serverless SQL's OPENROWSET, or assume that data must be moved to a database before querying, missing the serverless paradigm of query-in-place.

How to eliminate wrong answers

Option A is wrong because PolyBase is used to create external tables in dedicated SQL pools, not in Serverless SQL, and requires defining external data sources and file formats, adding unnecessary overhead for a simple query. Option C is wrong because copying data to Azure SQL Database using ADF involves data movement and additional costs, which is inefficient for a one-time or ad-hoc query. Option D is wrong because loading data into a dedicated SQL pool requires provisioning and managing a dedicated resource, which is overkill and costly for querying a single CSV file.

302
MCQmedium

A company wants to build a modern data warehouse using a lakehouse architecture. They need to store raw data in its native format (e.g., CSV, JSON, Parquet) and also support BI reporting on curated, transformed data. They want to use a single storage layer for both raw and curated data. Which Azure service should they use as the core storage layer?

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

Azure Data Lake Storage Gen2 combines a hierarchical namespace with scalable object storage, enabling it to hold both raw ingest and curated, analytics-ready data in any format (Parquet, Delta, CSV, etc.). This dual role as a unified storage layer makes it the foundational component of a lakehouse architecture, where the same files can serve BI, data science, and machine learning workloads. Its integration with Azure Synapse, Databricks, and Power BI further cements it as the correct answer for building a modern data warehouse on a lakehouse.

Why this answer

Azure Data Lake Storage Gen2 (ADLS Gen2) is the correct choice because it provides a single, unified storage layer that can store raw data in its native format (CSV, JSON, Parquet) in a hierarchical namespace, while also serving as the foundation for curated, transformed data used in BI reporting. It combines the scalability and cost-effectiveness of Azure Blob Storage with the file system semantics and ACLs needed for analytics workloads, making it the ideal core storage layer for a lakehouse architecture.

Exam trap

The trap here is that candidates confuse Azure Synapse Analytics (a compute/query service) with a storage layer, when the question explicitly asks for the 'core storage layer' that holds both raw and curated data, which is ADLS Gen2.

Why the other options are wrong

A

Azure SQL Database is a relational database service for structured, transactional data, not designed for storing raw data in native formats like CSV, JSON, or Parquet, nor for supporting a lakehouse architecture with a unified storage layer for raw and curated data.

B

Azure Synapse Analytics is a unified analytics service that includes dedicated SQL pools and serverless SQL, but it is not a storage layer; it relies on Azure Data Lake Storage Gen2 for storage. The question asks for the core storage layer, not the compute/analytics service.

D

Azure Cosmos DB is a NoSQL database optimized for low-latency, globally distributed transactional workloads, not for storing raw files in native formats or supporting a lakehouse architecture with a single storage layer for raw and curated data.

When would these options actually be correct?

A

A company needs to migrate an on-premises SQL Server database to Azure with minimal changes, requiring a fully managed relational database that supports existing T-SQL queries, stored procedures, and high availability. The correct answer would be Azure SQL Database.

B

A company wants to run large-scale analytics and data warehousing workloads with T-SQL queries on structured and semi-structured data, and needs integrated data integration, big data analytics, and BI capabilities. In that case, Azure Synapse Analytics would be the correct answer as the analytics platform.

D

A question asking for a globally distributed, multi-model database service to handle high-throughput, low-latency transactions for a real-time application (e.g., IoT telemetry, e-commerce cart) where schema flexibility and horizontal scaling are critical.

Why candidates pick the wrong answer

A

Candidates may associate Azure SQL Database with data warehousing and BI reporting due to its support for analytical queries and integration with Power BI, overlooking that it is not designed for storing raw, multi-format files as a data lake.

B

Candidates may confuse Synapse Analytics as a storage layer because it is often used in lakehouse architectures and can directly query data in ADLS Gen2, leading them to think it replaces storage.

D

Candidates may confuse Cosmos DB's support for multiple data models (document, key-value, graph) with the ability to store raw files, or think its flexibility fits a lakehouse scenario without understanding the fundamental difference between a database and a data lake.

303
MCQeasy

A healthcare organization stores patient records in a relational database table with fixed columns for PatientID, Name, and DateOfBirth. Additionally, they store clinical notes as free-form text files for each patient visit. Which statement correctly classifies these data types?

A.Both patient records and clinical notes are examples of unstructured data.
B.Patient records are structured data, and clinical notes are unstructured data.
C.Both patient records and clinical notes are examples of structured data.
D.Patient records are unstructured data, and clinical notes are semi-structured data.
AnswerB

Patient records are structured because the relational model imposes a predetermined schema: each row is a record, each column is an attribute with a defined data type, and relationships are enforced via keys. Clinical notes are unstructured because they are free-form natural language—physicians type observations, diagnoses, and treatment plans with no fixed length, order, or columnar organization. This distinction is fundamental to choosing appropriate storage and analytics tools.

Why this answer

Patient records stored in a relational database table with fixed columns (PatientID, Name, DateOfBirth) conform to a predefined schema, making them structured data. Clinical notes stored as free-form text files lack a fixed schema or organization, which classifies them as unstructured data. Option B correctly identifies this distinction.

Exam trap

The trap here is that candidates confuse 'free-form text' with semi-structured data (e.g., JSON or XML), but semi-structured data has tags or key-value pairs, whereas free-form text has no inherent structure at all.

Why the other options are wrong

A

Patient records with fixed columns (PatientID, Name, DateOfBirth) are structured data, not unstructured. Clinical notes as free-form text files are unstructured, but the option incorrectly classifies both as unstructured.

C

Clinical notes are free-form text files without a predefined schema, making them unstructured data, not structured.

D

Patient records with fixed columns (PatientID, Name, DateOfBirth) are structured data, not unstructured. Clinical notes as free-form text are unstructured, not semi-structured.

When would these options actually be correct?

A

This option would be correct if the question described both patient records and clinical notes as free-form text files or images, with no fixed schema or column structure, such as storing all patient information in narrative text documents.

C

If the question described both patient records and clinical notes as being stored in a relational database with fixed columns (e.g., clinical notes stored as a VARCHAR column with a defined format), then both would be structured data.

D

If the question described patient records as free-form text documents (e.g., scanned PDFs) and clinical notes as JSON files with tags (e.g., diagnosis codes), then patient records would be unstructured and clinical notes semi-structured.

Why candidates pick the wrong answer

A

Candidates may confuse 'unstructured' with 'non-numeric' or think that any data containing text (like clinical notes) makes the entire dataset unstructured, overlooking the structured nature of the relational table.

C

Candidates may think that because both are stored in a database, they are structured, failing to recognize that free-form text files are unstructured regardless of storage location.

D

Candidates may confuse 'unstructured' with 'not numeric' or think that any text is unstructured, and they may overestimate the structure of free-form notes by imagining metadata or formatting.

304
MCQeasy

A company processes sales transactions in real-time from a retail website. Each transaction is recorded as a row in a relational database. Additionally, the company stores weekly sales reports as PDF files. Which statement correctly describes these data types?

A.Transactions are unstructured, reports are semi-structured.
B.Transactions are structured, reports are unstructured.
C.Both are structured because they are files.
D.Both are unstructured because they are digital.
AnswerB

Correct. Transactions have a rigid schema (structured), and PDF files lack a predefined schema (unstructured).

Why this answer

Transactions are structured because they are stored as rows in a relational database, which imposes a fixed schema with defined columns and data types. Weekly sales reports as PDF files are unstructured because they lack a predefined data model and cannot be easily queried using SQL without additional processing. Option B correctly identifies this distinction.

Exam trap

The trap here is that candidates confuse 'file format' with 'data structure', assuming all files are structured, when in fact PDFs are unstructured binary files that lack the row/column schema of relational data.

How to eliminate wrong answers

Option A is wrong because it reverses the definitions: transactions are structured (not unstructured) and reports are unstructured (not semi-structured). Option C is wrong because not all files are structured; PDF files are binary blobs without a row/column schema, unlike relational database tables. Option D is wrong because being digital does not imply unstructured; structured data like relational tables is also digital but has a rigid schema.

305
MCQmedium

A company stores historical sensor data in Azure Blob Storage. The data is accessed only a few times per year for compliance audits, but when requested, it must be available for reading within 15 minutes. The company wants to minimize storage costs. Which blob access tier should they use?

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

The Cool access tier is correct because it is designed for data that is infrequently accessed and retained for at least 30 days, such as historical sensor readings. It has significantly lower storage cost than Hot, and while reads cost more per transaction, the data remains immediately readable or can be retrieved in minutes without the long rehydration wait of Archive. This satisfies the 15-minute availability requirement at a lower cost.

Why this answer

The Cool tier is the optimal choice because it balances low storage cost with the ability to retrieve data within minutes, meeting the 15-minute availability requirement. Archive would incur a retrieval delay of up to 15 hours, which violates the compliance audit SLA. Hot and Premium tiers are more expensive and unnecessary for data accessed only a few times per year.

Exam trap

The trap here is that candidates often choose Archive for its lowest storage cost without considering the mandatory rehydration delay, which can take up to 15 hours and violates the 15-minute availability requirement.

Why the other options are wrong

A

The Hot tier is designed for frequently accessed data and has higher storage costs than Cool. Since the data is accessed only a few times per year, using Hot would unnecessarily increase costs.

C

Archive tier has a retrieval time of up to 15 hours, which exceeds the 15-minute availability requirement for compliance audits.

D

Premium tier is designed for low-latency, high-performance scenarios (e.g., interactive apps) and is the most expensive, contradicting the goal of minimizing storage costs for infrequently accessed data.

When would these options actually be correct?

A

If the data were accessed frequently (e.g., multiple times per day or week) and required low latency, Hot would be the correct tier to minimize access costs and ensure fast retrieval.

C

If the data is rarely accessed and can tolerate a retrieval time of up to 15 hours (e.g., for long-term backup or archival compliance with no time-sensitive retrieval), Archive tier would minimize storage costs.

D

When the question specifies that data requires sub-millisecond latency for frequent reads (e.g., real-time analytics) and cost is not the primary concern, Premium would be correct.

Why candidates pick the wrong answer

A

Candidates may assume that 'Hot' is always the best for availability, overlooking that the question prioritizes cost minimization over access speed, and that the 15-minute retrieval requirement is still met by Cool.

C

Candidates may assume 'historical' and 'few times per year' automatically mean Archive, overlooking the specific 15-minute retrieval requirement.

D

Candidates may mistakenly think 'Premium' implies better overall value or faster retrieval for any scenario, overlooking its high cost and that it's meant for high-performance workloads.

306
MCQmedium

You need to choose a data store for a mobile app that requires real-time synchronization of user preferences across devices. The data is small per user and key-value oriented. Which Azure service is most appropriate?

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

Azure Cosmos DB is correct because it is a globally distributed, multi-model NoSQL database that provides a key-value API along with single-digit-millisecond read and write latency, which directly satisfies a mobile app's need for fast, scalable access. It also offers SDKs for iOS and Android, turnkey global distribution, and multiple consistency levels, enabling low-latency access from any region and supporting offline or sync-based scenarios.

Why this answer

Azure Cosmos DB is the most appropriate choice because it provides global distribution, low-latency reads and writes, and automatic conflict resolution, which are essential for real-time synchronization of user preferences across devices. Its key-value API (e.g., Table API or Core SQL API with a simple partition key) efficiently handles small, per-user data with a key-value orientation, ensuring that changes made on one device are quickly reflected on others.

Exam trap

The trap here is that candidates often confuse Azure Cache for Redis as a primary data store for persistent, synchronized user preferences, overlooking its transient nature and lack of built-in conflict resolution for multi-device scenarios.

How to eliminate wrong answers

Option B (Azure Cache for Redis) is wrong because it is an in-memory cache designed for temporary, volatile data with limited persistence options; it does not provide built-in conflict resolution or durable, globally distributed synchronization for user preferences that must persist across sessions. Option C (Azure Blob Storage) is wrong because it is optimized for large, unstructured binary objects (e.g., images, videos) and lacks the low-latency, key-value access patterns and real-time sync capabilities needed for small, frequently updated user preferences. Option D (Azure SQL Database) is wrong because it is a relational database that requires a fixed schema and is not optimized for simple key-value workloads; its overhead and lack of native conflict resolution make it unsuitable for real-time synchronization of small, per-user key-value data.

307
MCQeasy

A company needs to migrate a large on-premises SQL Server database to Azure. The migration must have minimal downtime and support ongoing replication. Which Azure service should they use?

A.Azure Data Box
B.Azure Data Factory
C.Azure SQL Database
D.Azure Database Migration Service
AnswerD

Azure Database Migration Service (DMS) is the correct choice because it provides online migration capabilities with minimal downtime for on-premises SQL Server databases. DMS performs an initial data and schema copy, then continuously replicates ongoing changes using transaction log shipping, allowing you to cut over only when you are ready. This near-zero downtime approach satisfies the requirement for migrating a large database without an extended outage.

Why this answer

Azure Database Migration Service (DMS) is designed for online migrations with minimal downtime, supporting ongoing replication from SQL Server to Azure SQL Database. It uses the Data Migration Assistant (DMA) for assessment and the Azure DMS for continuous sync, enabling near-zero downtime during cutover.

Exam trap

The trap here is that candidates confuse the target service (Azure SQL Database) with the migration tool, or assume Data Factory can handle live replication, when in fact only DMS provides the necessary online migration and ongoing sync capabilities.

How to eliminate wrong answers

Option A is wrong because Azure Data Box is a physical data transfer appliance for offline bulk data migration, not suitable for minimal downtime or ongoing replication. Option B is wrong because Azure Data Factory is an ETL and orchestration service for data movement and transformation, not a dedicated migration tool with built-in replication and minimal downtime capabilities. Option C is wrong because Azure SQL Database is the target platform, not a migration service; it does not handle the migration process or replication itself.

308
MCQmedium

A company uses Azure SQL Database for an e-commerce platform. The 'Orders' table has millions of rows with columns OrderID (primary key), CustomerID, OrderDate, and TotalAmount. Queries often filter by CustomerID (equality) and OrderDate (range). Currently, these queries are slow. Which index should be created to improve performance?

A.A nonclustered index on OrderID
B.A nonclustered index on (CustomerID, OrderDate)
C.A nonclustered index on OrderDate
D.A clustered index on CustomerID
AnswerB

This composite index covers the query predicate perfectly. CustomerID is the equality column, and OrderDate is the range column. The index allows the database engine to efficiently locate rows for a specific customer and then scan a small range of dates.

Why this answer

The query pattern filters by CustomerID (equality) and OrderDate (range). A composite nonclustered index on (CustomerID, OrderDate) allows SQL Database to seek directly to the matching CustomerID rows and then efficiently scan the ordered OrderDate range within that partition, avoiding a full table scan or key lookup. This index order leverages the index's B-tree structure for both equality and range predicates.

Exam trap

The trap here is that candidates often choose a single-column index on OrderDate (Option C) thinking it covers the range filter, but they overlook that without CustomerID as the leading key, the index cannot efficiently narrow down to a specific customer, resulting in a full index scan instead of a seek.

Why the other options are wrong

A

OrderID is the primary key and likely already has a clustered index. Adding a nonclustered index on OrderID does not help queries filtering by CustomerID and OrderDate, as it does not cover those columns.

C

An index on OrderDate alone would not efficiently support queries filtering by both CustomerID and OrderDate, as it cannot narrow down the search by CustomerID first, leading to unnecessary index scans.

D

A clustered index on CustomerID would physically reorder the entire table by CustomerID, which is not the primary key. This could disrupt the existing primary key structure and may not efficiently support range queries on OrderDate, as the data would be sorted by CustomerID first.

When would these options actually be correct?

A

If the query frequently filters or sorts by OrderID (e.g., searching for a specific order) and the table is a heap (no clustered index), a nonclustered index on OrderID would improve performance.

C

This option would be correct for a question where queries filter only by OrderDate (e.g., range queries) and not by CustomerID, such as 'Find all orders placed in a specific date range'.

D

If the question specified that the primary key is not clustered (e.g., a heap table) and queries frequently filter by CustomerID with equality conditions only (no range on OrderDate), then a clustered index on CustomerID could be beneficial to quickly locate all rows for a given customer.

Why candidates pick the wrong answer

A

Candidates may think indexing the primary key always speeds up queries, without considering that the query predicates are on different columns.

C

Candidates may think indexing the column used in the range filter (OrderDate) is sufficient, overlooking the need to also cover the equality filter (CustomerID) for optimal performance.

D

Candidates may think that indexing the column used in equality filters (CustomerID) is always optimal, and clustering the table on that column seems like a logical way to physically organize data for fast lookups, overlooking the impact on range queries and primary key structure.

309
MCQmedium

A gaming company stores player session data as JSON documents. Each document contains fields like sessionId, userId, startTime, and a varying set of optional fields such as deviceType or campaignId. The application needs to query sessions by userId and startTime range using SQL-like queries, and also by sessionId with low latency. Which Azure Cosmos DB API should the company choose?

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

SQL (Core) API is a native, schema-agnostic document API for Azure Cosmos DB that stores each player session JSON as a resource and lets you query it with standard SQL syntax, including SELECT, WHERE, and even JOINs across documents. It automatically indexes all JSON properties without requiring a predefined schema, making it ideal for the flexible, evolving session data described. Because the requirement is explicitly SQL query support over JSON documents, this API directly matches the scenario.

Why this answer

The SQL (Core) API is the correct choice because it natively supports SQL-like queries over JSON documents, enabling efficient filtering by userId and startTime range. It also provides low-latency point reads by sessionId when a well-designed partition key (e.g., /userId) is used, and it offers automatic indexing of all JSON properties, including optional fields like deviceType or campaignId.

Exam trap

The trap here is that candidates may choose the MongoDB API because they assume 'SQL-like queries' require MongoDB's query language, but the Core API actually provides native SQL syntax and is the only Azure Cosmos DB API that supports SQL directly over JSON documents.

Why the other options are wrong

B

The MongoDB API supports JSON documents and SQL-like queries, but it does not natively support querying by sessionId with low latency using a separate partition key; Cosmos DB's SQL (Core) API provides native support for indexing and querying multiple fields efficiently.

C

The Table API uses key-value storage with a fixed schema and does not support JSON documents with varying fields or SQL-like queries on nested properties like startTime.

D

The Gremlin (Graph) API is designed for graph data models with nodes and edges, not for querying JSON documents with SQL-like queries or low-latency lookups by sessionId.

When would these options actually be correct?

B

A company stores player session data as JSON documents and needs to query by userId and startTime range using MongoDB-compatible syntax, and also requires the ability to use existing MongoDB drivers and tools without modification.

C

A company needs to store structured data (e.g., user profiles) with a partition key and row key, and queries are limited to point lookups or range scans on those keys, with no need for JSON or SQL queries.

D

A social network application needs to model relationships between users (e.g., friends, followers) and perform graph traversals like 'find all friends of friends'. The Gremlin API would be the correct choice for such graph-based queries.

Why candidates pick the wrong answer

B

Candidates may assume that because the data is JSON and requires SQL-like queries, the MongoDB API is suitable, but they overlook that the SQL (Core) API is the native Cosmos DB API with broader query capabilities and better integration with Azure services.

C

Candidates may confuse the Table API's ability to store semi-structured data with the flexibility of JSON documents, or think it supports SQL-like queries because of its name.

D

Candidates may think that because the data is JSON, any API works, or they might confuse 'graph' with 'flexible schema' and assume Gremlin can handle document queries.

310
MCQeasy

An organization needs to run complex queries on petabytes of data stored in Azure Data Lake Storage. They want to use serverless compute to avoid managing infrastructure. Which Azure service should they use?

A.Azure Analysis Services
B.Azure Synapse Serverless SQL pool
C.Azure HDInsight
D.Azure SQL Database
AnswerB

Azure Synapse Serverless SQL pool is the correct choice because it lets you run complex T-SQL queries directly over data stored in Azure Data Lake Storage using built-in OPENROWSET options. It provisions compute automatically and scales transparently based on query needs, so you can query petabytes without managing cluster infrastructure. Because there is no dedicated compute to provision, you are billed only for the data processed, making it ideal for this petabyte-scale, lake-based workload.

Why this answer

Azure Synapse Serverless SQL pool is the correct choice because it provides serverless compute that can run complex T-SQL queries directly against data stored in Azure Data Lake Storage without requiring any infrastructure management. It uses a pay-per-query billing model and can scale automatically to handle petabytes of data, making it ideal for ad-hoc analytics on large-scale data lakes.

Exam trap

The trap here is that candidates often confuse Azure Synapse Serverless SQL pool with Azure SQL Database or HDInsight, mistakenly thinking that any SQL-based service can handle serverless data lake queries, but only Synapse Serverless SQL pool provides true serverless compute with direct, on-demand querying of external data in Azure Data Lake Storage.

How to eliminate wrong answers

Option A is wrong because Azure Analysis Services is a fully managed platform-as-a-service (PaaS) that provides semantic modeling and in-memory analytics, but it is not serverless and requires provisioning of a dedicated server instance; it also does not directly query Data Lake Storage without additional data import or gateway configuration. Option C is wrong because Azure HDInsight is a managed cluster service that requires provisioning and managing virtual machines (e.g., for Hadoop, Spark, or Hive), which contradicts the requirement for serverless compute to avoid infrastructure management. Option D is wrong because Azure SQL Database is a relational database service that requires provisioning a logical server and managing database resources (DTUs or vCores), and it is not designed for serverless querying of petabytes of data in Data Lake Storage; it stores data in its own managed storage, not directly on the data lake.

311
MCQmedium

A company is migrating a legacy on-premises database to Azure. They require the ability to run cross-database queries within the same logical server, full control over database collation settings, and want to minimize management overhead for infrastructure patching. The database size is under 1 TB and they do not need instance-level features like SQL Agent jobs or linked servers. Which Azure SQL offering should they choose?

A.Azure SQL Database
B.Azure SQL Managed Instance
C.SQL Server on Azure Virtual Machine
D.Azure Synapse SQL pool
AnswerA

Azure SQL Database is a PaaS service that handles patching, supports elastic query for cross-database queries, and allows collation settings on a per-database level. It does not include SQL Agent or linked servers, which are not required here.

Why this answer

Azure SQL Database is the correct choice because it supports cross-database queries within the same logical server via elastic queries, allows full control over database-level collation settings, and is a fully managed Platform-as-a-Service (PaaS) offering that handles infrastructure patching automatically. With a database size under 1 TB and no need for instance-level features like SQL Agent jobs or linked servers, Azure SQL Database meets all requirements while minimizing management overhead.

Exam trap

The trap here is that candidates often confuse Azure SQL Database with Azure SQL Managed Instance, assuming that cross-database queries require instance-level features like linked servers, but Azure SQL Database supports this via elastic queries without the need for instance-level management.

Why the other options are wrong

B

Azure SQL Managed Instance provides instance-level features like SQL Agent jobs and linked servers, which the company does not need, and it does not support cross-database queries within the same logical server as easily as Azure SQL Database's elastic query. Additionally, it has more management overhead than Azure SQL Database.

C

SQL Server on Azure VMs requires you to manage patching and infrastructure, contradicting the requirement to minimize management overhead. It also does not support cross-database queries within the same logical server without linked servers, which is not desired.

D

Azure Synapse SQL pool is designed for large-scale data warehousing and analytics, not for general-purpose transactional workloads. It lacks support for cross-database queries within the same logical server and does not provide full control over database collation settings.

When would these options actually be correct?

B

A company needs to migrate an on-premises database to Azure with minimal changes, requires instance-scoped features such as SQL Agent jobs, linked servers, or cross-database transactions, and has databases up to 8 TB. They also want automated patching and backups, but need higher compatibility with on-premises SQL Server.

C

A question requiring full control over the operating system, need to install custom software, or need for instance-level features like SQL Agent jobs, linked servers, or legacy dependencies that are not supported in PaaS offerings.

D

A company needs to run complex analytical queries on petabyte-scale data, integrating with big data and machine learning pipelines, and requires massive parallel processing (MPP) architecture. They do not need transactional consistency or fine-grained collation control.

Why candidates pick the wrong answer

B

Candidates may think Managed Instance is the best of both worlds—offering more compatibility than Azure SQL Database while still being PaaS—but they overlook that the question explicitly states no need for instance-level features and prioritizes minimal management overhead.

C

Candidates may think that a VM offers the most control and flexibility, and they might overlook the management overhead and the specific requirement for cross-database queries within the same logical server without linked servers.

D

Candidates may confuse Synapse SQL pool with a general-purpose database offering because it supports T-SQL queries and can handle large datasets, overlooking its specialized data warehousing focus and lack of transactional features.

312
MCQeasy

A company uses Azure SQL Database and needs to audit all data modifications (INSERT, UPDATE, DELETE) for compliance purposes. The audit logs must be stored for 7 years. Which feature should they enable?

A.Advanced Threat Protection
B.SQL Database auditing
C.Vulnerability assessment
D.Transparent Data Encryption (TDE)
AnswerB

Azure SQL Database auditing tracks database events and writes them to an audit log in Azure Storage, Azure Monitor, or Log Analytics, capturing actions like INSERT, UPDATE, and DELETE along with user, time, and affected data. This feature retains the logs for a configurable period, which can be years, enabling the company to prove and review exactly what data was modified and by whom. It directly meets the need to audit all data modifications.

Why this answer

SQL Database auditing captures all data modifications (INSERT, UPDATE, DELETE) and can store logs in Azure storage, Log Analytics, or Event Hubs with retention up to 7 years. Option A is wrong because Advanced Threat Protection detects suspicious activities, not audits modifications. Option C is wrong because vulnerability assessment scans for security weaknesses, not logging changes.

Option D is wrong because Transparent Data Encryption (TDE) encrypts data at rest, it does not log modifications.

313
MCQmedium

In a banking application, a transaction transfers $100 from Account A to Account B. The system deducts $100 from Account A successfully, but due to a network error, the credit to Account B fails. The application rolls back the deduction from Account A, ensuring that neither account is affected. Which ACID property is being enforced?

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

Atomicity guarantees that a transaction's operations are executed as an all-or-nothing unit. If the $100 debit from one account succeeds but the $100 credit to another account fails, atomicity requires the entire transaction to be rolled back, returning the database to its pre-transaction state. Without atomicity, a partial transfer would leave the bank with inconsistent balances and potential lost or duplicated funds.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. In this scenario, the deduction from Account A and the credit to Account B must both succeed or both fail entirely. When the credit to Account B fails, the system rolls back the deduction from Account A, preserving the all-or-nothing nature of the transaction.

This is the core behavior of atomicity in ACID-compliant database systems like Azure SQL Database or SQL Server.

Exam trap

The trap here is that candidates confuse the rollback action with consistency, because both involve maintaining a correct state, but atomicity specifically governs the all-or-nothing completion of the transaction itself, not the validity of the data rules.

Why the other options are wrong

B

Consistency ensures that a transaction transforms the database from one valid state to another, but here the rollback due to failure maintains consistency. The key property demonstrated is atomicity, which ensures the entire transaction is treated as a single unit that either fully completes or fully rolls back.

C

Isolation ensures concurrent transactions do not interfere with each other, but this scenario involves a single transaction that fails partway; the rollback enforces atomicity (all-or-nothing), not isolation.

D

Durability ensures that committed transactions persist permanently, even after system failures. In this scenario, the transaction was rolled back, not committed, so durability is not relevant.

When would these options actually be correct?

B

In a scenario where a transaction deducts $100 from Account A and credits $100 to Account B, but the credit violates a constraint (e.g., Account B's balance exceeds a limit), causing the transaction to fail and roll back. The question would ask which property ensures the database remains in a valid state before and after the transaction.

C

A question where two transactions run simultaneously, e.g., Transaction 1 reads Account A balance while Transaction 2 transfers money from Account A to B, and the system prevents Transaction 1 from seeing intermediate states (e.g., uncommitted debit). Isolation would be the property ensuring each transaction appears to execute in isolation.

D

Durability would be correct if the question described a transaction that successfully completed (e.g., both debit and credit were committed) and then the system crashed, but upon recovery the changes were still present.

Why candidates pick the wrong answer

B

Candidates may confuse consistency with atomicity because both involve transaction correctness. They might think that rolling back to maintain data integrity is a consistency property, not realizing that atomicity is the mechanism that enables the rollback.

C

Candidates confuse isolation with atomicity because both deal with transaction boundaries; they think preventing partial effects is about isolation rather than the all-or-nothing guarantee of atomicity.

D

Candidates may confuse durability with the overall reliability of transactions, or think that because the system recovers from a network error, durability is being enforced.

314
MCQeasy

A banking system processes a money transfer between two accounts. The system is designed so that after the transaction is committed, the results are permanently saved and survive any subsequent system failure, such as a power outage. Which ACID property ensures this behavior?

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

Durability is the ACID property that guarantees once a transaction is committed, its changes are permanently recorded in non-volatile storage, even if a crash occurs immediately afterward. In a money transfer scenario, the updated balances in both the source and destination accounts must survive a power loss, disk failure, or system restart to prevent the transferred funds from disappearing. This is implemented via write-ahead logging or journaling (e.g., SQL Server transaction log), where commit records are forced to disk before the transaction is acknowledged as successful.

Why this answer

Durability ensures that once a transaction is committed, its changes are permanently stored and survive system failures, such as power outages or crashes. In this banking scenario, the money transfer results are written to non-volatile storage (e.g., disk) via a write-ahead log, guaranteeing that the committed state is recoverable even after a restart.

Exam trap

The trap here is that candidates often confuse durability with atomicity, thinking that 'surviving failures' means the transaction either completes fully or not at all, but atomicity handles the rollback of partial transactions, not the persistence of committed ones.

How to eliminate wrong answers

Option B (Atomicity) is wrong because atomicity ensures that a transaction is treated as an all-or-nothing unit, meaning either all operations complete or none do, but it does not guarantee that committed data survives failures. Option C (Consistency) is wrong because consistency ensures that a transaction brings the database from one valid state to another, preserving integrity constraints, but it does not address persistence after a commit. Option D (Isolation) is wrong because isolation ensures that concurrent transactions do not interfere with each other, preventing dirty reads or lost updates, but it does not provide durability against system crashes.

315
MCQhard

Refer to the exhibit. A developer is creating an ARM template for an Azure Synapse workspace. What is the purpose of the 'defaultDataLakeStorage' property?

A.Sets the location for pipeline execution history
B.Defines the primary storage account for the workspace
C.Specifies the storage account for Apache Spark logs
D.Configures the storage for SQL pool backups
AnswerB

This property, required in the ARM template for Microsoft.MachineLearningServices/workspaces, accepts the resource ID of an Azure Storage account that becomes the workspace's default datastore. The workspace then uses that account for storing datasets, model artifacts, and run outputs. It serves as the primary storage backing the workspace's file and artifact persistency, which is why it is called the primary storage account.

Why this answer

The 'defaultDataLakeStorage' property in an ARM template for Azure Synapse Analytics defines the primary Azure Data Lake Storage Gen2 account that the workspace uses as its default storage. This storage account is where the workspace stores its data, including the data lake files and the metadata for the SQL and Spark engines. It is essential for the workspace to function, as it provides the underlying storage for tables, pipelines, and other workspace assets.

Exam trap

The trap here is that candidates confuse the 'defaultDataLakeStorage' property with a configuration for specific features like Spark logs or backups, when in fact it is the foundational storage account that the entire workspace relies on for its primary data lake operations.

How to eliminate wrong answers

Option A is wrong because pipeline execution history is stored in the Azure Synapse workspace's built-in database (the 'control' database) or in a user-configured log analytics workspace, not in the defaultDataLakeStorage property. Option C is wrong because Apache Spark logs are written to a separate storage location (often a user-specified container or a workspace-managed location) and are not configured via the defaultDataLakeStorage property; that property is for the primary data lake, not Spark-specific logs. Option D is wrong because SQL pool backups are managed by Azure Synapse's built-in backup service and are stored in the workspace's default storage account automatically, but the 'defaultDataLakeStorage' property does not configure backup settings; it defines the primary storage account for the workspace's data.

316
MCQmedium

A database designer wants to reduce data redundancy and improve data integrity by splitting a large table into multiple related tables based on functional dependencies. This process is known as:

A.Denormalization
B.Normalization
C.Partitioning
D.Indexing
AnswerB

Normalization is the formal process of decomposing large tables into smaller, related tables based on functional dependencies, with the goal of eliminating duplicate data and ensuring each fact is stored only once. By applying normal forms such as 1NF, 2NF, and 3NF, the designer removes update anomalies and ensures consistency, directly satisfying the requirement to reduce data redundancy.

Why this answer

Normalization is the process of organizing a relational database into multiple related tables to reduce data redundancy and improve data integrity by eliminating functional dependencies that cause anomalies. This is a core concept in relational database design, directly aligning with the scenario described in the question.

Exam trap

The trap here is that candidates often confuse normalization with partitioning, because both involve splitting tables, but partitioning is a physical storage optimization, not a logical design technique for reducing redundancy.

How to eliminate wrong answers

Option A is wrong because denormalization is the opposite process—it intentionally adds redundancy by merging tables to improve read performance, often at the cost of data integrity. Option C is wrong because partitioning splits a table horizontally or vertically for performance or manageability, but it does not inherently reduce redundancy or address functional dependencies. Option D is wrong because indexing creates data structures to speed up query performance on existing tables, but it does not restructure tables to eliminate redundancy or enforce integrity.

317
MCQeasy

A company stores customer names, addresses, and order history. They need to perform complex queries that join customer and order data. Which type of data store is most appropriate for this scenario?

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

A relational database is the best fit because it stores customers and order history in separate, normalized tables linked by foreign keys, such as a customer ID. ANSI SQL supports JOIN operations to combine these tables on demand, so you can query a specific customer's details alongside all their past orders. Enforcing a defined schema and referential integrity ensures names, addresses, and order records remain consistent and accurate. This matches the structured, transactional nature of customer/order data.

Why this answer

A relational database (e.g., Azure SQL Database) is most appropriate because the scenario requires joining customer and order data via complex queries. Relational databases enforce a fixed schema with tables, primary keys, and foreign keys, enabling efficient JOIN operations using SQL. This structure ensures data integrity and supports ACID transactions, which are essential for accurate order history and customer records.

Exam trap

The trap here is that candidates often choose a document database (Option C) because they associate 'complex queries' with JSON flexibility, but fail to recognize that 'joining' specifically requires relational database features like SQL JOINs and foreign keys, which document stores lack.

Why the other options are wrong

A

Key-value stores do not support complex queries or joins across multiple data types; they are optimized for simple lookups by key, not for joining customer and order data.

C

Document databases store semi-structured data (e.g., JSON) and are optimized for queries within a single document, not for complex joins across multiple collections. The requirement for joining customer and order data makes a relational database more appropriate.

D

Graph databases are optimized for highly interconnected data with complex relationships (e.g., social networks), not for joining structured tabular data like customer and order history, which is better handled by relational databases.

When would these options actually be correct?

A

A question that asks for a data store to cache user session data or store simple key-value pairs like configuration settings, where low latency and high throughput are required and no complex queries are needed.

C

A company stores product catalogs with varying attributes (e.g., electronics, clothing) and needs to retrieve entire product details without complex joins. A document database would be correct because it handles schema flexibility and nested data efficiently.

D

A question requiring analysis of relationships between entities, such as 'Which data store is best for mapping fraud rings by analyzing connections between accounts, transactions, and devices?' would make graph database correct.

Why candidates pick the wrong answer

A

Candidates may think key-value stores are fast for any data retrieval, overlooking that they lack query capabilities for relational data and joins.

C

Candidates may confuse document databases with relational databases, thinking that JSON documents can easily represent relationships, but they overlook that complex joins are inefficient in document stores.

D

Candidates may think 'complex queries' and 'join' imply graph databases because they handle relationships well, but they overlook that the data is structured and the joins are typical SQL joins, not graph traversals.

318
MCQhard

A company stores user session data for a web application. Each session has a unique SessionID, UserID, start time, end time, and a variable set of attributes (e.g., pages visited, clicks, device type). The workload requires low-latency reads by SessionID and occasional queries by UserID and time range. Schema flexibility is critical because the attributes evolve over time. The team wants a fully managed NoSQL database that supports secondary indexing. Which Azure data store should they choose?

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

Correct. Cosmos DB's NoSQL API natively supports JSON documents with flexible schema. It offers low-latency reads on the partition key and allows secondary indexes to support queries on other attributes like UserID.

Why this answer

Azure Cosmos DB (NoSQL API) is correct because it is a fully managed NoSQL database that offers low-latency reads by SessionID (using a partition key), supports secondary indexing for queries by UserID and time range, and provides schema flexibility for evolving session attributes. Its multi-model API and global distribution meet the workload requirements without manual indexing or schema management.

Exam trap

The trap here is that candidates may confuse Azure Table Storage (which is also NoSQL and schema-flexible) with Cosmos DB, but Table Storage lacks secondary indexing, making it unsuitable for queries by UserID and time range without expensive scans.

How to eliminate wrong answers

Option B (Azure SQL Database) is wrong because it is a relational database requiring a fixed schema, which contradicts the need for schema flexibility with evolving attributes. Option C (Azure Table Storage) is wrong because it does not support secondary indexing; queries by UserID and time range would require full table scans, failing the low-latency requirement. Option D (Azure Blob Storage) is wrong because it is an object store for unstructured data (e.g., files, images), not a database with query capabilities or indexing for session data.

319
MCQmedium

Refer to the exhibit. You are reviewing an ARM template for a new storage account. The storage account will store data that must be accessible from any Azure region and must be highly durable. Which change should you make to the template?

A.Set supportsHttpsTrafficOnly to false
B.Change the SKU name to Premium_LRS
C.Change the SKU name to Standard_GRS
D.Change the kind to BlobStorage
AnswerC

Changing the SKU name to Standard_GRS switches the storage account to geo-redundant storage, which synchronously copies your data three times within the primary region and then asynchronously copies it to a paired secondary region. If the primary region becomes unavailable, Azure can fail over to the secondary copy, so data survives a regional outage. This directly meets the ARM template requirement for higher durability across regions.

Why this answer

Standard_GRS (Geo-Redundant Storage) is the correct SKU because it replicates data synchronously three times within a primary region and asynchronously to a secondary region hundreds of miles away, ensuring high durability (11 nines) and accessibility from any Azure region via read-access (RA-GRS). The requirement for data to be accessible from any Azure region and highly durable aligns with GRS's geo-replication, whereas LRS only replicates within a single datacenter and Premium_LRS is for low-latency workloads, not geo-accessibility.

Exam trap

Microsoft often tests the misconception that changing the 'kind' (e.g., to BlobStorage) or disabling HTTPS affects durability or geo-accessibility, when in fact only the SKU name (replication strategy) controls these properties, and candidates confuse security settings with replication settings.

How to eliminate wrong answers

Option A is wrong because setting supportsHttpsTrafficOnly to false disables HTTPS enforcement, which is a security setting unrelated to durability or regional accessibility; it would expose data to insecure HTTP traffic. Option B is wrong because Premium_LRS uses SSD-based storage with local redundancy only, offering lower durability (11 nines vs. 16 nines for GRS) and no geo-replication, failing the 'accessible from any Azure region' requirement. Option D is wrong because changing the kind to BlobStorage restricts the account to blob-only storage (block blobs and append blobs), but the question does not specify blob-only data; moreover, the kind does not affect durability or geo-accessibility—that is determined by the SKU.

320
MCQhard

A company operates a high-volume order processing system on Azure SQL Database. During peak hours, many concurrent transactions try to insert and update rows in the same table, causing contention on page latches. Indexing and query optimization are already tuned. Which feature should the company implement to reduce write contention while preserving ACID properties?

A.Read Scale-out
B.In-Memory OLTP
C.Elastic Database Query
D.Transparent Data Encryption (TDE)
AnswerB

In-Memory OLTP creates memory-optimized tables and can use natively compiled stored procedures, which avoid the latch and lock overhead typical of disk-based tables by using optimistic concurrency and row-versioning. For a high-volume order processing system, this directly attacks the primary bottlenecks—latch contention and blocking on hot b-tree pages—so more transactions can commit concurrently with fewer retries and lower wait times. This makes it the appropriate choice from the listed options for improving write performance under heavy concurrent transaction load.

Why this answer

In-Memory OLTP is correct because it uses memory-optimized tables and natively compiled stored procedures to reduce latch contention by eliminating the need for page latches entirely. Transactions operate directly on in-memory data structures, using optimistic multi-version concurrency control (MVCC) to detect conflicts without blocking, which preserves ACID properties while allowing high concurrency.

Exam trap

The trap here is that candidates confuse In-Memory OLTP with caching or read optimization, but the question specifically targets write contention and ACID preservation, which In-Memory OLTP uniquely addresses through latch-free design and optimistic concurrency.

How to eliminate wrong answers

Option A is wrong because Read Scale-out is designed to offload read-only workloads to a read-only replica, not to reduce write contention on the primary database. Option C is wrong because Elastic Database Query enables cross-database querying across shards or databases, but does not address intra-table latch contention or improve write performance. Option D is wrong because Transparent Data Encryption (TDE) performs real-time encryption/decryption of data at rest and has no effect on concurrency, locking, or latch contention.

321
MCQhard

A healthcare application stores patient medical history in a relational database. The system must ensure that after a transaction updates multiple records (e.g., diagnosis and medication), all changes are saved or none are saved. This property is best described as:

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

In this healthcare scenario, Atomicity guarantees that a multi-step transaction—such as writing a patient diagnosis, associated medications, and lab results together—either commits all changes to the medical history or rolls back completely. If any statement in the transaction fails, the database discards all earlier writes, leaving the patient record untouched. This all-or-nothing behavior directly matches the requirement that incomplete updates never appear, which is why Atomicity is correct. Azure SQL Database uses a transaction log and rollback segments to enforce this property even when the service fails mid-transaction.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. In the context of a relational database storing patient medical history, if a transaction updates both the diagnosis and medication records, atomicity guarantees that either both updates are committed or both are rolled back, preventing partial updates that could leave the data in an inconsistent state.

Exam trap

The trap here is that candidates often confuse atomicity with consistency, mistakenly thinking that 'all-or-nothing' is about maintaining data rules, when in fact atomicity is specifically about the transaction's indivisibility at the write level.

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, respecting all defined rules (e.g., constraints, triggers), but it does not directly enforce the all-or-nothing behavior of multiple record updates. Option C (Durability) is wrong because durability guarantees that once a transaction is committed, its changes persist even after a system failure, but it does not control whether the transaction is fully applied or rolled back. Option D (Isolation) is wrong because isolation ensures that concurrent transactions do not interfere with each other, preventing dirty reads or lost updates, but it does not mandate that all changes within a single transaction are saved or none are saved.

322
Multi-Selectmedium

Which TWO Azure services can be used to orchestrate and automate data pipelines? (Choose two.)

Select 2 answers
A.Azure SQL Database
B.Azure Synapse Pipelines
C.Power BI
D.Azure Databricks
E.Azure Data Factory
AnswersB, E

Azure Synapse Pipelines provide cloud-scale data integration and orchestration within the Azure Synapse Analytics workspace. They are built on the same engine as Azure Data Factory, allowing you to create and schedule data-driven pipelines to ingest, transform, and publish data across hybrid and multi-cloud environments.

Why this answer

Azure Data Factory (E) is a dedicated cloud-based ETL and data integration service that allows you to create, schedule, and orchestrate data pipelines at scale. Azure Synapse Pipelines (B) is built on the same engine as Azure Data Factory and provides native pipeline orchestration within the Synapse Analytics workspace, enabling you to move and transform data across various sources and sinks. Both services offer visual design tools, code-free transformations, and robust scheduling capabilities for automating data workflows.

Exam trap

The trap here is that candidates often confuse Azure Databricks (which can run data transformation code) with a pipeline orchestration service, but it lacks the native scheduling, dependency management, and visual pipeline designer that Azure Data Factory and Synapse Pipelines provide.

323
MCQhard

A company uses Azure Synapse Analytics to run both interactive queries and large batch loads. The interactive queries must have consistent performance regardless of batch load activity. Which Synapse feature should the company use?

A.Workload management with workload isolation.
B.Result-set caching for frequently run queries.
C.Materialized views for aggregate data.
D.Data compression with columnstore indexes.
AnswerA

Workload management with workload isolation in Azure Synapse uses workload groups and classifiers to assign queries to groups with a reserved amount of resources, such as MIN_PERCENTAGE_RESOURCE. This guarantees that critical queries receive a defined proportion of compute capacity, preventing concurrent workloads from starving them. Unlike caching or compression, it actively enforces resource allocation rather than simply speeding up individual queries.

Why this answer

Workload management with workload isolation in Azure Synapse Analytics allows you to reserve resources for specific workloads, such as interactive queries, ensuring they have consistent performance even when large batch loads are running. By creating a workload group with 'REQUEST_MIN_RESOURCE_PERCENT' set to a non-zero value, you guarantee a minimum amount of resources are always available for that group, preventing contention from other workloads.

Exam trap

The trap here is that candidates confuse performance optimization features like caching or materialized views with resource governance features, assuming they provide isolation when they only improve query speed without guaranteeing resource availability.

How to eliminate wrong answers

Option B is wrong because result-set caching improves performance for repeated queries by storing results in memory, but it does not isolate resources or guarantee consistent performance during concurrent batch loads. Option C is wrong because materialized views pre-compute and store aggregated data, reducing query execution time, but they do not provide resource isolation or protect interactive queries from batch load activity. Option D is wrong because data compression with columnstore indexes improves storage efficiency and query performance through data compression and columnar storage, but it does not manage resource allocation or prevent performance degradation from concurrent workloads.

324
Multi-Selecthard

Which THREE of the following are valid Azure data storage services? (Choose three.)

Select 3 answers
A.Azure Files
B.Azure Blob Storage
C.Azure Redis Cache
D.Azure Table Storage
E.Azure Service Bus
AnswersA, B, D

Azure Files is a fully managed file share service that provides Server Message Block (SMB) and Network File System (NFS) protocols, enabling typical network-mounted drive access from multiple VMs or on-premises clients. It is a valid Azure data storage option because it stores files in a shared, persistent manner, similar to a traditional file server but without the maintenance overhead. This differentiates it from block or object storage, making it the correct answer for scenarios requiring file-level access and standard file-sharing protocols.

Why this answer

Azure Files provides fully managed file shares in the cloud that can be accessed via the Server Message Block (SMB) protocol or the Network File System (NFS) protocol. It is a valid Azure data storage service because it stores data as files in a hierarchical structure, making it suitable for lift-and-shift scenarios for on-premises file servers.

Exam trap

The trap here is that candidates may confuse Azure Redis Cache and Azure Service Bus as data storage services because they store data temporarily, but the DP-900 exam defines 'data storage services' as those designed for persistent, structured or unstructured data storage, not transient messaging or caching.

325
MCQeasy

A retail company stores product information in a relational database table with fixed columns: ProductID (integer), Name (string), Price (decimal). They also store customer reviews as JSON documents where each review may contain different fields such as rating, comment, and optional images. Additionally, they store product images as JPEG files in Azure Blob Storage. Which of the following correctly classifies these data types from most structured to least structured?

A.Structured (product info), Semi-structured (reviews), Unstructured (images)
B.Semi-structured (product info), Structured (reviews), Unstructured (images)
C.Unstructured (product info), Semi-structured (reviews), Structured (images)
D.Structured (product info), Unstructured (reviews), Semi-structured (images)
AnswerA

This pairing is correct because the product table resides in a relational database where each row maps to a fixed set of typed columns, making it structured data. Customer reviews stored as JSON documents contain key-value pairs and nested objects that can vary between records, which is the defining characteristic of semi-structured data. JPEG images are stored as compressed binary files that have no inherent row, column, or field structure, so they are unstructured. Together, these three categories accurately reflect the data-types question being tested.

Why this answer

Product info in a relational table with fixed columns (ProductID, Name, Price) is structured data. Customer reviews stored as JSON documents, which may have varying fields like rating, comment, and optional images, are semi-structured because they have a flexible schema. Product images stored as JPEG files in Azure Blob Storage are unstructured binary data.

This ordering from most to least structured matches option A.

Exam trap

Microsoft often tests the distinction between semi-structured and unstructured data, where candidates mistakenly classify JSON as unstructured because it lacks a fixed schema, but JSON is semi-structured due to its inherent key-value structure and optional fields.

Why the other options are wrong

B

Product info uses fixed columns (ProductID, Name, Price) making it structured, not semi-structured. Reviews are JSON with varying fields, which is semi-structured, not structured.

C

Product info is stored in a relational table with fixed columns, making it structured, not unstructured. Images are binary files without schema, making them unstructured, not structured.

D

Customer reviews are stored as JSON documents with varying fields, which is semi-structured data, not unstructured. Unstructured data lacks a predefined data model, like images, not JSON.

When would these options actually be correct?

B

If the product info were stored as JSON with varying fields (e.g., optional attributes) and reviews were stored in a fixed-schema table, then B would be correct: semi-structured (product info), structured (reviews), unstructured (images).

C

If the question asked to classify data from least structured to most structured, then unstructured (images), semi-structured (reviews), structured (product info) would be correct.

D

If the question described reviews as free-text comments without any schema (e.g., stored as plain text files) and product info as JSON with flexible fields, then product info would be semi-structured, reviews unstructured, and images semi-structured (if metadata is stored).

Why candidates pick the wrong answer

B

Candidates may confuse 'relational database' with semi-structured data, or mistakenly think JSON is always structured because it has key-value pairs, overlooking schema flexibility.

C

Candidates may confuse the terms 'structured' and 'unstructured' or misread the ordering direction (most to least vs. least to most).

D

Candidates may confuse 'unstructured' with 'non-tabular' or think JSON is unstructured because it lacks a fixed schema, overlooking that JSON still has a structure of key-value pairs.

326
MCQmedium

A company uses Azure SQL Database for a financial system. The Transactions table contains millions of rows. Queries frequently aggregate data for the current month, but also need to retain historical data for 7 years. The company wants to improve query performance for the monthly aggregations and simplify data archiving. Which design should they implement?

A.Create a clustered columnstore index on the entire table.
B.Partition the table by month and create aligned indexes.
C.Use Azure SQL Database elastic pool for the database.
D.Implement transparent data encryption.
AnswerB

Partitioning the table by month and creating aligned indexes is correct because it enables partition elimination for queries that filter on months, directly improving performance for monthly reporting. Aligned indexes—where every index is partitioned on the same partition column—allow partition switching to be fast and atomic: you can move an entire month of historical data to an archive table in seconds without touching the rest of the table. This both simplifies archiving and keeps indexes consistent, solving both stated requirements.

Why this answer

Partitioning the Transactions table by month allows SQL Server to perform partition elimination during queries that aggregate data for the current month, scanning only the relevant partition(s) instead of the entire table. Aligned indexes ensure that index structures follow the same partition scheme, maintaining efficiency for both queries and maintenance. This design also simplifies data archiving by enabling fast partition switching to move older months out of the table without costly delete operations.

Exam trap

The trap here is that candidates confuse performance features like columnstore indexes or elastic pools with the specific need for partition elimination and data archiving, overlooking that partitioning directly addresses both the query performance and data lifecycle requirements.

How to eliminate wrong answers

Option A is wrong because a clustered columnstore index is optimized for large-scale analytical workloads and data warehousing, not for transactional systems with frequent point lookups or updates; it would degrade performance for the financial system's mixed workload. Option C is wrong because an elastic pool is a resource management feature for scaling multiple databases, not a design choice to improve query performance or archiving for a single table. Option D is wrong because transparent data encryption (TDE) provides security at rest but has no impact on query performance or data archiving capabilities.

327
MCQhard

A financial services company uses Azure Synapse Analytics to process large volumes of transaction data. They have a dedicated SQL pool (formerly SQL DW) that ingests curated, aggregated data nightly from a data lake. Data analysts need to run ad-hoc, exploratory T-SQL queries on raw transaction data stored as Parquet files in Azure Data Lake Storage Gen2. These queries vary widely in complexity and frequency. The company wants to minimize costs for these ad-hoc queries while still using full T-SQL capabilities. Which approach should they recommend?

A.Use external tables in the dedicated SQL pool to query the data lake directly.
B.Create a serverless SQL pool endpoint to query the data lake directly.
C.Load the raw data into the dedicated SQL pool before querying.
D.Use Azure Data Explorer to query the data lake.
AnswerB

Creating a serverless SQL pool endpoint lets you issue standard T-SQL queries directly against Parquet, JSON, CSV, or other files in the data lake using OPENROWSET or external tables, with compute resources dynamically spawned only while a query is executing. Because billing is per byte of data scanned rather than per minute of provisioned capacity, the service auto-scales to the query at hand and is ideal for sporadic, ad-hoc exploration. There is no need to ingest or transform data first, so analysts can run immediate exploratory queries with full T-SQL projection, filtering, and joins across lake files.

Why this answer

Serverless SQL pool in Azure Synapse Analytics is designed for ad-hoc, on-demand querying of data lake files (like Parquet) without provisioning or paying for dedicated compute resources. It supports full T-SQL syntax and charges only for the data processed per query, making it cost-effective for exploratory workloads with variable complexity and frequency.

Exam trap

The trap here is that candidates often confuse external tables in a dedicated SQL pool with serverless SQL pool, assuming both are equally cost-effective, but they overlook that dedicated SQL pool incurs fixed compute costs regardless of usage, while serverless SQL pool is truly pay-per-query.

Why the other options are wrong

A

External tables in a dedicated SQL pool require the pool to be running and incur compute costs even when idle, making them cost-inefficient for ad-hoc, infrequent queries on raw data. Serverless SQL pool is pay-per-query and better suited for this scenario.

C

Loading raw data into the dedicated SQL pool incurs storage and compute costs for data that is only queried ad-hoc, and the dedicated SQL pool is optimized for curated, aggregated data, not raw exploratory queries.

D

Azure Data Explorer (ADX) is optimized for interactive analytics on large volumes of streaming and time-series data, not for full T-SQL capabilities. The question requires full T-SQL support for ad-hoc queries, which ADX does not provide (it uses KQL).

When would these options actually be correct?

A

If the company needed to combine raw data from the data lake with curated data already in the dedicated SQL pool in a single query, and the dedicated SQL pool was already active for other workloads, external tables would allow seamless joins without moving data.

C

This option would be correct if the company required frequent, high-performance queries on the raw data, and the data volume was manageable within the dedicated SQL pool's storage, or if the queries needed to join raw data with the curated data in the pool frequently.

D

A company needs to run high-performance, interactive queries on large volumes of streaming telemetry data (e.g., IoT sensor logs) with low latency, and they are comfortable using Kusto Query Language (KQL) instead of T-SQL. They prioritize speed and scalability over full T-SQL compatibility.

Why candidates pick the wrong answer

A

Candidates may assume that any T-SQL query on data lake files requires external tables, and they might overlook the cost implications of keeping a dedicated SQL pool running for sporadic queries.

C

Candidates may think loading data into the dedicated SQL pool is necessary to use T-SQL, or assume that the pool's performance is always better, overlooking the cost and suitability for ad-hoc workloads.

D

Candidates may associate Azure Data Explorer with fast querying of large datasets in data lakes, overlooking that it does not support T-SQL and is designed for different query patterns (time-series, logs) rather than general-purpose SQL analytics.

328
MCQeasy

A data analyst needs to create interactive reports from data stored in an Azure SQL Database. They want to use a self-service tool that requires minimal IT support. Which tool should they use?

A.Azure Synapse Studio
B.SQL Server Management Studio
C.Power BI Desktop
D.Azure Data Studio
AnswerC

Power BI Desktop is the correct choice because it is a dedicated self-service business intelligence tool that lets an analyst connect to an Azure SQL Database, import or DirectQuery data, shape it with Power Query, and build a semantic model with relationships and DAX measures. It provides drag-and-drop, interactive visuals—like slicers, cross-filtering, and drill-through—that can be published to the Power BI service for sharing and collaboration. This aligns with the analyst's requirement to create interactive reports without needing IT administrator intervention.

Why this answer

Power BI Desktop is a self-service business intelligence tool designed for creating interactive reports and dashboards with minimal IT support. It connects directly to Azure SQL Database, allowing analysts to import or query data using DirectQuery, and provides drag-and-drop visualizations without requiring database administration skills.

Exam trap

The trap here is that candidates confuse Azure Synapse Studio or Azure Data Studio as reporting tools, but they are primarily for data engineering and development, not for self-service interactive report creation.

How to eliminate wrong answers

Option A is wrong because Azure Synapse Studio is a unified analytics platform for large-scale data warehousing and big data processing, requiring more IT setup and expertise than a self-service tool. Option B is wrong because SQL Server Management Studio (SSMS) is a database management tool for administering and querying SQL Server, not for creating interactive reports. Option D is wrong because Azure Data Studio is a cross-platform database tool focused on querying and development, lacking the rich visualization and report-authoring capabilities of Power BI Desktop.

329
MCQeasy

Refer to the exhibit. You are deploying an Azure Storage account. The JSON snippet represents a template parameter. What does the 'isHnsEnabled' property enable?

A.Blob versioning
B.Soft delete for blobs
C.Geo-redundant storage
D.Hierarchical namespace for the storage account
AnswerD

The hierarchical namespace is a creation-time flag that organizes blobs into directories and nested folder structures, enabling Azure Data Lake Storage Gen2 features like POSIX-like ACLs, atomic directory renames, and higher-throughput analytics workloads. This property cannot be changed after the storage account is provisioned, so it must be set during deployment. Unlike versioning or soft delete, which are optional post-creation protections, this namespace fundamentally changes the account's data model, making it the correct capability referenced in the exhibit.

Why this answer

The 'isHnsEnabled' property enables the hierarchical namespace for the storage account, which is a core feature of Azure Data Lake Storage Gen2. When set to true, it allows the storage account to organize blobs into a directory hierarchy, enabling POSIX-like access control lists (ACLs) and file system semantics. This is essential for big data analytics workloads that require a file system structure rather than a flat blob storage model.

Exam trap

The trap here is that candidates often confuse 'isHnsEnabled' with blob-level features like versioning or soft delete, because all three are related to data management, but only the hierarchical namespace fundamentally changes the storage account's architecture to support file system semantics.

How to eliminate wrong answers

Option A is wrong because blob versioning is enabled via the 'Versioning' property in the Blob service settings, not by 'isHnsEnabled'. Option B is wrong because soft delete for blobs is configured through the 'DeleteRetentionPolicy' property in the Blob service, not through the hierarchical namespace flag. Option C is wrong because geo-redundant storage (GRS) is a replication option set via the 'sku.name' property (e.g., 'Standard_GRS'), not by enabling a hierarchical namespace.

330
MCQhard

A company uses Azure Synapse Analytics to run complex queries against large datasets stored in Parquet files in Azure Data Lake Storage Gen2. They notice that queries scanning entire partitions are slow due to high I/O overhead on the compute nodes. Investigation shows each daily partition contains thousands of small files (under 1 MB each). Which optimization should be implemented first to improve query performance?

A.Increase the number of compute nodes
B.Use columnstore indexes on external tables
C.Compact small files into larger ones before querying
D.Change the partition column to a different date granularity
AnswerC

Compacting many small files into fewer large files (e.g., roughly 256 MB each) directly reduces the number of file open operations, metadata lookups, and read requests that distributed workers must perform. With larger contiguous files, the query engine can scan data more efficiently, use better I/O parallelism, and push predicates more effectively. This addresses the actual cause of poor performance: excessive per-file overhead dominating the scan across many tiny inputs.

Why this answer

The high I/O overhead is caused by the thousands of small files per partition. When Synapse compute nodes read many small files, the overhead of opening, reading metadata, and closing each file dominates, even though the total data volume is small. Compacting these small files into fewer, larger files (e.g., 128 MB or more) reduces the number of file operations, improves read throughput, and allows more efficient predicate pushdown and parallelism.

Exam trap

The trap here is that candidates often confuse scaling out compute nodes (Option A) with solving a data layout problem, or mistakenly think columnstore indexes (Option B) apply to external tables, when in fact the issue is purely about file size and count in the storage layer.

How to eliminate wrong answers

Option A is wrong because increasing compute nodes adds more parallelism but does not address the root cause of excessive file open/close overhead; it may even worsen the problem by distributing the many small files across more nodes. Option B is wrong because columnstore indexes are not supported on external tables in Azure Synapse; they apply only to tables in a dedicated SQL pool, and the question describes queries against Parquet files in Data Lake Storage, not a SQL pool table. Option D is wrong because changing the partition column granularity (e.g., from daily to monthly) would create even larger partitions with more small files, exacerbating the I/O overhead, and does not solve the small-file problem.

331
MCQmedium

A manufacturing company ingests real-time sensor data from assembly line machines into Azure Event Hubs. The company needs to calculate a 5-minute rolling average of temperature readings for each machine and compare it against a static threshold value stored in a CSV file in Azure Blob Storage. If the average exceeds the threshold, an alert must be triggered. Which Azure service should be used for this real-time data processing?

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

Azure Stream Analytics is the correct choice because it is a fully managed, serverless stream-processing engine built specifically for real-time analytics on high-throughput data from sources like Event Hubs. It natively supports temporal windows (tumbling, hopping, sliding, and session) to compute a 5-minute rolling average with a simple SQL-like query, and it can join the live stream with static reference data held in Blob Storage to compare against a threshold. The service scales automatically, provides exactly-once event delivery, and requires no cluster provisioning or manual code beyond the streaming query.

Why this answer

Azure Stream Analytics is the correct choice because it is designed for real-time stream processing, including windowed aggregations like a 5-minute rolling average. It can directly ingest data from Azure Event Hubs, perform the calculation using a TumblingWindow or HoppingWindow function, and reference static data (the threshold CSV) from Azure Blob Storage via a reference data input. If the computed average exceeds the threshold, Stream Analytics can output the alert to a sink like Azure Functions or a notification service.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics with Azure Data Factory or Synapse Analytics, mistakenly thinking that any data processing involving Blob Storage or SQL-like queries must use a batch-oriented service, when in fact Stream Analytics is the only option that natively supports real-time windowed aggregations and reference data joins from Blob Storage.

How to eliminate wrong answers

Option B (Azure Data Factory) is wrong because it is an orchestration and ETL service for batch data movement and transformation, not a real-time stream processing engine; it cannot perform continuous windowed aggregations on live Event Hubs data. Option C (Azure Synapse Analytics) is wrong because it is a unified analytics platform primarily for large-scale data warehousing and batch/query processing, not for real-time stream processing with sub-second latency requirements. Option D (Azure HDInsight) is wrong because it is a managed cluster service for big data frameworks like Apache Spark and Hadoop, which can handle streaming but requires manual cluster management and is overkill for a simple rolling average and threshold comparison; Azure Stream Analytics is a purpose-built, serverless alternative for this exact use case.

332
MCQmedium

You are designing a relational database for a multi-tenant SaaS application. Each tenant's data must be isolated for security and compliance. Which design approach best ensures data isolation while keeping cost manageable?

A.Use Azure Synapse Analytics with workload isolation
B.Use a separate database per tenant
C.Use a single database with a TenantID column and row-level security
D.Use a single database with separate schemas per tenant
AnswerB

A dedicated database per tenant, often called the silo model, provides the strongest possible isolation because each tenant's data resides in its own independent database with its own security credentials, backup schedule, and performance tier. This eliminates the risk of cross-tenant data leakage from application errors or misconfigured queries, and it allows you to restore, scale, or upgrade a single tenant without affecting any other tenant. It also simplifies compliance and audit because data is physically separated at the server level, making it the clear choice for strict multi-tenant isolation requirements.

Why this answer

A separate database per tenant provides strong isolation, ensuring each tenant's data is completely separate for security and compliance, while keeping costs manageable through elastic pools or other cost-effective deployment models. Option A is incorrect because Azure Synapse Analytics is a data warehousing and analytics service, not designed for OLTP multi-tenant isolation. Option C is incorrect because row-level security can help but does not provide the same level of isolation as separate databases.

Option D is incorrect because separate schemas within a single database do not provide full data isolation; they share the same database and resources.

333
Multi-Selectmedium

Which TWO of the following are common characteristics of a NoSQL database?

Select 2 answers
A.Flexible schema
B.Normalized data storage
C.Strong ACID transaction support
D.Relational data model
E.Horizontal scaling
AnswersA, E

NoSQL databases allow schema flexibility, making them suitable for semi-structured or unstructured data.

Why this answer

NoSQL databases, such as MongoDB or Cassandra, use a flexible schema that allows documents or records to have varying fields without requiring predefined table structures. This enables developers to iterate quickly and store semi-structured or unstructured data, such as JSON documents, without costly schema migrations.

Exam trap

The trap here is that candidates confuse 'flexible schema' with 'no schema at all' or mistakenly think NoSQL always supports strong ACID transactions, when in reality most NoSQL systems trade ACID for scalability and performance.

334
MCQhard

A financial institution runs complex analytical queries on trading data stored in Parquet files in Azure Data Lake Storage Gen2. The data is partitioned by date and contains billions of rows. Analysts frequently query within a specific date range, and the queries must return results in under 5 seconds. The current solution uses Azure Synapse Serverless SQL pool, but queries are slow because the serverless pool scans all partitions even when the WHERE clause filters on the date column. Which optimization should be implemented to improve query performance?

A.Switch to Azure Synapse dedicated SQL pool with proper table partitioning
B.Create a clustered columnstore index on the external table
C.Convert the Parquet files to CSV format
D.Use Azure Databricks with Delta Lake for querying
AnswerA

Switching to Azure Synapse dedicated SQL pool is correct because it uses a massively parallel processing (MPP) architecture that supports table partitioning. Proper partitioning on a frequently filtered column, such as date, enables partition elimination where the query optimizer prunes whole partition sets before scanning, significantly reducing I/O. In contrast, Synapse Serverless has no table partitions to eliminate—it must scan and filter the entire file set unless you use file-path-based pruning, which is far less robust for complex analytical workloads.

Why this answer

Azure Synapse Serverless SQL pool does not support partition elimination based on the partitioning of the underlying Parquet files in Azure Data Lake Storage Gen2. By switching to an Azure Synapse dedicated SQL pool with proper table partitioning on the date column, the query engine can perform partition pruning, scanning only the relevant partitions for the specified date range, which drastically reduces I/O and improves query performance to meet the sub-5-second requirement.

Exam trap

The trap here is that candidates may assume serverless SQL pool automatically performs partition elimination on folder-partitioned data, but it does not; it scans all files unless explicit filepath() filtering is used, making dedicated SQL pool with table partitioning the correct choice for guaranteed partition pruning.

How to eliminate wrong answers

Option B is wrong because creating a clustered columnstore index on an external table is not supported in Azure Synapse Serverless SQL pool; external tables are read-only and cannot have indexes. Option C is wrong because converting Parquet files to CSV format would increase file size and degrade performance due to lack of compression and columnar storage benefits, making queries slower. Option D is wrong because while Azure Databricks with Delta Lake can provide performance optimizations, it is not the most direct or cost-effective solution for the described scenario, and the question specifically asks for an optimization to the existing Azure Synapse Serverless SQL pool solution.

335
MCQmedium

A social media application stores user profiles as JSON documents. Each user profile can have different attributes (e.g., some have 'education', others have 'work experience'). The application needs to query profiles by any attribute with low latency. Which Azure data store is most appropriate?

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

Azure Cosmos DB (SQL API) is a purpose-built NoSQL document database that stores data natively as JSON. Its schema-agnostic model lets each user profile contain a different set of attributes without migrations, while automatic indexing on every property enables fast, attribute-level queries via SQL syntax. This directly matches the requirement for flexible JSON documents with varying structures.

Why this answer

Azure Cosmos DB with the SQL API is the correct choice because it natively supports schema-agnostic JSON documents, allowing each user profile to have varying attributes without requiring a fixed schema. Its indexing policies enable low-latency queries on any attribute, and it provides single-digit millisecond response times for point reads and queries, which is essential for a social media application.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's key-value model with a document database, assuming it can query arbitrary attributes efficiently, but Table Storage requires a composite key and lacks secondary indexes for ad-hoc queries on non-key fields.

Why the other options are wrong

A

Azure Blob Storage is optimized for storing large unstructured data like images or videos, not for querying JSON documents by arbitrary attributes with low latency. It lacks native indexing and query capabilities for nested JSON fields.

B

Azure Table Storage is a NoSQL key-value store that does not support querying by arbitrary attributes with low latency; it requires a partition key and row key for efficient queries, making it unsuitable for ad-hoc queries on any attribute in JSON documents.

D

Azure SQL Database requires a fixed schema, but the question specifies that user profiles have varying attributes (JSON documents with different fields). This makes it unsuitable for schema-less, flexible document storage.

When would these options actually be correct?

A

A question that asks for storing and serving large media files (e.g., user-uploaded photos or videos) with high throughput and low cost, where querying by content attributes is not required.

B

A question where the application needs to store large amounts of structured, non-relational data (e.g., device logs or metadata) and query primarily by a known partition key and row key, with no requirement for flexible schema or querying by arbitrary attributes.

D

A question where the data has a fixed schema, requires complex relational queries (e.g., JOINs, aggregations), and needs ACID transactions. For example: 'An e-commerce application stores orders with line items and needs to generate sales reports using SQL queries.'

Why candidates pick the wrong answer

A

Candidates may think JSON documents are just files, so Blob Storage seems suitable. They overlook the need for flexible querying across varying attributes, which Blob Storage does not support efficiently.

B

Candidates may confuse Table Storage's NoSQL nature with Cosmos DB's document capabilities, or assume that any NoSQL store can handle flexible schema queries efficiently, overlooking Table Storage's limited querying model.

D

Candidates may associate 'query by any attribute' with SQL's querying capabilities, overlooking the schema flexibility requirement. They might also assume that any structured data store can handle JSON, ignoring the need for native document support.

336
MCQmedium

A startup is building a web application with a relational database backend. They expect variable traffic and want to minimize costs by scaling the database automatically based on demand. Which Azure service should they use?

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

Azure SQL Database serverless provides automatic compute scaling that responds to workload demand, and it can pause the database entirely during idle periods. Billing is per-second based on actual compute usage, not provisioned capacity, making it cost-efficient for intermittent or unpredictable application traffic. The startup's web application with variable load fits this model perfectly.

Why this answer

Azure SQL Database serverless is the correct choice because it automatically scales compute resources based on demand and pauses the database during idle periods, charging only for storage and minimal compute. This aligns with the startup's need for variable traffic and cost minimization, as it eliminates the need to provision for peak capacity manually.

Exam trap

The trap here is that candidates may confuse 'serverless' with 'PaaS' broadly, assuming all Azure relational PaaS offerings (like Azure SQL Managed Instance or Azure Database for MariaDB) automatically scale, when in fact only Azure SQL Database serverless provides the specific auto-scaling and auto-pause features for cost optimization under variable traffic.

How to eliminate wrong answers

Option B is wrong because Azure SQL Managed Instance is a fully managed instance of SQL Server with fixed compute resources, requiring manual scaling and incurring costs even when idle, making it unsuitable for variable traffic and cost minimization. Option C is wrong because SQL Server on Azure Virtual Machines requires manual configuration of scaling and auto-scaling via VM scale sets, adding operational overhead and not providing automatic database-level scaling based on demand. Option D is wrong because Azure Database for MariaDB is a relational database but lacks a serverless compute tier; it requires manual scaling of vCores and storage, and does not offer auto-pause or auto-scale features for variable workloads.

337
MCQmedium

Your organization uses Azure SQL Database and needs to ensure that all customer data is encrypted at rest and in transit with minimal administrative overhead. Which solution should you recommend?

A.Use Microsoft Purview Information Protection to label and encrypt the data.
B.Enable Transparent Data Encryption (TDE) and enforce TLS 1.2 for connections.
C.Implement Dynamic Data Masking on the customer table.
D.Enable Always Encrypted for all sensitive columns and use client-side encryption.
AnswerB

Transparent Data Encryption (TDE) automatically encrypts Azure SQL Database data and log files at rest using AES-256, requiring no changes to existing applications or schemas. Enforcing TLS 1.2 as the minimum connection protocol ensures all data is encrypted in transit between the client and the database server. Together, these features provide comprehensive encryption with minimal administrative overhead, making this the correct answer for this requirement.

Why this answer

Transparent Data Encryption (TDE) encrypts Azure SQL Database data files at rest without requiring any application changes, and enforcing TLS 1.2 ensures all data in transit is encrypted using a strong, industry-standard protocol. This combination meets the requirement for encryption at rest and in transit with minimal administrative overhead, as TDE is managed by the platform and TLS enforcement is a simple server-level setting.

Exam trap

The trap here is that candidates often confuse Dynamic Data Masking (which only hides data in results) with encryption, or they overcomplicate the solution by choosing Always Encrypted, which requires client-side changes and key management, when the question explicitly asks for minimal administrative overhead.

How to eliminate wrong answers

Option A is wrong because Microsoft Purview Information Protection is a data classification and labeling service, not a native encryption mechanism for Azure SQL Database; it does not encrypt data at rest or in transit within the database engine. Option C is wrong because Dynamic Data Masking only obfuscates data in query results for unauthorized users, it does not encrypt data at rest or in transit. Option D is wrong because Always Encrypted requires client-side encryption and key management, which adds significant administrative overhead and application changes, contradicting the 'minimal administrative overhead' requirement.

338
MCQeasy

A company stores employee records in a database. Each employee record contains an EmployeeID (unique), Name, Department, and HireDate. The EmployeeID is used to uniquely identify each employee. Which data concept does the EmployeeID represent?

A.Index
B.Foreign key
C.Primary key
D.Unique constraint
AnswerC

A primary key is the column or set of columns declared to hold a unique, non-null value for every row, and it serves as the table's authoritative identifier for each entity record. For an employee table, an EmployeeID column or a composite of first name, last name, and birth date would be a primary key because it guarantees that each employee row can be individually referenced, updated, or joined to related tables. This is the fundamental relational mechanism for row identity and is what other tables use when they need to reference a specific employee.

Why this answer

The EmployeeID is used to uniquely identify each employee record, which is the defining characteristic of a primary key. In relational databases, a primary key enforces entity integrity by ensuring each row has a unique, non-null identifier. This aligns with the core data concept of a primary key as the unique identifier for a table.

Exam trap

The trap here is that candidates often confuse a unique constraint with a primary key because both enforce uniqueness, but the primary key uniquely identifies the row and cannot contain NULLs, while a unique constraint is a secondary uniqueness enforcement that can allow a single NULL value.

How to eliminate wrong answers

Option A is wrong because an index is a performance optimization structure that speeds up data retrieval, not a constraint that uniquely identifies rows. Option B is wrong because a foreign key is a column that references a primary key in another table to establish a relationship, not a unique identifier within its own table. Option D is wrong because a unique constraint ensures all values in a column are distinct but does not inherently designate the column as the table's primary identifier; a table can have multiple unique constraints but only one primary key.

339
MCQhard

A data analyst needs to run ad-hoc SQL queries on large volumes of data stored as Parquet files in Azure Data Lake Storage Gen2. The queries are unpredictable, and the analyst wants to pay only for the compute resources consumed by each query. Which Azure Synapse Analytics compute model should be used?

A.Serverless SQL pool
B.Dedicated SQL pool
C.Apache Spark pool
D.Azure Data Explorer pool
AnswerA

Serverless SQL pool fits ad hoc SQL queries on large lake volumes because it provisions no fixed compute; the service spins up compute per query, reads data directly from Azure Data Lake files (Parquet, Delta, CSV), and bills only for the amount of data scanned. This on-demand model eliminates idle costs and delivers fast T-SQL responses for unpredictable workloads, making it ideal for occasional analytical bursts. Of the four options, it is the only one designed specifically as a serverless T-SQL query endpoint over data lake files.

Why this answer

Serverless SQL pool is the correct choice because it allows running ad-hoc SQL queries directly on data in Azure Data Lake Storage Gen2 without provisioning any fixed compute resources. It uses a pay-per-query billing model, charging only for the amount of data processed by each query, which aligns perfectly with the unpredictable query patterns described.

Exam trap

The trap here is that candidates often confuse 'serverless' with 'dedicated' SQL pools, assuming that any SQL query requires a provisioned warehouse, when in fact Serverless SQL pool is purpose-built for ad-hoc, pay-per-query scenarios on data lakes.

How to eliminate wrong answers

Option B (Dedicated SQL pool) is wrong because it requires provisioning a fixed set of compute resources (DWUs) that are billed per hour regardless of usage, making it unsuitable for unpredictable, ad-hoc workloads where you want to pay only per query. Option C (Apache Spark pool) is wrong because it is designed for big data processing using Spark (Scala, Python, .NET) and not for running ad-hoc SQL queries directly on Parquet files; it also requires a running cluster that incurs costs even when idle. Option D (Azure Data Explorer pool) is wrong because it is optimized for interactive analytics on time-series and log data using Kusto Query Language (KQL), not for standard SQL queries on Parquet files in Data Lake Storage.

340
MCQhard

Refer to the exhibit. You are reviewing an ARM template for an Azure SQL Database deployment. The database must support a read-only workload that requires low latency. The current configuration uses General Purpose tier with 4 vCores. What is the most significant performance improvement you can make without changing the tier?

A.Increase maxSizeBytes to 1 TB
B.Set the edition to 'Serverless'
C.Enable read scale-out by adding 'readScale' property
D.Change requestedBackupStorageRedundancy to 'Local'
AnswerC

Enabling read scale-out by adding the 'readScale' property to your ARM template routes read-only connections to an automatically provisioned read-only replica. This offloads read-heavy query load from the primary replica, freeing up its CPU, memory, and I/O for write operations and transactional workloads. This is the only option that directly improves query performance by scaling out the read path, especially for workloads that separate reporting or analytical queries from OLTP traffic.

Why this answer

Enabling read scale-out by adding the 'readScale' property allows the database to use a read-only replica, offloading read workloads from the primary and providing low-latency reads. This is the most significant performance improvement within the General Purpose tier because it directly addresses the read-only workload requirement without changing the tier or incurring additional compute costs.

Exam trap

The trap here is that candidates often confuse scaling storage (maxSizeBytes) or changing backup redundancy with performance improvements, but the question specifically targets read latency for a read-only workload, which is directly addressed by read scale-out rather than storage or backup changes.

How to eliminate wrong answers

Option A is wrong because increasing maxSizeBytes to 1 TB only expands storage capacity, which does not improve read performance or latency for a read-only workload. Option B is wrong because setting the edition to 'Serverless' changes the tier (from provisioned to serverless compute), which violates the constraint of not changing the tier, and serverless is designed for intermittent workloads, not low-latency read performance. Option D is wrong because changing requestedBackupStorageRedundancy to 'Local' affects backup storage redundancy (e.g., LRS vs.

GRS), not query performance or read latency.

341
MCQhard

Refer to the exhibit. You are storing product data in Azure Cosmos DB using the SQL API. The JSON shows a sample document. You need to query for all products in the 'Electronics' category with a price less than 200. Which query should you use?

A.SELECT * FROM c WHERE c.category = 'Electronics' OR c.price < 200
B.SELECT * FROM c WHERE c.category = "Electronics" AND c.price < 200
C.SELECT * FROM p WHERE p.category = 'Electronics' AND p.price < 200
D.SELECT * FROM c WHERE c.category = 'Electronics' AND c.price < 200
AnswerD

This query is correct because it uses the proper Cosmos DB SQL API syntax: single quotes for the string literal, the AND operator to enforce both conditions, and the default alias 'c' for the container. The WHERE clause filters documents where the category property equals 'Electronics' AND the price property is less than 200, returning only the items that meet both criteria. This matches the expected business requirement exactly.

Why this answer

It uses the correct syntax: SELECT * FROM c WHERE c.category = 'Electronics' AND c.price < 200. It uses single quotes for the string value, appropriate alias 'c' from the FROM clause, and the AND operator to combine both conditions. Option A uses OR, which would return products that are either in Electronics or have price < 200, not both.

Option B uses double quotes for the string, which is invalid in Cosmos DB SQL API. Option C uses alias 'p' but the FROM clause uses 'c', causing an error. Thus, D is the correct query.

342
MCQhard

A SaaS company manages hundreds of customer databases, each representing a tenant. Each tenant database has its own predictable usage pattern, but the aggregate workload across all tenants is variable. The company wants to optimize costs by pooling compute resources across tenants while still ensuring that each tenant benefits from resource isolation under normal loads. Which Azure SQL Database deployment model should they choose?

A.Single database
B.Elastic pool
C.Managed Instance
D.SQL Server on Azure Virtual Machine
AnswerB

Elastic pools allow multiple databases to share a pool of resources, providing cost savings for multi-tenant SaaS applications while maintaining predictable performance per database.

Why this answer

Elastic pools are designed for SaaS multi-tenant scenarios where each tenant has a predictable, low average usage but the aggregate workload across tenants is variable. They allow pooling of compute resources (eDTUs or vCores) across multiple databases, providing resource isolation under normal loads via per-database min/max resource limits, while optimizing cost by sharing unused capacity among tenants.

Exam trap

The trap here is that candidates often confuse 'resource isolation' with 'dedicated resources' and choose Single Database, failing to recognize that Elastic Pools provide isolation via per-database resource limits while still pooling compute for cost efficiency.

Why the other options are wrong

A

Single database provides resource isolation but does not allow pooling compute resources across multiple databases to handle variable aggregate workloads cost-effectively.

C

Managed Instance is designed for lift-and-shift migrations of on-premises SQL Server workloads with high compatibility requirements, not for multi-tenant cost optimization with resource pooling and isolation.

D

SQL Server on Azure Virtual Machine requires manual management of compute resources and does not provide built-in pooling or resource isolation across multiple tenant databases, making it unsuitable for optimizing costs with variable aggregate workloads.

When would these options actually be correct?

A

A company needs a single, predictable workload with guaranteed resource isolation and no need to share resources across multiple databases. For example, a critical application database with steady performance requirements.

C

A company needs to migrate an existing on-premises SQL Server application to Azure with minimal changes, requiring near 100% compatibility with SQL Server features like SQL Agent, CLR, or cross-database queries, and does not need multi-tenant resource pooling.

D

A question requiring full control over the SQL Server environment, custom configurations, or legacy application compatibility that cannot be met by PaaS offerings, such as 'A company needs to run a third-party application that requires SQL Server Agent and CLR integration with specific OS-level settings.'

Why candidates pick the wrong answer

A

Candidates may think 'single database' is simpler and still provides isolation, overlooking the cost optimization benefits of pooling for variable aggregate workloads.

C

Candidates may think Managed Instance offers better isolation and performance for multiple databases, but they overlook that it does not provide the cost-effective resource pooling across tenants that elastic pools offer.

D

Candidates may think that running SQL Server on a VM offers flexibility to manage multiple databases and scale resources, but they overlook the operational overhead and lack of automated resource pooling and isolation that Elastic Pools provide.

343
MCQmedium

Refer to the exhibit. An analyst runs this Kusto Query Language (KQL) query in Azure Data Explorer. What is the primary purpose of this query?

A.Find the top 5 most common event types in Texas
B.Calculate total damage in Texas
C.Identify events with the highest damage
D.List all storm events in Texas
AnswerA

This query uses a `summarize` operator to group storm events in Texas by `EventType` and count the number of rows in each group, then a `top 5` operator ordering by that count descending. The result is exactly the five event-type categories with the highest frequency in the Texas dataset. Because it counts occurrences per category rather than measuring impact or listing raw records, it answers the 'most common' question precisely.

Why this answer

The query uses the `summarize` operator with `count()` to count events per `EventType`, then `top 5 by count_` to return the five event types with the highest counts, filtered to only rows where `State == 'TEXAS'`. This directly finds the top 5 most common event types in Texas.

Exam trap

Microsoft often tests the distinction between counting occurrences (using `count()` with `summarize`) versus summing numeric values (using `sum()`), leading candidates to confuse 'most common' with 'highest damage'.

How to eliminate wrong answers

Option B is wrong because the query does not include any aggregation of damage amounts (e.g., `sum(Damage)` or `avg(Damage)`), so it cannot calculate total damage. Option C is wrong because the query counts events by type, not by damage amount; to identify events with the highest damage, you would need to sort or top by a damage column, not by `count_`. Option D is wrong because the query does not list individual storm events; it aggregates events into groups by `EventType` and returns only the top 5 counts, not a list of all events.

344
MCQmedium

A company has an Azure SQL Database and needs to run a weekly data aggregation job that takes several hours. They want to minimize cost and avoid impacting production workload. Which approach should they use?

A.Migrate the database to the Hyperscale service tier
B.Use Azure Elastic Jobs to run the aggregation during off-peak hours
C.Increase the DTU or vCore size of the database to handle the load
D.Create a read-only replica and run the aggregation on the replica
AnswerD

Creating a read-only replica and directing the weekly aggregation to it is the correct approach because it physically separates the heavy read workload from the primary write workload. Azure SQL Database read scale-out (Premium and Business Critical) or a geo-replicated secondary can serve read-only connections with ApplicationIntent=ReadOnly, allowing the aggregation to run on a separate compute and storage footprint. This offloading ensures the primary remains dedicated to production OLTP transactions, minimizing contention and preserving performance.

Why this answer

Creating a read-only replica allows the weekly aggregation job to run against a separate copy of the database without affecting the production workload. Since the replica is read-only, it incurs additional compute costs only during the aggregation window, and you can scale it down or stop it when not in use, minimizing overall cost.

Exam trap

The trap here is that candidates may confuse Azure Elastic Jobs as a workload isolation tool, when in fact it only schedules jobs on the same database and does not provide a separate compute resource.

How to eliminate wrong answers

Option A is wrong because migrating to the Hyperscale service tier is designed for large databases and high throughput, not for cost-effective batch processing; it increases cost and complexity without addressing the need to avoid impacting production. Option B is wrong because Azure Elastic Jobs is a scheduling service for running T-SQL scripts across multiple databases, but it does not isolate the workload from the production database; the aggregation would still run on the same primary database, impacting performance. Option C is wrong because increasing DTU or vCore size on the primary database would temporarily improve performance but would significantly increase cost and still risk impacting production workload during the aggregation run.

345
MCQhard

A manufacturing company connects thousands of IoT sensors on an assembly line, each sending telemetry data every second. The data volume is terabyte-scale per day. The company needs to analyze the sensor data in near real-time to detect anomalies (e.g., temperature spikes) and also allow data scientists to run interactive ad-hoc queries on the historical data to find patterns. They prefer using a query language similar to SQL. Which Azure service should they choose?

A.Azure Stream Analytics
B.Azure Data Explorer
C.Azure Synapse Analytics dedicated SQL pool
D.Azure Databricks with Structured Streaming
AnswerB

Azure Data Explorer (ADX) is purpose-built for high-velocity time-series telemetry, using columnar storage with a clustered columnstore index and the Kusto Query Language (KQL) for powerful time-series functions like series_fft and anomaly detection. It supports streaming ingestion with sub-second latency and retains both hot and cold caches, allowing the same KQL queries to run interactively over both live and historical data. This makes it the optimal choice for IoT sensor data requiring near real-time monitoring and ad-hoc exploration.

Why this answer

Azure Data Explorer (ADX) is designed for high-velocity telemetry data, ingesting terabytes per day from IoT sensors with sub-second latency. It supports Kusto Query Language (KQL), which is SQL-like and optimized for time-series analysis, anomaly detection, and interactive ad-hoc queries on both real-time and historical data. This makes it the ideal choice for the described scenario.

Exam trap

The trap here is that candidates often choose Azure Stream Analytics because it handles real-time streaming and uses SQL-like syntax, but they overlook the requirement for interactive ad-hoc queries on historical data, which Stream Analytics cannot efficiently support.

Why the other options are wrong

A

Azure Stream Analytics is designed for real-time stream processing but lacks native support for interactive ad-hoc queries on historical data at terabyte scale. It cannot serve as a single service for both real-time anomaly detection and historical pattern analysis with SQL-like queries.

C

Azure Synapse Analytics dedicated SQL pool is optimized for large-scale data warehousing and complex queries on structured data, but it is not designed for near real-time ingestion and analysis of high-velocity streaming data like IoT telemetry at terabyte-per-day scale. Its batch-oriented architecture introduces latency that conflicts with the near real-time anomaly detection requirement.

D

Azure Databricks with Structured Streaming is optimized for complex ETL and machine learning pipelines, not for low-latency interactive ad-hoc queries on terabyte-scale historical data with SQL-like syntax. It requires more setup and is less efficient for pure analytics compared to Azure Data Explorer.

When would these options actually be correct?

A

A company needs to process real-time streaming data from IoT devices and output alerts or aggregated results to a storage or dashboard, without requiring interactive ad-hoc querying on historical data. For example, filtering sensor readings and sending alerts when temperature exceeds a threshold.

C

A company needs to run complex SQL-based analytics on petabytes of structured historical data from multiple sources (e.g., sales, inventory) with high concurrency and predictable performance. They do not require real-time ingestion or streaming, and the data is already stored in a data lake or warehouse.

D

A company needs to process streaming data from IoT sensors, perform complex transformations (e.g., joining with static datasets), and train machine learning models on the processed data using Python or Scala. They require a unified platform for both stream processing and advanced analytics.

Why candidates pick the wrong answer

A

Candidates may think Stream Analytics can handle both real-time and historical analysis because it uses SQL-like queries, but they overlook its limitations in storing and interactively querying large historical datasets.

C

Candidates may associate 'SQL-like queries on large datasets' with Synapse's dedicated SQL pool, overlooking the near real-time and high-velocity streaming requirements that make Azure Data Explorer a better fit.

D

Candidates may associate 'near real-time' and 'IoT sensors' with streaming solutions like Databricks Structured Streaming, overlooking that the primary requirement is interactive ad-hoc querying on historical data, which is not a strength of Databricks.

346
MCQeasy

A company runs an e-commerce application on Azure SQL Database. During seasonal promotions, traffic spikes significantly, but at other times traffic is low. They want to automatically adjust compute resources based on demand without manual intervention or provisioning. Which Azure SQL Database feature should they use?

A.Geo-replication
B.Elastic pools
C.Serverless compute
D.Hyperscale
AnswerC

Azure SQL Database serverless automatically scales the compute capacity between a configured minimum and maximum number of vCores based on actual workload demand, and it pauses the database when idle to eliminate compute billing. This makes it ideal for intermittent or unpredictable workloads, as it requires no manual intervention and computes billing per second. Note that serverless does not auto-scale storage; storage is billed separately and remains available even while paused.

Why this answer

Serverless compute for Azure SQL Database automatically scales compute resources based on workload demand and pauses the database during inactive periods, charging only for storage and compute used per second. This matches the requirement for automatic adjustment without manual intervention or provisioning, especially for intermittent, unpredictable traffic spikes like seasonal promotions.

Exam trap

The trap here is that candidates confuse Elastic pools (which scale shared resources across multiple databases) with the single-database auto-scaling behavior of Serverless compute, or they assume Hyperscale's high scalability automatically includes dynamic compute scaling without manual intervention.

How to eliminate wrong answers

Option A is wrong because Geo-replication is a disaster recovery and business continuity feature that creates readable replicas in different Azure regions, not an auto-scaling mechanism for compute resources. Option B is wrong because Elastic pools are designed for managing and scaling multiple databases with shared resources in a predictable pattern, not for automatically adjusting compute of a single database based on demand spikes. Option D is wrong because Hyperscale is a service tier for very large databases (up to 100 TB) with fast scaling of storage and compute, but it requires manual scaling of compute replicas and does not provide the automatic pause/resume or per-second billing of serverless compute.

347
MCQhard

Your data engineering team is designing a data pipeline that ingests data from multiple sources into Azure Data Lake Storage Gen2. The data must be cataloged in Azure Purview for discoverability. Which approach ensures that the data lineage is automatically captured?

A.Use Azure Data Factory to copy data and manually register the datasets in Purview.
B.Use Azure Data Factory with Purview integration enabled to copy data.
C.Use Azure Databricks to write data and call Purview's Atlas API to update lineage.
D.Schedule Purview scans on the data lake after data ingestion.
AnswerB

Enabling Purview integration on Azure Data Factory causes every executed copy activity to automatically emit lineage metadata to Purview, including the source and sink datasets and the column-level mappings defined in the activity. This is a first-class, out-of-the-box integration that captures lineage as part of the pipeline run rather than as a separate manual step. The result is reliable, up-to-date lineage without custom code, which is exactly what the data engineering team needs.

Why this answer

Azure Data Factory's native Purview integration automatically captures lineage metadata during data copy activities. When enabled, Data Factory pushes runtime lineage information (source, sink, transformation steps) directly to Purview without manual intervention, ensuring complete and accurate data provenance.

Exam trap

The trap here is that candidates often confuse data cataloging (scanning) with lineage capture, assuming that scanning the data lake after ingestion (Option D) will automatically show how data got there, but scanning only reveals schema and classification, not the data flow path.

How to eliminate wrong answers

Option A is wrong because manually registering datasets in Purview after copying data does not capture lineage automatically; it only adds static metadata without the runtime execution details that show data flow. Option C is wrong because while Azure Databricks can call Purview's Atlas API, this requires custom code and does not provide the automatic, out-of-the-box lineage capture that Data Factory's integration offers. Option D is wrong because scheduling Purview scans on the data lake after ingestion only catalogs the data at rest and captures schema/classification metadata, but it does not capture the lineage of how data moved from source to destination.

348
MCQmedium

A social media company stores user-generated posts as JSON documents. Each post contains fields such as postId, userId, timestamp, and content. The application needs to query posts by userId and timestamp ranges with low latency, and also perform SQL-like queries across all posts. The data volume is growing rapidly and must scale globally. Which Azure data store should the company use?

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

Correct. The Cosmos DB SQL API natively stores JSON documents, supports indexing on any field, and allows rich SQL-like queries. It offers global distribution, low latency, and scalable throughput, making it ideal for this scenario.

Why this answer

Azure Cosmos DB SQL API is the correct choice because it provides native support for querying JSON documents with low-latency, including indexed queries on fields like userId and timestamp. Its global distribution capability ensures data can be replicated across multiple Azure regions for low-latency access worldwide, while its SQL API allows SQL-like queries across all posts, meeting both requirements.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's key-value model with document storage, mistakenly thinking its OData queries can handle complex JSON queries, but Table Storage cannot query nested JSON fields or perform SQL-like operations across all posts.

Why the other options are wrong

A

Azure Table Storage is a NoSQL key-value store that does not support SQL-like queries or native JSON querying. It lacks the indexing and query capabilities needed for low-latency queries on userId and timestamp ranges across globally distributed data.

C

Azure Blob Storage is optimized for storing large unstructured binary data, not for low-latency queries on JSON documents with SQL-like queries or global scaling of indexed data.

D

Azure Cache for Redis is an in-memory cache, not a durable data store. It cannot serve as the primary store for user-generated posts that need to be persisted and queried with SQL-like queries across all posts.

When would these options actually be correct?

A

A company needs to store structured, non-relational data (e.g., device telemetry) with simple key-based lookups and high scalability, but does not require SQL queries or complex indexing. The application uses partition key and row key for fast access and can tolerate eventual consistency.

C

A company needs to store and serve large media files (e.g., images, videos) for a web application with high throughput, and does not require querying individual fields within the files. The data is accessed via URLs and needs to be globally distributed with CDN integration.

D

A question requiring a high-performance, low-latency cache layer to accelerate read-heavy workloads, such as caching frequently accessed user profiles or session data, where data can be regenerated from a persistent store.

Why candidates pick the wrong answer

A

Candidates may confuse Table Storage's NoSQL nature with Cosmos DB, or assume that JSON documents can be stored and queried in Table Storage because it supports entity properties, but they overlook the lack of native JSON support and advanced querying.

C

Candidates may associate JSON documents with blob storage because blobs can store any file type, including JSON, and overlook the need for querying and indexing capabilities that Cosmos DB provides.

D

Candidates may think Redis's low-latency key-value lookups are suitable for querying posts by userId and timestamp, overlooking that it lacks persistence and SQL query capabilities.

349
MCQeasy

A retail company collects data from online transactions including order ID, customer details, product IDs, quantities, and timestamps. The data is stored in a relational database and used for order processing and inventory management. Which characteristic of this data makes it structured?

A.It is stored in rows and columns with a predefined schema.
B.It is stored as key-value pairs.
C.It is stored in JSON format with variable fields.
D.It is stored in unstructured text files.
AnswerA

Structured data is defined by a rigid, predefined schema, which means each record conforms to a specified set of columns with fixed data types. This tabular format—rows and columns—enables relational database features such as ACID transactions (atomicity, consistency, isolation, durability), primary/foreign key constraints, and efficient SQL querying. The schema is enforced at write time, so every inserted row matches the expected structure, making it the foundational model for transactional systems like online order processing.

Why this answer

Structured data is defined by a fixed schema where each entity (e.g., orders) is stored in rows and columns with predefined data types (e.g., INT for order ID, VARCHAR for customer details). This relational model enforces consistency and enables efficient querying via SQL for order processing and inventory management.

Exam trap

The trap here is that candidates confuse 'structured' with any organized storage format (like JSON or key-value pairs), but the DP-900 exam specifically defines structured data as having a fixed schema with rows and columns in a relational database.

How to eliminate wrong answers

Option B is wrong because key-value pairs (e.g., in Redis or DynamoDB) are a NoSQL model that does not enforce a fixed schema or relational integrity, unlike the structured data described. Option C is wrong because JSON with variable fields is semi-structured data; it allows flexible schemas and nested structures, not the rigid rows-and-columns format of a relational database. Option D is wrong because unstructured text files (e.g., .txt or .log files) lack any predefined schema or organization, making them unsuitable for direct SQL-based order processing and inventory management.

350
MCQmedium

You need to design a data storage solution for an e-commerce platform that requires ACID transactions for order processing and high availability across regions. Which Azure service meets these requirements?

A.Azure Database for MySQL with read replicas
B.Azure Synapse Analytics
C.Azure SQL Database with active geo-replication
D.Azure Cosmos DB with multiple write regions
AnswerC

Azure SQL Database with active geo-replication maintains asynchronous, readable secondary replicas in paired or other Azure regions, preserving a mature relational database engine with full ACID transactions on the primary. This design provides a geographically distributed read scale and enables a controlled failover to a secondary region if an outage occurs, delivering a strong high-availability and disaster-recovery posture for a business-critical e-commerce application. The secondaries can also serve read-only traffic, offloading workload from the primary, while writes remain on the primary to maintain consistency.

Why this answer

Azure SQL Database with active geo-region replication supports ACID transactions natively and provides automatic failover to a secondary region, ensuring high availability across regions. This meets the e-commerce platform's need for transactional consistency and regional resilience.

Exam trap

The trap here is that candidates often confuse 'high availability' with 'multi-region writes' and choose Cosmos DB, overlooking that ACID transactions require a relational database with strict consistency guarantees, not just eventual consistency or single-document atomicity.

How to eliminate wrong answers

Option A is wrong because Azure Database for MySQL with read replicas supports ACID transactions but read replicas are read-only and do not provide automatic failover for write workloads, thus failing high availability for order processing writes. Option B is wrong because Azure Synapse Analytics is a big data analytics service optimized for large-scale data warehousing and analytics, not for OLTP workloads requiring ACID transactions. Option D is wrong because Azure Cosmos DB with multiple write regions provides multi-region writes and high availability but does not support full ACID transactions across multiple documents; it offers single-document atomicity and eventual consistency by default, not the strict ACID guarantees needed for order processing.

351
MCQmedium

A company has a data warehouse in Azure Synapse Analytics dedicated SQL pool. They need to load new sales data every night from a CSV file stored in Azure Data Lake Storage Gen2. The load process must be automated, scheduled, and have error handling for failed loads. Which Azure service should they use to orchestrate this process?

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

Azure Data Factory is the correct choice for orchestrating scheduled batch loading from ADLS Gen2 into a Synapse dedicated SQL pool. Its Copy activity provides high-throughput, parallelized data movement with native connectors for both ADLS Gen2 and Azure Synapse, while pipeline triggers (such as schedule or tumbling window) enable reliable recurring execution. ADF also offers robust error handling, retries, and monitoring, and can invoke Stored Procedure activities to run Synapse transformations, making it the definitive ETL orchestration service for this scenario.

Why this answer

Azure Data Factory is the correct choice because it is a cloud-based ETL service designed specifically for orchestrating and automating data movement and transformation at scale. It supports scheduled triggers, native connectors to Azure Data Lake Storage Gen2 and Azure Synapse Analytics, and built-in error handling via retry policies and failure activities, making it ideal for nightly CSV file loads.

Exam trap

The trap here is that candidates may confuse Azure Data Factory with Azure Logic Apps because both can schedule and automate tasks, but Logic Apps lacks native data warehouse connectors and high-throughput data movement capabilities required for enterprise ETL workloads.

How to eliminate wrong answers

Option B (Azure Stream Analytics) is wrong because it is a real-time stream processing service for analyzing data in motion, not a batch orchestration tool for scheduled file loads. Option C (Azure Databricks) is wrong because it is an Apache Spark-based analytics platform focused on big data processing and machine learning, not a native orchestration service for scheduled data movement with built-in error handling. Option D (Azure Logic Apps) is wrong because it is a low-code workflow automation service primarily for integrating SaaS applications and APIs, not designed for high-throughput data warehouse loading with enterprise-grade error handling and scheduling.

352
MCQmedium

A company uses Azure SQL Database for a sales application. They need to replicate the database to a secondary region for disaster recovery. The secondary should be readable for reporting purposes and data should be synchronized within seconds. Which feature should they use?

A.Active Geo-Replication
B.Auto-failover groups
C.Point-in-time restore
D.Long-term retention
AnswerA

Active Geo-Replication asynchronously replicates committed transactions from the primary Azure SQL database to a readable secondary in a different region, keeping the copy continuously synchronized with a lag usually measured in seconds. This provides a warm, readable target that can serve reporting workloads without impacting the primary, and because Azure manages the replication process, administrative overhead remains minimal. It also supports manual failover for disaster recovery, but for a persistent reporting secondary it is the simplest and most direct fit.

Why this answer

Active Geo-Replication is the correct choice because it creates a readable secondary replica in a different Azure region, with data synchronized within seconds via asynchronous replication. This meets the requirement for both disaster recovery and read-only reporting access, as the secondary can be queried directly without impacting the primary database.

Exam trap

The trap here is that candidates often confuse Auto-failover groups with Active Geo-Replication, assuming the group feature provides faster synchronization, when in fact both use the same asynchronous replication and the key difference is that Auto-failover groups add automatic failover and endpoint management, not lower latency.

How to eliminate wrong answers

Option B (Auto-failover groups) is wrong because while it supports readable secondaries and automatic failover, it is designed for group-level failover of multiple databases and does not guarantee sub-second synchronization; it uses the same underlying geo-replication but adds orchestration, not faster sync. Option C (Point-in-time restore) is wrong because it restores a database to a past state from backups, not a continuously synchronized readable secondary for disaster recovery. Option D (Long-term retention) is wrong because it preserves backups for years for compliance, not for real-time replication or readable secondaries.

353
MCQmedium

A company stores customer data in an Azure SQL Database. To comply with data residency requirements, they need to ensure that all customer data remains within a specific Azure region. Which feature should they use?

A.Use Azure Policy to restrict resource creation to allowed regions
B.Enable geo-replication
C.Configure dynamic data masking
D.Enable transparent data encryption (TDE)
AnswerA

Azure Policy can enforce data residency by applying a policy definition to deny or audit the creation of Azure SQL Database resources outside an approved region. You can target the resource types Microsoft.Sql/servers and Microsoft.Sql/servers/databases, and include parameters for allowed locations so both server and database must be in the required geography. The Deny effect blocks any non-compliant deployment before it happens, while Audit logs violations, making this a governance and compliance control rather than a data-protection feature.

Why this answer

To comply with data residency requirements, the company must ensure that all customer data remains within a specific Azure region. Azure Policy allows administrators to define and enforce rules that restrict resource creation to allowed regions, thereby preventing the deployment of Azure SQL Database or any other resources outside that region. This directly supports data residency by controlling where data can be stored.

In contrast, geo-replication (option B) replicates data to a secondary region, which would move data out of the specified region, violating the requirement. Dynamic data masking (option C) and transparent data encryption (option D) are security features that protect data at rest or in use but do not control geographic placement. Therefore, Azure Policy is the correct feature to meet the data residency requirement.

354
MCQeasy

An organization wants to build a real-time dashboard that visualizes IoT sensor data as it arrives. Which Azure service should they use for processing the streaming data?

A.Azure Analysis Services
B.Azure Data Factory
C.Azure Databricks
D.Azure Stream Analytics
AnswerD

Azure Stream Analytics is a fully managed stream processing engine that executes SQL-like queries continuously on data arriving from sources like Azure Event Hubs, IoT Hub, or Blob Storage, and it can output directly to Power BI for real-time dashboards. It supports time-based windowing, aggregations, and filtering, allowing you to compute meaningful metrics like averages or counts over a defined time slice with latency in the range of a second. Being purpose-built for real-time stream processing, it offers a simple declarative query model and the easiest integration path to live visuals, making it the correct choice here.

Why this answer

Azure Stream Analytics is a real-time analytics service designed to process streaming data from sources like IoT devices. It can ingest data from Azure Event Hubs or IoT Hub, apply SQL-based queries to detect patterns or anomalies, and output results to a dashboard or storage with sub-second latency, making it ideal for real-time IoT dashboards.

Exam trap

Microsoft often tests the distinction between batch processing (Data Factory) and real-time stream processing (Stream Analytics), and candidates mistakenly choose Azure Databricks because they associate it with 'big data' without recognizing Stream Analytics as the simpler, purpose-built service for streaming IoT dashboards.

How to eliminate wrong answers

Option A is wrong because Azure Analysis Services is an OLAP engine for semantic modeling and reporting on historical data, not for real-time stream processing. Option B is wrong because Azure Data Factory is a cloud-based ETL and data orchestration service for batch data movement and transformation, not designed for low-latency streaming. Option C is wrong because Azure Databricks is a big data analytics platform that can handle streaming via Structured Streaming, but it is overkill for simple real-time dashboards and requires more complex setup compared to the purpose-built Stream Analytics service.

355
MCQhard

A company uses Azure SQL Database for a financial system. The Transactions table contains millions of rows with a TransactionDate column. Queries frequently aggregate sales totals for the current month, but historical data must be retained for 7 years. Currently, queries scan the entire table, causing performance issues. The company also wants to simplify archiving of old data. Which design should they implement?

A.Create a non-clustered index on the TransactionDate column.
B.Implement table partitioning by month on TransactionDate.
C.Create a materialized view for the current month's data.
D.Convert the table to use a clustered columnstore index.
AnswerB

Partitioning enables partition elimination for queries filtering on TransactionDate, reducing scan size. Old partitions can be switched out for easy archiving without impacting the live table.

Why this answer

Table partitioning by month on TransactionDate allows Azure SQL Database to efficiently manage and query large tables by splitting data into manageable segments. Queries that filter on TransactionDate for the current month will only scan the relevant partition(s), eliminating full table scans. Additionally, partitioning simplifies archiving by enabling swift partition switching to move old data to archive tables without complex ETL processes.

Exam trap

The trap here is that candidates often choose a non-clustered index (Option A) thinking it will speed up range queries, but they overlook that partitioning is specifically designed for both performance on large tables and simplified data lifecycle management, which the question explicitly requires.

How to eliminate wrong answers

Option A is wrong because a non-clustered index on TransactionDate would still require key lookups for non-indexed columns and does not eliminate scanning all partitions of historical data; it also does not simplify archiving. Option B is wrong because a materialized view for the current month's data would require manual maintenance and does not address the need to retain and efficiently query 7 years of historical data; it also does not simplify archiving of old data. Option D is wrong because a clustered columnstore index is optimized for analytical workloads on large tables but does not inherently partition data by month, so queries for the current month would still scan all column segments, and it does not provide a built-in mechanism for archiving old data.

356
MCQhard

A multinational corporation is deploying a global application using Azure SQL Database. They need to ensure that users in different geographic regions experience low latency reads. The application can tolerate slightly stale data for reads, but writes must be strongly consistent and must occur in a single primary region. Which feature should they implement?

A.Azure Cosmos DB with multi-master
B.Active geo-replication
C.Failover groups
D.Read scale-out
AnswerB

Active geo-replication is the correct choice because it creates readable secondary replicas of an Azure SQL database in different regions, allowing applications to direct read-only queries to the nearest secondary for low-latency access. These secondaries are maintained through asynchronous replication, so they are near-real-time but not guaranteed to be transaction-consistent with the primary. This directly addresses the need for global read performance while keeping the primary as the sole write endpoint, which is simpler and more predictable than multi-master.

Why this answer

Active geo-replication (Option B) creates readable secondary databases in other Azure regions. Reads can be directed to the secondary for low latency, while writes always go to the primary and are strongly consistent. This matches the requirement for globally distributed users with low-latency reads and strong consistency for writes.

Option A (Azure Cosmos DB with multi-master) is a NoSQL solution, not relational. Option C (Failover groups) manages geo-replication and provides automatic failover, but it still relies on active geo-replication to create the readable secondaries; it does not directly enable low-latency reads. Option D (Read scale-out) uses local read-only replicas within the same region, not globally.

357
MCQmedium

A social networking 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. However, the application can tolerate temporary staleness for posts from other users (e.g., a few seconds delay). Which Azure Cosmos DB consistency level should the application use for read operations that display the feed?

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

Session consistency uses a session token to ensure that within the same client session, reads reflect the writes made by that client. This satisfies the requirement that the user sees their own post immediately, while other reads may see slightly stale data.

Why this answer

Session consistency is the correct choice because it guarantees that the user who writes a post will read their own write within the same session, while allowing other users to see slightly stale data. This matches the requirement: the author immediately sees their new post, but the application can tolerate a few seconds of staleness for other users' posts. Session consistency uses a session token to ensure monotonic reads and writes for the same client, making it ideal for per-user feed scenarios.

Exam trap

The trap here is that candidates confuse 'session' with 'eventual' because both allow staleness, but session guarantees per-user write-read consistency, which eventual does not, and they overlook that bounded staleness applies globally, not per-user.

Why the other options are wrong

A

Strong consistency would enforce immediate visibility for all users, but the application only needs the posting user to see their own post immediately. Strong consistency is overkill and would increase latency and reduce availability unnecessarily.

B

Bounded staleness allows a configurable lag (time or operations), but the application requires that the user's own post is immediately visible after refresh. Session consistency guarantees monotonic reads for the same session, which matches the requirement of seeing one's own post immediately while tolerating staleness for others.

D

Eventual consistency allows stale reads for any user, including the one who just posted, so the user might not see their own post immediately after refresh, which violates the requirement that the user must see their own post right away.

When would these options actually be correct?

A

A banking application that processes financial transactions (e.g., account balance updates) where any read must reflect the latest write to prevent overdrafts or double-spending. The question would specify zero tolerance for staleness and require linearizability.

B

An application requires that all reads see the same latest write within a defined time window (e.g., 5 seconds) or after a certain number of operations, but does not need immediate consistency for any specific user. For example, a stock ticker that must show prices updated within 2 seconds across all clients.

D

Eventual consistency would be correct for a scenario where the application can tolerate temporary staleness for all reads, including the user's own writes, and high availability and low latency are prioritized over immediate consistency, such as in a global leaderboard that updates periodically.

Why candidates pick the wrong answer

A

Candidates may think 'strong' is always the safest choice for consistency, overlooking that the application explicitly tolerates temporary staleness for other users' posts, making a weaker level sufficient.

B

Candidates may think 'bounded staleness' is a middle ground that offers some freshness guarantee, but they overlook that session consistency is specifically designed for per-user write-read consistency, which is the exact need here.

D

Candidates may choose Eventual because the question mentions tolerance for temporary staleness for other users' posts, but they overlook the critical requirement that the user must immediately see their own post, which Session consistency guarantees via read-your-writes.

358
MCQeasy

A startup is building a mobile app that allows users to share short text updates. Each update includes a user ID, timestamp, and message text. The development team expects rapid growth and needs a storage solution that can scale horizontally, handle high write throughput, and provide low-latency reads globally. Which Azure data service is most appropriate?

A.Azure SQL Database with a single database.
B.Azure Cosmos DB with a multi-master configuration and partition on user ID.
C.Azure Blob Storage with append blobs.
D.Azure Table Storage with user ID as partition key and timestamp as row key.
AnswerB

Azure Cosmos DB with multi-master configuration and partition on user ID is correct because it provides active-active multi-region writes, 99.999% availability, and tunable consistency with single-digit millisecond latencies at the 99th percentile. Using user ID as the partition key co-locates all posts from one user on the same logical partition, enabling efficient queries and scalable writes. Multi-master lets users write to the nearest region while Cosmos DB reconciles conflicts, which is exactly what a high-throughput, globally distributed short-text app needs.

Why this answer

Azure Cosmos DB with a multi-master configuration is the most appropriate choice because it provides global distribution with multiple write regions, enabling horizontal scaling and low-latency reads and writes worldwide. Partitioning on user ID ensures even data distribution and efficient query performance for the app's high write throughput requirements.

Exam trap

The trap here is that candidates often confuse Azure Table Storage's horizontal scaling with the global, multi-master capabilities of Cosmos DB, assuming Table Storage can provide low-latency writes worldwide when it lacks native multi-region write support and has higher latency for cross-region scenarios.

How to eliminate wrong answers

Option A is wrong because Azure SQL Database with a single database is a relational database that scales vertically (up to a maximum size and DTU/vCore limit) and cannot natively handle global low-latency reads or multi-region writes without complex sharding or read replicas. Option C is wrong because Azure Blob Storage with append blobs is designed for unstructured data like logs or files, not for low-latency, high-throughput transactional updates with querying by user ID and timestamp. Option D is wrong because Azure Table Storage, while scalable, does not support multi-master writes or global low-latency reads natively; it is a key-value store with limited query capabilities and eventual consistency by default, which may not meet the app's need for low-latency writes globally.

359
MCQmedium

A social media company stores user posts as JSON documents in Azure Cosmos DB. Each post may have a different number of fields and nested objects. Which type of data model does this represent?

A.Key-value
B.Column-family
C.Document
D.Graph
AnswerC

A document database, such as Azure Cosmos DB, stores each social media post as an independent JSON document and can index individual fields and nested properties for queries. The schema is flexible, so different posts can contain different fields without migrations, matching the naturally evolving JSON structure of user-generated content. This native JSON support with dot-notation field access and rich indexing is exactly why this scenario points to a document data store.

Why this answer

The scenario describes user posts stored as JSON documents with varying fields and nested objects. Azure Cosmos DB's Document data model (using the SQL API or MongoDB API) is designed for semi-structured, schema-agnostic data where each document can have a different structure, making it the correct choice.

Exam trap

The trap here is that candidates may confuse the document model with key-value because both handle unstructured data, but key-value stores lack the ability to query on nested fields or perform rich queries like those supported by Cosmos DB's SQL API.

How to eliminate wrong answers

Option A is wrong because a key-value data model stores data as simple key-value pairs without support for nested objects or querying on fields within the value. Option B is wrong because a column-family data model organizes data into rows and column families, requiring a predefined schema for columns, not flexible JSON documents. Option D is wrong because a graph data model is optimized for relationships between entities using nodes and edges, not for storing semi-structured documents with varying fields.

360
MCQmedium

A banking application processes fund transfers. When a transfer is executed, the system must either successfully debit one account and credit the other, or if any step fails, the entire operation must be rolled back so no partial changes remain. Which ACID property directly enforces this behavior?

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

Atomicity guarantees that a transaction is treated as a single, indivisible unit: either all its operations (e.g., debit and credit in a fund transfer) execute successfully and commit, or none take effect. If any step fails, the database management system rolls back all completed steps to the original state, using undo logs or shadow paging. This all-or-nothing property prevents partial updates, making it the correct ACID property for a multi-step transfer.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work. In this banking scenario, the debit and credit operations are part of one transaction; if either step fails, the entire transaction is rolled back, leaving no partial changes. This is the core property that enforces the 'all-or-nothing' behavior described.

Exam trap

The trap here is that candidates confuse Consistency with Atomicity, thinking that 'keeping data consistent' means the same as 'all-or-nothing rollback,' but Consistency only enforces rules like constraints and triggers, not the indivisible execution of a multi-step operation.

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, enforcing integrity constraints (e.g., account balances must never go negative), but it does not guarantee the all-or-nothing rollback of the entire operation. Option C (Isolation) is wrong because isolation controls how concurrent transactions are executed to prevent interference (e.g., dirty reads), but it does not enforce the atomic rollback of a failed multi-step transfer. Option D (Durability) is wrong because durability guarantees that once a transaction is committed, its changes persist even after a system failure, but it has no role in rolling back a failed transaction.

361
MCQeasy

A company collects data from multiple sources: IoT sensor streams, social media feeds, and CSV files from legacy systems. They want to store all this data in its original format without any transformation, so that data scientists can later apply machine learning models or run ad-hoc queries. Which data storage pattern best describes this approach?

A.Data warehouse
B.Data lake
C.Relational database
D.Data mart
AnswerB

A data lake is a centralized repository that stores raw data in its native format, from IoT sensor streams to structured files, without requiring a predefined schema. It employs schema-on-read, so data scientists can explore and run ad-hoc analytics before defining structure. This makes it ideal for diverse, high-volume streaming data where format and meaning may evolve over time.

Why this answer

A data lake is designed to store vast amounts of raw data in its native format (structured, semi-structured, or unstructured) without requiring upfront schema or transformation. This aligns perfectly with the scenario of ingesting IoT streams, social media feeds, and CSV files as-is, enabling data scientists to later apply machine learning or run ad-hoc queries directly against the raw data.

Exam trap

The trap here is that candidates often confuse a data lake with a data warehouse, assuming both are for analytics, but the key differentiator is that a data lake stores raw, unprocessed data while a data warehouse requires transformation and schema-on-write.

Why the other options are wrong

A

A data warehouse requires schema-on-write and data transformation before loading, which contradicts the requirement to store data in its original format without transformation.

D

A data mart is a subset of a data warehouse focused on a specific business function, not designed to store raw, untransformed data from diverse sources like IoT streams and social media feeds.

When would these options actually be correct?

A

A company needs to store structured, cleansed, and integrated data from multiple operational systems for business intelligence reporting and historical analysis, where data is transformed and optimized for query performance.

D

A question that asks for a storage pattern optimized for a specific department's reporting needs, such as 'A sales team needs fast access to aggregated sales data from a data warehouse for quarterly reports.'

Why candidates pick the wrong answer

A

Candidates may associate 'multiple data sources' with a data warehouse, which is commonly used for integrating data from various sources, but overlook the key requirement of storing data in its original format without transformation.

D

Candidates may confuse 'data mart' with 'data lake' due to similar-sounding names, or think a data mart can handle raw data because it's a storage repository.

362
MCQmedium

A company stores customer orders in an Azure SQL Database. They need to ensure that the database can automatically scale to handle peak loads without manual intervention. Which Azure feature should they use?

A.Purchase reserved capacity
B.Add a read replica
C.Enable the serverless compute tier
D.Configure an elastic pool
AnswerC

Enabling the serverless compute tier for Azure SQL Database is the correct choice because it automatically scales compute capacity (measured in vCores) based on actual workload demand, scaling up or down within a configured range. It even pauses the database automatically during periods of inactivity, so you are billed only for storage, and resumes quickly when a request arrives. This fits an intermittent order-insert workload without manual intervention.

Why this answer

The serverless compute tier for Azure SQL Database automatically pauses and resumes the database based on compute usage, scaling compute resources on demand without manual intervention. This makes it ideal for handling unpredictable peak loads while minimizing costs during idle periods.

Exam trap

The trap here is that candidates confuse elastic pools with automatic scaling, but elastic pools only share resources across databases and require manual adjustment of pool limits, whereas serverless provides true auto-scale and auto-pause for a single database.

How to eliminate wrong answers

Option A is wrong because purchasing reserved capacity provides a discount for pre-committed usage but does not enable automatic scaling. Option B is wrong because adding a read replica offloads read-only workloads for performance, not for scaling compute capacity automatically. Option D is wrong because configuring an elastic pool shares resources among multiple databases but requires manual scaling of the pool's eDTU/vCore limits and does not provide automatic, per-database compute scaling.

363
MCQmedium

A financial services company is building a real-time fraud detection system. Transactions are streamed from multiple sources into Azure Event Hubs. The system must run a trained machine learning model (scored in near real-time) to flag suspicious transactions. The model is a Python pickle file that needs to be deployed as a web service with low latency (under 100 ms per prediction). The data engineering team wants to use a serverless compute option to run the scoring logic, and the solution must integrate with Azure Stream Analytics for alerting. Which Azure service should you use to deploy the model?

A.Azure Functions
B.Azure Machine Learning managed online endpoint
C.Azure Kubernetes Service (AKS)
D.Azure Databricks
AnswerB

Azure Machine Learning managed online endpoints are purpose-built for deploying models as production-grade, real-time REST APIs. These endpoints handle the underlying infrastructure, including load balancing and auto-scaling, so you get a serverless experience with low latency and high availability. For fraud detection, the endpoint can be invoked from Azure Stream Analytics or any consumer over HTTP, returning predictions in milliseconds and thus meeting the strict sub-second performance requirements of real-time transaction monitoring.

Why this answer

Azure Machine Learning managed online endpoints are the correct choice because they are designed for deploying trained models (including Python pickle files) as low-latency web services (under 100 ms per prediction) with serverless compute. They natively integrate with Azure Stream Analytics for alerting, allowing real-time scoring of streaming transactions from Event Hubs without managing infrastructure.

Exam trap

The trap here is that candidates often choose Azure Functions because it is serverless and familiar, but they overlook the strict latency requirement (under 100 ms) and the need for native integration with Azure Stream Analytics, which Azure Machine Learning managed online endpoints satisfy directly.

How to eliminate wrong answers

Option A is wrong because Azure Functions, while serverless, has a cold-start latency that often exceeds 100 ms and is not optimized for hosting machine learning models (especially pickle files) with sub-100 ms inference requirements; it also lacks native integration with Azure Stream Analytics for alerting. Option C is wrong because Azure Kubernetes Service (AKS) is not serverless (it requires cluster management and scaling configuration) and introduces additional latency and complexity for a simple scoring endpoint, making it unsuitable for the stated serverless requirement. Option D is wrong because Azure Databricks is a big data analytics platform designed for batch and interactive processing, not for deploying low-latency web services; it would introduce significant overhead and latency for real-time scoring and does not natively integrate with Azure Stream Analytics for alerting.

364
MCQhard

A global e-commerce company uses Azure SQL Database for its order management system. They need to ensure high availability with the ability to fail over to an Azure region in a different continent in case of a regional outage. They also want to use the secondary database for read-intensive reporting without affecting the primary's performance. Which Azure SQL Database feature should they enable?

A.Active geo-replication
B.Long-term backup retention
C.Automatic tuning
D.Connection pooling
AnswerA

Active geo-replication creates a readable secondary database in a different Azure region. It allows failover and offloads read-heavy workloads to the secondary. The secondary is readable and can be used for reporting.

Why this answer

Active geo-replication is the correct choice because it creates readable secondary replicas of an Azure SQL Database in a different Azure region (including a different continent). It supports manual failover to the secondary region during an outage, and the secondary can be used for read-only query workloads like reporting without impacting the primary database's performance.

Exam trap

The trap here is that candidates may confuse 'geo-replication' with 'failover groups' or assume that any backup feature (like long-term retention) can serve as a high-availability solution, but only active geo-replication provides a readable secondary in a different continent for both failover and read-scale.

How to eliminate wrong answers

Option B (Long-term backup retention) is wrong because it only preserves database backups for extended periods (up to 10 years) for compliance or recovery, not for real-time failover or read-scale. Option C (Automatic tuning) is wrong because it optimizes query performance through index and plan recommendations, not for high availability or geo-failover. Option D (Connection pooling) is wrong because it manages client-side database connections to reduce latency and resource usage, but does not provide any regional redundancy or read-scale capability.

365
MCQeasy

An e-commerce application uses Azure SQL Database and stores user session data in a table called Sessions. The table contains millions of rows and queries often filter by UserID and LastActivityTime. The development team wants to improve query performance for these filters. What should they implement?

A.Create a clustered index on the SessionID column
B.Create a view that filters the data
C.Create a nonclustered index on UserID and LastActivityTime
D.Partition the table by month
AnswerC

A composite nonclustered index on (UserID, LastActivityTime) is precisely tailored for queries that filter on those two columns, often with UserID as an equality predicate and LastActivityTime as a range predicate. The index's B-tree structure lets SQL Server perform an index seek directly to the relevant rows, significantly reducing logical I/O compared to a full table scan. Because UserID is the leading column, it supports point lookups, while LastActivityTime handles ordering or upper/lower bound filters, making it the optimal, low-cost choice for these access patterns.

Why this answer

A nonclustered index on UserID and LastActivityTime allows the database engine to quickly locate rows matching the filter criteria without scanning the entire table. This index covers the two columns most frequently used in WHERE clauses, significantly reducing I/O and improving query performance for the e-commerce application's session data.

Exam trap

The trap here is that candidates often confuse partitioning with indexing, thinking partitioning alone improves query performance, but without appropriate indexes, queries still require scanning large amounts of data.

How to eliminate wrong answers

Option A is wrong because creating a clustered index on SessionID would physically order the table by that column, which is not used in the filter queries; it would not help queries filtering by UserID and LastActivityTime. Option B is wrong because a view is a saved query definition that does not improve performance; it does not create any index or physical data structure to speed up filtering. Option D is wrong because partitioning the table by month would divide data into segments based on time, but without proper indexes on UserID and LastActivityTime, queries still require scanning multiple partitions or performing full scans within partitions.

366
MCQmedium

A social media company stores user profiles as JSON documents where each profile may have different attributes (e.g., some profiles include 'education' while others include 'work history'). The company also stores user-generated posts in a relational database table with fixed columns (PostID, UserID, Content, Timestamp). Which of the following best describes the data types used for user profiles and user posts?

A.User profiles are structured data; posts are unstructured data.
B.User profiles are semi-structured data; posts are structured data.
C.Both are semi-structured data.
D.User profiles are unstructured data; posts are structured data.
AnswerB

User profiles are semi-structured because JSON documents allow variable attribute sets—some users may have 'verified' while others have 'pronouns'—so there is no fixed schema, but the data still carries self-describing key-value pairs. Posts, in contrast, are stored in a fixed relational schema with consistent columns such as post_id, user_id, content, and created_timestamp, making them classic structured data. This combination makes the statement correct.

Why this answer

User profiles are stored as JSON documents with varying attributes, which is a classic example of semi-structured data because it has some organizational properties (key-value pairs) but does not enforce a fixed schema. User posts are stored in a relational database table with fixed columns (PostID, UserID, Content, Timestamp), which is structured data because it adheres to a rigid schema with defined data types and relationships.

Exam trap

The trap here is that candidates often confuse 'semi-structured' with 'unstructured' because JSON looks like free-form text, but JSON actually has a defined key-value structure, making it semi-structured, not unstructured.

Why the other options are wrong

A

User profiles are JSON documents with varying attributes, which is semi-structured data, not structured. Posts have fixed columns, which is structured data, not unstructured.

C

User posts are stored in a relational database with fixed columns (PostID, UserID, Content, Timestamp), making them structured data, not semi-structured. Only user profiles (JSON with varying attributes) are semi-structured.

D

User profiles are JSON documents with varying attributes, which is the definition of semi-structured data, not unstructured. Posts have fixed columns, making them structured data, not unstructured.

When would these options actually be correct?

A

This option would be correct if user profiles had a fixed schema (e.g., always same attributes) and posts were free-text without a fixed schema (e.g., stored as plain text files).

C

This option would be correct if both datasets were stored as JSON documents with varying attributes (e.g., user profiles and posts both in a NoSQL document store) and no fixed schema enforced.

D

If the question described user profiles as free-text fields (e.g., 'bio' with no schema) and posts as images or videos without metadata, then profiles would be unstructured and posts would be unstructured as well, but this option would be correct if posts were structured (e.g., fixed columns).

Why candidates pick the wrong answer

A

Candidates may confuse 'structured' with 'organized' and think JSON is structured, or they may not distinguish between semi-structured and structured data.

C

Candidates may confuse 'semi-structured' with 'unstructured' or think that JSON always implies semi-structured, but they overlook that the posts have a fixed relational schema, making them structured.

D

Candidates may confuse JSON with unstructured data because JSON is not a traditional relational format, or they may think that any data without a fixed schema is unstructured, ignoring that JSON has a defined structure (key-value pairs).

367
MCQhard

A company is migrating a 3-TB on-premises SQL Server database to Azure. The database heavily uses cross-database queries with three-part names (e.g., db.schema.table) and relies on SQL Server Agent for scheduled maintenance jobs. They want a fully managed PaaS service with automatic backups and patching, while minimizing application code changes. Which Azure SQL service should they choose?

A.Azure SQL Managed Instance
B.Azure SQL Database (single database)
C.Azure SQL Database (elastic pool)
D.Azure Synapse Analytics dedicated SQL pool
AnswerA

Azure SQL Managed Instance is the correct choice because it offers near-total parity with on-premises SQL Server, preserving critical features like SQL Server Agent and three-part cross-database queries, which are essential for a seamless lift-and-shift of a 3 TB transactional database. Its instance-level scope allows multiple databases to reside on the same logical server, enabling in-database queries across those databases without application rewrites. Being fully managed, it handles patching, backups, and high availability, making it the ideal target for this migration.

Why this answer

Azure SQL Managed Instance is the correct choice because it provides near-100% compatibility with on-premises SQL Server, including support for cross-database queries using three-part names (db.schema.table) and SQL Server Agent for scheduled maintenance jobs. As a fully managed PaaS service, it offers automatic backups, patching, and high availability while minimizing application code changes, unlike Azure SQL Database which lacks cross-database query support and SQL Agent.

Exam trap

The trap here is that candidates often choose Azure SQL Database (single or elastic pool) because it is the most well-known PaaS option, overlooking that it lacks critical on-premises features like cross-database three-part name queries and SQL Server Agent, which are essential for minimizing code changes in this migration scenario.

Why the other options are wrong

B

Azure SQL Database (single database) does not support cross-database queries using three-part names or SQL Server Agent, both of which are required by the scenario.

C

Azure SQL Database (elastic pool) does not support cross-database queries with three-part names or SQL Server Agent, so it cannot meet the migration requirements without significant application changes.

D

Azure Synapse Analytics dedicated SQL pool is a massively parallel processing (MPP) data warehouse designed for large-scale analytics, not for OLTP workloads with cross-database queries and SQL Server Agent jobs. It does not support cross-database queries using three-part names or SQL Server Agent, and migrating a 3-TB SQL Server database with those dependencies would require significant application changes.

When would these options actually be correct?

B

A company needs a fully managed PaaS database for a new application with no cross-database dependencies and no need for SQL Agent. They want automatic backups and patching, and the application uses simple single-database connections.

C

A company needs to manage multiple databases with varying and unpredictable usage patterns, wanting to optimize cost by sharing resources among databases while still getting automatic backups and patching. They do not require cross-database queries or SQL Agent.

D

This option would be correct for a question about migrating a large data warehouse (e.g., 10+ TB) for analytics and reporting, where the workload is read-intensive, uses PolyBase for data integration, and does not require cross-database queries or SQL Server Agent. The question would emphasize petabyte-scale data and high concurrency for complex queries.

Why candidates pick the wrong answer

B

Candidates may think 'fully managed PaaS' always means Azure SQL Database, overlooking the specific requirements for cross-database queries and SQL Agent that only Managed Instance supports.

C

Candidates may think elastic pools are a fully managed PaaS option that can handle multiple databases, but they overlook the lack of support for cross-database queries and SQL Agent, which are critical in this scenario.

D

Candidates may confuse Azure Synapse Analytics with a general-purpose database service due to its SQL-based interface, or they might think its dedicated SQL pool can handle any large database migration, overlooking its specialized analytics focus and lack of support for cross-database queries and SQL Agent.

368
MCQhard

A company uses Azure Synapse Analytics for its data warehouse. They notice that query performance is degrading over time as data grows. Which action would most likely improve performance without requiring additional compute resources?

A.Partition large tables based on date or other high-cardinality columns
B.Migrate to a star schema on a separate Azure SQL Database
C.Increase the Synapse SQL pool service level
D.Remove columnstore indexes from large tables
AnswerA

Partitioning large tables on a date or other high-cardinality column enables partition elimination, so a query only reads the relevant partitions instead of scanning the entire table. In Synapse dedicated SQL pools, this reduces I/O and improves response times for queries that filter by that column, and it also simplifies lifecycle operations like sliding-window data loads.

Why this answer

Partitioning large tables on a high-cardinality column like date enables partition elimination, where queries only scan relevant partitions instead of the entire table. This reduces I/O and improves performance without requiring additional compute resources, as it optimizes data access patterns within the existing Synapse SQL pool.

Exam trap

The trap here is that candidates may confuse partitioning with indexing or scaling, and incorrectly assume that removing indexes or migrating to a different service is a valid optimization without considering the 'no additional compute resources' constraint.

How to eliminate wrong answers

Option B is wrong because migrating to a star schema on a separate Azure SQL Database would require additional compute resources (a new database) and does not address the performance degradation within the existing Synapse Analytics environment. Option C is wrong because increasing the Synapse SQL pool service level directly adds compute resources (DWUs), which contradicts the requirement of not requiring additional compute resources. Option D is wrong because removing columnstore indexes from large tables would severely degrade query performance, as columnstore indexes are essential for compression and efficient analytical queries in Synapse; this action would worsen, not improve, performance.

369
MCQmedium

Your company is developing a new analytics solution to track customer sentiment from social media feeds. The data arrives as a continuous stream of JSON messages. The solution must process the data in near real-time, enrich it with customer profile data stored in Azure Cosmos DB, and then store the results in a data lake for historical analysis. The team wants to use a low-code approach for the data processing logic. You are considering the following architectures: A) Use Azure Event Hubs to ingest the stream, Azure Stream Analytics to process and enrich the data using Cosmos DB as a reference data source, and output to Azure Data Lake Storage Gen2. B) Use Azure IoT Hub to ingest the stream, Azure Databricks to process the data, and write to Azure Blob Storage. C) Use Azure Event Hubs to ingest the stream, Azure Functions to process each message, query Cosmos DB for enrichment, and write to Azure Data Lake Storage Gen2. D) Use Azure Event Hubs to ingest the stream, Azure Data Factory to execute a mapping data flow for enrichment, and write to Azure Data Lake Storage Gen2. Which architecture best meets the requirements of near real-time processing, enrichment, and low-code?

A.Option A
B.Option C
C.Option D
D.Option B
AnswerA

Azure Stream Analytics is a fully managed, serverless stream-processing engine that provides a low-code, SQL-based query language in the Azure portal. It supports near real-time ingestion from Event Hubs, IoT Hub, and Blob Storage, and can enrich incoming telemetry with reference data, such as product catalogs or device metadata, via simple JOIN operations. Its sub-minute latency and built-in windowing functions make it the ideal fit for a low-code analytics solution that must track and respond to events as they occur without custom application code.

Why this answer

Azure Stream Analytics provides a low-code, SQL-based approach for near real-time processing, and it can natively enrich streaming data by using Azure Cosmos DB as a reference data source via a JOIN operation. The output is directly written to Azure Data Lake Storage Gen2, meeting all requirements without custom code.

Exam trap

The trap here is that candidates often confuse Azure Stream Analytics with Azure Data Factory, assuming both can handle streaming, but Data Factory is batch-only and cannot process a continuous Event Hubs stream in near real-time.

How to eliminate wrong answers

Option B is wrong because Azure IoT Hub is designed for device-to-cloud telemetry, not social media feeds, and Azure Databricks requires coding (Python/Scala) and is not a low-code solution. Option C is wrong because Azure Functions requires writing custom code for each message, which violates the low-code requirement, and it does not natively support reference data enrichment from Cosmos DB in a streaming context. Option D is wrong because Azure Data Factory mapping data flows are designed for batch processing, not near real-time streaming, and they cannot ingest a continuous stream from Event Hubs directly.

370
MCQeasy

A retail company stores product inventory data in a fixed-schema table with columns for ProductID, ProductName, QuantityInStock, and ReorderLevel. How should this data be classified?

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

Correct - The data has a fixed schema organized in rows and columns, which is the definition of structured data.

Why this answer

This data is classified as structured data because it conforms to a fixed schema with clearly defined columns (ProductID, ProductName, QuantityInStock, ReorderLevel) and data types, stored in a relational table. Structured data is highly organized, easily queryable via SQL, and follows a rigid schema, which matches the description of the inventory table.

Exam trap

The trap here is that candidates may confuse structured data with semi-structured data because both involve some organization, but the key distinction is that structured data requires a rigid, predefined schema (like a fixed-schema table), while semi-structured data allows schema flexibility (e.g., JSON with optional fields).

How to eliminate wrong answers

Option B is wrong because semi-structured data (e.g., JSON, XML, or CSV with flexible schemas) does not enforce a fixed schema or strict column definitions, whereas this table has a predefined schema. Option C is wrong because unstructured data (e.g., text files, images, or videos) lacks any predefined data model or organization, unlike the tabular inventory data. Option D is wrong because streaming data refers to continuous, real-time data flows (e.g., IoT sensor data or clickstreams), not static data stored in a table.

371
MCQmedium

Refer to the exhibit. You are reviewing an Azure Cosmos DB account configuration. Which API is this account configured to use?

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

The Cassandra API for Azure Cosmos DB is specifically activated by the 'EnableCassandra' capability flag in the account configuration, and the exhibit clearly shows this property set to true. This flag tells Azure to expose Cassandra-compatible endpoints that accept CQL and work with existing Cassandra drivers. When this flag is enabled, Cosmos DB manages Cassandra tables, partitions, and replication under the hood, giving you Cassandra's query language with Cosmos DB's global distribution. Therefore, the presence of EnableCassandra definitively identifies this as a Cassandra API account.

Why this answer

The 'capabilities' array includes 'EnableCassandra', which indicates the Cassandra API is enabled. Option C is correct. Option A (Table API) would have 'EnableTable', Option B (SQL/Core API) would have 'EnableSQL' or no capability, and Option D (MongoDB API) would have 'EnableMongo'.

372
MCQhard

Match each ACID property with its correct description. Properties: - Atomicity - Consistency - Isolation - Durability Descriptions: 1. Transactions appear to execute one after the other, even if they are concurrent. 2. Once a transaction is committed, the changes are permanently saved and survive failures. 3. A transaction either completes fully or is rolled back entirely. 4. A transaction brings the database from one valid state to another, obeying all rules. Which option correctly maps each property to its description?

A.Atomicity → 3, Consistency → 4, Isolation → 1, Durability → 2
B.Atomicity → 4, Consistency → 3, Isolation → 2, Durability → 1
C.Atomicity → 2, Consistency → 1, Isolation → 3, Durability → 4
D.Atomicity → 1, Consistency → 2, Isolation → 4, Durability → 3
AnswerA

This is the correct mapping of ACID properties to their standard definitions.

Why this answer

It accurately maps each ACID property to its definition. Atomicity ensures a transaction is all-or-nothing (3), Consistency guarantees the database moves from one valid state to another (4), Isolation makes concurrent transactions appear serial (1), and Durability ensures committed changes persist even after a failure (2). These are the standard definitions used in Azure SQL Database and other relational database systems.

Exam trap

The trap here is that candidates confuse the definitions of Consistency and Atomicity, often thinking Consistency means 'all-or-nothing' rather than 'valid state transitions,' or they swap Isolation with Durability by misremembering the 'permanent save' concept.

How to eliminate wrong answers

Option B is wrong because it swaps Atomicity and Consistency: Atomicity is about all-or-nothing execution, not bringing the database to a valid state (which is Consistency). Option C is wrong because it assigns Durability to 'transactions appear to execute one after the other' (Isolation) and Atomicity to 'changes are permanently saved' (Durability), completely inverting the properties. Option D is wrong because it maps Atomicity to 'transactions appear to execute one after the other' (Isolation) and Isolation to 'brings the database from one valid state to another' (Consistency), mixing up the core definitions.

373
MCQmedium

You design a data solution for an e-commerce platform. Transactional data must be stored with ACID compliance for order processing, while clickstream data from the website will be used for analytics. Which combination of Azure data services best meets these needs?

A.Azure Cosmos DB for transactions; Azure SQL Database for analytics
B.Azure SQL Database for transactions; Azure Synapse Analytics for analytics
C.Azure Blob Storage for transactions; Azure Data Lake Storage for analytics
D.Azure Database for MySQL for transactions; Azure Analysis Services for analytics
AnswerB

Azure SQL Database is a fully managed relational database engine that provides built-in features such as automatic backups, high availability, and strict ACID transaction guarantees, making it ideal for capturing e-commerce orders, inventory, and payments. Azure Synapse Analytics is a limitless analytics service that separates storage from compute and uses a massively parallel processing (MPP) architecture to run complex queries over trillions of rows, with built-in integration for data lakes, pipelines, and Power BI. This combination cleanly separates the operational and analytical layers, letting each service optimize for its own workload.

Why this answer

Azure SQL Database provides full ACID compliance for transactional workloads like order processing, ensuring data integrity. Azure Synapse Analytics is optimized for large-scale analytics on clickstream data, offering massively parallel processing (MPP) and integration with data lakes. This combination separates OLTP and OLAP workloads efficiently.

Exam trap

The trap here is that candidates often assume Azure Cosmos DB (Option A) is ACID-compliant because it supports multi-document transactions within a single partition, but it does not guarantee full ACID across partitions, making it unsuitable for strict order processing.

How to eliminate wrong answers

Option A is wrong because Azure Cosmos DB is a NoSQL database that offers configurable consistency levels (not full ACID across all operations) and is not ideal for strict ACID-compliant order processing; Azure SQL Database is transactional but not optimized for large-scale analytics like Synapse. Option C is wrong because Azure Blob Storage is an object store with no ACID transaction support (it offers eventual consistency for blobs) and is unsuitable for order processing; Azure Data Lake Storage is for raw data storage, not interactive analytics. Option D is wrong because Azure Database for MySQL provides ACID compliance but Azure Analysis Services is a semantic modeling layer (not a scalable analytics engine) and lacks the MPP capabilities needed for clickstream analytics.

374
MCQeasy

You need to provide temporary access to a specific blob in Azure Blob Storage for a limited time. The access should be time-limited and require no authentication from the user. Which mechanism should you use?

A.Storage account keys
B.Anonymous public access
C.Azure RBAC roles
D.Shared access signatures (SAS)
AnswerD

A shared access signature (SAS) is a signed URI that grants time-bound and permission-limited access to a specific blob without revealing the account key. It lets you specify exact start/expiry times, allowed IP ranges, and supported protocols, making it ideal for controlled temporary access. Additionally, you can use a stored access policy to revoke the SAS before its expiry, offering a clean way to manage short-lived delegated access.

Why this answer

Shared access signatures (SAS) provide time-limited, delegated access to storage resources without requiring the account key. Storage account keys provide full access and never expire. RBAC is for identity-based access, not anonymous.

Access keys are long-lived secrets.

375
MCQeasy

Your company uses Azure Synapse Analytics to run analytical queries on large datasets. You need to ensure that queries against a frequently accessed fact table perform well without impacting other workloads. Which feature should you use?

A.Create materialized views on the fact table.
B.Enable result set caching for the database.
C.Partition the fact table by a frequently filtered column.
D.Use workload classification to prioritize the queries.
AnswerB

Enabling result set caching at the database level instructs Azure Synapse Analytics to store the complete output of qualifying queries in a Synapse-managed cache. When the same query is executed again with identical parameters and security context, the service returns the cached results without recomputation, dramatically reducing compute usage and response time. This cache is automatically invalidated when the underlying data changes, making it ideal for repeatable analytical workloads such as dashboards and business reports.

Why this answer

Result set caching stores query results in the Synapse SQL pool's cache, so repeated queries against the fact table return cached results instantly without re-scanning data. This ensures fast performance for frequently accessed queries while isolating resource usage from other workloads, as cached results do not consume concurrency slots or I/O resources.

Exam trap

The trap here is that candidates often confuse workload classification (which only manages queue priority) with performance optimization features, or assume partitioning alone guarantees performance isolation, when in fact result set caching directly addresses both speed and workload isolation for repeated queries.

How to eliminate wrong answers

Option A is wrong because materialized views pre-aggregate data and require maintenance overhead, but they do not specifically isolate query performance from other workloads; they still consume resources during refresh. Option C is wrong because partitioning improves scan efficiency for filtered queries but does not prevent resource contention with other workloads; it can even increase management complexity. Option D is wrong because workload classification prioritizes queries in the queue but does not improve the performance of the queries themselves; it only affects scheduling, not execution speed or resource isolation.

Page 4

Page 5 of 11

Page 6

All pages