Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Microsoft logo

Microsoft Certified:SQL AI Developer Associate

Domain 1Objective 3

Write Advanced T-SQL Code DP-800 Practice Questions (Page 3)

Part of the Design and develop database solutions domain, which accounts for 35–40% of the DP-800 exam. Microsoft does not publish an official question count, but from its 120-minute exam (~50–80 total, ~18–32 in this domain), expect 5–8 from this objective — we provide 31 practice questions to prepare you well beyond it. (estimate)

31questions here
7free pages
8concepts
35–40%of the exam

Questions 11–15

  1. 11expert · hard

    A stored procedure processes a JSON payload that contains multiple records. Some records may violate a check constraint when inserted. You need to insert all valid records and collect the error messages for invalid ones, without aborting the entire transaction. Which approach should you use?

    Select an answer first
  2. 12foundation · easy

    You need to calculate a running total of sales amounts ordered by date, while still returning each individual sales row. Which type of function is designed to perform calculations across a set of rows related to the current row without collapsing the rows into a single output?

    Select an answer first
  3. 13application · medium

    A web application sends JSON payloads that include a nested array of line items. You need to insert each line item into a relational table LineItems, while also storing the header information in an Orders table. Which T-SQL approach should you use?

    Select an answer first
  4. 14application · medium

    You are writing a script that processes a batch of records. If a specific error occurs (e.g., a foreign key violation), you want to raise a custom error message and roll back the entire transaction. Which error handling approach should you use?

    Select an answer first
  5. 15foundation · easy

    Which clause is required to define the window (set of rows) for a window function in T-SQL?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “DP-800” is a trademark of its owner, used for identification only.