McAfee-Secured Website

Exam Code: DP-800

Exam Name: Developing AI-Enabled Database Solutions

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: SQL AI Developer Associate

100% Microsoft DP-800 Guaranteed Success With Testking Training Materials

Get Real DP-800 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

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 34

Question 330

An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. Which acceptance check should accompany the remediation?

  1. Anonymous and cross-role requests are denied while authorized queries return only allowed records.
  2. Cross-tenant SELECT and DML tests cannot access another tenant's records even without application WHERE clauses.
  3. Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.
  4. A replay of change tables reconstructs expected mutations including relevant old and new values.

Explanation

Correct Answer

A:

TLS encrypts transport but does not establish user authorization or row-level entitlements. The observation “Anonymous and cross-role requests are denied while authorized queries return only allowed records” directly confirms the chosen action worked for this situation: An AI retrieval endpoint must authenticate callers before allowing vector search on private documents.

Incorrect Answers

B:

Database RLS applies row filters and block predicates centrally; it still needs secure session context. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

C:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

D:

CDC records change data for replay, unlike simple change tracking versions. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

Question 331

A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. Which implementation most directly satisfies the stated requirement?

  1. Scope and optimize audit policies rather than remove mandatory security events.
  2. Grant least-privilege SELECT on the approved object and remove broad roles.
  3. Publish the signed/identified DACPAC from the validated build through controlled deployment stages.
  4. Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

Explanation

Correct Answer

D:

TLS encrypts transport but does not establish user authorization or row-level entitlements. For the described situation—A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted—the targeted fix is Require verified identities, authorization on the endpoint and source objects, and least-privilege access. A successful test should show: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

Incorrect Answers

A:

Audit settings should match risk and regulatory controls; performance tuning cannot silently discard mandated evidence. But that technique does not solve the stated problem—A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

B:

Object-level GRANT/DENY provides granular access without conferring database-wide administration. But that technique does not solve the stated problem—A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

C:

Promoting the same validated artifact strengthens release traceability and reduces environment divergence. But that technique does not solve the stated problem—A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

Question 332

A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. What measurement or test best demonstrates that the requirement is satisfied?

  1. Anonymous and cross-role requests are denied while authorized queries return only allowed records.
  2. Only authorized auditors can view or alter audit records and retention meets policy.
  3. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  4. The function processes the expected change and retries safely without duplication.

Explanation

Correct Answer

A:

TLS encrypts transport but does not establish user authorization or row-level entitlements. The observation “Anonymous and cross-role requests are denied while authorized queries return only allowed records” directly confirms the chosen action worked for this situation: A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted.

Incorrect Answers

B:

Audit credibility depends on destination protection and retention, not just enabling the event stream. This observation would not establish that the required result occurred for A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

C:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. This observation would not establish that the required result occurred for A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

D:

SQL trigger bindings integrate change detection into function execution but handlers need idempotency. This observation would not establish that the required result occurred for A public GraphQL API reveals database records to unauthenticated clients even though underlying network transport is encrypted. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.

Question 333

An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. What is the most defensible next technical action?

  1. Bind tenant context to authenticated identity with trusted server-side validation.
  2. Use Always Encrypted with properly protected client-side keys for supported confidential columns.
  3. Review the generated deployment script, block destructive changes, and plan an explicit data-preserving migration.
  4. Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

Explanation

Correct Answer

D:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. For the described situation—An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production—the targeted fix is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access. A successful test should show: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

Incorrect Answers

A:

RLS depends on a trustworthy predicate and context; user-controlled context can undermine isolation. But that technique does not solve the stated problem—An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

B:

Always Encrypted keeps protected data encrypted from the SQL engine when client drivers manage keys. But that technique does not solve the stated problem—An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

C:

Declarative deployment may generate destructive operations; data-loss protection and review are essential. But that technique does not solve the stated problem—An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

Question 334

An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. Which result distinguishes a successful implementation from a cosmetic change?

  1. Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.
  2. Identity-disabled users lose access and successful sessions show approved organizational identity.
  3. Permission audits show the app can perform intended reads but cannot change unrelated tables.
  4. Paged calls return bounded, correctly filtered sets with consistent continuation behavior.

Explanation

Correct Answer

A:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. The observation “Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint” directly confirms the chosen action worked for this situation: An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production.

Incorrect Answers

B:

Entra identities centralize credential lifecycle while SQL object grants still govern data access. This observation would not establish that the required result occurred for An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

C:

Least privilege limits damage from compromised application identities and unintended queries. This observation would not establish that the required result occurred for An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

D:

API pagination and predicates reduce overfetching; unsupported query fields must be controlled. This observation would not establish that the required result occurred for An internal MCP server grants a coding agent permission to execute arbitrary UPDATE statements in production. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

Question 335

A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. Which solution is the most appropriate for the scenario?

  1. Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.
  2. Grant least-privilege SELECT on the approved object and remove broad roles.
  3. Bind tenant context to authenticated identity with trusted server-side validation.
  4. Inspect actual execution plans and relevant Query Store runtime statistics before changing indexes.

Explanation

Correct Answer

A:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. For the described situation—A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution—the targeted fix is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access. A successful test should show: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

Incorrect Answers

B:

Object-level GRANT/DENY provides granular access without conferring database-wide administration. But that technique does not solve the stated problem—A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

C:

RLS depends on a trustworthy predicate and context; user-controlled context can undermine isolation. But that technique does not solve the stated problem—A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

D:

