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 48

Question 470

A team stores model API keys directly in a version-controlled SQL Database Project. What should the SQL developer do FIRST to address the specific issue?

  1. Configure distinct least-privilege grants on model and search resources.
  2. Remove keys and use deployment-time secret references or supported managed identity.
  3. Apply dynamic data masking with appropriate UNMASK grants and test role behavior.
  4. Add an RLS block predicate in addition to any required filter predicate.

Explanation

Correct Answer

B:

Remove keys and use deployment-time secret references or supported managed identity. This targets the primary issue because repository history retains secrets even after a visible commit is removed. Verification: Secret scans pass and deployments resolve approved credentials securely. Prevent recurrence: Rotate any exposed keys and protect repository history.

Incorrect Answers

A:

Identity permission at one Azure service does not imply access to adjacent resources.

C:

DDM changes what unauthorized queries display; it is not data encryption.

D:

Read filtering alone does not necessarily stop unauthorized DML that changes row ownership.

Question 471

A database's tempdb files are unevenly configured and allocations bottleneck workloads. Which acceptance check is MOST directly related to this scenario?

  1. A before/after sample reduces CPU without harming critical analytics.
  2. Top CPU queries correlate with observed workload and waits.
  3. Observed allocation waits decline after an approved configuration change.
  4. A forced or corrected plan improves tested workload without wrong results.

Explanation

Correct Answer

C:

Observed allocation waits decline after an approved configuration change. This is the decisive observable evidence after implementing evaluate tempdb file sizing and allocation configuration appropriate to SQL engine/version. It tests the underlying requirement: Tempdb contention can impede transient sorting, hashing and version-store activity.

Incorrect Answers

A:

A before/after sample reduces CPU without harming critical analytics. However, that result would not establish the required outcome: observed allocation waits decline after an approved configuration change.

B:

Top CPU queries correlate with observed workload and waits. However, that result would not establish the required outcome: observed allocation waits decline after an approved configuration change.

D:

A forced or corrected plan improves tested workload without wrong results. However, that result would not establish the required outcome: observed allocation waits decline after an approved configuration change.

Question 472

A long-running report holds locks and causes order inserts to wait. Which technical property or constraint MOST directly matters here?

  1. Lock waits are not resolved merely by allocating faster compute.
  2. Platform-native query insight tools expose historical workload statistics for managed instances.
  3. Database-level settings can affect many workloads and engine versions differently.
  4. Lock duration and scope influence writer blocking under concurrency.

Explanation

Correct Answer

D:

Lock duration and scope influence writer blocking under concurrency. This explains why the corrective action is to review transaction duration, isolation and available row-versioning options. Confirm the diagnosis when inserts complete within SLA while report results remain correct.

Incorrect Answers

A:

Lock waits are not resolved merely by allocating faster compute. The actual technical constraint is that lock duration and scope influence writer blocking under concurrency.

B:

Platform-native query insight tools expose historical workload statistics for managed instances. The actual technical constraint is that lock duration and scope influence writer blocking under concurrency.

C:

Database-level settings can affect many workloads and engine versions differently. The actual technical constraint is that lock duration and scope influence writer blocking under concurrency.

Question 473

Two SQL transactions update customer and invoice rows in opposite order and deadlock. Which preventive practice BEST addresses the underlying risk over time?

  1. Retry legitimate deadlock victims with bounded idempotent policy.
  2. Alert on sustained blockers and uncommitted transactions.
  3. Monitor file growth and free capacity over time.
  4. Preserve baseline settings and test in staging.

Explanation

Correct Answer

A:

Retry legitimate deadlock victims with bounded idempotent policy. This guards against recurrence because opposite lock acquisition sequences can form a cyclic wait. The direct remediation is: Standardize resource update order and review deadlock graph evidence.

Incorrect Answers

B:

Alert on sustained blockers and uncommitted transactions. The current task instead requires this action: retry legitimate deadlock victims with bounded idempotent policy.

C:

Monitor file growth and free capacity over time. The current task instead requires this action: retry legitimate deadlock victims with bounded idempotent policy.

D:

Preserve baseline settings and test in staging. The current task instead requires this action: retry legitimate deadlock victims with bounded idempotent policy.

Question 474

A team stores SQL object scripts in a shared folder without change history. What should the SQL developer do FIRST to address the specific issue?

  1. Review project inclusion and validate the built model against intended objects.
  2. Put the SQL Database Project into a protected Git repository.
  3. Bind deployment environment, endpoint and credentials to explicit approved pipeline controls.
  4. Add integration tests across database permissions, DAB configuration and HTTP behavior.

Explanation

Correct Answer

B:

Put the SQL Database Project into a protected Git repository. This targets the primary issue because version control enables traceable schema diffs and rollback planning. Verification: A test branch shows reviewed object changes with commit history. Prevent recurrence: Require branch protection and code review for production.

Incorrect Answers

A:

Source presence does not guarantee every file enters the SQL project model.

C:

Bind deployment environment, endpoint and credentials to explicit approved pipeline controls. The relevant technical condition instead is that put the SQL Database Project into a protected Git repository.

D:

Cross-system contracts can fail even when individual SQL procedures are correct.

Question 475

An Azure SQL AI workflow calls an external model endpoint using a hardcoded bearer token. Which acceptance check is MOST directly related to this scenario?

  1. Model calls and retrieval calls each succeed only with required scopes.
  2. A spoofed request cannot change access to another tenant's rows.
  3. A rotated identity continues working without credentials in scripts.
  4. Cross-tenant test identities cannot read each other's invoice rows.

Explanation

Correct Answer

C:

A rotated identity continues working without credentials in scripts. This is the decisive observable evidence after implementing use a supported managed identity or securely retrieved credential mechanism for the endpoint. It tests the underlying requirement: Embedding static credentials in SQL code can expose model access and billing.

Incorrect Answers

A:

Model calls and retrieval calls each succeed only with required scopes. However, that result would not establish the required outcome: a rotated identity continues working without credentials in scripts.

B:

A spoofed request cannot change access to another tenant's rows. However, that result would not establish the required outcome: a rotated identity continues working without credentials in scripts.

D:

Cross-tenant test identities cannot read each other's invoice rows. However, that result would not establish the required outcome: a rotated identity continues working without credentials in scripts.

Question 476

A CI job needs database access without storing a long-lived password or SQL login. Which technical principle BEST explains the relevant design decision?

  1. Azure identity authentication and database authorization are distinct checks.
  2. Read filtering alone does not necessarily stop unauthorized DML that changes row ownership.
  3. Embedding static credentials in SQL code can expose model access and billing.
  4. Passwordless CI reduces secret leakage and rotation burden when configured with scoped trust.

Explanation

Correct Answer

D:

Passwordless CI reduces secret leakage and rotation burden when configured with scoped trust. This explains why the corrective action is to configure workload identity federation or an approved short-lived credential method for supported tooling. Confirm the diagnosis when the verified pipeline deploys to staging but fails from an untrusted branch.

Incorrect Answers

A:

Azure identity authentication and database authorization are distinct checks. The actual technical constraint is that passwordless CI reduces secret leakage and rotation burden when configured with scoped trust.

B:

Read filtering alone does not necessarily stop unauthorized DML that changes row ownership. The actual technical constraint is that passwordless CI reduces secret leakage and rotation burden when configured with scoped trust.

C:

Embedding static credentials in SQL code can expose model access and billing. The actual technical constraint is that passwordless CI reduces secret leakage and rotation burden when configured with scoped trust.

Question 477

A database index build exceeds disk budget due to storing many large embedding vectors. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Reassess embedding model and retention policy regularly.
  2. Benchmark quality loss and index size before reducing precision.
  3. Monitor quality and refresh indexes after corpus shifts.
  4. Verify metric choice and dimension equality.

Explanation

Correct Answer

A:

Reassess embedding model and retention policy regularly. This guards against recurrence because embedding storage and ANN index structures grow with vector size and document count. The direct remediation is: Estimate corpus cardinality, dimension size and vector-index maintenance overhead.

Incorrect Answers

B:

Benchmark quality loss and index size before reducing precision. The current task instead requires this action: reassess embedding model and retention policy regularly.

C:

Monitor quality and refresh indexes after corpus shifts. The current task instead requires this action: reassess embedding model and retention policy regularly.

D:

Verify metric choice and dimension equality. The current task instead requires this action: reassess embedding model and retention policy regularly.

Question 478

A support query embedding must retrieve ten closest allowed document chunks stored in SQL. Which technical action BEST resolves the primary problem?

  1. Order an exact VECTOR_DISTANCE result ascending for nearest neighbors.
  2. Compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters.
  3. Use supported VECTORPROPERTY to obtain relevant vector metadata.
  4. Use semantic vector retrieval to recognize conceptual meaning beyond exact words.

Explanation

Correct Answer

B:

Compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters. This targets the primary issue because vector search ranks stored embeddings by distance but must honor source permissions. Verification: The result returns ten or fewer allowed chunks ordered by similarity. Prevent recurrence: Enforce tenant filters before exposing chunks to a model.

Incorrect Answers

A:

Order an exact VECTOR_DISTANCE result ascending for nearest neighbors. The relevant technical condition instead is that compute compatible query vector and use supported VECTOR_SEARCH or exact top-k distance query with authorization filters.

C:

Vector metadata functions describe representation without parsing serialized JSON arrays.

D:

Embedding search can retrieve related ideas even without matching literal tokens.

Question 479

A developer pastes a production connection string and database password into an external AI assistant. Which test result BEST demonstrates that the intended solution is working?

  1. Migration rehearsal retains required tables and supports rollback.
  2. A suggested migration is reviewed and staged before any database change.
  3. A security review finds no production secrets in prompt logs or history.
  4. A set of prompted completions follows approved schema patterns.

Explanation

Correct Answer

C:

A security review finds no production secrets in prompt logs or history. This is the decisive observable evidence after implementing remove and rotate exposed secrets; use approved enterprise AI surfaces and sanitized prompts. It tests the underlying requirement: AI chat providers and extensions may retain shared content outside the database boundary.

Incorrect Answers

A:

Migration rehearsal retains required tables and supports rollback. However, that result would not establish the required outcome: a security review finds no production secrets in prompt logs or history.

B:

A suggested migration is reviewed and staged before any database change. However, that result would not establish the required outcome: a security review finds no production secrets in prompt logs or history.

D:

A set of prompted completions follows approved schema patterns. However, that result would not establish the required outcome: a security review finds no production secrets in prompt logs or history.

Question 480

A multilingual document's chunker ignores headings and merges unrelated languages. Which technical principle BEST explains the relevant design decision?

  1. Oversized chunks mix unrelated topics and degrade passage-level relevance.
  2. Text-only models cannot directly interpret image content without a supporting vision pipeline.
  3. Unconstrained prose is fragile to parse and can omit required keys.
  4. Mixed-language chunks can confuse similarity and citation mapping.

Explanation

Correct Answer

D:

Mixed-language chunks can confuse similarity and citation mapping. This explains why the corrective action is to use heading-aware and language-aware chunk boundaries with source metadata. Confirm the diagnosis when queries in each language return correctly scoped labeled passages.

Incorrect Answers

A:

Oversized chunks mix unrelated topics and degrade passage-level relevance. The actual technical constraint is that mixed-language chunks can confuse similarity and citation mapping.

B:

Text-only models cannot directly interpret image content without a supporting vision pipeline. The actual technical constraint is that mixed-language chunks can confuse similarity and citation mapping.

C:

Unconstrained prose is fragile to parse and can omit required keys. The actual technical constraint is that mixed-language chunks can confuse similarity and citation mapping.

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