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 21

Question 200

A model endpoint returns a JSON envelope but the application saves the entire envelope as the business answer. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Implement safe fallback or manual review.
  2. Audit outbound data scope and access context.
  3. Test corpus freshness and unauthorized access.
  4. Version and validate provider schemas.

Explanation

Correct Answer

D:

Version and validate provider schemas. This guards against recurrence because HTTP response metadata and generated text are different parts of the payload. The direct remediation is: Parse the supported response schema and extract the correct generated content field.

Incorrect Answers

A:

Implement safe fallback or manual review. The current task instead requires this action: version and validate provider schemas.

B:

Audit outbound data scope and access context. The current task instead requires this action: version and validate provider schemas.

C:

Test corpus freshness and unauthorized access. The current task instead requires this action: version and validate provider schemas.

Question 201

A SQL schema exists only in production and a team needs reproducible builds. Which technical action BEST resolves the primary problem?

  1. Capture the intended schema in a SQL Database Project and build a DACPAC model.
  2. Set the appropriate target platform and validate generated deployment scripts against actual capabilities.
  3. Review project inclusion and validate the built model against intended objects.
  4. Run schema comparison or drift reporting against the target environment.

Explanation

Correct Answer

A:

Capture the intended schema in a SQL Database Project and build a DACPAC model. This targets the primary issue because a declarative project can validate database object definitions before deployment. Verification: The project builds on a clean agent and generates the expected DACPAC. Prevent recurrence: Require reviews for schema changes.

Incorrect Answers

B:

Different SQL engine flavors do not guarantee identical DDL feature support.

C:

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

D:

Running schema comparison or drift reporting against the target environment addresses a different database behavior; the relevant distinction is that capture the intended schema in a SQL Database Project and build a DACPAC model.

Question 202

A developer expects a SQL table to become a REST API without defining its DAB data-source configuration. Which test result BEST demonstrates that the intended solution is working?

  1. Staging resolves its own Azure SQL endpoint and local development still works.
  2. dab validate succeeds and the expected endpoint resolves in staging.
  3. GET/PATCH tests enforce intended roles and return expected status codes.
  4. Integration tests pass separately for the selected REST and GraphQL operations.

Explanation

Correct Answer

B:

dab validate succeeds and the expected endpoint resolves in staging. This is the decisive observable evidence after implementing create and validate a supported DAB JSON configuration with connection and entity definitions. It tests the underlying requirement: DAB generates endpoints from explicit configuration rather than automatically exposing every table.

Incorrect Answers

A:

Staging resolves its own Azure SQL endpoint and local development still works. However, that result would not establish the required outcome: dab validate succeeds and the expected endpoint resolves in staging.

C:

GET/PATCH tests enforce intended roles and return expected status codes. However, that result would not establish the required outcome: dab validate succeeds and the expected endpoint resolves in staging.

D:

Integration tests pass separately for the selected REST and GraphQL operations. However, that result would not establish the required outcome: dab validate succeeds and the expected endpoint resolves in staging.

Question 203

A batch job sends a 50 MB SQL result to a model with a smaller context budget. What is the MOST relevant technical distinction in this situation?

  1. Sending unauthorized rows to a model is a disclosure even if its final answer omits them.
  2. RAG is appropriate only if the retriever enforces contractual permissions.
  3. Context-window constraints and cost require bounded prompt construction.
  4. Data minimization reduces prompt exposure and cost without losing relevant context.

Explanation

Correct Answer

C:

Context-window constraints and cost require bounded prompt construction. This explains why the corrective action is to summarize or chunk results within supported token and request limits before model invocation. Confirm the diagnosis when representative requests fit allowed size and retain necessary evidence.

Incorrect Answers

A:

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

B:

RAG is appropriate only if the retriever enforces contractual permissions. The actual technical constraint is that context-window constraints and cost require bounded prompt construction.

D:

Data minimization reduces prompt exposure and cost without losing relevant context. The actual technical constraint is that context-window constraints and cost require bounded prompt construction.

Question 204

A hybrid retriever has incomparable BM25 and vector similarity raw scores. Which ongoing control is MOST relevant after the issue is fixed?

  1. Avoid counting duplicates in one list twice.
  2. Tune fusion and metadata filters from labeled evaluations.
  3. Test RLS and filter boundaries on lexical and vector paths.
  4. Log rank contributions and tune against labeled queries.

Explanation

Correct Answer

D:

Log rank contributions and tune against labeled queries. This guards against recurrence because RRF combines ordinal ranks rather than assuming score scales match. The direct remediation is: Use reciprocal rank fusion with a consistent rank offset constant.

Incorrect Answers

A:

Avoid counting duplicates in one list twice. The current task instead requires this action: log rank contributions and tune against labeled queries.

B:

Tune fusion and metadata filters from labeled evaluations. The current task instead requires this action: log rank contributions and tune against labeled queries.

C:

Test RLS and filter boundaries on lexical and vector paths.

Question 205

A SQL server allows excessive MAXDOP for tiny OLTP queries and experiences scheduler pressure. What is the MOST appropriate immediate corrective approach?

  1. Benchmark MAXDOP and cost threshold changes using actual plans and instance guidance.
  2. Measure workload resource patterns and choose an appropriate compute/service tier or scaling policy.
  3. Choose the lowest isolation that meets correctness and benchmark concurrency behavior.
  4. Use relevant DMVs and Query Store runtime statistics to isolate resource-intensive statements.

Explanation

Correct Answer

A:

Benchmark MAXDOP and cost threshold changes using actual plans and instance guidance. This targets the primary issue because uncontrolled parallelism can increase coordination overhead for short queries. Verification: A before/after sample reduces CPU without harming critical analytics. Prevent recurrence: Avoid universally forcing MAXDOP 1 without workload evaluation.

Incorrect Answers

B:

Measuring workload resource patterns and choose an appropriate compute/service tier or scaling policy would not correct a SQL server allows excessive MAXDOP for tiny OLTP queries and experiences scheduler pressure. Benchmark MAXDOP and cost threshold changes using actual plans and instance guidance.

C:

Choosing the lowest isolation that meets correctness and benchmark concurrency behavior would not correct a SQL server allows excessive MAXDOP for tiny OLTP queries and experiences scheduler pressure. Benchmark MAXDOP and cost threshold changes using actual plans and instance guidance.

D:

Instance metrics alone do not identify which cached statements consume resources.

Question 206

A customer searches for exact SKU 9BX-771 and requires literal token matching. What observed evidence would BEST confirm successful remediation?

  1. The known penalty clause ranks in a held-out test query.
  2. The exact SKU returns and misleading near codes do not.
  3. The quoted phrase test excludes documents without that phrase.
  4. The returned top five match a brute-force reference set.

Explanation

Correct Answer

B:

The exact SKU returns and misleading near codes do not. This is the decisive observable evidence after implementing use indexed lexical/full-text or exact filter matching appropriate to the identifier. It tests the underlying requirement: Embedding similarity can confuse near-looking product codes that must match exactly.

Incorrect Answers

A:

The known penalty clause ranks in a held-out test query. However, that result would not establish the required outcome: the exact SKU returns and misleading near codes do not.

C:

The quoted phrase test excludes documents without that phrase. However, that result would not establish the required outcome: the exact SKU returns and misleading near codes do not.

D:

The returned top five match a brute-force reference set. However, that result would not establish the required outcome: the exact SKU returns and misleading near codes do not.

Question 207

An automated migration needs CREATE TABLE rights only in one test schema. What is the MOST relevant technical distinction in this situation?

  1. Exposing a constrained view can limit data surface without broad base-table rights.
  2. Passwordless CI reduces secret leakage and rotation burden when configured with scoped trust.
  3. Database roles and schema grants can bound an automation's change surface.
  4. DDM changes what unauthorized queries display; it is not data encryption.

Explanation

Correct Answer

C:

Database roles and schema grants can bound an automation's change surface. This explains why the corrective action is to grant narrowly scoped schema/DDL permissions to its nonproduction identity. Confirm the diagnosis when the identity creates an approved test object but cannot alter production schemas.

Incorrect Answers

A:

Exposing a constrained view can limit data surface without broad base-table rights. The actual technical constraint is that database roles and schema grants can bound an automation's change surface.

B:

Passwordless CI reduces secret leakage and rotation burden when configured with scoped trust. The actual technical constraint is that database roles and schema grants can bound an automation's change surface.

D:

DDM changes what unauthorized queries display; it is not data encryption. The actual technical constraint is that database roles and schema grants can bound an automation's change surface.

Question 208

An external data mart needs to query data resident in another supported source without permanently copying every row. Which ongoing control is MOST relevant after the issue is fixed?

  1. Protect history access and plan retention and schema migration.
  2. Measure write overhead and index usage before adopting more indexes.
  3. Avoid replacing lookup-heavy OLTP rowstore access without workload tests.
  4. Monitor source availability and credential rotation.

Explanation

Correct Answer

D:

Monitor source availability and credential rotation. This guards against recurrence because external tables abstract remote data but do not automatically remove network or predicate-pushdown costs. The direct remediation is: Assess external tables and supported connector or virtualization capabilities for the deployed engine.

Incorrect Answers

A:

Protect history access and plan retention and schema migration. The current task instead requires this action: monitor source availability and credential rotation.

B:

Measure write overhead and index usage before adopting more indexes.

C:

Avoid replacing lookup-heavy OLTP rowstore access without workload tests. The current task instead requires this action: monitor source availability and credential rotation.

Question 209

A reporting query applies an ORDER BY only outside OVER and expects deterministic ranking ties. What is the MOST appropriate immediate corrective approach?

  1. Include an explicit window ORDER BY with unique tie-breaker columns.
  2. Use ROW_NUMBER() OVER(PARTITION BY SensorId ORDER BY EventTime DESC, EventId DESC) and filter rn=1.
  3. Use a nonrecursive CTE as a named query expression in the next SELECT.
  4. Normalize relationships into graph edge tables before using MATCH.

Explanation

Correct Answer

A:

Include an explicit window ORDER BY with unique tie-breaker columns. This targets the primary issue because window ranking order is defined by its OVER clause, not the outer result sort. Verification: Repeated execution assigns stable row numbers to equal-time events. Prevent recurrence: Review partitions and tie order when requirements change.

Incorrect Answers

B:

Ranking functions identify one top row per group with an explicit order.

C:

A CTE improves query readability but is not automatically materialized into a persistent table.

D:

The graph pattern engine expects node/edge structures, not arbitrary string lists.

Question 210

Two deployment environments use different currency lookup codes, causing inconsistent reports. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. Repository scans show no live credentials while seed records remain deterministic.
  2. Both environments contain the same expected currency code set.
  3. A billing SQL PR requires a finance-code-owner approval before merge.
  4. The merged procedure passes both teams' regression tests.

Explanation

Correct Answer

B:

Both environments contain the same expected currency code set. This is the decisive observable evidence after implementing version reference data alongside schema and apply idempotent migration scripts. It tests the underlying requirement: Untracked static data can drift even when table definitions match.

Incorrect Answers

A:

Repository scans show no live credentials while seed records remain deterministic. However, that result would not establish the required outcome: both environments contain the same expected currency code set.

C:

A billing SQL PR requires a finance-code-owner approval before merge. However, that result would not establish the required outcome: both environments contain the same expected currency code set.

D:

The merged procedure passes both teams' regression tests. However, that result would not establish the required outcome: both environments contain the same expected currency code set.

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