McAfee Secure

Exam Code: DP-800

Exam Name: Developing AI-Enabled Database Solutions

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: SQL AI Developer Associate

Microsoft DP-800 Questions & Answers

Study with Up-To-Date REAL Exam Questions and Answers from the ACTUAL Test

101 Questions & Answers with Testing Engine

"Developing AI-Enabled Database Solutions Exam", also known as DP-800 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date DP-800 Exam Engine. Your DP-800 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Microsoft DP-800 Practice Test 14

Question 130

A product-description table updates frequently and embeddings must refresh asynchronously without heavy write transactions. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. An updated row results in one current embedding after retries.
  2. Updated products receive new embeddings within the freshness SLA.
  3. A bilingual test set retrieves correct permitted items for each locale.
  4. A sampled outbound model request contains no restricted secrets.

Explanation

Correct Answer

B:

Updated products receive new embeddings within the freshness SLA. This is the decisive observable evidence after implementing use Change Tracking or CDC to identify changed records and process them in a background worker. It tests the underlying requirement: Asynchronous change-based updates decouple embedding cost from OLTP commit latency.

Incorrect Answers

A:

An updated row results in one current embedding after retries. However, that result would not establish the required outcome: updated products receive new embeddings within the freshness SLA.

C:

A bilingual test set retrieves correct permitted items for each locale. However, that result would not establish the required outcome: updated products receive new embeddings within the freshness SLA.

D:

A sampled outbound model request contains no restricted secrets. However, that result would not establish the required outcome: updated products receive new embeddings within the freshness SLA.

Question 131

A SQL trigger calls a slow embedding model synchronously on each customer transaction. Which technical reason BEST explains the proposed correction?

  1. Source-change tracking automatically prevents a synchronous model call from delaying its calling SQL transaction.
  2. IDs alone lack the natural-language signal needed for semantic retrieval.
  3. Remote inference inside DML triggers lengthens database transactions and increases failure coupling.
  4. Unconstrained prose is fragile to parse and can omit required keys.

Explanation

Correct Answer

C:

Remote inference inside DML triggers lengthens database transactions and increases failure coupling. This explains why the corrective action is to move model inference out of the trigger and use a durable change notification pipeline. Confirm the diagnosis when transactions commit within SLO while embeddings update later.

Incorrect Answers

A:

Change tracking can identify modified rows, but the current trigger still waits for remote inference. The transaction remains coupled until inference is moved outside the DML path.

B:

IDs alone lack the natural-language signal needed for semantic retrieval. The actual technical constraint is that remote inference inside DML triggers lengthens database transactions and increases failure coupling.

D:

Unconstrained prose is fragile to parse and can omit required keys. The actual technical constraint is that remote inference inside DML triggers lengthens database transactions and increases failure coupling.

Question 132

An app uses SQL features unavailable on its chosen Fabric SQL database target. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Require reviews for schema changes.
  2. Keep backups and verify postdeployment data counts.
  3. Use deployment reports and rollback planning for destructive changes.
  4. Maintain a per-platform compatibility matrix.

Explanation

Correct Answer

D:

Maintain a per-platform compatibility matrix. This guards against recurrence because different SQL engine flavors do not guarantee identical DDL feature support. The direct remediation is: Set the appropriate target platform and validate generated deployment scripts against actual capabilities.

Incorrect Answers

A:

Requiring reviews for schema changes addresses a different database behavior; the relevant distinction is that maintain a per-platform compatibility matrix.

B:

Keep backups and verify postdeployment data counts. The current task instead requires this action: maintain a per-platform compatibility matrix.

C:

Use deployment reports and rollback planning for destructive changes. The current task instead requires this action: maintain a per-platform compatibility matrix.

Question 133

A property feed encodes its category inside JSON and SQL must filter by it. What should the SQL developer do FIRST to address the specific issue?

  1. Use JSON_VALUE on an appropriate scalar path and validate path existence and types.
  2. Use JSON_OBJECT with explicit key/value expressions where supported.
  3. Include an explicit window ORDER BY with unique tie-breaker columns.
  4. Evaluate EDIT_DISTANCE to quantify edit operations before human review.

Explanation

