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 95

Question 940

A GraphQL endpoint permits nested queries that return customer records from unauthorized tenants. Which implementation decision BEST addresses this requirement?

  1. Configure authentication and per-entity role/operation permissions rather than public wildcard actions.
  2. Require encrypted transport and a verified principal alongside network access restrictions.
  3. Grant SELECT on the approved view and validate ownership-chain and execution context behavior.
  4. Enforce tenant-aware authorization, bounded query complexity and back-end SQL row security.

Explanation

Correct Answer

D:

Enforce tenant-aware authorization, bounded query complexity and back-end SQL row security. This targets the primary issue because graphQL relationship traversal can increase data exposure if access is too broad. Verification: Cross-tenant nested queries return no unauthorized records in negative tests. Prevent recurrence: Rate-limit expensive query shapes and monitor access logs.

Incorrect Answers

A:

API generation does not automatically imply that exposed data is appropriately authorized.

B:

Network allowlisting does not establish user identity or object authorization.

C:

Exposing a constrained view can limit data surface without broad base-table rights.

Question 941

A GraphQL query must return a customer's orders and related items without manual N+1 calls. Which measurable outcome BEST verifies that the requirement is satisfied?

  1. The customer fixture returns exactly its own order items.
  2. An authorized request runs the report and rejects unauthorized procedure calls.
  3. Load tests enforce limits and approved users retain service.
  4. Canary tests validate the new route and old clients have an agreed migration path.

Explanation

Correct Answer

A:

The customer fixture returns exactly its own order items. This is the decisive observable evidence after implementing configure DAB entity relationships with matching source/target keys. It tests the underlying requirement: Correct GraphQL relationship metadata enables nested retrieval of related records.

Incorrect Answers

B:

An authorized request runs the report and rejects unauthorized procedure calls. However, that result would not establish the required outcome: the customer fixture returns exactly its own order items.

C:

Load tests enforce limits and approved users retain service. However, that result would not establish the required outcome: the customer fixture returns exactly its own order items.

D:

Canary tests validate the new route and old clients have an agreed migration path. However, that result would not establish the required outcome: the customer fixture returns exactly its own order items.

Question 942

A model-serving endpoint is reachable publicly with no strong caller authentication. Which technical reason BEST explains the proposed correction?

  1. Identity permission at one Azure service does not imply access to adjacent resources.
  2. An open endpoint may expose inputs, outputs or costly compute to unauthorized callers.
  3. Azure identity authentication and database authorization are distinct checks.
  4. Authorized query transformations and inference can expose sensitive values despite masking.

Explanation

Correct Answer

B:

An open endpoint may expose inputs, outputs or costly compute to unauthorized callers. This explains why the corrective action is to require approved identity authentication and network controls for the inference endpoint. Confirm the diagnosis when anonymous calls fail while authorized SQL workloads succeed.

Incorrect Answers

A:

Identity permission at one Azure service does not imply access to adjacent resources. The actual technical constraint is that an open endpoint may expose inputs, outputs or costly compute to unauthorized callers.

C:

Azure identity authentication and database authorization are distinct checks. The actual technical constraint is that an open endpoint may expose inputs, outputs or costly compute to unauthorized callers.

D:

Authorized query transformations and inference can expose sensitive values despite masking. The actual technical constraint is that an open endpoint may expose inputs, outputs or costly compute to unauthorized callers.

Question 943

A developer publishes a production DACPAC using staging variables and connects to the wrong database. What maintenance or governance control BEST reduces recurrence of this problem?

  1. Run deployment reports and a verified rollback strategy.
  2. Enforce secret masking and log retention policy.
  3. Require environment approvals and target validation.
  4. Maintain a per-platform compatibility matrix.

Explanation

Correct Answer

C:

Require environment approvals and target validation. This guards against recurrence because mis-targeted deployments can damage production regardless of SQL correctness. The direct remediation is: Bind deployment environment, endpoint and credentials to explicit approved pipeline controls.

Incorrect Answers

A:

Run deployment reports and a verified rollback strategy. The current task instead requires this action: require environment approvals and target validation.

