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 35

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.

Question 341

A security team requires private SQL-to-application traffic on an Azure deployment. What intervention should the responsible engineer choose?

  1. Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.
  2. Constrain network access using supported private endpoints and firewall or network policy.
  3. Use environment-specific identities, secret isolation, and least-privilege policies.
  4. Apply query depth, pagination and allowed filter policies supported by the API layer.

Explanation

Correct Answer

B:

Network isolation limits reachability but complements rather than replaces SQL authentication and grants. For the described situation—A security team requires private SQL-to-application traffic on an Azure deployment—the targeted fix is Constrain network access using supported private endpoints and firewall or network policy. A successful test should show: Connection tests succeed on approved private paths and fail from unapproved public origins.

Incorrect Answers

A:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. But that technique does not solve the stated problem—A security team requires private SQL-to-application traffic on an Azure deployment. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

C:

Environment isolation reduces accidental exposure and lateral movement from lower-trust development systems. But that technique does not solve the stated problem—A security team requires private SQL-to-application traffic on an Azure deployment. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

D:

GraphQL and REST query surfaces require limits to prevent accidental overfetch and resource exhaustion. But that technique does not solve the stated problem—A security team requires private SQL-to-application traffic on an Azure deployment. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

Question 342

A security team requires private SQL-to-application traffic on an Azure deployment. What observable outcome proves the recommendation worked?

  1. Connection tests succeed on approved private paths and fail from unapproved public origins.
  2. Credentials issued for test are rejected by production and vice versa.
  3. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  4. All environments have expected lookup codes without erasing legitimate transactional rows.

Explanation

Correct Answer

A:

Network isolation limits reachability but complements rather than replaces SQL authentication and grants. The observation “Connection tests succeed on approved private paths and fail from unapproved public origins” directly confirms the chosen action worked for this situation: A security team requires private SQL-to-application traffic on an Azure deployment.

Incorrect Answers

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 A security team requires private SQL-to-application traffic on an Azure deployment. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

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 security team requires private SQL-to-application traffic on an Azure deployment. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

D:

Reference data needs governed source control and safe migration semantics, not ad hoc admin inserts. This observation would not establish that the required result occurred for A security team requires private SQL-to-application traffic on an Azure deployment. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

Question 343

A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. Which design choice BEST addresses the root issue?

  1. Require verified identities, authorization on the endpoint and source objects, and least-privilege access.
  2. Move secrets to a managed vault or protected pipeline identity and rotate any exposed credential.
  3. Constrain network access using supported private endpoints and firewall or network policy.
  4. Use an approved SqlPackage/DACPAC publishing workflow with preview and permissions.

Explanation

Correct Answer

C:

Network isolation limits reachability but complements rather than replaces SQL authentication and grants. For the described situation—A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy—the targeted fix is Constrain network access using supported private endpoints and firewall or network policy. A successful test should show: Connection tests succeed on approved private paths and fail from unapproved public origins.

Incorrect Answers

A:

TLS encrypts transport but does not establish user authorization or row-level entitlements. But that technique does not solve the stated problem—A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

B:

Source control is not a secure secret store; leaked SQL credentials require revocation and rotation. But that technique does not solve the stated problem—A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

D:

DACPAC deployment synchronizes model schema under controlled configuration, not arbitrary unreviewed scripts. But that technique does not solve the stated problem—A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The needed intervention is Constrain network access using supported private endpoints and firewall or network policy.

Question 344

A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. Which result would provide the strongest acceptance evidence?

  1. Sample operations produce searchable audit events with principal and timestamp.
  2. Connection tests succeed on approved private paths and fail from unapproved public origins.
  3. Credentials issued for test are rejected by production and vice versa.
  4. A headless CI build validates the project and emits the expected deployable DACPAC.

Explanation

Correct Answer

B:

Network isolation limits reachability but complements rather than replaces SQL authentication and grants. The observation “Connection tests succeed on approved private paths and fail from unapproved public origins” directly confirms the chosen action worked for this situation: A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy.

