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 36

Question 350

A publicly exposed DAB instance floods SQL with unauthenticated expensive read requests. Which implementation decision BEST addresses this requirement?

  1. Configure supported network access, managed identity and database permissions.
  2. Harden ingress, authentication, rate limiting and query bounds before production exposure.
  3. Use an appropriate DAB cache TTL or disable cache for volatile inventory fields.
  4. Configure DAB entity relationships with matching source/target keys.

Explanation

Correct Answer

B:

Harden ingress, authentication, rate limiting and query bounds before production exposure. This targets the primary issue because autoscaling the API does not eliminate downstream database exhaustion or unauthorized access. Verification: Load tests enforce limits and approved users retain service. Prevent recurrence: Use telemetry and abuse alerting across API and SQL.

Incorrect Answers

A:

Publishing the API does not grant the host network or SQL access automatically.

C:

Response caching trades freshness for latency and may serve obsolete facts.

D:

Correct GraphQL relationship metadata enables nested retrieval of related records.

Question 351

An Azure Functions workflow must process changed Azure SQL rows and compute new embeddings. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. Updated products receive new embeddings within the freshness SLA.
  2. Known user phrases recover the correct article chunk.
  3. An updated row results in one current embedding after retries.
  4. A bilingual test set retrieves correct permitted items for each locale.

Explanation

Correct Answer

C:

An updated row results in one current embedding after retries. This is the decisive observable evidence after implementing use a supported Azure Functions SQL trigger binding with scoped credentials and durable progress state. It tests the underlying requirement: The binding can detect changes and invoke processing without polling arbitrary full tables.

Incorrect Answers

A:

Updated products receive new embeddings within the freshness SLA. However, that result would not establish the required outcome: an updated row results in one current embedding after retries.

B:

Known user phrases recover the correct article chunk. However, that result would not establish the required outcome: an updated row results in one current embedding after retries.

D:

A bilingual test set retrieves correct permitted items for each locale. However, that result would not establish the required outcome: an updated row results in one current embedding after retries.

Question 352

A team wants SQL-specific Copilot guidance without imposing it on frontend code. Which technical reason BEST explains the proposed correction?

  1. Prompt instructions influence suggestions but are not mandatory security policies.
  2. Personal and enterprise assistants can have different retention and policy controls.
  3. Tool discovery and endpoint configuration determine accessible operations.
  4. Guidance can be limited by file type or directory to avoid irrelevant instructions.

Explanation

Correct Answer

D:

Guidance can be limited by file type or directory to avoid irrelevant instructions. This explains why the corrective action is to configure scoped or path-specific instruction files supported by the chosen client. Confirm the diagnosis when SQL file suggestions follow database style while other files retain appropriate conventions.

Incorrect Answers

A:

Prompt instructions influence suggestions but are not mandatory security policies. The actual technical constraint is that guidance can be limited by file type or directory to avoid irrelevant instructions.

B:

Personal and enterprise assistants can have different retention and policy controls. The actual technical constraint is that guidance can be limited by file type or directory to avoid irrelevant instructions.

C:

Tool discovery and endpoint configuration determine accessible operations. The actual technical constraint is that guidance can be limited by file type or directory to avoid irrelevant instructions.

Question 353

An API account only needs to EXECUTE a reporting procedure but currently has db_owner. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Review grants after schema migrations.
  2. Avoid broad database role grants to fix one dynamic query.
  3. Scope endpoint permissions and monitor request consumption.
  4. Audit schema role memberships after every release.

Explanation

Correct Answer

A:

Review grants after schema migrations. This guards against recurrence because least-privilege object permissions reduce exposed DDL and direct data paths. The direct remediation is: Grant EXECUTE on the approved procedure and remove broad database roles.

Incorrect Answers

B:

Avoid broad database role grants to fix one dynamic query.

C:

Scope endpoint permissions and monitor request consumption. The current task instead requires this action: review grants after schema migrations.

D:

Audit schema role memberships after every release. The current task instead requires this action: review grants after schema migrations.

Question 354

A deduplication job needs normalized similarity values rather than raw edit counts on differently sized names. Which implementation decision BEST addresses this requirement?

  1. Evaluate EDIT_DISTANCE to quantify edit operations before human review.
  2. Use EDIT_DISTANCE_SIMILARITY and calibrate thresholds with labeled records where supported.
  3. Use REGEXP_LIKE with an anchored validated pattern where supported.
  4. Use a recursive CTE with an anchor member and a terminating recursive member.

Explanation

Correct Answer

B:

Use EDIT_DISTANCE_SIMILARITY and calibrate thresholds with labeled records where supported. This targets the primary issue because similarity normalization makes scores easier to compare but is not proof of identity. Verification: Labeled positive/negative pairs meet acceptable precision and recall. Prevent recurrence: Review false merges by language and short-name length.

Incorrect Answers

A:

Evaluate EDIT_DISTANCE to quantify edit operations before human review. The relevant technical condition instead is that use EDIT_DISTANCE_SIMILARITY and calibrate thresholds with labeled records where supported.

C:

A regex predicate evaluates pattern matching rather than fixed substring equality.

D:

Using a recursive CTE with an anchor member and a terminating recursive member would not correct a deduplication job needs normalized similarity values rather than raw edit counts on differently sized names. Use EDIT_DISTANCE_SIMILARITY and calibrate thresholds with labeled records where supported.

Question 355

A team updates an SDK-style SQL project but CI cannot resolve its package dependencies. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. The project build and staging publish identify unsupported constructs before production.
  2. Both environments contain the same expected currency code set.
  3. The same source builds reproducibly on local and CI hosts.
  4. Running the seed twice leaves the same validated rows.

Explanation

Correct Answer

C:

The same source builds reproducibly on local and CI hosts. This is the decisive observable evidence after implementing pin supported SDK/project package versions and restore dependencies before build. It tests the underlying requirement: SDK-style builds depend on resolved tooling and compatible target platforms.

Incorrect Answers

A:

The project build and staging publish identify unsupported constructs before production. However, that result would not establish the required outcome: the same source builds reproducibly on local and CI hosts.

B:

Both environments contain the same expected currency code set. However, that result would not establish the required outcome: the same source builds reproducibly on local and CI hosts.

D:

Running the seed twice leaves the same validated rows. However, that result would not establish the required outcome: the same source builds reproducibly on local and CI hosts.

Question 356

An asset database models devices and connections as graph node and edge tables. Which technical reason BEST explains the proposed correction?

  1. A path existence predicate does not necessarily compute minimal hop count.
  2. Levenshtein-style distance measures character edits, not verified real-world identity.
  3. JSON_ARRAYAGG can collect multiple row values into a JSON array.
  4. Graph relationships support path queries but still need guarded edge permissions.

Explanation

Correct Answer

D:

Graph relationships support path queries but still need guarded edge permissions. This explains why the corrective action is to use supported SQL graph node/edge tables and the MATCH predicate for traversals. Confirm the diagnosis when a test discovers the expected connected device chain.

Incorrect Answers

A:

A path existence predicate does not necessarily compute minimal hop count. The actual technical constraint is that graph relationships support path queries but still need guarded edge permissions.

B:

Levenshtein-style distance measures character edits, not verified real-world identity. The actual technical constraint is that graph relationships support path queries but still need guarded edge permissions.

C:

JSON_ARRAYAGG can collect multiple row values into a JSON array. The actual technical constraint is that graph relationships support path queries but still need guarded edge permissions.

Question 357

A 30-million-row embedding store must answer approximate similarity queries within a strict latency SLO. Which preventive practice BEST addresses the underlying risk over time?

  1. Maintain an exact KNN baseline for regression testing.
  2. Reassess costs as the corpus grows.
  3. Keep rank offset and truncation policies documented.
  4. Use fallback exact retrieval for critical queries when warranted.

Explanation

Correct Answer

A:

Maintain an exact KNN baseline for regression testing. This guards against recurrence because approximate indexes trade exact completeness for faster retrieval on large corpora. The direct remediation is: Evaluate indexed ANN search with measured recall/latency tradeoffs.

Incorrect Answers

B:

Reassess costs as the corpus grows. The current task instead requires this action: maintain an exact KNN baseline for regression testing.

C:

Keep rank offset and truncation policies documented. The current task instead requires this action: maintain an exact KNN baseline for regression testing.

D:

Use fallback exact retrieval for critical queries when warranted. The current task instead requires this action: maintain an exact KNN baseline for regression testing.

Question 358

An application incorrectly assumes REST and GraphQL endpoints have identical caching and mutation semantics. What should the SQL developer do FIRST to address the specific issue?

  1. Configure a GraphQL endpoint and modeled relationships for approved entities.
  2. Test protocol-specific behavior and configure supported methods deliberately.
  3. Create and validate a supported DAB JSON configuration with connection and entity definitions.
  4. Configure supported network access, managed identity and database permissions.

Explanation

Correct Answer

B:

Test protocol-specific behavior and configure supported methods deliberately. This targets the primary issue because the two interfaces expose related data but have different query syntax and operation models. Verification: Integration tests pass separately for the selected REST and GraphQL operations. Prevent recurrence: Version the API contract and publish schema changes responsibly.

Incorrect Answers

A:

GraphQL can request related fields through a typed schema rather than repeated round trips.

C:

DAB generates endpoints from explicit configuration rather than automatically exposing every table.

D:

Publishing the API does not grant the host network or SQL access automatically.

Question 359

An engineer commits environment-specific secrets inside a reference-data CSV. Which acceptance check is MOST directly related to this scenario?

  1. Running the seed twice leaves the same validated rows.
  2. Scans find no credentials and a staging deployment authenticates securely.
  3. Repository scans show no live credentials while seed records remain deterministic.
  4. Drift detection flags the unexpected column change before publish.

Explanation

Correct Answer

C:

Repository scans show no live credentials while seed records remain deterministic. This is the decisive observable evidence after implementing remove sensitive values and parameterize environment configuration outside version control. It tests the underlying requirement: Reference data is usually broadly readable to repository collaborators.

Incorrect Answers

A:

Running the seed twice leaves the same validated rows. However, that result would not establish the required outcome: repository scans show no live credentials while seed records remain deterministic.

B:

Scans find no credentials and a staging deployment authenticates securely. However, that result would not establish the required outcome: repository scans show no live credentials while seed records remain deterministic.

D:

Drift detection flags the unexpected column change before publish. However, that result would not establish the required outcome: repository scans show no live credentials while seed records remain deterministic.

Question 360

A schema migration changes a base column used by multiple schema-bound dependencies. Which technical property or constraint MOST directly matters here?

  1. Aggregate views are not generally directly updatable like simple single-table projections.
  2. Per-row scalar function calls may create expensive repeated execution on some workloads.
  3. A scalar function produces one value for each call but may affect query optimization.
  4. SCHEMABINDING protects referenced definitions against incompatible schema changes.

Explanation

Correct Answer

D:

SCHEMABINDING protects referenced definitions against incompatible schema changes. This explains why the corrective action is to review dependency effects and change the schema-bound view deliberately before modifying underlying objects. Confirm the diagnosis when a migration test catches incompatible column modification before production.

Incorrect Answers

A:

Aggregate views are not generally directly updatable like simple single-table projections. The actual technical constraint is that SCHEMABINDING protects referenced definitions against incompatible schema changes.

B:

Per-row scalar function calls may create expensive repeated execution on some workloads. The actual technical constraint is that SCHEMABINDING protects referenced definitions against incompatible schema changes.

C:

A scalar function produces one value for each call but may affect query optimization. The actual technical constraint is that SCHEMABINDING protects referenced definitions against incompatible schema changes.

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