Spring Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the Microsoft Certified: SQL AI Developer DP-800 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam DP-800 Premium Access

View all detail and faqs for the DP-800 exam


344 Students Passed

93% Average Score

97% Same Questions
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

You have a Microsoft SQL Server 2025 instance that contains a database named SalesDB SalesDB supports a Retrieval Augmented Generation (RAG) pattern for internal support tickets. The SQL Server instance runs without any outbound network connectivity.

You plan to generate embeddings inside the SQL Server instance and store them in a table for vector similarity queries.

You need to ensure that only a database user account named AlApplicationUser can run embedding generation by using the model.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Grant the control permission on SalesDB to AlApplicationUser.

B.

Create a database audit specification on SalesDB owned by AlApplicationUser.

C.

Grant the execute permission on the external model project to AlApplicationUser.

D.

Create an external model project by using ONNX runtime and local paths.

E.

Create an external model project that points to a Microsoft Foundry REST endpoint.

Questions # 12:

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

Question # 12

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

Questions # 13:

You have an Azure SQL database named SalesDB

You have a Data API builder (DAB) instance that exposes the following entities in SalesDB

• A table entity named Order mapped to a table named dbo. Orders

• A stored procedure entity named FinalizeOrder mapped to a stored procedure named dbo.usp_FinalizeOrder

The DAB runtime configuration includes the following permissions.

Question # 13

Client requests include a Microsoft Entra access token. The client also sends HTTP header x-MS-APl-ROlE: operations for both REST and GraphQL requests.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Question # 13

Options:

Questions # 14:

You have an Azure SQL database that has Query Store enabled

Query Performance Insight shows that one stored procedure has the longest runtime. The procedure runs the following parameterized query.

Question # 14

The dbo.orders table has approximately 120 million rows. Customer-id is highly selective, and orderOate is used for range filtering and sorting.

Vou have the following indexes:

• Clustered index: PK_Orders on (Orderld)

• Nonclustered index: lx_0rders_order-Date on (OrderDate) with no included columns

An actual execution plan captured from Query Store for slow runs shows the following:

• An index seek on ixordersorderDate followed by a Key Lookup (Clustered) on PKOrders for customerid, status, and TotalAnount

• A sort operator before top (50), because the results are ordered by orderDate DESC

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

Question # 14

Options:

Questions # 15:

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

Questions # 16:

You have an Azure SQL database That contains a table named dbo.Products, dbo.Products contains three columns named Embedding Category, and Price. The Embedding column is defined as VECTOR(1536).

You use Ai_GENERME_EMBEDOINGS and VECTOR_SEARCH to support semantic search and apply additional filters on two columns named Category and Price.

You plan to change the embedding model from text-embedding-ada-002 to text-embedding-3-smalL Existing rows already contain embeddings in the Embedding column.

You need to implement the model change. Applications must be able to use VECTOR_SEARCH without runtime errors.

What should you do first?

Options:

A.

Regenerate embeddings for the existing rows.

B.

Normalize the vector lengths before storing new embeddings.

C.

Convert the Embedding column to nvacchar(mex).

D.

Create a vector index on dbo.Products.Embedding.

Questions # 17:

Your team is developing an Azure SQL dataset solution from a locally cloned GitHub repository by using Microsoft Visual Studio Code and GitHub Copilot Chat.

You need to disable the GitHub Copilot repository-level instructions for yourself without affecting other users.

What should you do?

Options:

A.

From Visual Studio Code, modify your GitHub Copilot Chat user settings.

B.

Add a - debug flag when you start the GitHub Copilot Chat extension.

C.

Delete .github/copilot-instruetions.md

Questions # 18:

You have an Azure SQL database that contains tables named dbo.ProduetDocs and dbo.ProductuocsEnbeddings. dbo.ProductOocs contains product documentation and the following columns:

• Docld (int)

• Title (nvdrchdr(200))

• Body (nvarthar(max))

• LastHodified (datetime2)

The documentation is edited throughout the day. dbo.ProductDocsEabeddings contains the following columns:

• Dotid (int)

• ChunkOrder (int)

• ChunkText (nvarchar(aax))

• Embedding (vector(1536))

The current embedding pipeline runs once per night

Vou need to ensure that embeddings are updated every time the underlying documentation content changes The solution must NOT ' equire a nightly batch process.

What should you include in the solution?

Options:

A.

fixed-size chunking

B.

a smaller embedding model

C.

table triggers

D.

change tracking on dbo.ProductDocs

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.