Incorrect Answers

A:

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 database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

C:

Environment isolation reduces accidental exposure and lateral movement from lower-trust development systems. This observation would not establish that the required result occurred for A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

D:

SDK-style SQL projects support standardized build workflows and target-platform validation. This observation would not establish that the required result occurred for A SQL database accepts public inbound network access from arbitrary addresses despite corporate isolation policy. The confirming test is: Connection tests succeed on approved private paths and fail from unapproved public origins.

Question 345

An employee can infer masked salary values by querying aggregates on the same table. What should the database team change FIRST for this workload?

  1. Use Managed Identity with Microsoft Entra authentication and least-privilege SQL principal permissions.
  2. Bind tenant context to authenticated identity with trusted server-side validation.
  3. Add protected environment gates, release approvals, and required code owners.
  4. Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

Explanation

Correct Answer

D:

DDM is a display feature, not a complete security boundary against statistical inference. For the described situation—An employee can infer masked salary values by querying aggregates on the same table—the targeted fix is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone. A successful test should show: Inference attempts no longer expose sensitive results to unauthorized principals.

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—An employee can infer masked salary values by querying aggregates on the same table. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

B:

RLS depends on a trustworthy predicate and context; user-controlled context can undermine isolation. But that technique does not solve the stated problem—An employee can infer masked salary values by querying aggregates on the same table. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

C:

Deployment automation should preserve segregation of duties for high-impact database changes. But that technique does not solve the stated problem—An employee can infer masked salary values by querying aggregates on the same table. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

Question 346

An employee can infer masked salary values by querying aggregates on the same table. Which acceptance check should accompany the remediation?

  1. Red-team test payloads do not reveal internal secrets or disallowed columns.
  2. Inference attempts no longer expose sensitive results to unauthorized principals.
  3. Only authorized auditors can view or alter audit records and retention meets policy.
  4. Old and new app versions work during transition and rollback remains viable.

Explanation

Correct Answer

B:

DDM is a display feature, not a complete security boundary against statistical inference. The observation “Inference attempts no longer expose sensitive results to unauthorized principals” directly confirms the chosen action worked for this situation: An employee can infer masked salary values by querying aggregates on the same table.

Incorrect Answers

A:

Securing GraphQL and REST requires response-field minimization in addition to connection authentication. This observation would not establish that the required result occurred for An employee can infer masked salary values by querying aggregates on the same table. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

C:

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 An employee can infer masked salary values by querying aggregates on the same table. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

D:

Backward-compatible phased changes are safer than immediately destructive schema edits. This observation would not establish that the required result occurred for An employee can infer masked salary values by querying aggregates on the same table. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

Question 347

A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. Which implementation most directly satisfies the stated requirement?

  1. Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.
  2. Require verified identities, authorization on the endpoint and source objects, and least-privilege access.
  3. Scope and optimize audit policies rather than remove mandatory security events.
  4. Choose Change Tracking for lightweight row-change identification where changed values are not required.

Explanation

Correct Answer

A:

DDM is a display feature, not a complete security boundary against statistical inference. For the described situation—A DDM design is being treated as sufficient protection for a highly sensitive salary dataset—the targeted fix is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone. A successful test should show: Inference attempts no longer expose sensitive results to unauthorized principals.

Incorrect Answers

B:

TLS encrypts transport but does not establish user authorization or row-level entitlements. But that technique does not solve the stated problem—A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

C:

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 DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

D:

Change Tracking identifies changed rows and operations, unlike CDC which stores richer change-row history. But that technique does not solve the stated problem—A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The needed intervention is Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.

Question 348

A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. What measurement or test best demonstrates that the requirement is satisfied?

  1. Sample operations produce searchable audit events with principal and timestamp.
  2. Required action records remain captured while measured overhead stays within limits.
  3. Inference attempts no longer expose sensitive results to unauthorized principals.
  4. The pipeline rejects a logically incorrect procedure despite a successful schema build.