B:

Enforce secret masking and log retention policy. The current task instead requires this action: require environment approvals and target validation.

D:

Maintaining a per-platform compatibility matrix addresses a different database behavior; the relevant distinction is that require environment approvals and target validation.

Question 944

New shipments lack a creation timestamp whenever one integration omits the field. Which implementation decision BEST addresses this requirement?

  1. Define and test a FOREIGN KEY and explicitly select appropriate delete behavior.
  2. Evaluate memory-optimized tables where the specific SQL engine and workload support them.
  3. Assess external tables and supported connector or virtualization capabilities for the deployed engine.
  4. Configure a suitable DEFAULT constraint with a UTC expression when required by the schema.

Explanation

Correct Answer

D:

Configure a suitable DEFAULT constraint with a UTC expression when required by the schema. This targets the primary issue because a default supplies a value on omission, not a guarantee against explicit bad values. Verification: An insert omitting the field records an acceptable UTC creation time. Prevent recurrence: Separate creation time from event time and validate clock policy.

Incorrect Answers

A:

Referential integrity prevents orphan children unless cascade or other actions are deliberately configured.

B:

Memory-optimized OLTP can reduce contention but adds feature and durability constraints.

C:

External tables abstract remote data but do not automatically remove network or predicate-pushdown costs.

Question 945

A model sometimes produces markdown instead of the requested JSON object for an automated workflow. Which acceptance check is MOST directly related to this scenario?

  1. Malformed output is quarantined and valid output produces typed records.
  2. A test mismatch is detected and the fabricated amount is withheld.
  3. A cross-client negative test yields no unauthorized quoted text.
  4. The computed amount matches audited ledger SQL exactly.

Explanation

Correct Answer

A:

Malformed output is quarantined and valid output produces typed records. This is the decisive observable evidence after implementing validate structured model output against a strict schema and reject invalid responses. It tests the underlying requirement: Generated output is not guaranteed to follow instructions unless independently checked.

Incorrect Answers

B:

A test mismatch is detected and the fabricated amount is withheld. However, that result would not establish the required outcome: malformed output is quarantined and valid output produces typed records.

C:

A cross-client negative test yields no unauthorized quoted text. However, that result would not establish the required outcome: malformed output is quarantined and valid output produces typed records.

D:

The computed amount matches audited ledger SQL exactly. However, that result would not establish the required outcome: malformed output is quarantined and valid output produces typed records.

Question 946

A teammate ships malformed DAB JSON with a misspelled source object name. Which technical property or constraint MOST directly matters here?

  1. Configuration must resolve the correct database per environment without leaking secrets.
  2. Syntactic JSON validity alone does not prove a mapped SQL object exists.
  3. GraphQL can request related fields through a typed schema rather than repeated round trips.
  4. Publishing the API does not grant the host network or SQL access automatically.

Explanation

Correct Answer

B:

Syntactic JSON validity alone does not prove a mapped SQL object exists. This explains why the corrective action is to run dab validate and a connection smoke test before publishing. Confirm the diagnosis when a staging start resolves each declared source without runtime errors.

Incorrect Answers

A:

Configuration must resolve the correct database per environment without leaking secrets. The actual technical constraint is that syntactic JSON validity alone does not prove a mapped SQL object exists.

C:

GraphQL can request related fields through a typed schema rather than repeated round trips. The actual technical constraint is that syntactic JSON validity alone does not prove a mapped SQL object exists.

D:

Publishing the API does not grant the host network or SQL access automatically. The actual technical constraint is that syntactic JSON validity alone does not prove a mapped SQL object exists.

Question 947

A team adds two retrieval methods but simply concatenates results and duplicates many documents. Which preventive practice BEST addresses the underlying risk over time?

  1. Tune weighting using labeled relevance judgments.
  2. Validate runtime-specific function availability.
  3. Record contribution of each retrieval branch for diagnostics.
  4. Raise the ANN search limit but keep concatenating duplicate full-text and vector results.

Explanation

Correct Answer

C:

