Free DP-800 Practice Test Questions and Answers (2026) | Cert Empire Practice Questions

Free preview: 20 questions.

Already purchased? Log in

Microsoft DP 800

View Mode
Q: 1

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

Options
Q: 2
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
Q: 3
You have a Microsoft SQL Server 2025 instance that has a managed identity enabled. You have a database that contains a table named dbo.ManualChunks. dbo.ManualChunks contains product manuals. A retrieval query already returns the top five matching chunks as nvarchar(max) text. You need to call an Azure OpenAI REST endpoint for chat completions. The solution must provide the highest level of security. You write the following Transact-SG1 code. Microsoft DP 800 question What should you insert at line 02? A) Microsoft DP 800 question B) Microsoft DP 800 question C) Microsoft DP 800 question D) Microsoft DP 800 question E) Microsoft DP 800 question
Options
Q: 4
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
Q: 5
You have a database named DB1. The schema is stored in a Git repository as an SDK-style SQL database project. You have a GitHub Actions workflow that already runs dotnet build and produces a database artifact. You need to add a deployment step that publishes the dacpac file to an Azure SQL database by using the secrets stored in GitHub repository secrets What should you include in the workflow? A) Microsoft DP 800 question B) Microsoft DP 800 question C) Microsoft DP 800 question D) Microsoft DP 800 question
Options
Q: 6

HOTSPOT You are creating a table that will store customer profiles. You have the following Transact-SQL code. Microsoft DP 800 question For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection Is worth one point. Microsoft DP 800 question

Your Answer
Q: 7

HOTSPOT 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. Microsoft DP 800 question

Your Answer
Q: 8

HOTSPOT 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. Microsoft DP 800 question

Your Answer
Q: 9

HOTSPOT You have an Azure SQL database that contains a table named stores, stores contains a column named description and a vector column named embedding. You need to implement a hybrid search query that meets the following requirements: • Uses full-text search on description for the keyword portion • Returns the top 20 results based on a combined score that uses a weighted formula of 60% vector distance and 40% full-text rank How should you configure the query components? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Microsoft DP 800 question

Your Answer
Q: 10

HOTSPOT 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. Microsoft DP 800 question 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. Microsoft DP 800 question

Your Answer
Q: 11

DRAG DROP 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. Microsoft DP 800 question

Drag & Drop
Q: 12

DRAG DROP You have an Azure SQL database named DB1 that contains two tables named knowledgebase and query_cache. knowledge_base contains support articles and embeddings. query_cache contains chat questions, responses, and embeddings DB1 supports an Al-enabled chat agent. You need to design a solution that meets the following requirements: • Serializes the retrieved rows from knowledee_base • Extracts the answer field from the response • Extracts the embeddings to store in query_cache You will call the external large language model (LLM) by using the sp_irwoke_external_re standpoint stored procedure. Which Transact-SGL commands should you use for each requirement? To answer, drag the appropriate commands to the correct requirements. Each command may be used once, mote 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. Microsoft DP 800 question

Drag & Drop
Q: 13

DRAG DROP 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. Microsoft DP 800 question

Drag & Drop
Q: 14

DRAG DROP 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. Microsoft DP 800 question 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. Microsoft DP 800 question

Drag & Drop
Q: 15

DRAG DROP You have a SQL database in Microsoft Fabric that contains a table named WebSite. Logs. WebSite.Logs stores application telemetry data. Website.Logs contains a nvarehar(iMx) column named log that stores JSON documents You have a daily report that filters by the $.severity JSON property and returns Logld. LogDateTime, and log. The report frequently causes full table scans. You need to modify Website. Logs to support efficient filtering by $. severity and avoid key lookups for the columns returned by the report. How should you complete the Transact-SQL code to avoid full table scans? 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. Microsoft DP 800 question

Drag & Drop
Question 1 of 20

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE