DP-800 Exam Question 36

Drag and Drop Question
You have an Azure SQL database that supports an OLTP application.
You need to write Transact-SQL code that returns blocking chain details. The output must return only sessions that are blocked or are blocking other sessions.
How should you complete the 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.

DP-800 Exam Question 37

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?
  • DP-800 Exam Question 38

    Case Study 1 - Contoso
    Existing Environment
    Azure Environment
    Contoso has an Azure subscription in North Europe that contains the corporate infrastructure.
    The current infrastructure contains a Microsoft SQL Server 2017 database. The database contains the following tables.

    The FeedbackJsoncolumn has a full-text index and stores JSON documents in the following format.

    The support staff at Contoso never has the UNMASKpermission.
    Problem Statements
    Contoso is deploying a new Azure SQL database that will become the authoritative data store for the following:
    * AI workloads
    * Vector search
    * Modernized API access
    * Retrieval Augmented Generation (RAG) pipelines
    Sometimes the ingestion pipeline fails due to malformed JSON and duplicate payloads.
    The engineers at Contoso report that the following dashboard query runs slowly.

    You review the execution plan and discover that the plan shows a clustered index scan.
    VehicleIncidentReportsoften contains details about the weather, traffic conditions, and location. Analysts report that it is difficult to find similar incidents based on these details.
    Requirements
    Planned Changes
    Contoso wants to modernize Fleet Intelligence Platform to support AI-powered semantic search over incident reports.
    Security Requirements
    Contoso identifies the following security requirements:
    * Restrict the support staff from viewing Personally Identifiable Information (PII) data, which is full email addresses and phone numbers.
    * Enforce row-level filtering so that analysts see only incidents for the fleets to which they are assigned. The analysts can be assigned to multiple fleets.
    Database Performance and Requirements
    Contoso identifies the following telemetry requirements:
    * Telemetry data must be stored in a partitioned table.
    * Telemetry data must provide predictable performance for ingestion and retention operations.
    * latitude, longitude, and accuracyJSON properties must be filtered by using an index seek.
    Contoso identifies the following maintenance data requirements:
    * Ensure that any changes to a row in the MaintenanceEventstable updates the corresponding value in the LastModifiedUtccolumn to the time of the change.
    * Avoid recursive updates.
    AI Search, Embeddings, and Vector Indexing
    Contoso plans to implement semantic search over incident data to meet the following requirements:
    * Embeddings must be stored in dedicated Azure SQL Database tables.
    * Embeddings must be generated from rich natural language fields.
    * Chunking must preserve semantic coherence.
    * Hybrid search must combine the following:
    - Vector similarity
    - Keyword filtering or boosting
    Development Requirements
    The development team at Contoso will use Microsoft Visual Studio Code and GitHub Copilot and will retrieve live metadata from the databases.
    Contoso identifies the following requirements for querying data in the FeedbackJsoncolumn of the CustomerFeedbacktable:
    * Extract the customer feedback text from the JSON document.
    * Filter rows where the JSON text contains a keyword.
    * Calculate a fuzzy similarity score between the feedback text and a known issue description.
    * Order the results by similarity score, with the highest score first.
    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.
  • DP-800 Exam Question 39

    Drag and Drop Question
    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.

    DP-800 Exam Question 40

    Hotspot Question
    You have an Azure SQL database that contains the following tables and columns.

    Embeddings in the NotesEmbeddings and DescriptionEmbeddings tables have been generated from values in the Description and Notes columns of the Articles table by using different chunk sizes.
    You need to perform approximate nearest neighbor (ANN) queries across both embedding tables.
    The solution must minimize the impact of using different chunk sizes.
    What should you use? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.