Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

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

Questions 4

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
Questions 5

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.

DP-800 Question 5

Options:

Buy Now
Questions 6

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 7

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

DP-800 Question 7

DP-800 Question 7

Options:

Buy Now
Questions 8

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.

DP-800 Question 8

Options:

Buy Now
Questions 9

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 10

You have an Azure SQL database that contains a table named knowledgebase, knowledgebase stores human resources (HR) policy documents and contains columns named title, content, category, and embedding.

You have an application named App1. App1 queries two relational tables named employee_pnofiles and benefits_enrollnent that contain HR data. App1 hosts a chatbot that calls a large language model (LLM) directly.

Users report that the chatbot answers general HR questions correctly but provides outdated or incorrect answers when policies change. The chatbot also fails to answer questions that reference internal policy documents by title or category.

You need to recommend a Retrieval Augmented Generation (RAG) solution to resolve the chatbot issues. What should you recommend? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

DP-800 Question 10

Options:

Buy Now
Questions 11

You have an Azure SQL database.

You need to create a scalar user-defined function (UDF) that returns the number of whole years between an input parameter named 0orderDate and the current date/time as a single positive integer. The function must be created in Azure SQL Database. You write the following code.

DP-800 Question 11

What should you insert at line 05?

Options:

A.

RETURN DATEDIFF(year, GETDATE(), @OrderDate);

B.

DATEDIFF(month, @orderdate, GETDATE()) / 12

C.

DATEPART(year, GETDATE()) - DATEPART(year, @orderdate)

D.

RETURN DATEDIFF(year, @OrderDate, GETDATE());

Buy Now
Questions 12

You have a GitHub Codespaces environment that has GitHub Copilot Chat installed and is connected to a SQL database in Microsoft Fabric named DB1 DB1 contains tables named Sales.Orders and Sales.Customers.

You use GitHub Copilot Chat in the context of DB1 .

A company policy prohibits sharing customer Personally Identifiable Information (Pll), secrets, and query result sets with any Al service.

You need to use GitHub Copilot Chat to write and review Transact-SQL code for a new stored procedure that will join Sales.Orders to sales .Customers and return customer names and email addresses. The solution must NOT share the actual data in the tables with GitHub Copilot Chat.

What should you do?

Options:

A.

From Sales.Customers, paste several rows that include email addresses into a chat, so that GitHub Copilot Chat can infer edge cases.

B.

Run a select statement that returns customer names and email addresses and provide the result set to GitHub Copilot Chat so that GitHub Copilot Chat can generate the stored procedure.

C.

Provide the database connection string to GitHub Copilot Chat so that GitHub Copilot Chat can validate the stored procedure.

D.

Ask GitHub Copilot Chat to generate the stored procedure by using schema details only.

Buy Now
Questions 13

You have an Azure SQL database that contains a table named Rooms. Rooms was created by using the following transact-SQL statement.

DP-800 Question 13

You discover that some records in the Rooms table contain NULL values for the Owner field. You need to ensure that all future records have a value for the Owner field. What should you add?

Options:

A.

a foreign key

B.

a check constraint

C.

a nonclustered index

D.

a unique constraint

Buy Now
Questions 14

You have an SDK-style SQL database project stored in a Git repository. The project targets an Azure SQL database.

The CI build fails with unresolved reference errors when the project references system objects.

You need to update the SQL database project to ensure that dotnet build validates successfully by including the correct system objects in the database model for Azure SQL Database.

Solution: Add the Microsoft.SqlServer.Dacpacs.Azure.Master NuGet package to the project.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 15

You have an Azure SQL database that contains a column named Notes.

A security review discovers that Notes contains sensitive data.

You need to ensure that the data is protected so that neither the stored values nor the query inputs reveal information about the actual data. The solution must prevent a user from inferring relationships or repetitions in the data based on the encrypted output

Which should you use?

Options:

A.

Always Encrypted with secure enclaves

B.

Always Encrypted with randomized encryption

C.

row-level security < RLS)

D.

Always Encrypted with deterministic encryption

Buy Now
Questions 16

You have an Azure SQL table that contains the following data.

DP-800 Question 16

You need to retrieve data to be used as context for a large language model (LLM). The solution must minimize token usage.

Which formal should you use to send the data to the LLM?

A)

DP-800 Question 16

B)

DP-800 Question 16

C)

DP-800 Question 16

D)

DP-800 Question 16

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 17

You have a database named DB1. The schema is stored in a GitHub repository as an SDK style SQL database project.

You use a feature branch workflow to deploy changes to DB1

You need to update the local feature branch with the latest changes to main, and then create a pull request to merge the feature branch into main for review.

How should you complete the GitHub CLI script? 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.

DP-800 Question 17

Options:

Buy Now
Questions 18

You have an Azure SQL database that supports a customer-facing API. The API calls a stored procedure named dbo.GetCustomerOrders thousands of times per hour.

After a deployment that updated indexes and statistics, users report that the API endpoint backed by dbo.Getcustomerorders is slower. In Query Store, the same query now has two persisted execution plans. During the last hour, the newer plan had a significantly higher average duration and CPU time than the older plan.

You need to restore the previous performance quickly, without changing the API code.

Which Transact-SQL command should you run?

Options:

A.

EXEC sys.sp_query_store_set_hints

B.

DBCC FREEPROCCACHE

C.

EXEC sp_query_store_force_plan

D.

ALTER DATABASE

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

PDF + Testing Engine

$65.27  $186.49

Testing Engine

$52.32  $149.49
buy now DP-800 testing engine

PDF (Q&A)

$48.12  $137.49
buy now DP-800 pdf