This guide follows the three DP-800 exam areas. It is for developers who write T-SQL and want to practice design, security, deployment, and AI integration on one database.
View the Microsoft Learn exam outline
Exam outline and priorities
| Exam area | Official weight |
|---|---|
| Design and develop database solutions | 35–40 % |
| Secure, optimize, and deploy database solutions | 35–40 % |
| Implement AI capabilities in database solutions | 25–30 % |
Use the weights to allocate study time and review every area. Spend more practice time on errors you can reproduce and explain.
Certification practice project
Build a repair-manual search tool for two companies. Store catalog data and revisions in SQL, restrict rows by company, automate the schema, and compare full-text and vector retrieval before generating cited answers.
Design the schema and debug T-SQL
Use keys and constraints so each repair references a valid asset. Preserve revisions needed for historical queries and define a deterministic order when two events share a timestamp. Project JSON arrays into typed rows to validate parts and quantities.
Practical exercise
Insert two revisions with the same timestamp and select the latest with ROW_NUMBER and an ID tie-breaker. Load a three-part JSON document using OPENJSON and validate the quantities before inserting rows.
Check your understanding
An invalid reference fails on insert, all three JSON elements appear as rows, and the same event wins the tie on repeated runs.
Isolate data and diagnose regressions
Apply row-level security to shared tables and grant permissions to scoped application identities. Use Query Store and the actual plan to distinguish a changed plan, a cardinality issue, and blocking. If an index changes performance, compare equivalent queries and data.
Practical exercise
Run the same manuals query under two company identities and record the returned IDs. Repeat a workload query and compare runtime, plans, and estimated and actual rows before and after a schema change.
Check your understanding
Each identity returns only its own rows even when the application filter is omitted. The performance report ties a measurable observation to the relevant operator or plan.
Automate deployments and expose the API
Build the SQL project in CI, retain the DACPAC as an artifact, and review the deployment plan before promotion. In Data API builder, declare an entity over the catalog view and grant only the required actions to the application role.
Practical exercise
Deploy to a test database twice and check the seed data. Test CRUD with the authorized role and an identity without access. Follow the continuation link to retrieve another page.
Check your understanding
A second deployment preserves only one row per seed code. The authorized role can read the view, writes are blocked, and pagination retains the filters.
Generate and validate embeddings
Use an embedding deployment supported by your SQL platform. Register the reference with CREATE EXTERNAL MODEL and store chunks, source IDs, content versions, and vectors with the agreed dimensions.
Practical exercise
Generate vectors for three passages with AI_GENERATE_EMBEDDINGS and check the dimension of a sample. Edit one passage and verify an asynchronous refresh replaces the vector once the new version is processed.
Check your understanding
The dimension matches the target column and each vector is traceable to a specific passage version.
Evaluate hybrid search and RAG
Compare exact and approximate vector retrieval where the platform supports it. Fuse full-text and vector rankings with RRF. Restrict model context to authorized passages and retain their IDs to verify citations.
Practical exercise
Run ten representative queries. Keep the five exact neighbors and record recall@5 and ANN latency under the same filters. Include one query with insufficient evidence and another with references owned by a different company.
Check your understanding
You can explain which queries changed coverage. Each valid citation matches an authorized passage sent to the model, and the assistant indicates when evidence is insufficient.
Practice with the simulator
The bank includes 250 questions in Spanish and English. Start with a short session, review explanations, and reproduce missed decisions in your project.
Practice answer selection, yes/no tables, step ordering, and matching. In a case study, identify the goal, permissions, and constraints before choosing an option.
Before taking the exam
- Review official objectives and their effective date.
- Complete the project and keep evidence of relevant error, permission, and deployment tests.
- Explain decisions using case requirements and consult documentation when unsure.
- Repeat a timed session after addressing weak areas.