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 79

Question 780

A REST client needs filtering on a public product type but must never filter private margin columns. What should the SQL developer do FIRST to address the specific issue?

  1. Configure controlled pagination, sorting and maximum page size for the DAB entity.
  2. Map the database view as a DAB entity and restrict permitted operations.
  3. Create and validate a supported DAB JSON configuration with connection and entity definitions.
  4. Configure entity fields, authorization and supported filter behavior to expose only permitted fields.

Explanation

Correct Answer

D:

Configure entity fields, authorization and supported filter behavior to expose only permitted fields. This targets the primary issue because DAB entity projection and permissions determine the API data surface. Verification: A permitted category filter works but margin fields remain inaccessible. Prevent recurrence: Audit API surface after schema changes.

Incorrect Answers

A:

Unbounded result sets waste bandwidth and can overload SQL and API memory.

B:

Mapping a view can create a governed projection with narrower permissions than base tables.

C:

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

Question 781

An API imports several nested line items in one JSON request and must store them as normalized rows. Which acceptance check is MOST directly related to this scenario?

  1. A test payload creates the expected number of items with correct types.
  2. The execution plan uses the chosen path access strategy and returns matching products.
  3. A maintenance rehearsal successfully switches a partition with required constraints.
  4. Orphan inserts fail and approved delete scenarios behave as specified.

Explanation

Correct Answer

A:

A test payload creates the expected number of items with correct types. This is the decisive observable evidence after implementing use OPENJSON with a typed WITH schema and transactional parent-child inserts. It tests the underlying requirement: Parsing nested arrays into typed rows reduces fragile manual string extraction.

Incorrect Answers

B:

The execution plan uses the chosen path access strategy and returns matching products. However, that result would not establish the required outcome: a test payload creates the expected number of items with correct types.

C:

A maintenance rehearsal successfully switches a partition with required constraints. However, that result would not establish the required outcome: a test payload creates the expected number of items with correct types.

D:

Orphan inserts fail and approved delete scenarios behave as specified. However, that result would not establish the required outcome: a test payload creates the expected number of items with correct types.

Question 782

A maintenance database must analyze both equipment photos and accompanying text in one AI workflow. Which technical property or constraint MOST directly matters here?

  1. A larger model is not automatically the best fit for cost, speed or multilingual accuracy.
  2. Text-only models cannot directly interpret image content without a supporting vision pipeline.
  3. Mixed-language chunks can confuse similarity and citation mapping.
  4. A database model definition binds SQL AI operations to a specific external provider configuration.

Explanation

Correct Answer

B:

Text-only models cannot directly interpret image content without a supporting vision pipeline. This explains why the corrective action is to choose and test a multimodal-capable external model with documented input support. Confirm the diagnosis when a labeled photo-and-text set yields correct asset annotations.

Incorrect Answers

A:

A larger model is not automatically the best fit for cost, speed or multilingual accuracy. The actual technical constraint is that text-only models cannot directly interpret image content without a supporting vision pipeline.

C:

Mixed-language chunks can confuse similarity and citation mapping. The actual technical constraint is that text-only models cannot directly interpret image content without a supporting vision pipeline.

D:

A database model definition binds SQL AI operations to a specific external provider configuration. The actual technical constraint is that text-only models cannot directly interpret image content without a supporting vision pipeline.

Question 783

A finance report needs a running total of payments by account in posting order. Which preventive practice BEST addresses the underlying risk over time?

  1. Review partitions and tie order when requirements change.
  2. Avoid unbounded expensive patterns and check collation semantics.
  3. Use deterministic tie-breakers in the ORDER BY.
  4. Use XACT_STATE appropriately before commit or rollback.

Explanation

Correct Answer

C:

Use deterministic tie-breakers in the ORDER BY. This guards against recurrence because a window aggregate preserves individual rows while computing an ordered cumulative value. The direct remediation is: Use SUM(amount) OVER(PARTITION BY AccountId ORDER BY PostedAt ROWS UNBOUNDED PRECEDING).

Incorrect Answers

A:

Review partitions and tie order when requirements change. The current task instead requires this action: use deterministic tie-breakers in the ORDER BY.

B:

Avoid unbounded expensive patterns and check collation semantics. The current task instead requires this action: use deterministic tie-breakers in the ORDER BY.

