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 9

Question 80

A finance application needs deterministic machine-readable response fields from model inference. Which preventive practice BEST addresses the underlying risk over time?

  1. Track model quality drift and escalation thresholds.
  2. Keep source citations and access metadata attached.
  3. Evaluate per-language drift and fallback routing.
  4. Reject unexpected fields and never trust generated totals without validation.

Explanation

Correct Answer

D:

Reject unexpected fields and never trust generated totals without validation. This guards against recurrence because unconstrained prose is fragile to parse and can omit required keys. The direct remediation is: Prefer a model and API mode supporting validated structured output and enforce schema checks.

Incorrect Answers

A:

Track model quality drift and escalation thresholds. The current task instead requires this action: reject unexpected fields and never trust generated totals without validation.

B:

Keep source citations and access metadata attached. The current task instead requires this action: reject unexpected fields and never trust generated totals without validation.

C:

Evaluate per-language drift and fallback routing. The current task instead requires this action: reject unexpected fields and never trust generated totals without validation.

Question 81

A similarity API submits a query vector of different dimension than stored vectors. What should the SQL developer do FIRST to address the specific issue?

  1. Generate query embeddings with the same approved model and dimension as the column.
  2. Order an exact VECTOR_DISTANCE result ascending for nearest neighbors.
  3. Use RRF to reward documents ranking highly across multiple candidate lists.
  4. Combine lexical and vector candidate retrieval in a hybrid ranking workflow.

Explanation

Correct Answer

A:

Generate query embeddings with the same approved model and dimension as the column. This targets the primary issue because vector operations require dimension compatibility. Verification: The corrected query executes and returns expected similar records. Prevent recurrence: Validate dimensions before calling SQL.

Incorrect Answers

B:

Order an exact VECTOR_DISTANCE result ascending for nearest neighbors. The relevant technical condition instead is that generate query embeddings with the same approved model and dimension as the column.

C:

Using RRF to reward documents ranking highly across multiple candidate lists would not correct a similarity API submits a query vector of different dimension than stored vectors. Generate query embeddings with the same approved model and dimension as the column.

D:

Combine lexical and vector candidate retrieval in a hybrid ranking workflow. The relevant technical condition instead is that generate query embeddings with the same approved model and dimension as the column.

Question 82

A nonclustered index becomes misaligned with a heavily partitioned fact table, complicating switches. Which acceptance check is MOST directly related to this scenario?

  1. A tested switch moves the intended range without orphaning rows.
  2. A maintenance rehearsal successfully switches a partition with required constraints.
  3. Reconciled payment totals match control calculations to the cent.
  4. High-ID inserts and all dependent joins work in migration tests.

Explanation

Correct Answer

B:

A maintenance rehearsal successfully switches a partition with required constraints. This is the decisive observable evidence after implementing align the relevant indexes and partition scheme where switching operations require it. It tests the underlying requirement: Misaligned indexes can block efficient partition maintenance.

Incorrect Answers

A:

A tested switch moves the intended range without orphaning rows. However, that result would not establish the required outcome: a maintenance rehearsal successfully switches a partition with required constraints.

C:

Reconciled payment totals match control calculations to the cent. However, that result would not establish the required outcome: a maintenance rehearsal successfully switches a partition with required constraints.

D:

High-ID inserts and all dependent joins work in migration tests. However, that result would not establish the required outcome: a maintenance rehearsal successfully switches a partition with required constraints.

Question 83

A trigger sends an external email during every sale and delays checkouts. Which technical property or constraint MOST directly matters here?

  1. Nested or recursive trigger behavior can cause cycles and unexpected work.
  2. SCHEMABINDING protects referenced definitions against incompatible schema changes.
  3. Synchronous trigger work participates in the calling transaction and can increase latency.
  4. Per-row scalar function calls may create expensive repeated execution on some workloads.

Explanation

Correct Answer

C:

Synchronous trigger work participates in the calling transaction and can increase latency. This explains why the corrective action is to move external notifications to a reliable asynchronous event workflow after durable commit. Confirm the diagnosis when checkout commits within SLO while notifications eventually deliver.

