Courseiva
Back to Microsoft Azure Data Fundamentals DP-900 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Microsoft Azure Data Fundamentals DP-900 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
DP-900
exam code
Microsoft
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related DP-900 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Refer to the exhibit. An administrator is configuring aggregations in Power BI Premium to improve performance on a large dataset. The aggregation is defined on the Sales table with SUM(Amount) grouped by ProductCategory, Region, and Date at the monthly level. However, some reports that query daily data are still slow. What is the most likely reason?

Exhibit

{
  "version": "1.0",
  "aggregations": [
    {
      "table": "Sales",
      "measure": "SUM(Amount)",
      "dimensions": ["ProductCategory", "Region", "Date"],
      "aggregationLevel": "Monthly"
    }
  ]
}
Question 2mediummultiple choice
Full question →

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

Exhibit

Refer to the exhibit.
```sql
SELECT ProductID, SUM(Quantity) AS TotalQuantity
FROM Sales
WHERE OrderDate >= '2023-01-01'
GROUP BY ProductID
HAVING SUM(Quantity) > 100
ORDER BY TotalQuantity DESC;
```
Question 3hardmultiple choice
Full question →

Refer to the exhibit. You create an external table in Azure SQL Database. Which data source is being used?

Exhibit

Refer to the exhibit.

```sql
CREATE DATABASE SCOPED CREDENTIAL MyCred
WITH IDENTITY = 'Managed Identity'
GO

CREATE EXTERNAL DATA SOURCE MyDataSource
WITH (
    LOCATION = 'https://mystorageaccount.blob.core.windows.net/container',
    CREDENTIAL = MyCred
)
GO

CREATE EXTERNAL TABLE dbo.SalesExternal
(
    SaleID int,
    SaleDate datetime2,
    Amount decimal(10,2)
)
WITH (
    LOCATION = 'sales/',
    DATA_SOURCE = MyDataSource,
    FILE_FORMAT = MyFileFormat
)
```
Question 4mediummultiple choice
Full question →

Refer to the exhibit. You are reviewing an ARM template that deploys a SQL database in Azure Synapse. The template sets the storageAccountType to GRS. What is a valid concern regarding cost and performance?

Exhibit

{
  "type": "Microsoft.Synapse/workspaces/sqlDatabases",
  "apiVersion": "2021-06-01",
  "properties": {
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "maxSizeBytes": 268435456000,
    "storageAccountType": "GRS"
  }
}
Question 5hardmultiple choice
Full question →

Refer to the exhibit. A team is deploying an Azure Storage container using an ARM template. The template sets publicAccess to 'None'. However, after deployment, users report they cannot access data even with a valid SAS token. What is the most likely cause?

Exhibit

{
  "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
  "apiVersion": "2023-01-01",
  "name": "[concat(parameters('storageAccountName'), '/default/', parameters('containerName'))]",
  "dependsOn": [
    "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]"
  ],
  "properties": {
    "publicAccess": "None"
  }
}
Question 6hardmultiple choice
Full question →

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?

Exhibit

{
  "type": "Microsoft.Sql/servers/databases",
  "apiVersion": "2023-08-01-preview",
  "properties": {
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "maxSizeBytes": 268435456000,
    "requestedBackupStorageRedundancy": "Geo",
    "edition": "GeneralPurpose",
    "requestedServiceObjectiveName": "GP_Gen5_4"
  }
}
Question 7hardmultiple choice
Review the full routing breakdown →

Refer to the exhibit. You are analyzing a message from an IoT device captured in Azure Event Hubs. The message contains system properties indicating the device ID and authentication method. You need to route messages from device-01 to a separate storage container for compliance. Which property should you use in a Stream Analytics query to filter messages?

Exhibit

{
  "consumerGroup": "$Default",
  "partitionId": "0",
  "sequenceNumber": 12345,
  "offset": "123456789",
  "enqueuedTimeUtc": "2025-03-25T10:30:00.000Z",
  "properties": {
    "systemProperties": {
      "iothub-connection-device-id": "device-01",
      "iothub-connection-auth-method": "{\"scope\":\"device\",\"type\":\"sas\",\"issuer\":\"iothub\"}",
      "iothub-enqueuedtime": "2025-03-25T10:30:00.000Z"
    }
  },
  "body": {"temperature": 25.5, "humidity": 60}
}
Question 8easymultiple choice
Full question →

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

