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 2

Question 10

An engineer applies RRF to scores normalized per request and calls it a rank-based algorithm. What observed evidence would BEST confirm successful remediation?

  1. The joint top-ranked item receives the expected combined score.
  2. A simple manual calculation matches fusion output.
  3. Both code-number and conceptual test queries find correct passages.
  4. A labeled benchmark meets recall for both common and rare queries.

Explanation

Correct Answer

B:

A simple manual calculation matches fusion output. This is the decisive observable evidence after implementing compute ranks within each result list before applying reciprocal-rank contributions. It tests the underlying requirement: RRF operates on list positions and is distinct from raw score interpolation.

Incorrect Answers

A:

The joint top-ranked item receives the expected combined score. However, that result would not establish the required outcome: a simple manual calculation matches fusion output.

C:

Both code-number and conceptual test queries find correct passages. However, that result would not establish the required outcome: a simple manual calculation matches fusion output.

D:

A labeled benchmark meets recall for both common and rare queries. However, that result would not establish the required outcome: a simple manual calculation matches fusion output.

Question 11

An API times out due to blocked UPDATE requests, but a team proposes adding more CPU. What is the MOST relevant technical distinction in this situation?

  1. Opposite lock acquisition sequences can form a cyclic wait.
  2. Isolation choices define which committed versions are visible across statements.
  3. Lock waits are not resolved merely by allocating faster compute.
  4. A poor cardinality estimate can induce unsuitable joins and memory grants.

Explanation

Correct Answer

C:

Lock waits are not resolved merely by allocating faster compute. This explains why the corrective action is to identify the blocking head using supported DMV and wait analysis before scaling. Confirm the diagnosis when the blocking chain is eliminated and update throughput recovers.

Incorrect Answers

A:

Opposite lock acquisition sequences can form a cyclic wait. The actual technical constraint is that lock waits are not resolved merely by allocating faster compute.

B:

Isolation choices define which committed versions are visible across statements. The actual technical constraint is that lock waits are not resolved merely by allocating faster compute.

D:

A poor cardinality estimate can induce unsuitable joins and memory grants. The actual technical constraint is that lock waits are not resolved merely by allocating faster compute.

Question 12

An application needs a reusable deterministic tax rounding expression within a SQL query. Which ongoing control is MOST relevant after the issue is fixed?

  1. Review function ownership and data-access boundaries.
  2. Minimize trigger side effects and audit dependent trigger paths.
  3. Implement transactional outbox or supported change notifications.
  4. Specify null, rounding and deterministic behavior explicitly.

Explanation

Correct Answer

D:

Specify null, rounding and deterministic behavior explicitly. This guards against recurrence because a scalar function produces one value for each call but may affect query optimization. The direct remediation is: Implement a typed scalar UDF only where its benefits outweigh inline expression overhead.

Incorrect Answers

A:

Review function ownership and data-access boundaries. The current task instead requires this action: specify null, rounding and deterministic behavior explicitly.

B:

Minimize trigger side effects and audit dependent trigger paths. The current task instead requires this action: specify null, rounding and deterministic behavior explicitly.

C:

Implement transactional outbox or supported change notifications. The current task instead requires this action: specify null, rounding and deterministic behavior explicitly.

Question 13

An external model response contains invented order totals that differ from the authoritative SQL aggregation. What is the MOST appropriate immediate corrective approach?

  1. Reconcile generated claims with SQL source values before publishing results.
  2. Validate structured model output against a strict schema and reject invalid responses.
  3. Serialize selected relational fields with FOR JSON or appropriate JSON_OBJECT support.
  4. Apply database RLS and data minimization before constructing the outbound payload.

Explanation

Correct Answer

A:

Reconcile generated claims with SQL source values before publishing results. This targets the primary issue because language model fluency does not establish numerical correctness. Verification: A test mismatch is detected and the fabricated amount is withheld. Prevent recurrence: Preserve source IDs and show uncertainty where values cannot be verified.

Incorrect Answers

B:

Generated output is not guaranteed to follow instructions unless independently checked.

C:

Structured JSON preserves field boundaries and escaping for downstream model prompts.

D:

Sending unauthorized rows to a model is a disclosure even if its final answer omits them.

Question 14

An engineer assumes DACPAC build success proves production matches the project. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. Drift detection flags the unexpected column change before publish.
  2. A test environment with modified index triggers a drift report.
  3. Repository scans show no live credentials while seed records remain deterministic.
  4. A staging upgrade preserves rows and enforces the new constraint.

Explanation

Correct Answer

B:

A test environment with modified index triggers a drift report. This is the decisive observable evidence after implementing run schema comparison or drift reporting against the target environment. It tests the underlying requirement: A valid model build cannot verify current deployed state.

Incorrect Answers

A:

Drift detection flags the unexpected column change before publish. However, that result would not establish the required outcome: a test environment with modified index triggers a drift report.

C:

Repository scans show no live credentials while seed records remain deterministic. However, that result would not establish the required outcome: a test environment with modified index triggers a drift report.

D:

A staging upgrade preserves rows and enforces the new constraint. However, that result would not establish the required outcome: a test environment with modified index triggers a drift report.

Question 15

A manager needs a hierarchy of employees under one department head. Which technical reason BEST explains the proposed correction?

  1. A cycle can repeatedly regenerate the same nodes in a recursive CTE.
  2. Ranking functions identify one top row per group with an explicit order.
  3. Hierarchical traversal requires recursion across parent-child relationships.
  4. An outer reference lets the inner aggregate vary by each row's category.

Explanation

Correct Answer

C:

Hierarchical traversal requires recursion across parent-child relationships. This explains why the corrective action is to use a recursive CTE with an anchor member and a terminating recursive member. Confirm the diagnosis when a small hierarchy returns all reachable descendants once under expected rules.

Incorrect Answers

A:

A cycle can repeatedly regenerate the same nodes in a recursive CTE. The actual technical constraint is that hierarchical traversal requires recursion across parent-child relationships.

B:

Ranking functions identify one top row per group with an explicit order. The actual technical constraint is that hierarchical traversal requires recursion across parent-child relationships.

D:

An outer reference lets the inner aggregate vary by each row's category. The actual technical constraint is that hierarchical traversal requires recursion across parent-child relationships.

Question 16

A support report should obscure account numbers for junior analysts while allowing supervisors to see them. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Review grants and test bypass paths.
  2. Track principal creation across environments.
  3. Retain logs immutably where required and limit audit administrators.
  4. Do not use masking as the sole defense for highly sensitive fields.

Explanation

Correct Answer

D:

Do not use masking as the sole defense for highly sensitive fields. This guards against recurrence because DDM changes what unauthorized queries display; it is not data encryption. The direct remediation is: Apply dynamic data masking with appropriate UNMASK grants and test role behavior.

Incorrect Answers

A:

Review grants and test bypass paths. The current task instead requires this action: do not use masking as the sole defense for highly sensitive fields.

B:

Tracking principal creation across environments addresses a different database behavior; the relevant distinction is that do not use masking as the sole defense for highly sensitive fields.

C:

Retain logs immutably where required and limit audit administrators. The current task instead requires this action: do not use masking as the sole defense for highly sensitive fields.

Question 17

A production DAB release introduces a breaking API path but clients continue calling the old route. Which implementation decision BEST addresses this requirement?

  1. Use versioned configuration and a staged deployment/rollback strategy.
  2. Harden ingress, authentication, rate limiting and query bounds before production exposure.
  3. Parameterize the DAB data source using supported environment variables or secret integration.
  4. Expose the stored procedure via a restricted DAB stored-procedure entity with execute rights.

Explanation

Correct Answer

A:

Use versioned configuration and a staged deployment/rollback strategy. This targets the primary issue because API endpoint changes can break consumers even if the underlying database remains healthy. Verification: Canary tests validate the new route and old clients have an agreed migration path. Prevent recurrence: Keep deployment artifacts and change history.

Incorrect Answers

B:

Autoscaling the API does not eliminate downstream database exhaustion or unauthorized access.

C:

Configuration must resolve the correct database per environment without leaking secrets.

D:

DAB can surface declared stored procedures without granting arbitrary query execution.

Question 18

A helpdesk query seeks an exact phrase but FREETEXT returns loosely related documents. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. A controlled CONTAINS query succeeds after population completes.
  2. The quoted phrase test excludes documents without that phrase.
  3. Load tests meet target throughput and p95 under realistic data volume.
  4. The exact SKU returns and misleading near codes do not.

Explanation

Correct Answer

B:

The quoted phrase test excludes documents without that phrase. This is the decisive observable evidence after implementing use a suitable CONTAINS phrase predicate for literal phrase intent. It tests the underlying requirement: FREETEXT expands linguistic meaning and is not equivalent to exact phrase matching.

Incorrect Answers

A:

A controlled CONTAINS query succeeds after population completes. However, that result would not establish the required outcome: the quoted phrase test excludes documents without that phrase.

C:

Load tests meet target throughput and p95 under realistic data volume. However, that result would not establish the required outcome: the quoted phrase test excludes documents without that phrase.

D:

The exact SKU returns and misleading near codes do not. However, that result would not establish the required outcome: the quoted phrase test excludes documents without that phrase.

Question 19

An order system accepts duplicate order numbers and downstream reconciliation double-counts orders. Which technical reason BEST explains the proposed correction?

  1. A default supplies a value on omission, not a guarantee against explicit bad values.
  2. Memory-optimized OLTP can reduce contention but adds feature and durability constraints.
  3. A surrogate primary key alone does not protect a separate business identifier.
  4. External tables abstract remote data but do not automatically remove network or predicate-pushdown costs.

Explanation

Correct Answer

C:

A surrogate primary key alone does not protect a separate business identifier. This explains why the corrective action is to enforce an appropriate UNIQUE constraint on the business order key after cleaning duplicates. Confirm the diagnosis when a duplicate test insert fails while valid distinct orders succeed.

Incorrect Answers

A:

A default supplies a value on omission, not a guarantee against explicit bad values. The actual technical constraint is that a surrogate primary key alone does not protect a separate business identifier.

B:

Memory-optimized OLTP can reduce contention but adds feature and durability constraints. The actual technical constraint is that a surrogate primary key alone does not protect a separate business identifier.

D:

External tables abstract remote data but do not automatically remove network or predicate-pushdown costs. The actual technical constraint is that a surrogate primary key alone does not protect a separate business identifier.

Question 20

A pipeline deploys to production immediately after any branch push. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Keep ownership mapping updated when teams change.
  2. Keep toolchain versions documented and patched.
  3. Automate object inventory comparisons in CI.
  4. Audit pipeline changes and approval records.

Explanation

Correct Answer

D:

Audit pipeline changes and approval records. This guards against recurrence because automated execution without authorization can promote unreviewed schema changes. The direct remediation is: Use protected branch triggers, environment approval gates and deployment-specific identities.

Incorrect Answers

A:

Keep ownership mapping updated when teams change. The current task instead requires this action: audit pipeline changes and approval records.

B:

Keep toolchain versions documented and patched. The current task instead requires this action: audit pipeline changes and approval records.

C:

Automate object inventory comparisons in CI. The current task instead requires this action: audit pipeline changes and approval records.

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