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 73

Question 720

A team stores model API keys directly in a version-controlled SQL Database Project. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. Model calls and retrieval calls each succeed only with required scopes.
  2. The verified pipeline deploys to staging but fails from an untrusted branch.
  3. A test UPDATE appears in protected audit storage with correct identity.
  4. Secret scans pass and deployments resolve approved credentials securely.

Explanation

Correct Answer

D:

Secret scans pass and deployments resolve approved credentials securely. This is the decisive observable evidence after implementing remove keys and use deployment-time secret references or supported managed identity. It tests the underlying requirement: Repository history retains secrets even after a visible commit is removed.

Incorrect Answers

A:

Model calls and retrieval calls each succeed only with required scopes. However, that result would not establish the required outcome: secret scans pass and deployments resolve approved credentials securely.

B:

The verified pipeline deploys to staging but fails from an untrusted branch. However, that result would not establish the required outcome: secret scans pass and deployments resolve approved credentials securely.

C:

A test UPDATE appears in protected audit storage with correct identity. However, that result would not establish the required outcome: secret scans pass and deployments resolve approved credentials securely.

Question 721

A database's tempdb files are unevenly configured and allocations bottleneck workloads. Which technical property or constraint MOST directly matters here?

  1. Tempdb contention can impede transient sorting, hashing and version-store activity.
  2. Uncontrolled parallelism can increase coordination overhead for short queries.
  3. Lock duration and scope influence writer blocking under concurrency.
  4. Lock waits are not resolved merely by allocating faster compute.

Explanation

Correct Answer

A:

Tempdb contention can impede transient sorting, hashing and version-store activity. This explains why the corrective action is to evaluate tempdb file sizing and allocation configuration appropriate to SQL engine/version. Confirm the diagnosis when observed allocation waits decline after an approved configuration change.

Incorrect Answers

B:

Uncontrolled parallelism can increase coordination overhead for short queries. The actual technical constraint is that tempdb contention can impede transient sorting, hashing and version-store activity.

C:

Lock duration and scope influence writer blocking under concurrency. The actual technical constraint is that tempdb contention can impede transient sorting, hashing and version-store activity.

D:

Lock waits are not resolved merely by allocating faster compute. The actual technical constraint is that tempdb contention can impede transient sorting, hashing and version-store activity.

Question 722

A long-running report holds locks and causes order inserts to wait. Which preventive practice BEST addresses the underlying risk over time?

  1. Alert on sustained blockers and uncommitted transactions.
  2. Keep transactions short and test snapshot version-store impact.
  3. Document isolation assumptions in critical transaction code.
  4. Monitor version store and update conflicts.

Explanation

Correct Answer

B:

Keep transactions short and test snapshot version-store impact. This guards against recurrence because lock duration and scope influence writer blocking under concurrency. The direct remediation is: Review transaction duration, isolation and available row-versioning options.

Incorrect Answers

A:

Alert on sustained blockers and uncommitted transactions. The current task instead requires this action: keep transactions short and test snapshot version-store impact.

C:

Document isolation assumptions in critical transaction code. The current task instead requires this action: keep transactions short and test snapshot version-store impact.

D:

Monitor version store and update conflicts. The current task instead requires this action: keep transactions short and test snapshot version-store impact.

Question 723

Two SQL transactions update customer and invoice rows in opposite order and deadlock. What should the SQL developer do FIRST to address the specific issue?

  1. Identify the blocking head using supported DMV and wait analysis before scaling.
  2. Evaluate SNAPSHOT isolation or appropriate transaction design for repeatable point-in-time reads.
  3. Standardize resource update order and review deadlock graph evidence.
  4. Compare actual execution plans and Query Store history to identify plan regressions.

Explanation

Correct Answer

C:

Standardize resource update order and review deadlock graph evidence. This targets the primary issue because opposite lock acquisition sequences can form a cyclic wait. Verification: A concurrent workload no longer produces avoidable deadlock victims. Prevent recurrence: Retry legitimate deadlock victims with bounded idempotent policy.