Correct Answer

A:

Use JSON_VALUE on an appropriate scalar path and validate path existence and types. This targets the primary issue because JSON_VALUE extracts a scalar path, while OPENJSON can shred collections. Verification: Rows matching the expected category are returned in a controlled test. Prevent recurrence: Index frequently filtered paths only after measured need.

Incorrect Answers

B:

JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.

C:

Window ranking order is defined by its OVER clause, not the outer result sort.

D:

Evaluate EDIT_DISTANCE to quantify edit operations before human review. The relevant technical condition instead is that use JSON_VALUE on an appropriate scalar path and validate path existence and types.

Question 134

An enterprise wants both exact product IDs and conversational paraphrases in one search. Which acceptance check is MOST directly related to this scenario?

  1. The exact SKU returns and misleading near codes do not.
  2. A test suite succeeds on both SKU and natural-language queries.
  3. The quoted phrase test excludes documents without that phrase.
  4. Known phrase and inflection tests return expected articles.

Explanation

Correct Answer

B:

A test suite succeeds on both SKU and natural-language queries. This is the decisive observable evidence after implementing combine lexical and vector candidate retrieval in a hybrid ranking workflow. It tests the underlying requirement: Hybrid search covers complementary exact and semantic signals.

Incorrect Answers

A:

The exact SKU returns and misleading near codes do not. However, that result would not establish the required outcome: a test suite succeeds on both SKU and natural-language queries.

C:

The quoted phrase test excludes documents without that phrase. However, that result would not establish the required outcome: a test suite succeeds on both SKU and natural-language queries.

D:

Known phrase and inflection tests return expected articles. However, that result would not establish the required outcome: a test suite succeeds on both SKU and natural-language queries.

Question 135

A team tries to insert through a view containing aggregation and GROUP BY. Which technical property or constraint MOST directly matters here?

  1. SCHEMABINDING protects referenced definitions against incompatible schema changes.
  2. A DELETE trigger exposes removed rows via deleted, not inserted.
  3. Aggregate views are not generally directly updatable like simple single-table projections.
  4. Nested or recursive trigger behavior can cause cycles and unexpected work.

Explanation

Correct Answer

C:

Aggregate views are not generally directly updatable like simple single-table projections. This explains why the corrective action is to use a supported write path or redesign the view rather than assuming all views are updatable. Confirm the diagnosis when the approved insert path updates expected base rows while report totals remain correct.

Incorrect Answers

A:

SCHEMABINDING protects referenced definitions against incompatible schema changes. The actual technical constraint is that aggregate views are not generally directly updatable like simple single-table projections.

B:

A DELETE trigger exposes removed rows via deleted, not inserted. The actual technical constraint is that aggregate views are not generally directly updatable like simple single-table projections.

D:

Nested or recursive trigger behavior can cause cycles and unexpected work. The actual technical constraint is that aggregate views are not generally directly updatable like simple single-table projections.

Question 136

A query needs parameterized customer transactions returned as rows without dynamic string SQL. Which preventive practice BEST addresses the underlying risk over time?

  1. Keep table cardinality and version-specific improvements in review.
  2. Keep procedure signatures under source control.
  3. Use multirow tests and avoid cursor-based per-row assumptions.
  4. Restrict callers to authorized tenant and customer context.

Explanation

Correct Answer

D:

Restrict callers to authorized tenant and customer context. This guards against recurrence because an inline TVF returns a relational rowset that composes with calling queries. The direct remediation is: Use an inline table-valued function with typed inputs and explicit predicates.

Incorrect Answers

A:

Keep table cardinality and version-specific improvements in review. The current task instead requires this action: restrict callers to authorized tenant and customer context.

B:

Keep procedure signatures under source control. The current task instead requires this action: restrict callers to authorized tenant and customer context.

C:

Use multirow tests and avoid cursor-based per-row assumptions. The current task instead requires this action: restrict callers to authorized tenant and customer context.

Question 137