Incorrect Answers

A:

Nested or recursive trigger behavior can cause cycles and unexpected work. The actual technical constraint is that synchronous trigger work participates in the calling transaction and can increase latency.

B:

SCHEMABINDING protects referenced definitions against incompatible schema changes. The actual technical constraint is that synchronous trigger work participates in the calling transaction and can increase latency.

D:

Per-row scalar function calls may create expensive repeated execution on some workloads. The actual technical constraint is that synchronous trigger work participates in the calling transaction and can increase latency.

Question 84

An endpoint returns a 503 error body and the procedure attempts to parse it as a successful model completion. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Version and validate provider schemas.
  2. Restrict execute permission and log outbound destination.
  3. Monitor truncation and fall back to SQL aggregates for precise counts.
  4. Log safe diagnostics and maintain circuit-breaker policy.

Explanation

Correct Answer

D:

Log safe diagnostics and maintain circuit-breaker policy. This guards against recurrence because transport errors must be separated from valid inference responses. The direct remediation is: Check HTTP status and error fields before extracting generated output.

Incorrect Answers

A:

Version and validate provider schemas. The relevant technical condition instead is that log safe diagnostics and maintain circuit-breaker policy.

B:

Restrict execute permission and log outbound destination. The current task instead requires this action: log safe diagnostics and maintain circuit-breaker policy.

C:

Monitor truncation and fall back to SQL aggregates for precise counts.

Question 85

An application calls a procedure without qualifying schema names, yielding inconsistent execution context. Which technical action BEST resolves the primary problem?

  1. Use schema-qualified procedure references and explicit input/output parameter contracts.
  2. Use parameterized stored procedures with scoped execution rights.
  3. Rewrite the DML trigger to handle the inserted/deleted pseudo-tables as sets.
  4. Move external notifications to a reliable asynchronous event workflow after durable commit.

Explanation

Correct Answer

A:

Use schema-qualified procedure references and explicit input/output parameter contracts. This targets the primary issue because unclear resolution and parameter types create ambiguous deployment behavior. Verification: Tests resolve the intended procedure and handle null/invalid inputs. Prevent recurrence: Keep procedure signatures under source control.

Incorrect Answers

B:

Using parameterized stored procedures with scoped execution rights addresses a different database behavior; the relevant distinction is that use schema-qualified procedure references and explicit input/output parameter contracts.

C:

SQL triggers run per statement and inserted can contain multiple rows.

D:

Synchronous trigger work participates in the calling transaction and can increase latency.

Question 86

A model call from SQL fails with HTTP 401 despite a correct JSON body. Which test result BEST demonstrates that the intended solution is working?

  1. A staging request returns the expected status and schema-valid response.
  2. The approved identity receives a 2xx response while an unauthorized one fails.
  3. A fixture response yields the expected text without transport headers.
  4. Representative requests fit allowed size and retain necessary evidence.

Explanation

Correct Answer

B:

The approved identity receives a 2xx response while an unauthorized one fails. This is the decisive observable evidence after implementing check REST endpoint authentication and configured identity before changing the SQL result parser. It tests the underlying requirement: An authorization error occurs before model inference can produce valid content.

Incorrect Answers

A:

A staging request returns the expected status and schema-valid response. However, that result would not establish the required outcome: the approved identity receives a 2xx response while an unauthorized one fails.

C:

A fixture response yields the expected text without transport headers. However, that result would not establish the required outcome: the approved identity receives a 2xx response while an unauthorized one fails.

D:

Representative requests fit allowed size and retain necessary evidence. However, that result would not establish the required outcome: the approved identity receives a 2xx response while an unauthorized one fails.

Question 87

A payroll database must keep salary values unreadable even to privileged server-side SQL operators. Which technical principle BEST explains the relevant design decision?

  1. Server-side encryption can decrypt inside SQL with authorized key access, unlike client-controlled Always Encrypted.
  2. Audit collection adds actor, operation and time evidence but does not itself block changes.
  3. Always Encrypted protects configured column values from the SQL engine during normal processing.
  4. Tamper-resistant off-host retention is stronger evidence than only local logs.