Incorrect Answers

A:

Lock waits are not resolved merely by allocating faster compute.

B:

Isolation choices define which committed versions are visible across statements.

D:

Access path and estimated cardinality changes can explain runtime degradation.

Question 724

A team stores SQL object scripts in a shared folder without change history. Which acceptance check is MOST directly related to this scenario?

  1. DACPAC inspection contains the new approved procedure.
  2. After publish, the target contains the intended index and tested workload improves.
  3. Repository scans show no live credentials while seed records remain deterministic.
  4. A test branch shows reviewed object changes with commit history.

Explanation

Correct Answer

D:

A test branch shows reviewed object changes with commit history. This is the decisive observable evidence after implementing put the SQL Database Project into a protected Git repository. It tests the underlying requirement: Version control enables traceable schema diffs and rollback planning.

Incorrect Answers

A:

DACPAC inspection contains the new approved procedure. However, that result would not establish the required outcome: a test branch shows reviewed object changes with commit history.

B:

After publish, the target contains the intended index and tested workload improves. However, that result would not establish the required outcome: a test branch shows reviewed object changes with commit history.

C:

Repository scans show no live credentials while seed records remain deterministic. However, that result would not establish the required outcome: a test branch shows reviewed object changes with commit history.

Question 725

An Azure SQL AI workflow calls an external model endpoint using a hardcoded bearer token. Which technical property or constraint MOST directly matters here?

  1. Embedding static credentials in SQL code can expose model access and billing.
  2. Identity permission at one Azure service does not imply access to adjacent resources.
  3. Exposing a constrained view can limit data surface without broad base-table rights.
  4. Data read auditing does not automatically cover every administrative event.

Explanation

Correct Answer

A:

Embedding static credentials in SQL code can expose model access and billing. This explains why the corrective action is to use a supported managed identity or securely retrieved credential mechanism for the endpoint. Confirm the diagnosis when a rotated identity continues working without credentials in scripts.

Incorrect Answers

B:

Identity permission at one Azure service does not imply access to adjacent resources. The actual technical constraint is that embedding static credentials in SQL code can expose model access and billing.

C:

Exposing a constrained view can limit data surface without broad base-table rights. The actual technical constraint is that embedding static credentials in SQL code can expose model access and billing.

D:

Data read auditing does not automatically cover every administrative event. The actual technical constraint is that embedding static credentials in SQL code can expose model access and billing.

Question 726

A CI job needs database access without storing a long-lived password or SQL login. Which preventive practice BEST addresses the underlying risk over time?

  1. Track principal creation across environments.
  2. Bind federated credentials tightly to repo, environment and workflow.
  3. Review grants after schema migrations.
  4. Separate key custodianship and audit key usage.

Explanation

Correct Answer

B:

Bind federated credentials tightly to repo, environment and workflow. This guards against recurrence because passwordless CI reduces secret leakage and rotation burden when configured with scoped trust. The direct remediation is: Configure workload identity federation or an approved short-lived credential method for supported tooling.

Incorrect Answers

A:

Tracking principal creation across environments addresses a different database behavior; the relevant distinction is that bind federated credentials tightly to repo, environment and workflow.

C:

Reviewing grants after schema migrations addresses a different database behavior; the relevant distinction is that bind federated credentials tightly to repo, environment and workflow.

D:

Separate key custodianship and audit key usage. The current task instead requires this action: bind federated credentials tightly to repo, environment and workflow.

Question 727

A database index build exceeds disk budget due to storing many large embedding vectors. What should the SQL developer do FIRST to address the specific issue?

  1. Check dimensional limits and consider supported FLOAT16 or a lower-dimensional model if appropriate.
  2. Compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters.
  3. Estimate corpus cardinality, dimension size and vector-index maintenance overhead.
  4. Use supported VECTORPROPERTY to obtain relevant vector metadata.

