Microsoft · DP-800
Validates expertise in designing and developing AI-enabled database solutions across Microsoft SQL platforms including SQL Server, Azure SQL, and SQL databases in Microsoft Fabric. Covers T-SQL development, CI/CD practices, security, performance optimization, and implementing AI capabilities such as vector search and RAG.
Practice Questions
600
≈ 12 practice exams
Duration
100 minutes
Passing Score
700/1000
Difficulty
AssociateLast Updated
May 2026
Use this DP-800 practice exam to prepare for Microsoft Certified: SQL AI Developer Associate (DP-800) with realistic questions, detailed explanations, and focused study modes. The practice bank includes 600 questions for Microsoft DP-800, so you can review the exam steadily instead of relying on one long cram session.
As you practice, pay extra attention to recurring topics such as Design and Develop Database Solutions, Implement Programmability Objects, Write Advanced T-SQL Code, AI-Assisted SQL Development Tools, and Data Security and Compliance. Start with short sessions to identify weak areas, then move into timed quizzes once your accuracy is consistent.
The explanations are especially useful when you want to connect exam wording to the responsibilities and scenarios described in the official certification guidance. Use the free preview first, then unlock the full question bank when you are ready to build a complete study routine.
The Microsoft Certified: SQL AI Developer Associate certification, earned by passing Exam DP-800 (Developing AI-Enabled Database Solutions), validates expertise in designing and building AI-enabled database solutions across the full breadth of Microsoft SQL platforms—Microsoft SQL Server, Azure SQL, and SQL databases in Microsoft Fabric. The credential covers the complete lifecycle of modern database development: schema design, advanced T-SQL programming, performance optimization, data security, CI/CD automation via SQL Database Projects, and deep integration with Azure services such as Data API builder (DAB), Azure Monitor, and Azure Functions.
Released in early 2026, the certification reflects the industry shift toward embedding AI directly inside the database tier rather than relying solely on external AI services. Candidates must demonstrate practical knowledge of AI-assisted development tooling (GitHub Copilot, Microsoft Copilot in Fabric, Model Context Protocol), as well as core AI concepts—vector embeddings, semantic search, hybrid search, and Retrieval-Augmented Generation (RAG) using native T-SQL functions and the sp_invoke_external_rest_endpoint stored procedure.
This certification targets mid-level database developers—typically with two or more years of hands-on T-SQL experience—who are expanding into AI-integrated and cloud-scale architectures. Ideal candidates hold roles such as SQL/database developer, Azure SQL developer, data engineer, or backend application developer who owns the database layer. Professionals working with Microsoft Fabric, Azure SQL Database, or SQL Server who need to expose intelligent search or natural-language interfaces to applications are a natural fit.
Candidates collaborate daily with application developers, DBAs, architects, AI engineers, DevSecOps engineers, and security administrators. Some exposure to GitHub-based CI/CD workflows and foundational AI concepts (embeddings, vectors, language models) is expected before attempting the exam.
Microsoft does not enforce formal prerequisites for DP-800, but the exam assumes solid practical experience. Candidates should be comfortable writing complex T-SQL including CTEs, window functions, JSON functions, and stored procedures before studying the AI-specific content. Familiarity with database design fundamentals—indexes, constraints, partitioning, row-level security, Always Encrypted, and Dynamic Data Masking—is assumed throughout.
On the tooling side, experience with GitHub (branching, pull requests, Actions) and a working knowledge of Azure services such as Azure Functions, Logic Apps, and Azure Monitor will reduce the learning curve significantly. Exposure to AI/ML concepts—particularly what embeddings are, how vector similarity works, and what a language model prompt looks like—is recommended. Microsoft's free self-paced learning path 'Become a SQL AI Developer: Prepare for Certification Exam DP-800' on Microsoft Learn can fill gaps in any of these areas.
Exam DP-800 is a proctored assessment delivered through Pearson VUE, available in English. Candidates have 120 minutes to complete the exam (the official certification page specifies 120 minutes; allow approximately 100 minutes of active test time). The exam may include interactive lab or scenario-based components in addition to standard multiple-choice and multi-select question types. Candidates can explore the user interface in advance using Microsoft's free Exam Sandbox at aka.ms/examdemo.
A scaled score of 700 or higher (on a 1–1000 scale) is required to pass. If a candidate fails the first attempt, they must wait 24 hours before retaking; subsequent retake intervals vary per Microsoft's standard retake policy. The certification is valid for one year and can be renewed at no cost via an online assessment on Microsoft Learn. Exam price varies by country/region as set by Pearson VUE.
The SQL AI Developer Associate credential positions holders at the intersection of two high-demand skill sets—enterprise SQL development and applied AI engineering—making them valuable to organizations adopting Microsoft Fabric, Azure SQL, or SQL Server 2022+ for intelligent application backends. Roles commonly associated with this certification include SQL/Database Developer, Azure Data Engineer, Backend Developer, and AI Integration Engineer. Because the certification is new (2026), early adopters gain a differentiation advantage as enterprises ramp up AI-enabled data architectures across regulated industries such as finance, healthcare, and retail.
While Microsoft does not publish salary data tied to specific certifications, data engineers and database developers with Azure AI skills command salaries in the $110,000–$145,000 range in the US market (2025–2026 surveys), with premiums for Fabric and AI integration experience. The DP-800 complements adjacent certifications such as DP-300 (Azure Database Administrator Associate) and DP-700 (Fabric Data Engineer Associate), and serves as a natural progression for SQL professionals who have outgrown purely administrative or ETL-focused roles and want to build AI-powered data products.
5 sample questions with answers and explanations. The full bank has 600 questions, enough for 12 full-length practice exams.
Preview — answers shown1. A data quality engineer at Wingtip Toys is building a customer deduplication pipeline in a Microsoft Fabric SQL database. The pipeline must identify potential duplicate customer name records containing minor spelling variations such as 'Smithe' versus 'Smith' or 'MacDonald' versus 'McDonald'. The engineer requires a function that returns a normalized integer score between 0 and 100 so that matches can be ranked and filtered by a configurable similarity threshold. Which function should the engineer use? (Select one!)
Explanation
EDIT_DISTANCE_SIMILARITY returns an integer value between 0 and 100 representing the normalized percentage of similarity based on the Levenshtein edit distance algorithm. A score of 100 indicates identical strings; lower scores indicate more differences. Because it produces a normalized percentage, it enables threshold-based filtering such as WHERE EDIT_DISTANCE_SIMILARITY(a.CustomerName, b.CustomerName) >= 85 to find high-confidence duplicates regardless of string length. JARO_WINKLER_DISTANCE is a prefix-weighted algorithm that produces a floating-point score between 0 and 1. While useful for phonetic name matching, it does not return a 0-to-100 integer percentage scale and emphasizes prefix similarity, making it less suitable for general typo detection where edits can occur anywhere in the string. EDIT_DISTANCE without the SIMILARITY suffix returns the raw count of single-character insertions, deletions, or substitutions needed to transform one string into another. This raw count is difficult to use as a threshold filter because longer strings naturally produce higher raw distances even for minor variations. SOUNDEX encodes a name into a four-character phonetic code for equivalence checking. It does not compute a similarity score and cannot rank near-matches by degree of similarity.
2. A compliance architect at Litware Financial Services is designing a payment transaction recording system in Azure SQL Database. Regulatory requirements mandate that transaction records be immutable after insert — no employee, DBA, or sysadmin must be able to silently modify or delete any payment record. The system only needs to support INSERT operations; UPDATE and DELETE are not required. Which ledger table configuration should the architect implement? (Select one!)
Explanation
An append-only ledger table supports only INSERT operations and generates a cryptographically linked chain of transaction hashes that proves no record has been modified or deleted — even by users with elevated privileges including db_owner and sysadmin. This tamper-evidence is enforced at the engine level, not through permissions. Standard auditing with Azure Blob Storage records who performed operations but does not prevent modifications or provide cryptographic proof of immutability. A system-versioned temporal table tracks historical versions of changed data but does not provide cryptographic tamper-evidence; DBAs can still modify both the main and history tables when SYSTEM_VERSIONING is temporarily disabled. An updatable ledger table supports INSERT, UPDATE, and DELETE with a cryptographic audit trail, but since the requirement is INSERT-only immutability, the append-only ledger variant is the correct and more restrictive choice.
3. A developer at Contoso Banking is implementing a system-versioned temporal table to track changes to customer account balances. The compliance team requires that historical records older than 18 months be automatically deleted to reduce storage costs. The developer wants to avoid manual maintenance jobs. Which two actions must the developer take to enable automatic retention-based cleanup of the temporal history table? (Select two!)
Multiple correct answersExplanation
Automatic temporal history cleanup requires two separate configurations. First, the database must have temporal retention enabled at the database level using ALTER DATABASE [DatabaseName] SET TEMPORAL_HISTORY_RETENTION = ON. Second, the individual temporal table must specify its retention window, for example ALTER TABLE dbo.AccountBalances SET (HISTORY_RETENTION_PERIOD = 18 MONTHS). Both settings must be active for the database engine to automatically purge aged history records. A SQL Agent DELETE job is unnecessary when the built-in retention mechanism is configured and adds operational overhead that contradicts the goal of avoiding manual maintenance. History tables cannot have any constraints, including CHECK constraints — attempting to add one will cause an error. Azure Automation runbooks are an external workaround that bypasses the native temporal retention feature and reintroduces the manual maintenance problem.
4. A developer at Woodgrove Bank is authoring an SDK-style SQL Database Project targeting Azure SQL Database. The project references system objects and cross-database synonyms that require a reference to the master database. During the build, unresolved reference errors appear for system objects. The developer needs to add the correct NuGet package reference to the project file to resolve the errors. Which package should the developer reference? (Select one!)
Explanation
When targeting Azure SQL Database with SDK-style SQL Database Projects, you must reference Microsoft.SqlServer.Dacpacs.Azure.Master as the master dacpac package. This package contains the Azure SQL Database-specific system objects and is required for accurate build resolution against Azure SQL targets. The generic Microsoft.SqlServer.Dacpacs.Master package is designed for on-premises SQL Server and does not include Azure SQL Database-specific system objects, so build errors persist when it is used against an Azure target. Microsoft.Build.Sql is the SDK identifier for the project build system, not a dacpac reference package. Microsoft.SqlServer.Dacpacs.SqlAzure is not a valid package name.
5. A developer at VanArsdel Analytics needs to materialize a monthly sales aggregation query joining the Orders and OrderDetails tables to accelerate dashboard reporting. The developer creates a view and attempts to create a UNIQUE CLUSTERED index on it but receives multiple errors. Which three requirements must be satisfied before a clustered index can be successfully created on a view in SQL Server? (Select three!)
Multiple correct answersExplanation
Creating an indexed (materialized) view in SQL Server requires three fundamental conditions to be satisfied. The view must be created WITH SCHEMABINDING, which binds the view definition to its underlying tables and prevents any schema changes to those tables that would invalidate the index without first dropping the view. The very first index created on the view must be a UNIQUE CLUSTERED index; this index is what physically materializes the view and stores the result set on disk. All objects referenced in the view definition must use two-part schema-qualified names such as dbo.Orders, which is enforced by the SCHEMABINDING requirement for accurate dependency tracking. COUNT_BIG is required as a replacement for COUNT when the view uses a COUNT aggregate, but this is a conditional rule that applies only when COUNT is present in the view definition, not a universal prerequisite. Using single-part names actually violates the SCHEMABINDING requirement because unqualified names cannot be reliably tracked for schema dependencies. ORDER BY clauses are not permitted in standard indexed view definitions; they can only appear with TOP or OFFSET-FETCH, and the clustered index key defines physical order independently.
Microsoft Certified: Azure Databricks Data Engineer Associate (DP-750)
DP-750 · 593 questions
Microsoft Certified: Intelligent Applications Builder Associate (AB-410)
AB-410 · 600 questions
Microsoft Certified: Machine Learning Operations (MLOps) Engineer Associate (AI-300)
AI-300 · 583 questions
Microsoft 365 Certified: Collaboration Communications Systems Engineer Associate (MS-721)
MS-721 · 306 questions
Microsoft Certified: Azure Virtual Desktop Specialty (AZ-140)
AZ-140 · 517 questions
Microsoft Certified: Windows Server Hybrid Administrator Associate (AZ-801)
AZ-801 · 1376 questions
$17.99
One-time access to this exam