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 33

Question 320

A cloud workload must authenticate using its own Azure identity to query a database. What should a technical reviewer verify before approving completion?

  1. Cross-tenant SELECT and DML tests cannot access another tenant's records even without application WHERE clauses.
  2. Permission audits show the app can perform intended reads but cannot change unrelated tables.
  3. The workload connects without a stored SQL secret and denied operations remain blocked.
  4. A replay of change tables reconstructs expected mutations including relevant old and new values.

Explanation

Correct Answer

C:

Managed identity enables token-based passwordless workload authentication, subject to identity and SQL grants. The observation “The workload connects without a stored SQL secret and denied operations remain blocked” directly confirms the chosen action worked for this situation: A cloud workload must authenticate using its own Azure identity to query a database.

Incorrect Answers

A:

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 A cloud workload must authenticate using its own Azure identity to query a database. The confirming test is: The workload connects without a stored SQL secret and denied operations remain blocked.

B:

Least privilege limits damage from compromised application identities and unintended queries. This observation would not establish that the required result occurred for A cloud workload must authenticate using its own Azure identity to query a database. The confirming test is: The workload connects without a stored SQL secret and denied operations remain blocked.

D:

CDC records change data for replay, unlike simple change tracking versions. This observation would not establish that the required result occurred for A cloud workload must authenticate using its own Azure identity to query a database. The confirming test is: The workload connects without a stored SQL secret and denied operations remain blocked.

Question 321

A development team embeds a connection string password into a source-controlled SQL migration. What should the SQL developer implement after verifying the conditions?

  1. Scope and optimize audit policies rather than remove mandatory security events.
  2. Constrain network access using supported private endpoints and firewall or network policy.
  3. Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.
  4. Implement idempotent consumption with stable event or row-version keys and retry-aware checkpoints.

Explanation

Correct Answer

C:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. For the described situation—A development team embeds a connection string password into a source-controlled SQL migration—the targeted fix is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential. A successful test should show: Repository scans find no secret and deployment uses an authorized scoped identity.

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 development team embeds a connection string password into a source-controlled SQL migration. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

B:

Network isolation limits reachability but complements rather than replaces SQL authentication and grants. But that technique does not solve the stated problem—A development team embeds a connection string password into a source-controlled SQL migration. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

D:

Change triggers and at-least-once deliveries demand explicit deduplication and checkpointing. But that technique does not solve the stated problem—A development team embeds a connection string password into a source-controlled SQL migration. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

Question 322

A development team embeds a connection string password into a source-controlled SQL migration. Which verification finding is most specific to this scenario?

  1. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  2. The workload connects without a stored SQL secret and denied operations remain blocked.
  3. The unexpected object or configuration is reported before any destructive deployment.
  4. Repository scans find no secret and deployment uses an authorized scoped identity.

Explanation

Correct Answer

D:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. The observation “Repository scans find no secret and deployment uses an authorized scoped identity” directly confirms the chosen action worked for this situation: A development team embeds a connection string password into a source-controlled SQL migration.

Incorrect Answers

A:

Protecting external model endpoints requires identity, credential boundaries, and least-privilege authorization. This observation would not establish that the required result occurred for A development team embeds a connection string password into a source-controlled SQL migration. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

B:

Managed identity enables token-based passwordless workload authentication, subject to identity and SQL grants. This observation would not establish that the required result occurred for A development team embeds a connection string password into a source-controlled SQL migration. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

C:

Schema drift occurs when deployed objects differ from version-controlled declarative models. This observation would not establish that the required result occurred for A development team embeds a connection string password into a source-controlled SQL migration. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

Question 323

A release job stores database administrator credentials in plaintext YAML for convenience. Which approach achieves the intended result without bypassing the stated controls?

  1. Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.
  2. Use environment-specific identities, secret isolation, and least-privilege policies.
  3. Design key backup, rotation, and recovery tests before production encryption cutover.
  4. Make seed scripts idempotent using validated keys and conditional updates/inserts.

Explanation

Correct Answer

A:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. For the described situation—A release job stores database administrator credentials in plaintext YAML for convenience—the targeted fix is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential. A successful test should show: Repository scans find no secret and deployment uses an authorized scoped identity.

Incorrect Answers

B:

Environment isolation reduces accidental exposure and lateral movement from lower-trust development systems. But that technique does not solve the stated problem—A release job stores database administrator credentials in plaintext YAML for convenience. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

C:

Encryption without managed key lifecycle can make data permanently inaccessible. But that technique does not solve the stated problem—A release job stores database administrator credentials in plaintext YAML for convenience. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

D:

Idempotency makes repeated migration runs safe under retries and partial failures. But that technique does not solve the stated problem—A release job stores database administrator credentials in plaintext YAML for convenience. The needed intervention is Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.

Question 324

A release job stores database administrator credentials in plaintext YAML for convenience. How should the team validate the selected design?

  1. Repository scans find no secret and deployment uses an authorized scoped identity.
  2. Access tests verify database admins cannot retrieve keys outside their assigned roles.
  3. Network and server-side observations show ciphertext while the authorized client can decrypt.
  4. Load tests show reduced latch waits and consistent insert correctness.

Explanation

Correct Answer

A:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. The observation “Repository scans find no secret and deployment uses an authorized scoped identity” directly confirms the chosen action worked for this situation: A release job stores database administrator credentials in plaintext YAML for convenience.

Incorrect Answers

B:

Key hierarchy and role separation prevent one compromised principal from controlling ciphertext and keys. This observation would not establish that the required result occurred for A release job stores database administrator credentials in plaintext YAML for convenience. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

C:

Always Encrypted keeps protected data encrypted from the SQL engine when client drivers manage keys. This observation would not establish that the required result occurred for A release job stores database administrator credentials in plaintext YAML for convenience. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

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 release job stores database administrator credentials in plaintext YAML for convenience. The confirming test is: Repository scans find no secret and deployment uses an authorized scoped identity.

Question 325

A compliance officer wants to know which login accessed a sensitive SQL table yesterday. What intervention should the responsible engineer choose?

  1. Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.
  2. Send audit events to a protected retention destination with scoped access and tamper controls.
  3. Configure SQL auditing with appropriate action groups and protected retention destinations.
  4. Use Query Store to compare plans and apply an appropriate vetted plan correction or hint.

Explanation

Correct Answer

C:

Auditing records database activity; Query Store is primarily a performance history facility. For the described situation—A compliance officer wants to know which login accessed a sensitive SQL table yesterday—the targeted fix is Configure SQL auditing with appropriate action groups and protected retention destinations. A successful test should show: Sample operations produce searchable audit events with principal and timestamp.

Incorrect Answers

A:

DDM is a display feature, not a complete security boundary against statistical inference. But that technique does not solve the stated problem—A compliance officer wants to know which login accessed a sensitive SQL table yesterday. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

B:

Audit credibility depends on destination protection and retention, not just enabling the event stream. But that technique does not solve the stated problem—A compliance officer wants to know which login accessed a sensitive SQL table yesterday. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

D:

Query Store keeps plan/runtime history and can help isolate parameter-sensitive plan regressions. But that technique does not solve the stated problem—A compliance officer wants to know which login accessed a sensitive SQL table yesterday. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

Question 326

A compliance officer wants to know which login accessed a sensitive SQL table yesterday. What observable outcome proves the recommendation worked?

  1. Sample operations produce searchable audit events with principal and timestamp.
  2. Attempts to spoof tenant context fail to reveal another organization's rows.
  3. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  4. Replaying the same event leaves one effective downstream change without data loss.

Explanation

Correct Answer

A:

Auditing records database activity; Query Store is primarily a performance history facility. The observation “Sample operations produce searchable audit events with principal and timestamp” directly confirms the chosen action worked for this situation: A compliance officer wants to know which login accessed a sensitive SQL table yesterday.

Incorrect Answers

B:

