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 90

Question 890

An API expects a single relational row converted into a JSON object with named fields. Which technical property or constraint MOST directly matters here?

  1. JSON_VALUE extracts a scalar path, while OPENJSON can shred collections.
  2. JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.
  3. Transient retries can replay committed work even after client-side timeouts.
  4. The graph pattern engine expects node/edge structures, not arbitrary string lists.

Explanation

Correct Answer

B:

JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation. This explains why the corrective action is to use JSON_OBJECT with explicit key/value expressions where supported. Confirm the diagnosis when a JSON parser reads the intended named fields and escaped text.

Incorrect Answers

A:

JSON_VALUE extracts a scalar path, while OPENJSON can shred collections. The actual technical constraint is that JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.

C:

Transient retries can replay committed work even after client-side timeouts. The actual technical constraint is that JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.

D:

The graph pattern engine expects node/edge structures, not arbitrary string lists. The actual technical constraint is that JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.

Question 891

A DBA hotfix changes a production column outside source control and the next publish plans to reverse it. Which preventive practice BEST addresses the underlying risk over time?

  1. Define drift policy for emergency fixes.
  2. Keep toolchain versions documented and patched.
  3. Reconcile sanctioned hotfixes into source control promptly.
  4. Require a named owner to review combined logic.

Explanation

Correct Answer

C:

Reconcile sanctioned hotfixes into source control promptly. This guards against recurrence because manual changes create drift between intended declarative source and deployed objects. The direct remediation is: Compare live database schema against the project model before approval.

Incorrect Answers

A:

Define drift policy for emergency fixes. The current task instead requires this action: reconcile sanctioned hotfixes into source control promptly.

B:

Keep toolchain versions documented and patched. The current task instead requires this action: reconcile sanctioned hotfixes into source control promptly.

D:

Require a named owner to review combined logic. The current task instead requires this action: reconcile sanctioned hotfixes into source control promptly.

Question 892

An administrator overrides a failed security scan because pipeline approval rules are not mandatory. What should the SQL developer do FIRST to address the specific issue?

  1. Configure CODEOWNERS and required reviews for the finance database paths.
  2. Use idempotent keyed upserts or appropriate repeat-safe seed operations.
  3. Remove sensitive values and parameterize environment configuration outside version control.
  4. Make required test/security checks and approval gates nonbypassable by normal contributors.

Explanation

Correct Answer

D:

Make required test/security checks and approval gates nonbypassable by normal contributors. This targets the primary issue because optional checks fail to enforce controls during urgent releases. Verification: A test release with a failing security check is blocked. Prevent recurrence: Log break-glass exceptions with post-incident review.

Incorrect Answers

A:

Configuring CODEOWNERS and required reviews for the finance database paths would not correct an administrator overrides a failed security scan because pipeline approval rules are not mandatory. Make required test/security checks and approval gates nonbypassable by normal contributors.

B:

Using idempotent keyed upserts or appropriate repeat-safe seed operations would not correct an administrator overrides a failed security scan because pipeline approval rules are not mandatory. Make required test/security checks and approval gates nonbypassable by normal contributors.

C:

Remove sensitive values and parameterize environment configuration outside version control. The relevant technical condition instead is that make required test/security checks and approval gates nonbypassable by normal contributors.

Question 893

A team enables every MCP tool and finds the assistant can execute potentially destructive SQL. Which acceptance check is MOST directly related to this scenario?

  1. A dry run refuses dangerous actions but permits approved diagnostics.
  2. An audit shows requests use the intended approved endpoint.
  3. Migration rehearsal retains required tables and supports rollback.
  4. Generated examples show placeholders and approved secret references.

Explanation

Correct Answer

A:

A dry run refuses dangerous actions but permits approved diagnostics. This is the decisive observable evidence after implementing reduce tool permissions to narrowly scoped tasks and require human confirmation for writes. It tests the underlying requirement: Broad MCP tool capability expands the agent's potential effect on the database.

Incorrect Answers

B:

An audit shows requests use the intended approved endpoint. However, that result would not establish the required outcome: a dry run refuses dangerous actions but permits approved diagnostics.

C:

Migration rehearsal retains required tables and supports rollback. However, that result would not establish the required outcome: a dry run refuses dangerous actions but permits approved diagnostics.

D:

Generated examples show placeholders and approved secret references. However, that result would not establish the required outcome: a dry run refuses dangerous actions but permits approved diagnostics.

Question 894

An analytics engineer must explain why an ANN index retrieves slightly different nearest products than an exhaustive KNN distance ranking on the same embeddings. Which technical property best accounts for the difference?

  1. ANN and exact KNN always enumerate every vector, so any difference must be data corruption.
  2. ANN searches a reduced or structured candidate space for speed and may lose some recall; exact KNN compares distances to obtain the closest neighbors under the chosen metric.
  3. KNN uses only literal keyword matching, whereas ANN compares embeddings.
  4. Approximate search automatically bypasses metadata authorization, unlike KNN.

Explanation

Correct Answer

B:

A speed–recall tradeoff is the defining distinction; evaluation must quantify misses against an exact reference.

Incorrect Answers

A:

Approximate methods typically avoid exhaustive comparison and can miss an exact nearest neighbor without corruption.

C:

Exact KNN can rank the same embeddings by vector distance; it is not limited to full-text keyword search.

D:

Authorization and eligible-result filtering remain independent requirements for either vector-retrieval approach.

Question 895

A Fabric engineer expects Copilot SQL help in a tenant where capacity and admin settings are disabled. Which preventive practice BEST addresses the underlying risk over time?

  1. Record feature enablement and organizational restrictions.
  2. Log tool invocations and routinely remove unused tools.
  3. Revalidate Fabric feature availability when capacity policies change.
  4. Use pre-send secret scanning and developer training.

Explanation

Correct Answer

C:

Revalidate Fabric feature availability when capacity policies change. This guards against recurrence because copilot in Fabric availability can depend on region, capacity and tenant policies. The direct remediation is: Review Fabric capacity eligibility and tenant Copilot admin controls before testing.

Incorrect Answers

A:

Record feature enablement and organizational restrictions. The current task instead requires this action: revalidate Fabric feature availability when capacity policies change.

B:

Log tool invocations and routinely remove unused tools. The current task instead requires this action: revalidate Fabric feature availability when capacity policies change.

D:

Use pre-send secret scanning and developer training. The current task instead requires this action: revalidate Fabric feature availability when capacity policies change.

Question 896

An ingestion job ignores rate limits and retries a costly embedding API in a tight loop. Which technical action BEST resolves the primary problem?

  1. Plan a new compatible vector column/index and re-embed the corpus using the new model.
  2. Use a supported Azure Functions SQL trigger binding with scoped credentials and durable progress state.
  3. Evaluate multilingual compact and large models on representative language and latency benchmarks.
  4. Use bounded exponential backoff, batching where supported and idempotent writes.

Explanation

Correct Answer

D:

Use bounded exponential backoff, batching where supported and idempotent writes. This targets the primary issue because external model quotas and transient errors require controlled retry behavior. Verification: A throttled test recovers without duplicate vector records or budget spikes. Prevent recurrence: Alert on per-document cost and failed queue age.

Incorrect Answers

A:

Vector dimensionality is fixed by the column and must match the query vector.

B:

The binding can detect changes and invoke processing without polling arbitrary full tables.

C:

A larger model is not automatically the best fit for cost, speed or multilingual accuracy.

Question 897

Child invoice details remain after their parent invoices are removed unexpectedly. Which test result BEST demonstrates that the intended solution is working?

  1. Orphan inserts fail and approved delete scenarios behave as specified.
  2. Direct SQL inserts with negative prices fail without affecting valid rows.
  3. The representative query reads fewer pages and retains correct ordered rows.
  4. A controlled report benchmark shows lower elapsed time and logical IO.

Explanation

Correct Answer

