All Microsoft exams
Microsoft DP-800: Developing AI-Enabled Database Solutions
What the DP-800 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Level
- Associate
- Topic areas
- 3
- Free practice questions
- 30
- Full question bank
- 100 questions
What the DP-800 exam covers
The topic areas in our DP-800 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Secure, optimize, and deploy database solutions | 38% | 38 |
| Design and develop database solutions | 32% | 32 |
| Implement AI capabilities in database solutions | 30% | 30 |
DP-800 cost and format
| Exam code | DP-800 |
|---|---|
| Certification | SQL AI Developer Associate |
| Vendor | Microsoft |
| Level | Associate |
| Status | New |
| Released | March 1, 2026 |
Last checked October 22, 2026 against the official Microsoft exam page.
DP-800 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Secure, optimize, and deploy database solutions
A column holds national identification numbers that must stay encrypted in the database, even from administrators, and the application needs equality searches on them. Which feature fits best?
- ATransparent Data Encryption of data files
- BDynamic Data Masking on result columns
- CKeeping the numbers as plain text in a view
- DAlways Encrypted with deterministic encryption
Show answer and explanationHide answer
Correct answer: DAlways Encrypted keeps data encrypted from the client to storage, and deterministic encryption allows equality comparisons. Dynamic Data Masking only obscures output, TDE protects files, and plain text with a view exposes the data.
Question 2Design and develop database solutions
A table stores orders, and queries mostly aggregate a few columns across millions of rows. Which index type best fits this workload?
- AA unique index on the order ID only
- BNo index, relying on table scans
- CA clustered columnstore index
- DA nonclustered index on every column
Show answer and explanationHide answer
Correct answer: CColumnstore indexes store data by column and compress it well, which speeds analytical aggregations over large tables. Per-column nonclustered indexes and unique IDs do not serve large aggregations, and scans without indexes are slow.
Question 3Implement AI capabilities in database solutions
A product description column changes often, and the application needs its embeddings kept current automatically. Which approach is most appropriate?
- AA trigger or change-tracking process that regenerates the embedding when the source text changes
- BStore the description as a scanned image instead of plain text, which keeps formatting
- CCompute embeddings in the client on every query, with no vectors saved in the table
- DGenerate embeddings once at load and leave stored vectors unchanged after edits
Show answer and explanationHide answer
Correct answer: ATriggering regeneration when text changes keeps the stored vectors aligned with the source. One-time generation leaves stale vectors, per-query computation adds latency, and images lose the text meaning.
Question 4Secure, optimize, and deploy database solutions
Support staff must see only the last four digits of a credit card number, while the full value stays stored. Which feature should be used?
- ARow-Level Security on the card table
- BAlways Encrypted with randomized encryption
- CA CHECK constraint on the card number
- DDynamic Data Masking
Show answer and explanationHide answer
Correct answer: DDynamic Data Masking obscures returned values for users without the unmask permission while leaving the stored data unchanged. Encryption, CHECK constraints, and row filtering solve different problems.
Question 5Design and develop database solutions
A table must keep a full history of every change to each row, with the ability to query the state at a past time. Which table type should be used?
- AA table variable
- BSystem-versioned temporal table
- CA heap with no history
- DA view over the current table
Show answer and explanationHide answer
Correct answer: BSystem-versioned temporal tables keep history automatically in a history table and support point-in-time queries with FOR SYSTEM_TIME. A heap, a plain view, or a table variable does not preserve the history automatically.
How to prepare for DP-800
- Read the official Microsoft outline first (exam page), so you know exactly what is in scope.
- Give the most time to Secure, optimize, and deploy database solutions and Design and develop database solutions: together they make up 70% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full DP-800 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.
DP-800 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| AI-103: Developing AI Apps and Agents on Azure | Microsoft | Associate |
| AI-200: Developing AI Cloud Solutions on Azure | Microsoft | Associate |
| AI-901: Microsoft Azure AI Fundamentals | Microsoft | Foundational |
| AB-100: Agentic AI Business Solutions Architect | Microsoft | Expert |
| AB-410: Building Intelligent Applications | Microsoft | Associate |
| AB-620: Designing and Building Integrated AI Solutions in Copilot Studio | Microsoft | Associate |