Explanation

Correct Answer

C:

DDM is a display feature, not a complete security boundary against statistical inference. The observation “Inference attempts no longer expose sensitive results to unauthorized principals” directly confirms the chosen action worked for this situation: A DDM design is being treated as sufficient protection for a highly sensitive salary dataset.

Incorrect Answers

A:

Auditing records database activity; Query Store is primarily a performance history facility. This observation would not establish that the required result occurred for A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

B:

Audit settings should match risk and regulatory controls; performance tuning cannot silently discard mandated evidence. This observation would not establish that the required result occurred for A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

D:

Build validation checks syntax/schema dependencies; tests verify behavior and interactions. This observation would not establish that the required result occurred for A DDM design is being treated as sufficient protection for a highly sensitive salary dataset. The confirming test is: Inference attempts no longer expose sensitive results to unauthorized principals.

Question 349

A SQL application's service principal has broad rights on every schema though it only reads invoices. What is the most defensible next technical action?

  1. Create a dedicated minimal database role with only required schema and object grants.
  2. Review ownership chaining, execution context and explicit grants before exposing database routines.
  3. Use stronger access isolation, RLS and encryption as needed rather than relying on Dynamic Data Masking alone.
  4. Use Azure Logic Apps with an approved SQL/change connector and scoped authentication.

Explanation

Correct Answer

A:

Least privilege limits damage from compromised application identities and unintended queries. For the described situation—A SQL application's service principal has broad rights on every schema though it only reads invoices—the targeted fix is Create a dedicated minimal database role with only required schema and object grants. A successful test should show: Permission audits show the app can perform intended reads but cannot change unrelated tables.

Incorrect Answers

B:

SQL permissions and ownership chains affect effective access; dynamic SQL may require separate authorization. But that technique does not solve the stated problem—A SQL application's service principal has broad rights on every schema though it only reads invoices. The needed intervention is Create a dedicated minimal database role with only required schema and object grants.

C:

DDM is a display feature, not a complete security boundary against statistical inference. But that technique does not solve the stated problem—A SQL application's service principal has broad rights on every schema though it only reads invoices. The needed intervention is Create a dedicated minimal database role with only required schema and object grants.

D:

Logic Apps orchestrate external actions; the SQL change signal and connector privileges must be governed. But that technique does not solve the stated problem—A SQL application's service principal has broad rights on every schema though it only reads invoices. The needed intervention is Create a dedicated minimal database role with only required schema and object grants.

Question 350

A SQL application's service principal has broad rights on every schema though it only reads invoices. Which result distinguishes a successful implementation from a cosmetic change?

  1. Permission audits show the app can perform intended reads but cannot change unrelated tables.
  2. Cross-tenant SELECT and DML tests cannot access another tenant's records even without application WHERE clauses.
  3. Model calls succeed using scoped identity and no raw key appears in SQL source or logs.
  4. The build flags unsupported features rather than failing during production deployment.

Explanation

Correct Answer

A:

Least privilege limits damage from compromised application identities and unintended queries. The observation “Permission audits show the app can perform intended reads but cannot change unrelated tables” directly confirms the chosen action worked for this situation: A SQL application's service principal has broad rights on every schema though it only reads invoices.

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 A SQL application's service principal has broad rights on every schema though it only reads invoices. The confirming test is: Permission audits show the app can perform intended reads but cannot change unrelated tables.

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 application's service principal has broad rights on every schema though it only reads invoices. The confirming test is: Permission audits show the app can perform intended reads but cannot change unrelated tables.

D:

Target platform models determine which schema features are valid in the destination SQL version. This observation would not establish that the required result occurred for A SQL application's service principal has broad rights on every schema though it only reads invoices. The confirming test is: Permission audits show the app can perform intended reads but cannot change unrelated tables.

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