A:

Orphan inserts fail and approved delete scenarios behave as specified. This is the decisive observable evidence after implementing define and test a FOREIGN KEY and explicitly select appropriate delete behavior. It tests the underlying requirement: Referential integrity prevents orphan children unless cascade or other actions are deliberately configured.

Incorrect Answers

B:

Direct SQL inserts with negative prices fail without affecting valid rows. However, that result would not establish the required outcome: orphan inserts fail and approved delete scenarios behave as specified.

C:

The representative query reads fewer pages and retains correct ordered rows. However, that result would not establish the required outcome: orphan inserts fail and approved delete scenarios behave as specified.

D:

A controlled report benchmark shows lower elapsed time and logical IO. However, that result would not establish the required outcome: orphan inserts fail and approved delete scenarios behave as specified.

Question 898

An imported address field contains an embedded postal-code pattern and needs extraction. Which technical principle BEST explains the relevant design decision?

  1. A split-to-table routine returns relational tokens rather than one long string.
  2. Regex substring extraction returns the pattern occurrence, not a tokenized table.
  3. An outer reference lets the inner aggregate vary by each row's category.
  4. Similarity normalization makes scores easier to compare but is not proof of identity.

Explanation

Correct Answer

B:

Regex substring extraction returns the pattern occurrence, not a tokenized table. This explains why the corrective action is to use REGEXP_SUBSTR or an equivalent supported regex extraction function. Confirm the diagnosis when test values return the intended code or an explicit missing result.

Incorrect Answers

A:

A split-to-table routine returns relational tokens rather than one long string. The actual technical constraint is that regex substring extraction returns the pattern occurrence, not a tokenized table.

C:

An outer reference lets the inner aggregate vary by each row's category. The actual technical constraint is that regex substring extraction returns the pattern occurrence, not a tokenized table.

D:

Similarity normalization makes scores easier to compare but is not proof of identity. The actual technical constraint is that regex substring extraction returns the pattern occurrence, not a tokenized table.

Question 899

A migration switches embedding models from 768 to 1536 dimensions without changing the SQL schema. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Alert on per-document cost and failed queue age.
  2. Define embedding input contract and refresh triggers per field.
  3. Version model identity with stored vectors and avoid mixed spaces.
  4. Check supported modalities, retention and safety policy.

Explanation

Correct Answer

C:

Version model identity with stored vectors and avoid mixed spaces. This guards against recurrence because vector dimensionality is fixed by the column and must match the query vector. The direct remediation is: Plan a new compatible vector column/index and re-embed the corpus using the new model.

Incorrect Answers

A:

Alert on per-document cost and failed queue age. The current task instead requires this action: version model identity with stored vectors and avoid mixed spaces.

B:

Define embedding input contract and refresh triggers per field. The current task instead requires this action: version model identity with stored vectors and avoid mixed spaces.

D:

Check supported modalities, retention and safety policy. The current task instead requires this action: version model identity with stored vectors and avoid mixed spaces.

Question 900

An Azure SQL table contains textual cases but the vector column is always NULL. Which technical action BEST resolves the primary problem?

  1. Use bounded exponential backoff, batching where supported and idempotent writes.
  2. Use a supported Azure Functions SQL trigger binding with scoped credentials and durable progress state.
  3. Create an external model object with supported endpoint, model identifiers and secure credential strategy.
  4. Call the approved embedding model through a supported integration and store fixed-dimension results.

Explanation

Correct Answer

D:

Call the approved embedding model through a supported integration and store fixed-dimension results. This targets the primary issue because embeddings are computed numeric representations and are not created merely by defining a VECTOR column. Verification: Test rows contain supported dimension vectors and corresponding text IDs. Prevent recurrence: Validate dimension and model version before inserting.

Incorrect Answers

A:

External model quotas and transient errors require controlled retry behavior.

B:

The binding can detect changes and invoke processing without polling arbitrary full tables.

C:

A database model definition binds SQL AI operations to a specific external provider configuration.

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