Execution plans show access paths and join strategies; blind indexing is not reliable diagnosis. But that technique does not solve the stated problem—A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The needed intervention is Restrict MCP tool surfaces to approved operations, read-only roles, and audited access.

Question 336

A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. What should a technical reviewer verify before approving completion?

  1. Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.
  2. Sample operations produce searchable audit events with principal and timestamp.
  3. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  4. Load tests show reduced latch waits and consistent insert correctness.

Explanation

Correct Answer

A:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. The observation “Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint” directly confirms the chosen action worked for this situation: A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution.

Incorrect Answers

B:

Auditing records database activity; Query Store is primarily a performance history facility. This observation would not establish that the required result occurred for A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

C:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. This observation would not establish that the required result occurred for A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

D:

Page-level hot spots can constrain concurrency beyond disk capacity; fixes require evidence of actual latch waits. This observation would not establish that the required result occurred for A SQL MCP tool should expose catalog discovery without giving AI agents general DDL execution. The confirming test is: Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.

Question 337

A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. What should the SQL developer implement after verifying the conditions?

  1. Scope and optimize audit policies rather than remove mandatory security events.
  2. Use an approved managed identity or scoped credential mechanism supported by the model endpoint.
  3. Design key backup, rotation, and recovery tests before production encryption cutover.
  4. Reduce transaction scope, choose suitable indexes/isolation, and keep external calls outside transactions.

Explanation

Correct Answer

B:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. For the described situation—A model endpoint invoked from SQL currently uses a shared access key stored in procedural text—the targeted fix is Use an approved managed identity or scoped credential mechanism supported by the model endpoint. A successful test should show: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

Incorrect Answers

A:

Audit settings should match risk and regulatory controls; performance tuning cannot silently discard mandated evidence. But that technique does not solve the stated problem—A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

C:

Encryption without managed key lifecycle can make data permanently inaccessible. But that technique does not solve the stated problem—A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

D:

Long transactions prolong lock retention, and extra indexes alone cannot resolve idle open transactions. But that technique does not solve the stated problem—A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

Question 338

A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. Which verification finding is most specific to this scenario?

  1. Inference attempts no longer expose sensitive results to unauthorized principals.
  2. Negative tests prove an assistant cannot issue unauthorized DDL or DML through the endpoint.
  3. The consumer fetches changed row keys since its previous version and then queries current data.
  4. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

Explanation

Correct Answer

D:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. The observation “Model calls succeed using scoped identity and no raw key appears in SQL source or logs” directly confirms the chosen action worked for this situation: A model endpoint invoked from SQL currently uses a shared access key stored in procedural text.

Incorrect Answers

A:

DDM is a display feature, not a complete security boundary against statistical inference. This observation would not establish that the required result occurred for A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

B:

MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. This observation would not establish that the required result occurred for A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

C:

Change Tracking identifies changed rows and operations, unlike CDC which stores richer change-row history. This observation would not establish that the required result occurred for A model endpoint invoked from SQL currently uses a shared access key stored in procedural text. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

Question 339

A secure AI/database integration wants short-lived auth for its external inference service. Which approach achieves the intended result without bypassing the stated controls?

  1. Design key backup, rotation, and recovery tests before production encryption cutover.
  2. Use Managed Identity with Microsoft Entra authentication and least-privilege SQL principal permissions.
  3. Add protected environment gates, release approvals, and required code owners.
  4. Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

Explanation

Correct Answer

D:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. For the described situation—A secure AI/database integration wants short-lived auth for its external inference service—the targeted fix is Use an approved managed identity or scoped credential mechanism supported by the model endpoint. A successful test should show: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

Incorrect Answers

A:

Encryption without managed key lifecycle can make data permanently inaccessible. But that technique does not solve the stated problem—A secure AI/database integration wants short-lived auth for its external inference service. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

B:

Managed identity enables token-based passwordless workload authentication, subject to identity and SQL grants. But that technique does not solve the stated problem—A secure AI/database integration wants short-lived auth for its external inference service. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

C:

Deployment automation should preserve segregation of duties for high-impact database changes. But that technique does not solve the stated problem—A secure AI/database integration wants short-lived auth for its external inference service. The needed intervention is Use an approved managed identity or scoped credential mechanism supported by the model endpoint.

Question 340

A secure AI/database integration wants short-lived auth for its external inference service. How should the team validate the selected design?

  1. Read-only queries succeed while UPDATE, DELETE and unauthorized table reads are denied.
  2. Permission audits show the app can perform intended reads but cannot change unrelated tables.
  3. A nested GraphQL query returns expected related data only for authorized users.
  4. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

Explanation

Correct Answer

D:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. The observation “Model calls succeed using scoped identity and no raw key appears in SQL source or logs” directly confirms the chosen action worked for this situation: A secure AI/database integration wants short-lived auth for its external inference service.

Incorrect Answers

A:

Object-level GRANT/DENY provides granular access without conferring database-wide administration. This observation would not establish that the required result occurred for A secure AI/database integration wants short-lived auth for its external inference service. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

B:

Least privilege limits damage from compromised application identities and unintended queries. This observation would not establish that the required result occurred for A secure AI/database integration wants short-lived auth for its external inference service. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

C:

GraphQL relationships expose linked data through a defined schema, not arbitrary cross-database joins. This observation would not establish that the required result occurred for A secure AI/database integration wants short-lived auth for its external inference service. The confirming test is: Model calls succeed using scoped identity and no raw key appears in SQL source or logs.

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