RLS depends on a trustworthy predicate and context; user-controlled context can undermine isolation. This observation would not establish that the required result occurred for A compliance officer wants to know which login accessed a sensitive SQL table yesterday. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

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 compliance officer wants to know which login accessed a sensitive SQL table yesterday. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

D:

Change triggers and at-least-once deliveries demand explicit deduplication and checkpointing. This observation would not establish that the required result occurred for A compliance officer wants to know which login accessed a sensitive SQL table yesterday. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

Question 327

Security investigators need a record of login failures and privileged data reads in Azure SQL. Which design choice BEST addresses the root issue?

  1. Use Managed Identity with Microsoft Entra authentication and least-privilege SQL principal permissions.
  2. Configure SQL auditing with appropriate action groups and protected retention destinations.
  3. Use Always Encrypted with properly protected client-side keys for supported confidential columns.
  4. Configure Data API builder with approved entities, connection policy, and REST endpoints.

Explanation

Correct Answer

B:

Auditing records database activity; Query Store is primarily a performance history facility. For the described situation—Security investigators need a record of login failures and privileged data reads in Azure SQL—the targeted fix is Configure SQL auditing with appropriate action groups and protected retention destinations. A successful test should show: Sample operations produce searchable audit events with principal and timestamp.

Incorrect Answers

A:

Managed identity enables token-based passwordless workload authentication, subject to identity and SQL grants. But that technique does not solve the stated problem—Security investigators need a record of login failures and privileged data reads in Azure SQL. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

C:

Always Encrypted keeps protected data encrypted from the SQL engine when client drivers manage keys. But that technique does not solve the stated problem—Security investigators need a record of login failures and privileged data reads in Azure SQL. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

D:

Data API builder maps SQL objects to HTTP endpoints according to its explicit configuration and policy. But that technique does not solve the stated problem—Security investigators need a record of login failures and privileged data reads in Azure SQL. The needed intervention is Configure SQL auditing with appropriate action groups and protected retention destinations.

Question 328

Security investigators need a record of login failures and privileged data reads in Azure SQL. Which result would provide the strongest acceptance evidence?

  1. Cross-tenant SELECT and DML tests cannot access another tenant's records even without application WHERE clauses.
  2. Credentials issued for test are rejected by production and vice versa.
  3. A sample update arrives downstream with correct ordering and latency within the service target.
  4. Sample operations produce searchable audit events with principal and timestamp.

Explanation

Correct Answer

D:

Auditing records database activity; Query Store is primarily a performance history facility. The observation “Sample operations produce searchable audit events with principal and timestamp” directly confirms the chosen action worked for this situation: Security investigators need a record of login failures and privileged data reads in Azure SQL.

Incorrect Answers

A:

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 Security investigators need a record of login failures and privileged data reads in Azure SQL. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

B:

Environment isolation reduces accidental exposure and lateral movement from lower-trust development systems. This observation would not establish that the required result occurred for Security investigators need a record of login failures and privileged data reads in Azure SQL. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

C:

CES can stream database changes to consumers; availability and supported scenarios vary by platform. This observation would not establish that the required result occurred for Security investigators need a record of login failures and privileged data reads in Azure SQL. The confirming test is: Sample operations produce searchable audit events with principal and timestamp.

Question 329

An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. What should the database team change FIRST for this workload?

  1. Send audit events to a protected retention destination with scoped access and tamper controls.
  2. Review ownership chaining, execution context and explicit grants before exposing database routines.
  3. Configure the supported pagination and filtering mechanisms with stable ordering.
  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—An AI retrieval endpoint must authenticate callers before allowing vector search on private documents—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 credibility depends on destination protection and retention, not just enabling the event stream. But that technique does not solve the stated problem—An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

B:

SQL permissions and ownership chains affect effective access; dynamic SQL may require separate authorization. But that technique does not solve the stated problem—An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

C:

API pagination and predicates reduce overfetching; unsupported query fields must be controlled. But that technique does not solve the stated problem—An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The needed intervention is Require verified identities, authorization on the endpoint and source objects, and least-privilege access.

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.

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