What the DP-800 exam covers
- Design and develop database solutions238 questions
- Secure, optimize, and deploy database solutions238 questions
- Implement AI capabilities in database solutions197 questions
Free DP-800 practice test questions
A sample of 10 questions with answers and explanations. Sign up free to practice all 673.
-
A table must record every change to a row so a query can return the state at any past moment. Which table type provides that natively?
- AA system-versioned temporal tableCorrect
- BA ledger table, which records changes for tamper evidence
- CA memory-optimized table, which retains prior row versions
- DA partitioned table, with one partition per period
✓ Correct answer: AA system-versioned temporal table carries period columns and an associated history table that the engine maintains on every update and delete, so FOR SYSTEM_TIME AS OF returns the row exactly as it stood then without any application logic. Ledger tables also record history but exist to prove the data has not been tampered with, which is a different requirement.
Why the other options are wrong- BLedger tables provide cryptographic tamper evidence rather than point-in-time querying as their purpose.
- CMemory-optimized tables keep row versions for concurrency, not as queryable history.
- DPartitioning organises current data physically and retains no prior versions of a row.
-
A hybrid search returns results whose keyword and vector scores cannot be compared. What must the design supply?
- AA fusion step combining the two rankings into one orderCorrect
- BA conversion of the vector distance into a relevance score
- CA single index serving both searches
- DA threshold discarding results below a score
✓ Correct answer: AThe two searches produce scores on different scales, so the combination has to be scale-free - reciprocal rank fusion takes each result's position within its own ranking and sums the reciprocals, so a document ranked highly by either method surfaces and one ranked highly by both surfaces first. Attempting to convert one score into the other's scale requires a mapping that does not exist.
Why the other options are wrong- BThere is no principled conversion between a distance and a text relevance score.
- COne index cannot serve both a keyword and a vector search.
- DA threshold filters each list without merging them into one order.
-
A team must add semantic search to an existing full-text implementation without discarding it. What is the sound approach?
- AKeep full-text and add vectors, fusing both rankingsCorrect
- BReplace full-text entirely with vector search
- CRun whichever search the user selects
- DUse full-text for short queries and vectors for long ones
✓ Correct answer: AFull-text handles exact terms, product codes and rare words that an embedding blurs, while vector search finds passages that mean the same thing in different words - so replacing one with the other loses a class of query. Running both and fusing the rankings serves both cases from one result list, which is what hybrid search means.
Why the other options are wrong- BVector search handles exact codes and rare terms poorly, so replacement loses those queries.
- CAsking users to choose a search mode pushes an implementation detail onto them.
- DQuery length is a weak proxy for whether a query is lexical or semantic.
-
A data platform lead must settle how often to re-evaluate an embedding model choice. What triggers a review?
- AA measured fall in retrieval quality, or a better modelCorrect
- BThe passage of a fixed number of months
- CAny change to the database schema
- DGrowth in the number of stored rows
✓ Correct answer: AChanging models means regenerating every embedding and rebuilding the index, so it is justified by evidence rather than by a calendar - either the labelled evaluation set showing retrieval has degraded as the corpus drifted, or a new model measurably better on that same set. Having the evaluation set in place is what makes either judgement possible.
Why the other options are wrong- BA fixed interval prompts an expensive migration without evidence it is warranted.
- CSchema changes do not affect how well a model embeds the text.
- DCorpus growth affects index sizing rather than the model's suitability.
-
A reviewer asks about the granularity of a chunk for a policy document with numbered clauses. What is the sound choice?
- AOne chunk per clause, since a clause is a self-contained answerCorrect
- BOne chunk per document, preserving all context
- CA fixed character count regardless of structure
- DOne chunk per sentence
✓ Correct answer: AA numbered clause is written to be read on its own, so it is exactly the unit a question about the policy is asking for - and retrieving it returns a complete, citable answer rather than a fragment. Carrying the clause number and heading with the chunk lets the answer cite it precisely, which a fixed-size split would cut through.
Why the other options are wrong- BA whole document is too coarse to rank or to fit alongside others.
- CA fixed count splits mid-clause and separates a rule from its qualification.
- DA single sentence usually lacks the surrounding qualification of the rule.
-
A schema evolves and a column must be renamed without breaking existing readers. What is the safe sequence?
- AAdd the new column, migrate readers, then remove the old oneCorrect
- BRename the column and update readers afterwards
- CRename the column and add a view with the old name
- DKeep both columns permanently in step with a trigger
✓ Correct answer: AAdding the new column leaves every existing reader working, migrating them one at a time is reversible at any point, and removing the old column happens only once nothing references it - which is what makes the whole change online. A rename breaks every reader at the instant it applies.
Why the other options are wrong- BA rename breaks readers the moment it applies rather than afterwards.
- CA compatibility view helps reads but not writes against the old name.
- DMaintaining two columns forever leaves the duplication the change meant to end.
-
A Data API builder configuration must be validated before deployment. What applies?
- AValidating the file against the runtime schemaCorrect
- BDeploying it and testing the endpoints
- CReviewing it by eye before release
- DComparing it to the previous version
✓ Correct answer: AValidating the file catches a misspelled property, an unknown action or a malformed permission before anything is deployed, which is where a configuration error is cheapest to fix - and it runs in the pipeline without any environment. Endpoint testing then confirms behaviour that validation cannot, such as whether the permissions match the intent.
Why the other options are wrong- BTesting after deployment finds the error once it is already live.
- CReview by eye misses the malformed property validation catches reliably.
- DComparing it to the previous version shows changes rather than validity.
-
A data platform lead must settle how a table supports both operational writes and heavy analytical reads. What applies?
- AA nonclustered columnstore index on the same rowsCorrect
- BTwo copies of the table kept in step
- CA larger clustered index fill factor
- DMore frequent statistics updates
✓ Correct answer: AA nonclustered columnstore index over the same rows gives analytical queries the compressed, column-oriented scan they want while the transactional workload continues against the row store - which is why the pattern is called real-time operational analytics. The cost is the maintenance that index adds to every write.
Why the other options are wrong- BTwo copies must be synchronised and can diverge.
- CFill factor affects page density rather than analytical scan performance.
- DStatistics improve estimates rather than the storage format.
-
A reviewer asks how to handle a stored procedure that has grown to a thousand lines. What is the safe approach?
- AExtracting pieces incrementally, testing eachCorrect
- BRewriting it entirely in one change
- CLeaving it, since it works
- DCopying it and changing the copy
✓ Correct answer: ACharacterising the current behaviour with tests and then extracting one piece at a time means each change is small enough to verify and to revert, which is what makes refactoring a long procedure feasible at all. A complete rewrite replaces known behaviour, including the undocumented cases, with assumptions.
Why the other options are wrong- BA full rewrite discards behaviour nobody remembers is depended upon.
- CLeaving it means the next change is as risky as this one.
- DA copy means two procedures to maintain and diverge.
-
An application team is working out how to handle a lookup value that has been superseded but is still referenced by old rows. What applies?
- AMarking it inactive rather than deleting itCorrect
- BDeleting it and repointing old rows
- CDeleting it and accepting the orphans
- DReusing its identifier for the replacement
✓ Correct answer: AAn inactive flag keeps historical rows interpretable while stopping the value being chosen again, which is exactly what superseded means - and it preserves the foreign key rather than forcing a choice between rewriting history and breaking it. New writes filter the lookup to active values.
Why the other options are wrong- BRepointing old rows rewrites what those records actually said.
- COrphaned references make historical rows uninterpretable.
- DReusing an identifier silently changes what old rows mean.
Who this DP-800 practice exam is for
This practice set is for anyone preparing for the DP-800: Developing AI-Enabled Database Solutions exam - from first-time candidates building a foundation to experienced Microsoft practitioners doing a final review before test day. If you learn best by working through realistic questions and reading why each answer is right or wrong, it is built for you.
How to use this DP-800 practice exam
- Start with the free sample questions above to gauge your current baseline.
- Read the full explanation on every question, including why each wrong option is wrong.
- Track your weak domains and focus your study where you are losing the most marks.
- Once you are scoring consistently well, take a timed, full-length mock exam.
- Use your readiness score to decide when you are ready to book the real DP-800 exam.
Related Microsoft resources
- Microsoft practice examsAll Microsoft
- Certification pathWhere this fits
- Certification exam guides & tipsBlog
- Plans & pricingFree & paid
- How these questions are written and reviewedMethodology
- Report a problem with a questionCorrections
- DP-900 practice examRelated
- MB-310 practice examRelated
- MB-500 practice examRelated
DP-800 practice exam FAQ
How many questions are in the DP-800 practice exam on CertGrid?
CertGrid has 673 practice questions for DP-800: Developing AI-Enabled Database Solutions, covering 3 exam domains. The real DP-800 exam is 40-60 qs in 100 min. CertGrid's timed mock is a fixed 50 questions.
What is the passing score for DP-800?
The DP-800 exam passing score is 700 / 1000, and you have about 100 min to complete it. CertGrid scores your practice attempts the same way so you know when you are ready.
Are these official DP-800 exam questions?
No. CertGrid is an independent practice platform. We do not provide real or leaked exam questions. Our questions are original and designed to help you practice the concepts, scenarios, and difficulty style of the DP-800: Developing AI-Enabled Database Solutions exam.
Is there a free DP-800 practice test?
Yes. You can take a free DP-800: Developing AI-Enabled Database Solutions practice test straight away: a fixed set of 20 practice questions for this exam, retryable as often as you like, with no credit card required. You get readiness scoring and a weak-domain breakdown on those questions. Paid plans unlock the full 673-question bank, timed mock exams and full-bank domain analytics.
What CertGrid is (and is not)
CertGrid is an independent IT certification practice platform for Azure, AWS, Google, Cisco, Security, Linux, Kubernetes, Terraform, and other certification tracks. It provides objective-mapped practice questions, readiness scoring, weak-domain drills, and explanations to help learners understand what to study next.
Independent & original. CertGrid is an independent practice platform and is not affiliated with or endorsed by Microsoft. Questions are original practice items designed to mirror certification concepts and exam style. CertGrid does not provide official exam questions or braindumps.