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 84

Question 830

A finance application needs deterministic machine-readable response fields from model inference. Which technical reason BEST explains the proposed correction?

  1. Model size increases cost and latency without guaranteeing proportional quality gains.
  2. Unconstrained prose is fragile to parse and can omit required keys.
  3. Deterministic chunk identity reduces unnecessary inference and preserves provenance.
  4. Frequent numeric fields add update cost and can weaken semantic relevance.

Explanation

Correct Answer

B:

Unconstrained prose is fragile to parse and can omit required keys. This explains why the corrective action is to prefer a model and API mode supporting validated structured output and enforce schema checks. Confirm the diagnosis when sample calls produce valid JSON schema instances or explicit errors.

Incorrect Answers

A:

Modeling size increases cost and latency without guaranteeing proportional quality gains concerns a different mechanism; the relevant technical point is that unconstrained prose is fragile to parse and can omit required keys.

C:

Deterministic chunk identity reduces unnecessary inference and preserves provenance. The actual technical constraint is that unconstrained prose is fragile to parse and can omit required keys.

D:

Frequent numeric fields add update cost and can weaken semantic relevance. The actual technical constraint is that unconstrained prose is fragile to parse and can omit required keys.

Question 831

A similarity API submits a query vector of different dimension than stored vectors. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Test sorting after any metric change.
  2. Verify metric choice and dimension equality.
  3. Validate dimensions before calling SQL.
  4. Log rank contributions and tune against labeled queries.

Explanation

Correct Answer

C:

Validate dimensions before calling SQL. This guards against recurrence because vector operations require dimension compatibility. The direct remediation is: Generate query embeddings with the same approved model and dimension as the column.

Incorrect Answers

A:

Test sorting after any metric change. The current task instead requires this action: validate dimensions before calling SQL.

B:

Verify metric choice and dimension equality. The current task instead requires this action: validate dimensions before calling SQL.

D:

Log rank contributions and tune against labeled queries. The current task instead requires this action: validate dimensions before calling SQL.

Question 832

A nonclustered index becomes misaligned with a heavily partitioned fact table, complicating switches. Which implementation decision BEST addresses this requirement?

  1. Use compatible staging tables and ALTER TABLE SWITCH after checking alignment and constraints.
  2. Design a useful composite rowstore index with leading keys matching the filters and inspect the execution plan.
  3. Evaluate a clustered columnstore index for large analytic scans with batch-mode benefits.
  4. Align the relevant indexes and partition scheme where switching operations require it.

Explanation

Correct Answer

D:

Align the relevant indexes and partition scheme where switching operations require it. This targets the primary issue because misaligned indexes can block efficient partition maintenance. Verification: A maintenance rehearsal successfully switches a partition with required constraints. Prevent recurrence: Audit index alignment after every schema release.

Incorrect Answers

A:

Using compatible staging tables and ALTER TABLE SWITCH after checking alignment and constraints would not correct a nonclustered index becomes misaligned with a heavily partitioned fact table, complicating switches. Align the relevant indexes and partition scheme where switching operations require it.

B:

A missing selective access path forces large table or clustered-index scans.

C:

Evaluate a clustered columnstore index for large analytic scans with batch-mode benefits. The relevant technical condition instead is that align the relevant indexes and partition scheme where switching operations require it.

Question 833

A trigger sends an external email during every sale and delays checkouts. Which acceptance check is MOST directly related to this scenario?

  1. Checkout commits within SLO while notifications eventually deliver.
  2. A test UPDATE completes once with expected values and no recursion error.
  3. Attack strings are treated as data and queries return only intended rows.
  4. Tests resolve the intended procedure and handle null/invalid inputs.

Explanation

Correct Answer

A:

Checkout commits within SLO while notifications eventually deliver. This is the decisive observable evidence after implementing move external notifications to a reliable asynchronous event workflow after durable commit. It tests the underlying requirement: Synchronous trigger work participates in the calling transaction and can increase latency.

Incorrect Answers

B:

A test UPDATE completes once with expected values and no recursion error. However, that result would not establish the required outcome: checkout commits within SLO while notifications eventually deliver.

C:

Attack strings are treated as data and queries return only intended rows. However, that result would not establish the required outcome: checkout commits within SLO while notifications eventually deliver.

D:

Tests resolve the intended procedure and handle null/invalid inputs. However, that result would not establish the required outcome: checkout commits within SLO while notifications eventually deliver.

Question 834

An endpoint returns a 503 error body and the procedure attempts to parse it as a successful model completion. Which technical property or constraint MOST directly matters here?

  1. HTTP response metadata and generated text are different parts of the payload.
  2. Transport errors must be separated from valid inference responses.
  3. Data minimization reduces prompt exposure and cost without losing relevant context.
  4. An authorization error occurs before model inference can produce valid content.

Explanation

Correct Answer

B:

Transport errors must be separated from valid inference responses. This explains why the corrective action is to check HTTP status and error fields before extracting generated output. Confirm the diagnosis when a simulated 503 is routed to retry/alert logic without false answer content.

Incorrect Answers

A:

HTTP response metadata and generated text are different parts of the payload. The actual technical constraint is that transport errors must be separated from valid inference responses.

C:

Data minimization reduces prompt exposure and cost without losing relevant context. The actual technical constraint is that transport errors must be separated from valid inference responses.

D:

An authorization error occurs before model inference can produce valid content. The actual technical constraint is that transport errors must be separated from valid inference responses.

Question 835

An application calls a procedure without qualifying schema names, yielding inconsistent execution context. Which preventive practice BEST addresses the underlying risk over time?

  1. Maintain least-privilege EXECUTE grants and avoid unsafe dynamic SQL.
  2. Specify null, rounding and deterministic behavior explicitly.
  3. Keep procedure signatures under source control.
  4. Document update restrictions for consumers.

Explanation

Correct Answer

C:

Keep procedure signatures under source control. This guards against recurrence because unclear resolution and parameter types create ambiguous deployment behavior. The direct remediation is: Use schema-qualified procedure references and explicit input/output parameter contracts.

Incorrect Answers

A:

Maintain least-privilege EXECUTE grants and avoid unsafe dynamic SQL. The current task instead requires this action: keep procedure signatures under source control.

B:

Specify null, rounding and deterministic behavior explicitly. The current task instead requires this action: keep procedure signatures under source control.

D:

Documenting update restrictions for consumers addresses a different database behavior; the relevant distinction is that keep procedure signatures under source control.

Question 836

A model call from SQL fails with HTTP 401 despite a correct JSON body. What should the SQL developer do FIRST to address the specific issue?

  1. Build the request payload and call sp_invoke_external_rest_endpoint through a supported secure configuration.
  2. Implement bounded retry/backoff with idempotency and dead-letter handling.
  3. Apply database RLS and data minimization before constructing the outbound payload.
  4. Check REST endpoint authentication and configured identity before changing the SQL result parser.

Explanation

Correct Answer

D:

Check REST endpoint authentication and configured identity before changing the SQL result parser. This targets the primary issue because an authorization error occurs before model inference can produce valid content. Verification: The approved identity receives a 2xx response while an unauthorized one fails. Prevent recurrence: Rotate permissions and avoid hardcoded bearer tokens.

Incorrect Answers

A:

The stored procedure enables outbound HTTP but requires correct permissions, endpoint reachability and payload formatting.

B:

Rate limiting is often transient and should not erase durable database work.

C:

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

Question 837

A payroll database must keep salary values unreadable even to privileged server-side SQL operators. Which acceptance check is MOST directly related to this scenario?

  1. A privileged SQL-only session cannot read plaintext while an approved client decrypts.
  2. Approved procedures decrypt the target values and unauthorized roles cannot open keys.
  3. A role-based test demonstrates restricted account values are masked.
  4. A test role change creates an alertable audit record.

Explanation

Correct Answer

A:

A privileged SQL-only session cannot read plaintext while an approved client decrypts. This is the decisive observable evidence after implementing use Always Encrypted with keys managed outside the database and supported client drivers. It tests the underlying requirement: Always Encrypted protects configured column values from the SQL engine during normal processing.

Incorrect Answers

B:

Approved procedures decrypt the target values and unauthorized roles cannot open keys. However, that result would not establish the required outcome: a privileged SQL-only session cannot read plaintext while an approved client decrypts.

C:

A role-based test demonstrates restricted account values are masked. However, that result would not establish the required outcome: a privileged SQL-only session cannot read plaintext while an approved client decrypts.

D:

A test role change creates an alertable audit record. However, that result would not establish the required outcome: a privileged SQL-only session cannot read plaintext while an approved client decrypts.

Question 838

A stored procedure sends query results to an LLM before validating tenant-level row access. Which technical property or constraint MOST directly matters here?

  1. Context-window constraints and cost require bounded prompt construction.
  2. Sending unauthorized rows to a model is a disclosure even if its final answer omits them.
  3. Language model fluency does not establish numerical correctness.
  4. Transport errors must be separated from valid inference responses.

Explanation

Correct Answer

B:

Sending unauthorized rows to a model is a disclosure even if its final answer omits them. This explains why the corrective action is to apply database RLS and data minimization before constructing the outbound payload. Confirm the diagnosis when captured requests from one tenant contain only that tenant's permitted data.

Incorrect Answers

A:

Context-window constraints and cost require bounded prompt construction. The actual technical constraint is that sending unauthorized rows to a model is a disclosure even if its final answer omits them.

C:

Language model fluency does not establish numerical correctness. The actual technical constraint is that sending unauthorized rows to a model is a disclosure even if its final answer omits them.

D:

Transport errors must be separated from valid inference responses. The actual technical constraint is that sending unauthorized rows to a model is a disclosure even if its final answer omits them.

Question 839

An internal Data API builder REST endpoint exposes every row anonymously. Which preventive practice BEST addresses the underlying risk over time?

  1. Rotate signing keys and validate audiences and issuers.
  2. Rehearse key recovery and avoid distributing keys in scripts.
  3. Combine DAB permissions with SQL RLS where applicable.
  4. Audit schema role memberships after every release.

Explanation

Correct Answer

C:

Combine DAB permissions with SQL RLS where applicable. This guards against recurrence because API generation does not automatically imply that exposed data is appropriately authorized. The direct remediation is: Configure authentication and per-entity role/operation permissions rather than public wildcard actions.

Incorrect Answers

A:

Rotate signing keys and validate audiences and issuers. The current task instead requires this action: combine DAB permissions with SQL RLS where applicable.

B:

Rehearse key recovery and avoid distributing keys in scripts. The current task instead requires this action: combine DAB permissions with SQL RLS where applicable.

D:

Audit schema role memberships after every release. The current task instead requires this action: combine DAB permissions with SQL RLS where applicable.

Question 840

Different reporting tools duplicate a sensitive sales join and occasionally disagree on calculations. Which technical action BEST resolves the primary problem?

  1. Review dependency effects and change the schema-bound view deliberately before modifying underlying objects.
  2. Use a stored procedure with an explicit transaction and appropriate TRY/CATCH rollback.
  3. Rewrite the DML trigger to handle the inserted/deleted pseudo-tables as sets.
  4. Create a governed view projecting the approved join and columns.

Explanation

Correct Answer

D:

Create a governed view projecting the approved join and columns. This targets the primary issue because a view centralizes a query contract without storing a second copy by default. Verification: Both tools return the same verified sales metric from the view. Prevent recurrence: Control grants on base tables and treat the view as an interface contract.

Incorrect Answers

A:

Reviewing dependency effects and change the schema-bound view deliberately before modifying underlying objects addresses a different database behavior; the relevant distinction is that create a governed view projecting the approved join and columns.

B:

Using a stored procedure with an explicit transaction and appropriate TRY/CATCH rollback addresses a different database behavior; the relevant distinction is that create a governed view projecting the approved join and columns.

C:

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

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