Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70xmasdy

Welcome To DumpsPedia

DP-800 Sample Questions Answers

Questions 4

You need to create a solution that meets the development requirements for retrieving the patient lists.

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.

4

Options:

Buy Now
Questions 5

You have a SQL database in Microsoft Fabric named SalesDB that contains a table named dbo.Products.

You need to modify SalesDB 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.

5

Options:

Buy Now
Questions 6

You have an Azure SQL database named SalesDB on a logical server named sales-sql01.

You have an Azure App Service web app named OrderApi that connects to SalesDB by using SQL authentication.

You enable a user-assigned managed identity named OrderApi-Id for OrderApi.

You need to configure OrderApi to connect to SalesDB by using Microsoft Entra authentication. The managed identity must have read and write permissions to SalesDB.

Which Transact-SQL statements should you run in SalesDB?

Options:

A.

CREATE LOGIN [OrderApi-Id] FROM EXTERNAL PROVIDER;

ALTER ROLE db_datareader ADD MEMBER [OrderApi-Id];

ALTER ROLE db_datawriter ADD MEMBER [OrderApi-Id];

B.

CREATE USER [OrderApi-Id] WITH PASSWORD = ' P@ssw0rd! ' ;

ALTER ROLE db_datareader ADD MEMBER [OrderApi-Id];

ALTER ROLE db_datawriter ADD MEMBER [OrderApi-Id];

C.

CREATE USER [OrderApi-Id] FROM EXTERNAL PROVIDER;

ALTER ROLE db_datareader ADD MEMBER [OrderApi-Id];

ALTER ROLE db_datawriter ADD MEMBER [OrderApi-Id];

D.

CREATE LOGIN [OrderApi-Id] WITH PASSWORD = ' P@ssw0rd! ' ;

ALTER SERVER ROLE sysadmin ADD MEMBER [OrderApi-Id];

Buy Now
Questions 7

You have a SQL database in Microsoft Fabric that uses the default settings for a newly created database and contains a table named Sales.Orders.

You have an application that uses two stored procedures to access Sales.Orders.

While monitoring database activity, you discover the following:

While monitoring database activity, you discover the following:

• sys.dm_exec_requests shows multiple sessions in a suspended state with wait_type = LCK_M_X. All the sessions show the same wait_resource, which maps to Sales.Orders, and the same nonzero blocking_session_id.

• sys.dm_exec_input_buffer(blocking_session_id, NULL) returns a last submitted command of BEGIN TRANSACTION UPDATE Sales.Orders.

• sys.dm_exec_sessions for the blocking session shows status = sleeping and open_transaction_count = 1.

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

NOTE: Each correct selection is worth one point.

7

Options:

Buy Now
Questions 8

You need to design a generative Al solution that uses a Microsoft SOL Server 2025 database named DB1 as a data source. The solution must generate responses that meet the following requirements:

• Ait ' grounded In the latest transactional and reference data stored in D61

• Do NOT require retraining or fine-tuning the language model when the data changes

• Can include citations or references to the source data used in the response

Which scenario is the best use case for implementing a Retrieval Augmented Generation (RAG) pattern? More than one answer choice may achieve the goal. Select the BEST answer

Options:

A.

summarizing free-form user input text

B.

training a custom language model on historical database data

C.

answering user questions based on company-specific knowledge

D.

generating marketing slogans based on user sentiment analysis

Buy Now
Questions 9

You have an Azure SQL database named SalesDB that contains a table named dbo. Articles, dbo.Articles contains two million articles with embeddmgs. The articles are updated frequently throughout the day.

You query the embeddings by using VECTOR_SEARQi

Users report that semantic search results do NOT reflect the updates until the following day.

Vou need to ensure that the embeddings are updated whenever the articles change. The solution must minimize CPU usage on SalesDB

Which embedding maintenance method should you implement?

Options:

A.

Modify the query to use VECTOR.DTSTANCF instead of VECTOR.SEARCK

B.

enable change data capture (COC) on dbo.Articles and use an Azure Functions app to process CLX changes.

C.

Run an hourly Transact-SQL job that regenerates embeddings for all the rows in dbo.Articles.

D.

On dbo.Articles, create a trigger that calls AI GENERATE EMBEDOINGS for each inserted or updated row.

Buy Now
Questions 10

You have an Azure SQL database.

You deploy Data API builder (DAB) to Azure Container Apps by using the mcr.nicrosoft.com/azure-databases/data-api-builder:latest image.

You have the following Container Apps secrets:

• MSSQL_COMNECTiON_STRrNG that maps to the SQL connection string

• DAB_C0HFT6_BASE64 that maps to the DAB configuration

You need to initialize the DAB configuration to read the SQL connection string.

Which command should you run?

Options:

A.

dab init --database-type mssql --connection-string " secretref:DAB_CONFIG_BASE64 " --host-mode Production --config dab-config.json

B.

dab init --database-type mssql --connection-string " @env( ' MSSQL_CONNECTION_STRING ' ) " --host-mode Production --config dab-config.json

C.

dab init --database-type mssql --connection-string " secretref:mssql-connection-string " --host-mode Production --config dab-config.json

D.

dab init --database-type mssql --connection-string " @env( ' DAB_CONFIG_BASE64 ' ) " --host-mode Production --config dab-config.json

Buy Now
Questions 11

You have an Azure SQL database that contains a table named dbo.Customers. dbo.Customers contains the following columns:

• CustomerId (int)(primary key)

• ProfileJson (nvarchar(max))

You have an application that returns phone numbers in a format of +000 000-000-0000. The phone numbers are stored in ProfileJson.

You need to write a query that returns:

• One row per customer

• A PhoneNUmerals column that contains only the digits

How should you complete the Transact-SQL query? 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.

11

Options:

Buy Now
Questions 12

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.

12

Options:

Buy Now
Questions 13

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 14

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

14

14

Options:

Buy Now
Questions 15

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 16

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 17

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 18

You have an Azure SQL database that contains a table named Table1. Table1 contains 25,000,000 rows of data and a datetime2 column named DateKey. The data in Table1 spans the years 2020 through 2021.

You need to partition the data in Table1 by year. The solution must minimize how long it takes to rebuild or reindex the table.

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.

18

Options:

Buy Now
Questions 19

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
Exam Code: DP-800
Exam Name: Developing AI-Enabled Database Solutions
Last Update: Sep 20, 2026
Questions: 87

PDF + Testing Engine

$51.42 $171.4

Testing Engine

$38.57 $128.55

PDF (Q&A)

$42.85 $142.82