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 96

Question 950

A model endpoint returns a JSON envelope but the application saves the entire envelope as the business answer. Which technical property or constraint MOST directly matters here?

  1. Generated output is not guaranteed to follow instructions unless independently checked.
  2. HTTP response metadata and generated text are different parts of the payload.
  3. Rate limiting is often transient and should not erase durable database work.
  4. Arbitrary external REST calls risk server-side request forgery and data exfiltration.

Explanation

Correct Answer

B:

HTTP response metadata and generated text are different parts of the payload. This explains why the corrective action is to parse the supported response schema and extract the correct generated content field. Confirm the diagnosis when a fixture response yields the expected text without transport headers.

Incorrect Answers

A:

Generated output is not guaranteed to follow instructions unless independently checked. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

C:

Rate limiting is often transient and should not erase durable database work. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

D:

Arbitrary external REST calls risk server-side request forgery and data exfiltration. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

Question 951

A SQL schema exists only in production and a team needs reproducible builds. Which preventive practice BEST addresses the underlying risk over time?

  1. Maintain a per-platform compatibility matrix.
  2. Run deployment reports and a verified rollback strategy.
  3. Require reviews for schema changes.
  4. Require branch protection and code review for production.

Explanation

Correct Answer

C:

Require reviews for schema changes. This guards against recurrence because a declarative project can validate database object definitions before deployment. The direct remediation is: Capture the intended schema in a SQL Database Project and build a DACPAC model.

Incorrect Answers

A:

Maintaining a per-platform compatibility matrix addresses a different database behavior; the relevant distinction is that require reviews for schema changes.

B:

Run deployment reports and a verified rollback strategy. The current task instead requires this action: require reviews for schema changes.

D:

Require branch protection and code review for production. The current task instead requires this action: require reviews for schema changes.

Question 952

A developer expects a SQL table to become a REST API without defining its DAB data-source configuration. Which technical action BEST resolves the primary problem?

  1. Parameterize the DAB data source using supported environment variables or secret integration.
  2. Expose the stored procedure via a restricted DAB stored-procedure entity with execute rights.
  3. Configure entity fields, authorization and supported filter behavior to expose only permitted fields.
  4. Create and validate a supported DAB JSON configuration with connection and entity definitions.

Explanation

Correct Answer

D:

Create and validate a supported DAB JSON configuration with connection and entity definitions. This targets the primary issue because DAB generates endpoints from explicit configuration rather than automatically exposing every table. Verification: dab validate succeeds and the expected endpoint resolves in staging. Prevent recurrence: Use environment-based connection references instead of inline secrets.

Incorrect Answers

A:

Configuration must resolve the correct database per environment without leaking secrets.

B:

DAB can surface declared stored procedures without granting arbitrary query execution.

C:

DAB entity projection and permissions determine the API data surface.

Question 953

A batch job sends a 50 MB SQL result to a model with a smaller context budget. Which test result BEST demonstrates that the intended solution is working?

  1. Representative requests fit allowed size and retain necessary evidence.
  2. Captured requests from one tenant contain only that tenant's permitted data.
  3. A JSON parser reconstructs the intended order IDs and amounts.
  4. Malformed output is quarantined and valid output produces typed records.

Explanation

Correct Answer

A:

Representative requests fit allowed size and retain necessary evidence. This is the decisive observable evidence after implementing summarize or chunk results within supported token and request limits before model invocation. It tests the underlying requirement: Context-window constraints and cost require bounded prompt construction.

Incorrect Answers

B:

Captured requests from one tenant contain only that tenant's permitted data. However, that result would not establish the required outcome: representative requests fit allowed size and retain necessary evidence.

C:

A JSON parser reconstructs the intended order IDs and amounts. However, that result would not establish the required outcome: representative requests fit allowed size and retain necessary evidence.

D:

Malformed output is quarantined and valid output produces typed records. However, that result would not establish the required outcome: representative requests fit allowed size and retain necessary evidence.

Question 954

A hybrid retriever has incomparable BM25 and vector similarity raw scores. Which technical principle BEST explains the relevant design decision?

  1. RRF sums reciprocal functions of positions across lists.
  2. RRF combines ordinal ranks rather than assuming score scales match.
  3. Full-text predicates require a configured index and supported column types.
  4. FREETEXT expands linguistic meaning and is not equivalent to exact phrase matching.

Explanation

Correct Answer

B:

RRF combines ordinal ranks rather than assuming score scales match. This explains why the corrective action is to use reciprocal rank fusion with a consistent rank offset constant. Confirm the diagnosis when a fixed two-list fixture produces an independently calculated ranking.

Incorrect Answers

A:

RRF sums reciprocal functions of positions across lists. The actual technical constraint is that RRF combines ordinal ranks rather than assuming score scales match.

C:

Full-text predicates require a configured index and supported column types. The actual technical constraint is that RRF combines ordinal ranks rather than assuming score scales match.

D:

FREETEXT expands linguistic meaning and is not equivalent to exact phrase matching. The actual technical constraint is that RRF combines ordinal ranks rather than assuming score scales match.

Question 955

A SQL server allows excessive MAXDOP for tiny OLTP queries and experiences scheduler pressure. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Monitor p95 waits and adjust scaling only from measured evidence.
  2. Reevaluate plan forcing after data distribution changes.
  3. Avoid universally forcing MAXDOP 1 without workload evaluation.
  4. Combine query data with Azure Monitor and service limits.

Explanation

Correct Answer

C:

Avoid universally forcing MAXDOP 1 without workload evaluation. This guards against recurrence because uncontrolled parallelism can increase coordination overhead for short queries. The direct remediation is: Benchmark MAXDOP and cost threshold changes using actual plans and instance guidance.

Incorrect Answers

A:

Monitor p95 waits and adjust scaling only from measured evidence.

B:

Reevaluate plan forcing after data distribution changes. The current task instead requires this action: avoid universally forcing MAXDOP 1 without workload evaluation.

D:

Combine query data with Azure Monitor and service limits. The current task instead requires this action: avoid universally forcing MAXDOP 1 without workload evaluation.

Question 956

A customer searches for exact SKU 9BX-771 and requires literal token matching. Which technical action BEST resolves the primary problem?

  1. Use semantic vector retrieval to recognize conceptual meaning beyond exact words.
  2. Compare index build time, insert cost, storage and recall alongside query latency.
  3. Enforce authorization in every retrieval branch before fusion and presentation.
  4. Use indexed lexical/full-text or exact filter matching appropriate to the identifier.

Explanation

Correct Answer

D:

Use indexed lexical/full-text or exact filter matching appropriate to the identifier. This targets the primary issue because embedding similarity can confuse near-looking product codes that must match exactly. Verification: The exact SKU returns and misleading near codes do not. Prevent recurrence: Keep identifier search separate from semantic descriptions.

Incorrect Answers

A:

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

B:

Index choice affects ingestion and maintenance as well as retrieval speed.

C:

Enforcing authorization in every retrieval branch before fusion and presentation addresses a different database behavior; the relevant distinction is that use indexed lexical/full-text or exact filter matching appropriate to the identifier.

Question 957

An automated migration needs CREATE TABLE rights only in one test schema. Which test result BEST demonstrates that the intended solution is working?

  1. The identity creates an approved test object but cannot alter production schemas.
  2. The test principal reads the approved view and fails direct private-table SELECT.
  3. Supported equality or enclave test cases behave as designed without broad plaintext exposure.
  4. A mismatched department INSERT or UPDATE fails under the test role.

Explanation

Correct Answer

A:

The identity creates an approved test object but cannot alter production schemas. This is the decisive observable evidence after implementing grant narrowly scoped schema/DDL permissions to its nonproduction identity. It tests the underlying requirement: Database roles and schema grants can bound an automation's change surface.

Incorrect Answers

B:

The test principal reads the approved view and fails direct private-table SELECT. However, that result would not establish the required outcome: the identity creates an approved test object but cannot alter production schemas.

C:

Supported equality or enclave test cases behave as designed without broad plaintext exposure. However, that result would not establish the required outcome: the identity creates an approved test object but cannot alter production schemas.

D:

A mismatched department INSERT or UPDATE fails under the test role. However, that result would not establish the required outcome: the identity creates an approved test object but cannot alter production schemas.

Question 958

An external data mart needs to query data resident in another supported source without permanently copying every row. Which technical principle BEST explains the relevant design decision?

  1. Temporal history captures prior row versions when system versioning is enabled.
  2. External tables abstract remote data but do not automatically remove network or predicate-pushdown costs.
  3. Unindexed JSON path predicates can incur expensive row-by-row parsing.
  4. Finite ranges exhaust and enabling CYCLE without safety checks may repeat identifiers.

Explanation

Correct Answer

B:

External tables abstract remote data but do not automatically remove network or predicate-pushdown costs. This explains why the corrective action is to assess external tables and supported connector or virtualization capabilities for the deployed engine. Confirm the diagnosis when a restricted test query retrieves only authorized external records with acceptable latency.

Incorrect Answers

A:

Temporal history captures prior row versions when system versioning is enabled. The actual technical constraint is that external tables abstract remote data but do not automatically remove network or predicate-pushdown costs.

C:

Unindexed JSON path predicates can incur expensive row-by-row parsing. The actual technical constraint is that external tables abstract remote data but do not automatically remove network or predicate-pushdown costs.

D:

Finite ranges exhaust and enabling CYCLE without safety checks may repeat identifiers. The actual technical constraint is that external tables abstract remote data but do not automatically remove network or predicate-pushdown costs.

Question 959

A reporting query applies an ORDER BY only outside OVER and expects deterministic ranking ties. Which ongoing control is MOST relevant after the issue is fixed?

  1. Include a stable tie-breaker and monitor late events.
  2. Specify ordering when supported and required by consumers.
  3. Review partitions and tie order when requirements change.
  4. Measure cost against a window-based rewrite for large datasets.

Explanation

Correct Answer

C:

Review partitions and tie order when requirements change. This guards against recurrence because window ranking order is defined by its OVER clause, not the outer result sort. The direct remediation is: Include an explicit window ORDER BY with unique tie-breaker columns.

Incorrect Answers

A:

Include a stable tie-breaker and monitor late events. The current task instead requires this action: review partitions and tie order when requirements change.

B:

Specify ordering when supported and required by consumers. The current task instead requires this action: review partitions and tie order when requirements change.

D:

Measure cost against a window-based rewrite for large datasets. The current task instead requires this action: review partitions and tie order when requirements change.

Question 960

Two deployment environments use different currency lookup codes, causing inconsistent reports. What is the MOST appropriate immediate corrective approach?

  1. Remove sensitive values and parameterize environment configuration outside version control.
  2. Redact secrets from diagnostics and use structured error codes.
  3. Use protected branch triggers, environment approval gates and deployment-specific identities.
  4. Version reference data alongside schema and apply idempotent migration scripts.

Explanation

Correct Answer

D:

Version reference data alongside schema and apply idempotent migration scripts. This targets the primary issue because untracked static data can drift even when table definitions match. Verification: Both environments contain the same expected currency code set. Prevent recurrence: Review seed-data changes like schema changes.

Incorrect Answers

A:

Remove sensitive values and parameterize environment configuration outside version control. The relevant technical condition instead is that version reference data alongside schema and apply idempotent migration scripts.

B:

Redact secrets from diagnostics and use structured error codes. The relevant technical condition instead is that version reference data alongside schema and apply idempotent migration scripts.

C:

Using protected branch triggers, environment approval gates and deployment-specific identities would not correct two deployment environments use different currency lookup codes, causing inconsistent reports. Version reference data alongside schema and apply idempotent migration scripts.

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