D:

Use XACT_STATE appropriately before commit or rollback. The current task instead requires this action: use deterministic tie-breakers in the ORDER BY.

Question 784

A trigger recursively updates the same table, causing repeated changes and a timeout. Which technical action BEST resolves the primary problem?

  1. Move external notifications to a reliable asynchronous event workflow after durable commit.
  2. Use parameterized stored procedures with scoped execution rights.
  3. Use a stored procedure with an explicit transaction and appropriate TRY/CATCH rollback.
  4. Review recursion configuration and redesign the trigger to avoid uncontrolled self-updates.

Explanation

Correct Answer

D:

Review recursion configuration and redesign the trigger to avoid uncontrolled self-updates. This targets the primary issue because nested or recursive trigger behavior can cause cycles and unexpected work. Verification: A test UPDATE completes once with expected values and no recursion error. Prevent recurrence: Minimize trigger side effects and audit dependent trigger paths.

Incorrect Answers

A:

Synchronous trigger work participates in the calling transaction and can increase latency.

B:

Using parameterized stored procedures with scoped execution rights addresses a different database behavior; the relevant distinction is that review recursion configuration and redesign the trigger to avoid uncontrolled self-updates.

C:

Using a stored procedure with an explicit transaction and appropriate TRY/CATCH rollback addresses a different database behavior; the relevant distinction is that review recursion configuration and redesign the trigger to avoid uncontrolled self-updates.

Question 785

A multi-year sales fact table is always filtered by invoice month and management wants efficient archival. Which test result BEST demonstrates that the intended solution is working?

  1. Plans show elimination for a month-filtered report and totals remain correct.
  2. A maintenance rehearsal successfully switches a partition with required constraints.
  3. Orphan inserts fail and approved delete scenarios behave as specified.
  4. An insert omitting the field records an acceptable UTC creation time.

Explanation

Correct Answer

A:

Plans show elimination for a month-filtered report and totals remain correct. This is the decisive observable evidence after implementing evaluate range partitioning with boundary values aligned to retention and typical filters. It tests the underlying requirement: Partition elimination can reduce scanned partitions when predicates are sargable.

Incorrect Answers

B:

A maintenance rehearsal successfully switches a partition with required constraints. However, that result would not establish the required outcome: plans show elimination for a month-filtered report and totals remain correct.

C:

Orphan inserts fail and approved delete scenarios behave as specified. However, that result would not establish the required outcome: plans show elimination for a month-filtered report and totals remain correct.

D:

An insert omitting the field records an acceptable UTC creation time. However, that result would not establish the required outcome: plans show elimination for a month-filtered report and totals remain correct.

Question 786

A developer partitions an orders table by CreatedAt but filters primarily by CustomerId and observes no gain. Which technical principle BEST explains the relevant design decision?

  1. Metadata-based partition switching requires strict schema and partition alignment.
  2. Partitioning is most helpful when queries constrain the partition key.
  3. Memory-optimized OLTP can reduce contention but adds feature and durability constraints.
  4. Binary floating-point approximations cannot represent every decimal currency value exactly.

Explanation

Correct Answer

B:

Partitioning is most helpful when queries constrain the partition key. This explains why the corrective action is to benchmark partition elimination against actual predicates instead of assuming partitioning is an index replacement. Confirm the diagnosis when revised queries or indexing achieve the documented performance objective.

Incorrect Answers

A:

Metadata-based partition switching requires strict schema and partition alignment. The actual technical constraint is that partitioning is most helpful when queries constrain the partition key.

C:

Memory-optimized OLTP can reduce contention but adds feature and durability constraints. The actual technical constraint is that partitioning is most helpful when queries constrain the partition key.

D:

Binary floating-point approximations cannot represent every decimal currency value exactly. The actual technical constraint is that partitioning is most helpful when queries constrain the partition key.

Question 787

A product owner wants email fields masked only for report consumers but intact in the database. Following remediation, what safeguard BEST prevents a repeat of this specific failure?

  1. Audit schema role memberships after every release.
  2. Scope endpoint permissions and monitor request consumption.
  3. Verify exports and application caches do not persist unmasked values.
  4. Add rate limiting and request audit trails.

Explanation

Correct Answer

