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 69

Question 680

A SQL AI integration needs a managed definition for an approved text embedding endpoint. What observed evidence would BEST confirm successful remediation?

  1. An unauthorized principal cannot call the model while approved jobs can.
  2. The tiered approach meets held-out accuracy with lower cost per accepted result.
  3. All new embeddings insert without dimension errors and search quality is rechecked.
  4. An authorized test generates an embedding with the expected size.

Explanation

Correct Answer

D:

An authorized test generates an embedding with the expected size. This is the decisive observable evidence after implementing create an external model object with supported endpoint, model identifiers and secure credential strategy. It tests the underlying requirement: A database model definition binds SQL AI operations to a specific external provider configuration.

Incorrect Answers

A:

An unauthorized principal cannot call the model while approved jobs can. However, that result would not establish the required outcome: an authorized test generates an embedding with the expected size.

B:

The tiered approach meets held-out accuracy with lower cost per accepted result. However, that result would not establish the required outcome: an authorized test generates an embedding with the expected size.

C:

All new embeddings insert without dimension errors and search quality is rechecked. However, that result would not establish the required outcome: an authorized test generates an embedding with the expected size.

Question 681

A reporting warehouse scans hundreds of millions of narrow fact rows for aggregations. What is the MOST relevant technical distinction in this situation?

  1. Column-oriented compression and batch processing can accelerate broad aggregations.
  2. An INT cannot represent IDs above its signed range.
  3. Misaligned indexes can block efficient partition maintenance.
  4. Malformed payloads can break downstream JSON_VALUE and OPENJSON processing.

Explanation

Correct Answer

A:

Column-oriented compression and batch processing can accelerate broad aggregations. This explains why the corrective action is to evaluate a clustered columnstore index for large analytic scans with batch-mode benefits. Confirm the diagnosis when a controlled report benchmark shows lower elapsed time and logical IO.

Incorrect Answers

B:

An INT cannot represent IDs above its signed range. The actual technical constraint is that column-oriented compression and batch processing can accelerate broad aggregations.

C:

Misaligned indexes can block efficient partition maintenance. The actual technical constraint is that column-oriented compression and batch processing can accelerate broad aggregations.

D:

Malformed payloads can break downstream JSON_VALUE and OPENJSON processing. The actual technical constraint is that column-oriented compression and batch processing can accelerate broad aggregations.

Question 682

A support knowledgebase contains title and body but only opaque GUIDs are embedded. Which ongoing control is MOST relevant after the issue is fixed?

  1. Define embedding input contract and refresh triggers per field.
  2. Keep source citations and access metadata attached.
  3. Track model quality drift and escalation thresholds.
  4. Monitor provider deprecations and certificate changes.

Explanation

Correct Answer

B:

Keep source citations and access metadata attached. This guards against recurrence because IDs alone lack the natural-language signal needed for semantic retrieval. The direct remediation is: Include semantically meaningful title and content fields, with identifiers retained as metadata.

Incorrect Answers

A:

Define embedding input contract and refresh triggers per field. The current task instead requires this action: keep source citations and access metadata attached.

C:

Track model quality drift and escalation thresholds. The current task instead requires this action: keep source citations and access metadata attached.

D:

Monitor provider deprecations and certificate changes. The current task instead requires this action: keep source citations and access metadata attached.

Question 683

A support system needs to redact variable-length ticket numbers in a free-text column. What is the MOST appropriate immediate corrective approach?

  1. Use REGEXP_SUBSTR or an equivalent supported regex extraction function.
  2. Choose supported shortest-path syntax when needed rather than ordinary MATCH alone.
  3. Use REGEXP_REPLACE with an appropriately tested pattern on supported SQL versions.
  4. Use JSON_OBJECT with explicit key/value expressions where supported.

Explanation

Correct Answer

C:

Use REGEXP_REPLACE with an appropriately tested pattern on supported SQL versions. This targets the primary issue because regex replacement can transform all matching substrings without fixed positions. Verification: Mixed-case sample descriptions preserve nonmatching text. Prevent recurrence: Test special characters and escaping; do not treat redaction as universal DLP.

Incorrect Answers

A:

Regex substring extraction returns the pattern occurrence, not a tokenized table.

B:

A path existence predicate does not necessarily compute minimal hop count.

D:

JSON_OBJECT constructs a JSON object from typed expressions instead of fragile string concatenation.

Question 684

A query plan shows estimated one row but actual one million rows after skewed parameter values. What observed evidence would BEST confirm successful remediation?

  1. The slow query and time window are identified from supported telemetry.
  2. The report improves without regression in representative unrelated queries.
  3. A stale client receives a conflict and cannot overwrite the newer row.
  4. Different representative parameter values meet latency targets after tuning.

Explanation

Correct Answer

D:

Different representative parameter values meet latency targets after tuning. This is the decisive observable evidence after implementing investigate parameter sensitivity, statistics and alternative plan strategies. It tests the underlying requirement: A poor cardinality estimate can induce unsuitable joins and memory grants.

Incorrect Answers

A:

The slow query and time window are identified from supported telemetry. However, that result would not establish the required outcome: different representative parameter values meet latency targets after tuning.

B:

The report improves without regression in representative unrelated queries. However, that result would not establish the required outcome: different representative parameter values meet latency targets after tuning.

C:

A stale client receives a conflict and cannot overwrite the newer row. However, that result would not establish the required outcome: different representative parameter values meet latency targets after tuning.

Question 685

A hybrid search service applies tenant filters after merging candidate lists and sometimes leaks IDs in results. What is the MOST relevant technical distinction in this situation?

  1. Postfusion filtering can leave side-channel exposure and ranking distortion.
  2. Lexical retrieval protects exact tokens while vectors address paraphrases.
  3. RRF operates on list positions and is distinct from raw score interpolation.
  4. Approximate structures trade memory, speed and recall depending on data and configuration.

Explanation

Correct Answer

A:

Postfusion filtering can leave side-channel exposure and ranking distortion. This explains why the corrective action is to enforce authorization in every retrieval branch before fusion and presentation. Confirm the diagnosis when cross-tenant queries expose no IDs or snippets from denied records.

Incorrect Answers

B:

Lexical retrieval protects exact tokens while vectors address paraphrases. The actual technical constraint is that postfusion filtering can leave side-channel exposure and ranking distortion.

C:

RRF operates on list positions and is distinct from raw score interpolation. The actual technical constraint is that postfusion filtering can leave side-channel exposure and ranking distortion.

D:

Approximate structures trade memory, speed and recall depending on data and configuration. The actual technical constraint is that postfusion filtering can leave side-channel exposure and ranking distortion.

Question 686

A stored procedure's second UPDATE fails but first UPDATE remains committed. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Record retry policy and distinguish transient from permanent errors.
  2. Use XACT_STATE appropriately before commit or rollback.
  3. Specify ordering when supported and required by consumers.
  4. Specify missing predecessor behavior explicitly.

Explanation

Correct Answer

B:

Use XACT_STATE appropriately before commit or rollback. This guards against recurrence because without coordinated error handling, partial writes can violate business invariants. The direct remediation is: Use TRY/CATCH with an explicit transaction, rollback, and THROW for failure handling.

Incorrect Answers

A:

Record retry policy and distinguish transient from permanent errors. The current task instead requires this action: use XACT_STATE appropriately before commit or rollback.

C:

Specify ordering when supported and required by consumers. The current task instead requires this action: use XACT_STATE appropriately before commit or rollback.

D:

Specifying missing predecessor behavior explicitly addresses a different database behavior; the relevant distinction is that use XACT_STATE appropriately before commit or rollback.

Question 687

A database project changes a NOT NULL column without backfilling existing NULL rows. Which implementation decision BEST addresses this requirement?

  1. Build/publish the reviewed SQL Database Project to the intended target with verification.
  2. Add integration tests across database permissions, DAB configuration and HTTP behavior.
  3. Include an appropriate staged data migration and backfill before constraint enforcement.
  4. Move secrets into a managed secret store or approved OIDC-based identity and rotate exposed credentials.

Explanation

Correct Answer

C:

Include an appropriate staged data migration and backfill before constraint enforcement. This targets the primary issue because existing data can prevent otherwise valid stricter schema changes. Verification: A staging upgrade preserves rows and enforces the new constraint. Prevent recurrence: Test migrations with production-shaped data volumes.

Incorrect Answers

A:

Changing project source alone does not apply DDL to the deployed database.

B:

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

D:

Moving secrets into a managed secret store or approved OIDC-based identity and rotate exposed credentials would not correct a database project changes a NOT NULL column without backfilling existing NULL rows. Include an appropriate staged data migration and backfill before constraint enforcement.

Question 688

A CI pipeline stores a SQL administrative password as plain text in a workflow YAML file. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. The pipeline reaches only its intended staging database and resource group.
  2. Unapproved branch commits never reach production.
  3. A test release with a failing security check is blocked.
  4. Scans find no credentials and a staging deployment authenticates securely.

Explanation

Correct Answer

D:

Scans find no credentials and a staging deployment authenticates securely. This is the decisive observable evidence after implementing move secrets into a managed secret store or approved OIDC-based identity and rotate exposed credentials. It tests the underlying requirement: Repository and job logs can leak plaintext secrets.

Incorrect Answers

A:

The pipeline reaches only its intended staging database and resource group. However, that result would not establish the required outcome: scans find no credentials and a staging deployment authenticates securely.

B:

Unapproved branch commits never reach production. However, that result would not establish the required outcome: scans find no credentials and a staging deployment authenticates securely.

C:

A test release with a failing security check is blocked. However, that result would not establish the required outcome: scans find no credentials and a staging deployment authenticates securely.

Question 689

An ETL pipeline treats a fuzzy match score as a UNIQUE customer identifier. Which technical reason BEST explains the proposed correction?

  1. String resemblance cannot guarantee two records represent the same person.
  2. Levenshtein-style distance measures character edits, not verified real-world identity.
  3. EXISTS is a semijoin-style test of matching rows without duplicating the outer customer.
  4. The graph pattern engine expects node/edge structures, not arbitrary string lists.

Explanation

Correct Answer

A:

String resemblance cannot guarantee two records represent the same person. This explains why the corrective action is to use fuzzy scoring only for candidate generation and validate matches with stable IDs. Confirm the diagnosis when a deliberate near-name collision remains as separate customers.

Incorrect Answers

B:

Levenshtein-style distance measures character edits, not verified real-world identity. The actual technical constraint is that string resemblance cannot guarantee two records represent the same person.

C:

EXISTS is a semijoin-style test of matching rows without duplicating the outer customer. The actual technical constraint is that string resemblance cannot guarantee two records represent the same person.

D:

The graph pattern engine expects node/edge structures, not arbitrary string lists. The actual technical constraint is that string resemblance cannot guarantee two records represent the same person.

Question 690

A GraphQL endpoint permits nested queries that return customer records from unauthorized tenants. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Combine DAB permissions with SQL RLS where applicable.
  2. Rate-limit expensive query shapes and monitor access logs.
  3. Prevent arbitrary tenant context spoofing and test privileged access.
  4. Reset pooled connections and validate context on each request.

Explanation

Correct Answer

B:

Rate-limit expensive query shapes and monitor access logs. This guards against recurrence because graphQL relationship traversal can increase data exposure if access is too broad. The direct remediation is: Enforce tenant-aware authorization, bounded query complexity and back-end SQL row security.

Incorrect Answers

A:

Combine DAB permissions with SQL RLS where applicable. The current task instead requires this action: rate-limit expensive query shapes and monitor access logs.

C:

Prevent arbitrary tenant context spoofing and test privileged access. The current task instead requires this action: rate-limit expensive query shapes and monitor access logs.

D:

Reset pooled connections and validate context on each request. The current task instead requires this action: rate-limit expensive query shapes and monitor access logs.

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