Explanation

Correct Answer

C:

Estimate corpus cardinality, dimension size and vector-index maintenance overhead. This targets the primary issue because embedding storage and ANN index structures grow with vector size and document count. Verification: Capacity forecast and staging index build fit the agreed budget. Prevent recurrence: Reassess embedding model and retention policy regularly.

Incorrect Answers

A:

Vector type size limits depend on base type and platform capabilities.

B:

Vector search ranks stored embeddings by distance but must honor source permissions.

D:

Vector metadata functions describe representation without parsing serialized JSON arrays.

Question 728

A support query embedding must retrieve ten closest allowed document chunks stored in SQL. Which test result BEST demonstrates that the intended solution is working?

  1. Known nearest-neighbor fixtures appear first in the final order.
  2. The selected representation accepts test embeddings without truncation.
  3. A 1536-value sample inserts and vector queries return the expected type.
  4. The result returns ten or fewer allowed chunks ordered by similarity.

Explanation

Correct Answer

D:

The result returns ten or fewer allowed chunks ordered by similarity. This is the decisive observable evidence after implementing compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters. It tests the underlying requirement: Vector search ranks stored embeddings by distance but must honor source permissions.

Incorrect Answers

A:

Known nearest-neighbor fixtures appear first in the final order. However, that result would not establish the required outcome: the result returns ten or fewer allowed chunks ordered by similarity.

B:

The selected representation accepts test embeddings without truncation. However, that result would not establish the required outcome: the result returns ten or fewer allowed chunks ordered by similarity.

C:

A 1536-value sample inserts and vector queries return the expected type. However, that result would not establish the required outcome: the result returns ten or fewer allowed chunks ordered by similarity.

Question 729

A developer pastes a production connection string and database password into an external AI assistant. Which technical principle BEST explains the relevant design decision?

  1. AI chat providers and extensions may retain shared content outside the database boundary.
  2. AI suggestions are proposals, not change-control authorization.
  3. Tool discovery and endpoint configuration determine accessible operations.
  4. A malicious or compromised MCP server may exfiltrate data or supply unsafe tool behavior.

Explanation

Correct Answer

A:

AI chat providers and extensions may retain shared content outside the database boundary. This explains why the corrective action is to remove and rotate exposed secrets; use approved enterprise AI surfaces and sanitized prompts. Confirm the diagnosis when a security review finds no production secrets in prompt logs or history.

Incorrect Answers

B:

AI suggestions are proposals, not change-control authorization. The actual technical constraint is that AI chat providers and extensions may retain shared content outside the database boundary.

C:

Tool discovery and endpoint configuration determine accessible operations. The actual technical constraint is that AI chat providers and extensions may retain shared content outside the database boundary.

D:

A malicious or compromised MCP server may exfiltrate data or supply unsafe tool behavior. The actual technical constraint is that AI chat providers and extensions may retain shared content outside the database boundary.

Question 730

A multilingual document's chunker ignores headings and merges unrelated languages. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Keep section IDs and overlap rules versioned.
  2. Benchmark token limits and multilingual quality.
  3. Apply column allowlists and pre-inference DLP checks.
  4. Define embedding input contract and refresh triggers per field.

Explanation

Correct Answer

B:

Benchmark token limits and multilingual quality. This guards against recurrence because mixed-language chunks can confuse similarity and citation mapping. The direct remediation is: Use heading-aware and language-aware chunk boundaries with source metadata.

Incorrect Answers

A:

Keep section IDs and overlap rules versioned. The current task instead requires this action: benchmark token limits and multilingual quality.

C:

Apply column allowlists and pre-inference DLP checks. The current task instead requires this action: benchmark token limits and multilingual quality.

D:

Define embedding input contract and refresh triggers per field. The current task instead requires this action: benchmark token limits and multilingual quality.

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