A retry service repeats a failed transfer procedure and creates duplicate ledger entries. What should the SQL developer do FIRST to address the specific issue?

  1. Make transaction operations idempotent using a stable request ID and uniqueness constraints.
  2. Use CATCH to log safely and rethrow meaningful failures rather than masking them.
  3. Use a correlated aggregate subquery or window function scoped by category.
  4. Use fuzzy scoring only for candidate generation and validate matches with stable IDs.

Explanation

Correct Answer

A:

Make transaction operations idempotent using a stable request ID and uniqueness constraints. This targets the primary issue because transient retries can replay committed work even after client-side timeouts. Verification: The same request ID produces one ledger effect across repeated calls. Prevent recurrence: Record retry policy and distinguish transient from permanent errors.

Incorrect Answers

B:

Using CATCH to log safely and rethrow meaningful failures rather than masking them would not correct a retry service repeats a failed transfer procedure and creates duplicate ledger entries. Make transaction operations idempotent using a stable request ID and uniqueness constraints.

C:

An outer reference lets the inner aggregate vary by each row's category.

D:

String resemblance cannot guarantee two records represent the same person.

Question 138

A nested JSON document contains an array of reviewers and the SQL report needs one row per reviewer. Which acceptance check is MOST directly related to this scenario?

  1. Rows matching the expected category are returned in a controlled test.
  2. The test input produces distinct reviewer rows and correct identifiers.
  3. The query returns one expected latest event for each sensor.
  4. An item is flagged only when above its own category average.

Explanation

Correct Answer

B:

The test input produces distinct reviewer rows and correct identifiers. This is the decisive observable evidence after implementing use OPENJSON on the reviewer array with a typed WITH clause. It tests the underlying requirement: OPENJSON expands array elements into tabular rows for joins and validation.

Incorrect Answers

A:

Rows matching the expected category are returned in a controlled test. However, that result would not establish the required outcome: the test input produces distinct reviewer rows and correct identifiers.

C:

The query returns one expected latest event for each sensor. However, that result would not establish the required outcome: the test input produces distinct reviewer rows and correct identifiers.

D:

An item is flagged only when above its own category average. However, that result would not establish the required outcome: the test input produces distinct reviewer rows and correct identifiers.

Question 139

A database procedure sends user-supplied prompt fragments to an arbitrary URL supplied by the caller. Which technical property or constraint MOST directly matters here?

  1. An authorization error occurs before model inference can produce valid content.
  2. Sending unauthorized rows to a model is a disclosure even if its final answer omits them.
  3. Arbitrary external REST calls risk server-side request forgery and data exfiltration.
  4. Context-window constraints and cost require bounded prompt construction.

Explanation

Correct Answer

C:

Arbitrary external REST calls risk server-side request forgery and data exfiltration. This explains why the corrective action is to allowlist approved model endpoints and validate request content and destination. Confirm the diagnosis when a test rejects calls to private metadata or unapproved hosts.

Incorrect Answers

A:

An authorization error occurs before model inference can produce valid content. The actual technical constraint is that arbitrary external REST calls risk server-side request forgery and data exfiltration.

B:

Sending unauthorized rows to a model is a disclosure even if its final answer omits them. The actual technical constraint is that arbitrary external REST calls risk server-side request forgery and data exfiltration.

D:

Context-window constraints and cost require bounded prompt construction. The actual technical constraint is that arbitrary external REST calls risk server-side request forgery and data exfiltration.

Question 140

An API expects a single relational row converted into a JSON object with named fields. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Index frequently filtered paths only after measured need.
  2. Keep review logs and a reversible merge mechanism.
  3. Use selective indexes on the correlated join key.
  4. Pin feature availability to the deployed SQL engine.

Explanation

Correct Answer

D:

Pin feature availability to the deployed SQL engine. This guards against recurrence because JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation. The direct remediation is: Use JSON_OBJECT with explicit key/value expressions where supported.

Incorrect Answers

A:

Index frequently filtered paths only after measured need. The current task instead requires this action: pin feature availability to the deployed SQL engine.

B:

Keep review logs and a reversible merge mechanism. The current task instead requires this action: pin feature availability to the deployed SQL engine.

C:

Use selective indexes on the correlated join key. The current task instead requires this action: pin feature availability to the deployed SQL engine.

Developing AI-Enabled Database Solutions (DP-800) Practice Tests