Month End Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

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

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

You have an SDK-style SQL database project named MyDatabaseProject.sqlproj stored in a private GitHub repository. The repository contains the following GitHub Actions workflow:

YAML

name: Build and Deploy SQL Project

on:

push:

branches:

- main

workflow_dispatch:

jobs:

build-and-deploy:

runs-on: ubuntu-latest

permissions:

id-token: write

contents: read

steps:

- uses: actions/checkout@v4

- name: Build SQL project

run: dotnet build MyDatabaseProject.sqlproj

- name: Publish DACPAC

uses: azure/sql-action@v2

Question # 1


Expert Solution
Questions # 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.

Question # 2


Expert Solution
Questions # 3:

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.


Expert Solution
Questions # 4:

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.

Question # 4


Expert Solution
Questions # 5:

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


Expert Solution
Questions # 6:

You have an Azure SQL database that contains a table named dbo.Orders.

You have an application that calls a stored procedure named dbo.usp_tresteOrder to insert rows into dbo.Orders.

When an insert fails, the application receives inconsistent error details.

You need to implement error handling to ensure that any failures inside the procedure abort the transaction and return a consistent error to the caller.

How should you complete the stored procedure? To answer, drag the appropriate values to the correct targets, tach 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.

Question # 6


Expert Solution
Questions # 7:

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: Identify the partition number for the oldest month, and then run the following Transact-SQL statement.

TRUNCATE TABIE dbo.Orders

WITH (PARTITIONS (partition number));

Does this meet the goal?

Options:

A.

Yes


B.

No


Expert Solution
Questions # 8:

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.

Question # 8


Expert Solution
Questions # 9:

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


Expert Solution
Questions # 10:

You have an Azure AI Search service and an index named hotels that includes a vector field named DescriptionVector.

You query hotels by using the Search Documents REST API.

You need to implement a hybrid search query that uses DescriptionVector and includes captions.

How should you complete the REST request body? 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.

Question # 10


Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions