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 91

Question 900

An Azure SQL table contains textual cases but the vector column is always NULL. Which technical action BEST resolves the primary problem?

  1. Use bounded exponential backoff, batching where supported and idempotent writes.
  2. Use a supported Azure Functions SQL trigger binding with scoped credentials and durable progress state.
  3. Create an external model object with supported endpoint, model identifiers and secure credential strategy.
  4. Call the approved embedding model through a supported integration and store fixed-dimension results.

Explanation

Correct Answer

D:

Call the approved embedding model through a supported integration and store fixed-dimension results. This targets the primary issue because embeddings are computed numeric representations and are not created merely by defining a VECTOR column. Verification: Test rows contain supported dimension vectors and corresponding text IDs. Prevent recurrence: Validate dimension and model version before inserting.

Incorrect Answers

A:

External model quotas and transient errors require controlled retry behavior.

B:

The binding can detect changes and invoke processing without polling arbitrary full tables.

C:

A database model definition binds SQL AI operations to a specific external provider configuration.

Question 901

A mobile application needs standard resource CRUD with query-string filters rather than a custom GraphQL client. Which test result BEST demonstrates that the intended solution is working?

  1. GET/PATCH tests enforce intended roles and return expected status codes.
  2. Integration tests pass separately for the selected REST and GraphQL operations.
  3. After a stock change, clients see updated counts within the defined freshness SLA.
  4. An authorized request runs the report and rejects unauthorized procedure calls.

Explanation

Correct Answer

A:

GET/PATCH tests enforce intended roles and return expected status codes. This is the decisive observable evidence after implementing expose an authorized DAB REST endpoint with approved methods and resource paths. It tests the underlying requirement: REST endpoint mapping supplies predictable URLs and HTTP operations.

Incorrect Answers

B:

Integration tests pass separately for the selected REST and GraphQL operations. However, that result would not establish the required outcome: gET/PATCH tests enforce intended roles and return expected status codes.

C:

After a stock change, clients see updated counts within the defined freshness SLA. However, that result would not establish the required outcome: gET/PATCH tests enforce intended roles and return expected status codes.

D:

An authorized request runs the report and rejects unauthorized procedure calls. However, that result would not establish the required outcome: gET/PATCH tests enforce intended roles and return expected status codes.

Question 902

A managed Azure SQL database experiences variable latency but no server-level OS metrics are available. Which technical principle BEST explains the relevant design decision?

  1. A poor cardinality estimate can induce unsuitable joins and memory grants.
  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. Opposite lock acquisition sequences can form a cyclic wait.

Explanation

Correct Answer

B:

Platform-native query insight tools expose historical workload statistics for managed instances. This explains why the corrective action is to use Query Performance Insight and supported Azure/SQL monitoring evidence. Confirm the diagnosis when the slow query and time window are identified from supported telemetry.

Incorrect Answers

A:

A poor cardinality estimate can induce unsuitable joins and memory grants. The actual technical constraint is that platform-native query insight tools expose historical workload statistics for managed instances.

C:

Database-level settings can affect many workloads and engine versions differently. The actual technical constraint is that platform-native query insight tools expose historical workload statistics for managed instances.

D:

Opposite lock acquisition sequences can form a cyclic wait. The actual technical constraint is that platform-native query insight tools expose historical workload statistics for managed instances.

Question 903

A team grants db_owner to a reporting account expecting DDM to hide confidential salaries. Which ongoing control is MOST relevant after the issue is fixed?

  1. Review grants and test bypass paths.
  2. Monitor service-principal grants and run negative authorization tests.
  3. Audit schema role memberships after every release.
  4. Track principal creation across environments.

Explanation

Correct Answer

C:

Audit schema role memberships after every release. This guards against recurrence because high-privilege identities can typically view underlying unmasked values. The direct remediation is: Replace excessive privileges with minimum SELECT and no UNMASK entitlement.

Incorrect Answers

A:

Review grants and test bypass paths. The current task instead requires this action: audit schema role memberships after every release.

B:

Monitor service-principal grants and run negative authorization tests. The current task instead requires this action: audit schema role memberships after every release.

D:

Tracking principal creation across environments addresses a different database behavior; the relevant distinction is that audit schema role memberships after every release.

Question 904

A service treats HTTP 429 from a model as permanent data corruption and deletes pending records. What is the MOST appropriate immediate corrective approach?

  1. Summarize or chunk results within supported token and request limits before model invocation.
  2. Parse the supported response schema and extract the correct generated content field.
  3. Allowlist approved model endpoints and validate request content and destination.
  4. Implement bounded retry/backoff with idempotency and dead-letter handling.

Explanation

Correct Answer

D:

Implement bounded retry/backoff with idempotency and dead-letter handling. This targets the primary issue because rate limiting is often transient and should not erase durable database work. Verification: A throttled test eventually succeeds or leaves a recoverable queue record. Prevent recurrence: Cap retries and alert on repeated model service failures.

Incorrect Answers

A:

Summarize or chunk results within supported token and request limits before model invocation. The relevant technical condition instead is that implement bounded retry/backoff with idempotency and dead-letter handling.

B:

HTTP response metadata and generated text are different parts of the payload.

C:

Arbitrary external REST calls risk server-side request forgery and data exfiltration.

Question 905

A new index exists in a branch but production queries still use the prior plan. What observed evidence would BEST confirm successful remediation?

  1. After publish, the target contains the intended index and tested workload improves.
  2. A staging upgrade preserves rows and enforces the new constraint.
  3. Automated tests reject negative amounts and accept valid boundary values.
  4. The merged procedure passes both teams' regression tests.

Explanation

Correct Answer

A:

After publish, the target contains the intended index and tested workload improves. This is the decisive observable evidence after implementing build/publish the reviewed SQL Database Project to the intended target with verification. It tests the underlying requirement: Changing project source alone does not apply DDL to the deployed database.

Incorrect Answers

B:

A staging upgrade preserves rows and enforces the new constraint. However, that result would not establish the required outcome: after publish, the target contains the intended index and tested workload improves.

C:

Automated tests reject negative amounts and accept valid boundary values. However, that result would not establish the required outcome: after publish, the target contains the intended index and tested workload improves.

D:

The merged procedure passes both teams' regression tests. However, that result would not establish the required outcome: after publish, the target contains the intended index and tested workload improves.

Question 906

A SQL chat assistant needs to read schema metadata but must never issue UPDATE statements. What is the MOST relevant technical distinction in this situation?

  1. Different model endpoints can have different data governance and retention arrangements.
  2. Tool scope governs what the model can invoke beyond ordinary chat text.
  3. Code generation is separate from authorized database deployment.
  4. Generated code can violate least privilege even if it appears syntactically correct.

Explanation

Correct Answer

B:

Tool scope governs what the model can invoke beyond ordinary chat text. This explains why the corrective action is to configure MCP tools with read-only permissions and disable unneeded write-capable tools. Confirm the diagnosis when a test tool call reads metadata while unauthorized writes are denied.

Incorrect Answers

A:

Different model endpoints can have different data governance and retention arrangements. The actual technical constraint is that tool scope governs what the model can invoke beyond ordinary chat text.

C:

Code generation is separate from authorized database deployment. The actual technical constraint is that tool scope governs what the model can invoke beyond ordinary chat text.

D:

Generated code can violate least privilege even if it appears syntactically correct. The actual technical constraint is that tool scope governs what the model can invoke beyond ordinary chat text.

Question 907

A contractor supplies an unknown MCP server URL that advertises unrestricted database tools. Which ongoing control is MOST relevant after the issue is fixed?

  1. Keep principal grants least-privilege and monitored.
  2. Review grants and server capabilities after updates.
  3. Manage server allowlists and revoke unused tokens.
  4. Require approved pull requests and deployment identities.

Explanation

Correct Answer

C:

Manage server allowlists and revoke unused tokens. This guards against recurrence because a malicious or compromised MCP server may exfiltrate data or supply unsafe tool behavior. The direct remediation is: Reject the endpoint until source, TLS identity and tool effects are reviewed.

Incorrect Answers

A:

Keep principal grants least-privilege and monitored. The current task instead requires this action: manage server allowlists and revoke unused tokens.

B:

Review grants and server capabilities after updates. The current task instead requires this action: manage server allowlists and revoke unused tokens.

D:

Require approved pull requests and deployment identities. The current task instead requires this action: manage server allowlists and revoke unused tokens.

Question 908

A developer assumes a CTE named in one statement remains available to the next statement. What is the MOST appropriate immediate corrective approach?

  1. Use a recursive CTE with an anchor member and a terminating recursive member.
  2. Use OPENJSON on the reviewer array with a typed WITH clause.
  3. Use REGEXP_LIKE with an anchored validated pattern where supported.
  4. Repeat the expression or persist intermediate results in a temporary table when necessary.

Explanation

Correct Answer

D:

Repeat the expression or persist intermediate results in a temporary table when necessary. This targets the primary issue because a CTE scope is limited to the single consuming statement. Verification: A two-step transformation runs without invalid-object errors. Prevent recurrence: Document whether reusable results require temp tables or views.

Incorrect Answers

A:

Using a recursive CTE with an anchor member and a terminating recursive member would not correct a developer assumes a CTE named in one statement remains available to the next statement. Repeat the expression or persist intermediate results in a temporary table when necessary.

B:

OPENJSON expands array elements into tabular rows for joins and validation.

C:

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

Question 909

A security team treats DDM as protection against users with broad SELECT and inference query rights. What observed evidence would BEST confirm successful remediation?

  1. A simulated low-privilege role cannot infer restricted personal identifiers.
  2. A role-based test demonstrates restricted account values are masked.
  3. The identity creates an approved test object but cannot alter production schemas.
  4. A privileged SQL-only session cannot read plaintext while an approved client decrypts.

Explanation

Correct Answer

A:

A simulated low-privilege role cannot infer restricted personal identifiers. This is the decisive observable evidence after implementing combine masking with column permissions and other controls based on actual threat model. It tests the underlying requirement: Authorized query transformations and inference can expose sensitive values despite masking.

Incorrect Answers

B:

A role-based test demonstrates restricted account values are masked. However, that result would not establish the required outcome: a simulated low-privilege role cannot infer restricted personal identifiers.

C:

The identity creates an approved test object but cannot alter production schemas. However, that result would not establish the required outcome: a simulated low-privilege role cannot infer restricted personal identifiers.

D:

A privileged SQL-only session cannot read plaintext while an approved client decrypts. However, that result would not establish the required outcome: a simulated low-privilege role cannot infer restricted personal identifiers.

Question 910

A stored procedure passes DECIMAL prices as unquoted strings with locale commas and model summaries misstate values. Which technical reason BEST explains the proposed correction?

  1. Data minimization reduces prompt exposure and cost without losing relevant context.
  2. JSON encoding preserves numeric representation better than locale-dependent concatenation.
  3. Context-window constraints and cost require bounded prompt construction.
  4. Rate limiting is often transient and should not erase durable database work.

Explanation

Correct Answer

B:

JSON encoding preserves numeric representation better than locale-dependent concatenation. This explains why the corrective action is to serialize numeric SQL types as valid JSON numbers with explicit unit metadata. Confirm the diagnosis when an API test reads amounts with correct decimal interpretation.

Incorrect Answers

A:

Data minimization reduces prompt exposure and cost without losing relevant context. The actual technical constraint is that JSON encoding preserves numeric representation better than locale-dependent concatenation.

C:

Context-window constraints and cost require bounded prompt construction. The actual technical constraint is that JSON encoding preserves numeric representation better than locale-dependent concatenation.

D:

Rate limiting is often transient and should not erase durable database work. The actual technical constraint is that JSON encoding preserves numeric representation better than locale-dependent concatenation.

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