C:

Verify exports and application caches do not persist unmasked values. This guards against recurrence because dynamic masking is evaluated at query output rather than permanently altering storage. The direct remediation is: Configure a suitable masking function on the email column and scope UNMASK.

Incorrect Answers

A:

Audit schema role memberships after every release. The current task instead requires this action: verify exports and application caches do not persist unmasked values.

B:

Scope endpoint permissions and monitor request consumption. The current task instead requires this action: verify exports and application caches do not persist unmasked values.

D:

Add rate limiting and request audit trails. The current task instead requires this action: verify exports and application caches do not persist unmasked values.

Question 788

An audit design expects sequence values to be gapless after transaction rollback. Which technical action BEST resolves the primary problem?

  1. Review SEQUENCE data type, MAXVALUE and cycle policy before changing generation.
  2. Enforce an appropriate UNIQUE constraint on the business order key after cleaning duplicates.
  3. Select BIGINT after modeling value range, foreign keys and migration effects.
  4. Revise the design to tolerate gaps rather than using sequence numbers as legal receipt counters.

Explanation

Correct Answer

D:

Revise the design to tolerate gaps rather than using sequence numbers as legal receipt counters. This targets the primary issue because sequence numbers can be consumed even when transactions roll back or cache is lost. Verification: Rollback tests demonstrate permitted gaps without violating key uniqueness. Prevent recurrence: Use a dedicated serialized legal numbering process if gaplessness is mandatory.

Incorrect Answers

A:

Finite ranges exhaust and enabling CYCLE without safety checks may repeat identifiers.

B:

This action addresses a different case: An order system accepts duplicate order numbers and downstream reconciliation double-counts orders. For that case, a surrogate primary key alone does not protect a separate business identifier. For this case, it does not directly correct the observed problem; the distinguishing issue is sequence numbers can be consumed even when transactions roll back or cache is lost. The specifically relevant immediate technical action is: Revise the design to tolerate gaps rather than using sequence numbers as legal receipt counters.

C:

Selecting BIGINT after modeling value range, foreign keys and migration effects addresses a different database behavior; the relevant distinction is that revise the design to tolerate gaps rather than using sequence numbers as legal receipt counters.

Question 789

A schema migration changes a CHECK constraint but nobody tests invalid inserts. Which test result BEST demonstrates that the intended solution is working?

  1. Automated tests reject negative amounts and accept valid boundary values.
  2. Authorized and denied endpoint tests match the intended policy.
  3. The merged procedure passes both teams' regression tests.
  4. An incompatible size reduction is blocked in staging.

Explanation

Correct Answer

A:

Automated tests reject negative amounts and accept valid boundary values. This is the decisive observable evidence after implementing add SQL unit tests for accepted and rejected data cases before deployment. It tests the underlying requirement: Schema compilation alone does not prove business rules are correct.

Incorrect Answers

B:

Authorized and denied endpoint tests match the intended policy. However, that result would not establish the required outcome: automated tests reject negative amounts and accept valid boundary values.

C:

The merged procedure passes both teams' regression tests. However, that result would not establish the required outcome: automated tests reject negative amounts and accept valid boundary values.

D:

An incompatible size reduction is blocked in staging. However, that result would not establish the required outcome: automated tests reject negative amounts and accept valid boundary values.

Question 790

A product catalog stores optional nested specifications that vary by category but still needs relational constraints. Which technical principle BEST explains the relevant design decision?

  1. Parsing nested arrays into typed rows reduces fragile manual string extraction.
  2. JSON storage allows flexible attributes without abandoning structured identity and integrity.
  3. Application-layer validation alone can be bypassed by other writers.
  4. A default supplies a value on omission, not a guarantee against explicit bad values.

Explanation

Correct Answer

B:

JSON storage allows flexible attributes without abandoning structured identity and integrity. This explains why the corrective action is to store appropriate semi-structured attributes in a validated JSON column alongside relational keys. Confirm the diagnosis when sample records validate JSON paths while required keys remain enforced.

Incorrect Answers

A:

Parsing nested arrays into typed rows reduces fragile manual string extraction. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.

C:

Application-layer validation alone can be bypassed by other writers. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.

D:

A default supplies a value on omission, not a guarantee against explicit bad values. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.

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