Explanation

Correct Answer

C:

Always Encrypted protects configured column values from the SQL engine during normal processing. This explains why the corrective action is to use Always Encrypted with keys managed outside the database and supported client drivers. Confirm the diagnosis when a privileged SQL-only session cannot read plaintext while an approved client decrypts.

Incorrect Answers

A:

Server-side encryption can decrypt inside SQL with authorized key access, unlike client-controlled Always Encrypted. The actual technical constraint is that always Encrypted protects configured column values from the SQL engine during normal processing.

B:

Auditing collection adds actor, operation and time evidence but does not itself block changes concerns a different mechanism; the relevant technical point is that always Encrypted protects configured column values from the SQL engine during normal processing.

D:

Tamper-resistant off-host retention is stronger evidence than only local logs. The actual technical constraint is that always Encrypted protects configured column values from the SQL engine during normal processing.

Question 88

A stored procedure sends query results to an LLM before validating tenant-level row access. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Monitor truncation and fall back to SQL aggregates for precise counts.
  2. Use managed identity/secure credentials and enforce timeouts.
  3. Restrict execute permission and log outbound destination.
  4. Audit outbound data scope and access context.

Explanation

Correct Answer

D:

Audit outbound data scope and access context. This guards against recurrence because sending unauthorized rows to a model is a disclosure even if its final answer omits them. The direct remediation is: Apply database RLS and data minimization before constructing the outbound payload.

Incorrect Answers

A:

Monitor truncation and fall back to SQL aggregates for precise counts.

B:

Use managed identity/secure credentials and enforce timeouts. The current task instead requires this action: audit outbound data scope and access context.

C:

Restrict execute permission and log outbound destination. The current task instead requires this action: audit outbound data scope and access context.

Question 89

An internal Data API builder REST endpoint exposes every row anonymously. Which technical action BEST resolves the primary problem?

  1. Configure authentication and per-entity role/operation permissions rather than public wildcard actions.
  2. Validate provider-issued identity tokens and map claims to authorized application roles.
  3. Require approved identity authentication and network controls for the inference endpoint.
  4. Apply dynamic data masking with appropriate UNMASK grants and test role behavior.

Explanation

Correct Answer

A:

Configure authentication and per-entity role/operation permissions rather than public wildcard actions. This targets the primary issue because API generation does not automatically imply that exposed data is appropriately authorized. Verification: An anonymous request is denied and an approved role sees only permitted fields. Prevent recurrence: Combine DAB permissions with SQL RLS where applicable.

Incorrect Answers

B:

Validating provider-issued identity tokens and map claims to authorized application roles addresses a different database behavior; the relevant distinction is that configure authentication and per-entity role/operation permissions rather than public wildcard actions.

C:

An open endpoint may expose inputs, outputs or costly compute to unauthorized callers.

D:

DDM changes what unauthorized queries display; it is not data encryption.

Question 90

Different reporting tools duplicate a sensitive sales join and occasionally disagree on calculations. Which test result BEST demonstrates that the intended solution is working?

  1. A migration test catches incompatible column modification before production.
  2. Both tools return the same verified sales metric from the view.
  3. Tests resolve the intended procedure and handle null/invalid inputs.
  4. A measured rewrite returns identical values with lower CPU.

Explanation

Correct Answer

B:

Both tools return the same verified sales metric from the view. This is the decisive observable evidence after implementing create a governed view projecting the approved join and columns. It tests the underlying requirement: A view centralizes a query contract without storing a second copy by default.

Incorrect Answers

A:

A migration test catches incompatible column modification before production. However, that result would not establish the required outcome: both tools return the same verified sales metric from the view.

C:

Tests resolve the intended procedure and handle null/invalid inputs. However, that result would not establish the required outcome: both tools return the same verified sales metric from the view.

D:

A measured rewrite returns identical values with lower CPU. However, that result would not establish the required outcome: both tools return the same verified sales metric from the view.

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