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 98

Question 970

A team stores model API keys directly in a version-controlled SQL Database Project. Which technical reason BEST explains the proposed correction?

  1. Identity permission at one Azure service does not imply access to adjacent resources.
  2. Repository history retains secrets even after a visible commit is removed.
  3. Database roles and schema grants can bound an automation's change surface.
  4. Exposing a constrained view can limit data surface without broad base-table rights.

Explanation

Correct Answer

B:

Repository history retains secrets even after a visible commit is removed. This explains why the corrective action is to remove keys and use deployment-time secret references or supported managed identity. Confirm the diagnosis when secret scans pass and deployments resolve approved credentials securely.

Incorrect Answers

A:

Identity permission at one Azure service does not imply access to adjacent resources. The actual technical constraint is that repository history retains secrets even after a visible commit is removed.

C:

Database roles and schema grants can bound an automation's change surface. The actual technical constraint is that repository history retains secrets even after a visible commit is removed.

D:

Exposing a constrained view can limit data surface without broad base-table rights. The actual technical constraint is that repository history retains secrets even after a visible commit is removed.

Question 971

A database's tempdb files are unevenly configured and allocations bottleneck workloads. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Avoid universally forcing MAXDOP 1 without workload evaluation.
  2. Combine query data with Azure Monitor and service limits.
  3. Monitor file growth and free capacity over time.
  4. Use a nonnegative stock CHECK and retry-safe transaction design.

Explanation

Correct Answer

C:

Monitor file growth and free capacity over time. This guards against recurrence because tempdb contention can impede transient sorting, hashing and version-store activity. The direct remediation is: Evaluate tempdb file sizing and allocation configuration appropriate to SQL engine/version.

Incorrect Answers

A:

Avoid universally forcing MAXDOP 1 without workload evaluation. The current task instead requires this action: monitor file growth and free capacity over time.

B:

Combine query data with Azure Monitor and service limits. The current task instead requires this action: monitor file growth and free capacity over time.

D:

Use a nonnegative stock CHECK and retry-safe transaction design. The current task instead requires this action: monitor file growth and free capacity over time.

Question 972

A long-running report holds locks and causes order inserts to wait. Which implementation decision BEST addresses this requirement?

  1. Identify the blocking head using supported DMV and wait analysis before scaling.
  2. Require an expected rowversion predicate and verify rows affected before confirming success.
  3. Measure workload resource patterns and choose an appropriate compute/service tier or scaling policy.
  4. Review transaction duration, isolation and available row-versioning options.

Explanation

Correct Answer

D:

Review transaction duration, isolation and available row-versioning options. This targets the primary issue because lock duration and scope influence writer blocking under concurrency. Verification: Inserts complete within SLA while report results remain correct. Prevent recurrence: Keep transactions short and test snapshot version-store impact.

Incorrect Answers

A:

Lock waits are not resolved merely by allocating faster compute.

B:

Optimistic concurrency only works if conflicts are detected, not silently overwritten.

C:

Measuring workload resource patterns and choose an appropriate compute/service tier or scaling policy would not correct a long-running report holds locks and causes order inserts to wait. Review transaction duration, isolation and available row-versioning options.

Question 973

Two SQL transactions update customer and invoice rows in opposite order and deadlock. Which acceptance check is MOST directly related to this scenario?

  1. A concurrent workload no longer produces avoidable deadlock victims.
  2. The blocking chain is eliminated and update throughput recovers.
  3. Different representative parameter values meet latency targets after tuning.
  4. A before/after sample reduces CPU without harming critical analytics.

Explanation

Correct Answer

A:

A concurrent workload no longer produces avoidable deadlock victims. This is the decisive observable evidence after implementing standardize resource update order and review deadlock graph evidence. It tests the underlying requirement: Opposite lock acquisition sequences can form a cyclic wait.

Incorrect Answers

B:

The blocking chain is eliminated and update throughput recovers. However, that result would not establish the required outcome: a concurrent workload no longer produces avoidable deadlock victims.

C:

Different representative parameter values meet latency targets after tuning. However, that result would not establish the required outcome: a concurrent workload no longer produces avoidable deadlock victims.

D:

A before/after sample reduces CPU without harming critical analytics. However, that result would not establish the required outcome: a concurrent workload no longer produces avoidable deadlock victims.

Question 974

A team stores SQL object scripts in a shared folder without change history. Which technical property or constraint MOST directly matters here?

  1. Source presence does not guarantee every file enters the SQL project model.
  2. Version control enables traceable schema diffs and rollback planning.
  3. DDL diffs have operational consequences beyond text formatting.
  4. Path ownership helps route high-impact DDL for accountable review.

Explanation

Correct Answer

B:

Version control enables traceable schema diffs and rollback planning. This explains why the corrective action is to put the SQL Database Project into a protected Git repository. Confirm the diagnosis when a test branch shows reviewed object changes with commit history.

Incorrect Answers

A:

Source presence does not guarantee every file enters the SQL project model. The actual technical constraint is that version control enables traceable schema diffs and rollback planning.

C:

DDL diffs have operational consequences beyond text formatting. The actual technical constraint is that version control enables traceable schema diffs and rollback planning.

D:

Path ownership helps route high-impact DDL for accountable review. The actual technical constraint is that version control enables traceable schema diffs and rollback planning.

Question 975

An Azure SQL AI workflow calls an external model endpoint using a hardcoded bearer token. Which preventive practice BEST addresses the underlying risk over time?

  1. Review grants separately when components are replaced.
  2. Avoid broad database role grants to fix one dynamic query.
  3. Scope endpoint permissions and monitor request consumption.
  4. Bind federated credentials tightly to repo, environment and workflow.

Explanation

Correct Answer

C:

Scope endpoint permissions and monitor request consumption. This guards against recurrence because embedding static credentials in SQL code can expose model access and billing. The direct remediation is: Use a supported managed identity or securely retrieved credential mechanism for the endpoint.

Incorrect Answers

A:

Review grants separately when components are replaced. The current task instead requires this action: scope endpoint permissions and monitor request consumption.

B:

Avoid broad database role grants to fix one dynamic query.

D:

Bind federated credentials tightly to repo, environment and workflow. The current task instead requires this action: scope endpoint permissions and monitor request consumption.

Question 976

A CI job needs database access without storing a long-lived password or SQL login. What should the SQL developer do FIRST to address the specific issue?

  1. Create or map the appropriate principal and grant minimum SQL permissions.
  2. Scope MCP tool actions and require human confirmation for consequential changes.
  3. Implement an appropriate RLS security predicate tied to trusted tenant context.
  4. Configure workload identity federation or an approved short-lived credential method for supported tooling.

Explanation

Correct Answer

D:

Configure workload identity federation or an approved short-lived credential method for supported tooling. This targets the primary issue because passwordless CI reduces secret leakage and rotation burden when configured with scoped trust. Verification: The verified pipeline deploys to staging but fails from an untrusted branch. Prevent recurrence: Bind federated credentials tightly to repo, environment and workflow.

Incorrect Answers

A:

This action addresses a different case: A container app's managed identity can log in but cannot read the required database view. For that case, azure identity authentication and database authorization are distinct checks. For this case, it does not directly correct the observed problem; the distinguishing issue is passwordless CI reduces secret leakage and rotation burden when configured with scoped trust. The specifically relevant immediate technical action is: Configure workload identity federation or an approved short-lived credential method for supported tooling.

B:

Agents can turn natural-language requests into real database mutations if tools permit.

C:

RLS enforces row filtering in the database rather than relying on every query to remember a filter.

Question 977

A database index build exceeds disk budget due to storing many large embedding vectors. Which acceptance check is MOST directly related to this scenario?

  1. Capacity forecast and staging index build fit the agreed budget.
  2. The selected representation accepts test embeddings without truncation.
  3. The joint top-ranked item receives the expected combined score.
  4. Normalized test vectors have unit norm within floating tolerance.

Explanation

Correct Answer

A:

Capacity forecast and staging index build fit the agreed budget. This is the decisive observable evidence after implementing estimate corpus cardinality, dimension size and vector-index maintenance overhead. It tests the underlying requirement: Embedding storage and ANN index structures grow with vector size and document count.

Incorrect Answers

B:

The selected representation accepts test embeddings without truncation. However, that result would not establish the required outcome: capacity forecast and staging index build fit the agreed budget.

C:

The joint top-ranked item receives the expected combined score. However, that result would not establish the required outcome: capacity forecast and staging index build fit the agreed budget.

D:

Normalized test vectors have unit norm within floating tolerance. However, that result would not establish the required outcome: capacity forecast and staging index build fit the agreed budget.

Question 978

A support query embedding must retrieve ten closest allowed document chunks stored in SQL. Which technical property or constraint MOST directly matters here?

  1. Smaller distances represent closer vectors for common distance functions.
  2. Vector search ranks stored embeddings by distance but must honor source permissions.
  3. Index choice affects ingestion and maintenance as well as retrieval speed.
  4. Embedding similarity can confuse near-looking product codes that must match exactly.

Explanation

Correct Answer

B:

Vector search ranks stored embeddings by distance but must honor source permissions. This explains why the corrective action is to compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters. Confirm the diagnosis when the result returns ten or fewer allowed chunks ordered by similarity.

Incorrect Answers

A:

Smaller distances represent closer vectors for common distance functions. The actual technical constraint is that vector search ranks stored embeddings by distance but must honor source permissions.

C:

Index choice affects ingestion and maintenance as well as retrieval speed. The actual technical constraint is that vector search ranks stored embeddings by distance but must honor source permissions.

D:

Embedding similarity can confuse near-looking product codes that must match exactly. The actual technical constraint is that vector search ranks stored embeddings by distance but must honor source permissions.

Question 979

A developer pastes a production connection string and database password into an external AI assistant. Which preventive practice BEST addresses the underlying risk over time?

  1. Do not grant production DDL permissions directly to AI tools.
  2. Review grants and server capabilities after updates.
  3. Use pre-send secret scanning and developer training.
  4. Require approved pull requests and deployment identities.

Explanation

Correct Answer

C:

Use pre-send secret scanning and developer training. This guards against recurrence because AI chat providers and extensions may retain shared content outside the database boundary. The direct remediation is: Remove and rotate exposed secrets; use approved enterprise AI surfaces and sanitized prompts.

Incorrect Answers

A:

Do not grant production DDL permissions directly to AI tools.

B:

Review grants and server capabilities after updates. The current task instead requires this action: use pre-send secret scanning and developer training.

D:

Require approved pull requests and deployment identities. The current task instead requires this action: use pre-send secret scanning and developer training.

Question 980

A multilingual document's chunker ignores headings and merges unrelated languages. Which technical action BEST resolves the primary problem?

  1. Split content by semantically meaningful sections within model token limits.
  2. Enable change tracking to refresh the same mixed-language chunks without changing boundaries.
  3. Exclude confidential credential fields and embed only approved relevant content.
  4. Use heading-aware and language-aware chunk boundaries with source metadata.

Explanation

Correct Answer

D:

Use heading-aware and language-aware chunk boundaries with source metadata. This targets the primary issue because mixed-language chunks can confuse similarity and citation mapping. Verification: Queries in each language return correctly scoped labeled passages. Prevent recurrence: Benchmark token limits and multilingual quality.

Incorrect Answers

A:

Split content by semantically meaningful sections within model token limits. The relevant technical condition instead is that use heading-aware and language-aware chunk boundaries with source metadata.

B:

Freshly generated embeddings cannot repair a chunking scheme that merges unrelated language sections. Use heading- and language-aware segmentation.

C:

Embedding inputs can expose or encode sensitive data without adding retrieval value.

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