Record contribution of each retrieval branch for diagnostics. This guards against recurrence because independent retrieval branches can produce overlapping hits and uncalibrated scores. The direct remediation is: Deduplicate candidates by stable source ID and apply a documented fusion strategy.

Incorrect Answers

A:

Tune weighting using labeled relevance judgments. The current task instead requires this action: record contribution of each retrieval branch for diagnostics.

B:

Validating runtime-specific function availability addresses a different database behavior; the relevant distinction is that record contribution of each retrieval branch for diagnostics.

D:

Returning more approximate candidates cannot remove duplicate document IDs or calibrate the ranks from two retrieval branches. Merging and source-aware deduplication are needed.

Question 948

An employee should be prevented from inserting a row assigned to a different department. What should the SQL developer do FIRST to address the specific issue?

  1. Derive tenant identity from verified authentication and tightly controlled session setup.
  2. Grant EXECUTE on the approved procedure and remove broad database roles.
  3. Grant narrowly scoped schema/DDL permissions to its nonproduction identity.
  4. Add an RLS block predicate in addition to any required filter predicate.

Explanation

Correct Answer

D:

Add an RLS block predicate in addition to any required filter predicate. This targets the primary issue because read filtering alone does not necessarily stop unauthorized DML that changes row ownership. Verification: A mismatched department INSERT or UPDATE fails under the test role. Prevent recurrence: Test every write operation and auditing requirements.

Incorrect Answers

A:

This action addresses a different case: An RLS policy uses SESSION_CONTEXT set directly from untrusted request text. For that case, session context is only safe as an authorization input when callers cannot impersonate other tenants. For this case, it does not directly correct the observed problem; the distinguishing issue is read filtering alone does not necessarily stop unauthorized DML that changes row ownership. The specifically relevant immediate technical action is: Add an RLS block predicate in addition to any required filter predicate.

B:

Least-privilege object permissions reduce exposed DDL and direct data paths.

C:

Database roles and schema grants can bound an automation's change surface.

Question 949

A DBA enables RLS but bulk export uses a high privilege or bypass identity. Which acceptance check is MOST directly related to this scenario?

  1. An export returns only rows permitted to its assigned role.
  2. A spoofed request cannot change access to another tenant's rows.
  3. The identity creates an approved test object but cannot alter production schemas.
  4. A test UPDATE appears in protected audit storage with correct identity.

Explanation

Correct Answer

A:

An export returns only rows permitted to its assigned role. This is the decisive observable evidence after implementing verify RLS behavior under every service principal and prohibit unnecessary bypass roles. It tests the underlying requirement: Security enforcement must be tested with the exact executing principal.

Incorrect Answers

B:

A spoofed request cannot change access to another tenant's rows. However, that result would not establish the required outcome: an export returns only rows permitted to its assigned role.

C:

The identity creates an approved test object but cannot alter production schemas. However, that result would not establish the required outcome: an export returns only rows permitted to its assigned role.

D:

A test UPDATE appears in protected audit storage with correct identity. However, that result would not establish the required outcome: an export returns only rows permitted to its assigned role.

Question 950

A model endpoint returns a JSON envelope but the application saves the entire envelope as the business answer. Which technical property or constraint MOST directly matters here?

  1. Generated output is not guaranteed to follow instructions unless independently checked.
  2. HTTP response metadata and generated text are different parts of the payload.
  3. Rate limiting is often transient and should not erase durable database work.
  4. Arbitrary external REST calls risk server-side request forgery and data exfiltration.

Explanation

Correct Answer

B:

HTTP response metadata and generated text are different parts of the payload. This explains why the corrective action is to parse the supported response schema and extract the correct generated content field. Confirm the diagnosis when a fixture response yields the expected text without transport headers.

Incorrect Answers

A:

Generated output is not guaranteed to follow instructions unless independently checked. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

C:

Rate limiting is often transient and should not erase durable database work. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

D:

Arbitrary external REST calls risk server-side request forgery and data exfiltration. The actual technical constraint is that HTTP response metadata and generated text are different parts of the payload.

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