Exhibit

Refer to the exhibit.

{
  "type": "Microsoft.Storage/storageAccounts",
  "apiVersion": "2023-01-01",
  "properties": {
    "isHnsEnabled": true,
    "accessTier": "Hot",
    "supportsHttpsTrafficOnly": true
  }
}
Question 9mediummultiple choice
Full question →

Refer to the exhibit. You deploy this Azure Stream Analytics job. The job runs but no data is written to the Azure SQL Database table. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.StreamAnalytics/streamingjobs",
  "apiVersion": "2020-03-01",
  "properties": {
    "sku": {
      "name": "StandardV2"
    },
    "inputs": [
      {
        "name": "input",
        "properties": {
          "type": "Stream",
          "datasource": {
            "type": "Microsoft.EventHub/EventHub",
            "properties": {
              "eventHubName": "telemetry-events",
              "consumerGroupName": "$Default"
            }
          }
        }
      }
    ],
    "outputs": [
      {
        "name": "output",
        "properties": {
          "datasource": {
            "type": "Microsoft.Sql/Server/Database",
            "properties": {
              "server": "sqlserver123.database.windows.net",
              "database": "sqldb",
              "table": "SensorData"
            }
          }
        }
      }
    ],
    "transformation": {
      "name": "TransformTelemetry",
      "properties": {
        "streamingUnits": 6,
        "query": "SELECT SensorId, AVG(Temperature) AS AvgTemp INTO output FROM input GROUP BY SensorId, TumblingWindow(minute, 5)"
      }
    }
  }
}
```
Question 10easymultiple choice
Full question →

Refer to the exhibit. The JSON shows a configuration for which Azure service?

Exhibit

{
  "datasources": [
    {
      "name": "SalesDB",
      "connectionString": "Server=tcp:myserver.database.windows.net;Database=Sales;...",
      "type": "AzureSQL"
    },
    {
      "name": "SalesLake",
      "connectionString": "https://mystorage.blob.core.windows.net/sales",
      "type": "AzureBlobStorage"
    }
  ],
  "datasets": [
    {
      "name": "SalesOrders",
      "source": "SalesDB",
      "table": "Orders"
    },
    {
      "name": "SalesFiles",
      "source": "SalesLake",
      "folder": "csv"
    }
  ]
}
Question 11mediummultiple choice
Full question →

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?

Exhibit

Storage account: mysalesdata
Container: transactions
Blob: orders.csv
Metadata:
  Content-Type: text/csv
  DateCreated: 2025-01-15
Question 12hardmultiple choice
Full question →

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

Exhibit

{
  "kind": "StorageV2",
  "properties": {
    "isHnsEnabled": true,
    "encryption": {
      "keySource": "Microsoft.Storage"
    },
    "networkAcls": {
      "defaultAction": "Deny",
      "virtualNetworkRules": [],
      "ipRules": []
    },
    "supportsHttpsTrafficOnly": true
  }
}
Question 13hardmultiple choice
Full question →

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?

Exhibit

{
  "id": "1",
  "name": "Product A",
  "category": "Electronics",
  "price": 199.99,
  "tags": ["new", "sale"]
}
Question 14easymultiple choice
Full question →

Refer to the exhibit. You have a Power BI measure defined as shown. What does this measure return?

Exhibit

Refer to the exhibit.

Power BI DAX expression:
```
Total Sales = 
CALCULATE(
    SUM(Sales[Amount]),
    Sales[Channel] = "Online"
)
```
Question 15mediummultiple choice
Full question →

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

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "resource": {
      "type": "Microsoft.Sql/servers/databases"
    },
    "policyRule": {
      "if": {
        "field": "Microsoft.Sql/servers/databases/zoneRedundant",
        "equals": false
      },
      "then": {
        "effect": "deny"
      }
    }
  }
}
```

These DP-900 practice questions are part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style DP-900 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.