Pre-Winter Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Microsoft DP-800 Dumps

Page: 1 / 9
Total 87 questions

Developing AI-Enabled Database Solutions Questions and Answers

Question 1

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.

as

Options:

Question 2

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.

as

Options:

Question 3

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

as

as

Options:

Question 4

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()).

Question 5

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

Question 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

Question 7

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.

Question 8

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.

Question 9

You are creating a table that will store customer profiles.

You have the following Transact-SQL code.

as

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

as

Options:

Question 10

You have a GitHub Actions workflow that builds and deploys an Azure SQL database. The schema is stored in a GitHub repository as an SDK-style SQL database project.

Following a code review, you discover that you need to generate a report that shows whether the production schema has diverged from the model in source control.

Which action should you add to the pipeline?

Options:

A.

SqlPackage.exe /Action:DriftReport

B.

SqlPackage.exe /Action:DeployReport

C.

SqlPackage.exe /Action:Extract

D.

SqlPackage.exe /Action:Script

Question 11

You have an Azure SQL database that contains a table named dbo.ManualChunks. dbo.HonualChunks 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 endpomt for chat completions. The request body must include both the user question and theretiieved chunks.

You write the following Transact-SQL code.

as

What should you insert at line 22?

Options:

A.

FOR XHL AUTO, TYPE, XML SCHEMA,

B.

FOR 3SON AUTO, IMCLUDE_MULL_VAIUES

C.

FOR XHL PATH, INCLUDE_NULL_VAIUES

D.

FOR JSON PATH, WITHOUT_ARRAY_WRAPPER

Question 12

You have an Azure SQL database that stores sales data and contains tables named Sales and Products . Sales contains three columns named SalesDate , ProductKey , and TotalSale .

Sales is 10 TB and is loaded nightly by using a batch process. Most reporting queries scan large portions of Sales , filter on SalesDate or ProductKey , and use SUM() to aggregate TotalSale .

Products is relatively small and is used primarily for point lookups and joins to Sales .

You need to recommend which indexes to create to optimize the reporting queries. The solution must minimize storage requirements.

Which type of index should you recommend for each table? To answer, drag the appropriate index types to the correct tables. Each index type 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.

as

Options:

Question 13

You have an Azure SQL database named ProductsDB.

You deploy Data API builder (DAB) to Azure Container Apps by using the image.

The container app has the following configurations:

Secrets: mssql-connection-string, dab-config-base64

Environment variables:

MSSQL_CONNECTION_STRING=secretref:mssql-connection-string

DAB_CONFIG_BASE64=secretref:dab-config-base64

Ingress: External on port 5000

Users report that the /health endpoint returns a healthy response, but all requests that query an entity named Products fail and generate a connection error.

You confirm that the SQL login in the connection string is correct and the database exists.

You need to ensure that the container app can establish connections to the Azure SQL logical server without changing the container app deployment settings or the DAB configuration file.

What should you do on the Azure SQL logical server?

Options:

A.

Create a firewall rule that allows a start and end IP address of 0.0.0.0.

B.

Enable FORCE_LAST_GOOD_PLAN automatic tuning for ProductsDB.

C.

Create an auto-failover group for ProductsDB.

D.

Run DBCC CHECKDB on ProductsDB.

Question 14

You have an Azure SQL database that contains a table named dbo.SupportTickets. dbo.SupportTickets contains a JSON column named Payload and a datetime column CreatedAt.

You need to generate a report for the last seven days that meets the following requirements:

• Returns exactly one row per customer per day

• For each customer and day, returns the earliest ticket

• Includes the customer ID stored in Payload

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.

as

Options:

Question 15

You have a GitHub Enterprise subscription.

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.

A mix of GitHub Copilot instructions is configured at different levels, including organization-wide, repository-wide, agent-specific, and personal.

Based on the GitHub Copilot instruction precedence rules, which instructions will take precedence over the others?

Options:

A.

organization-wide

B.

agent-specific

C.

repository-wide

D.

personal

Question 16

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

NationalIDNumber is unique per customer.

InvestigationNotes contains free-form text.

You have a stored procedure that performs point lookups by NationalIDNumber and returns InvestigationNotes in the query results without filtering on InvestigationNotes.

You need to encrypt both columns by using Always Encrypted and the highest security possible.

Which type of Always Encrypted encryption should you use for each column?

Options:

A.

randomized for NationalIDNumber and deterministic for InvestigationNotes

B.

randomized for NationalIDNumber and randomized for InvestigationNotes

C.

deterministic for NationalIDNumber and randomized for InvestigationNotes

D.

deterministic for NationalIDNumber and deterministic for InvestigationNotes

Question 17

You have an Azure subscription. The subscription contains an Azure SQL database named SalesDB and an Azure App Service app named sales-api. sales-api uses virtual network integration to a subnet named vnet-prod/subnet-app and reads from SalesDB

You need to configure authentication and network access to meet the following requirements:

• Ensure that sales-api connects to SalesDB by using passwordless authentication.

• Ensure that all the database traffic remains within the subscription.

The solution must minimize administrative effort

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

NOTE: Each correct selection is worth one point.

as

Options:

Question 18

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

Question 19

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.

as

Options:

Page: 1 / 9
Total 87 questions