Spring Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

DP-800 Developing AI-Enabled Database Solutions Questions and Answers

Questions 4

You have an Azure SQL database named SalesDB that contains tables named Sales.Orders and Sales.OrderLines. Both tables contain sales data

You have a Retrieval Augmented Generation (RAG) service that queries SalesDB to retrieve order details and passes the results to a large language model (ILM) as JSON text. The following is a sample of the JSON.

You need to return one 1SON document per order that includes the order header fields and an array of related order lines. The LIM must receive a single JSON array of orders, where each order contains a lines property that is a JSON array of line Items.

Which transact-SQL commands should you use to produce the required JSON shape from the relational tables? To answer, drag the appropriate commands to the correct operations. Each command may be used once, more than once, or not at all. Vou may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 5

You have a Microsoft SQL Servei 2025 database that contains a table named dbo.Customer-Messages, dbo. Customer-Messages contains two columns named HessagelD (int) and MessageRaw (nvarchar(iux)).

MessageRaw can contain a phone number in multiple formats. and some rows do NOT contain a phone number. You need to write a single SELECT query that meets the following requirements:

• The query must return Message ID, RawNumber. DigitsOnly, and PhoneStatus.

• RawNumber must contain the first substring that matches a phone-number pattern, or NULL if no match exists.

• DigitsOnly must remove all non-digit characters from RawNumber. or return NULL.

• PhoneStatus must return Valid when a phone number exists in MessageRaw. otherwise return Missing.

How should you complete the Transact-SQL query? lo answer, drag the appropriate values To the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 6

You have a SQL database in Microsoft Fabric named Sales BD that contains a table named dbo.Products. You need to modify SalesBD to meet the following requirements:

• Create a vector index on the appropriate column.

• Use a supplied natural language query vector.

How should you complete the Transact-SQL code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 7

You have an Azure SQL database that contains the following tables and columns.

Embeddings in the NotesEnbeddings and DescriptionEabeddings tables have been generated from values in the Description and notes columns of the Articles table by using different chunk sizes.

You need to perform approximate nearest neighbor (ANN) queries across both embedding tables. The solution must minimize the impact of using different chunk sizes.

What should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 8

You have an Azure SQL database named AdventureWorksDB that contains a table named dbo.Employee.

You have a C# Azure Functions app that uses an HTTP-triggered function with an Azure SQL input binding to query dbo.Employee.

You are adding a second function that will react to row changes in dbo.Employee and write structured logs.

You need to configure AdventureWorksDB and the app to meet the following requirements:

• Changes to dbo.Employee must trigger the new function within five seconds.

• Each invocation must processes no more than 100 changes.

Which two database configurations should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options:

A.

Create an AFTER trigger on dbo.Employee for Data Manipulation Language (DML).

B.

SetSql Trigger MaxBatchSize to 100.

C.

Enable change tracking on the dbo. Employee table.

D.

Enable change tracking at the database level.

E.

Set Sql_Trigger_PollingIntervalMs to 5000.

F.

Enable change data capture (CDC) for dbo.Employee table changes

Buy Now
Questions 9

You have a SQL database in Microsoft Fabric that contains a table named dbo.Orders, dbo.Orders has a clustered index, contains three years of data, and is partitioned by a column named OrderDate by month.

You need to remove all the rows for the oldest month. The solution must minimize the impact on other queries that access the data in dbo.orders.

Solution: Run the following Transact-SQL statement.

DELETE FROM dbo.Orders

WHERE OrderDate < DATEADD(nonth, -36, SYSUTCDATETIME());

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 10

You need to meet the database performance requirements for maintenance data

How should you complete the Transact-SQL code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 11

You need to recommend a solution to lesolve the slow dashboard query issue. What should you recommend?

Options:

A.

Create a clustered index on Lastupdatedutc.

B.

On Fleetid, create a nonclustered index that includes Lastupdatedutc. inginestatus, and BatteryHealth.

C.

On Lastupdatedutc. create a nonclustered index that includes Fleetid.

D.

On Fleetid, create a filtered index where lastupdatedutc > DATEADD(DAV, -7, SYSuTCOATETIME()).

Buy Now
Questions 12

You need to create a table in the database to store the telemetry data. You have the following Transact-SQL code.

Options:

Buy Now
Questions 13

You need to enable similarity search to provide the analysts with the ability to retrieve the most relevant health summary reports. The solution must minimize latency.

What should you include in the solution?

Options:

A.

a computed column that manually compares vector values

B.

a standard nonclustered index on the Fmbeddings (vector (1536)) column

C.

a full-text index on the Fmbeddings (vector (1536)) column

D.

a vector index on the Embedding* (vector (1536)) column

Buy Now
Questions 14

You need to generate embeddings to resolve the issues identified by the analysts. Which column should you use?

Options:

A.

vehicleLocation

B.

incidentDescrlption

C.

incidentType

D.

SeverityScore

Buy Now
Questions 15

You need to meet the development requirements for the FeedbackJson column

How should you complete the Transact SQL query? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 16

You are creating a table that will store customer profiles.

You have the following Transact-SQL code.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection Is worth one point.

Options:

Buy Now
Questions 17

You need to recommend a solution for the development team to retrieve the live metadata. The solution must meet the development requirements.

What should you include in the recommendation?

Options:

A.

Export the database schema as a .dacpac file and load the schema into a GitHub Copilot context window.

B.

Add the schema to a GitHub Copilot instruction file.

C.

Use an MCP server

D.

Include the database project in the code repository.

Buy Now
Questions 18

You need to recommend a solution that will resolve the ingestion pipeline failure issues. Which two actions should you recommend? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options:

A.

Enable snapshot isolation on the database.

B.

Use a trigger to automatically rewrite malformed JSON.

C.

Add foreign key constraints on the table.

D.

Create a unique index on a hash of the payload.

E.

Add a check constraint that validates the JSON structure.

Buy Now
Exam Code: DP-800
Exam Name: Developing AI-Enabled Database Solutions
Last Update: Mar 29, 2026
Questions: 61
DP-800 pdf

DP-800 PDF

$28.5  $94.99
DP-800 Engine

DP-800 Testing Engine

$33  $109.99
DP-800 PDF + Engine

DP-800 PDF + Testing Engine

$43.5  $144.99