Microsoft DP-800 Practice Test 30
Question 290
A database engineer at Pinecrest Operations is investigating this case: An untrusted schema description includes instructions to expose records. The relevant finding is: AI assistant may treat database metadata as instructions. What operational condition would provide the earliest useful regression warning?
- Monitor suspicious tool requests and boundary violations
- Monitor prompt leakage warnings and policy violations
- Monitor MCP tool invocation and unusual privileges
- Monitor anomalous query plans and regressions
Explanation
Correct Answer
A:
AI assistant may treat database metadata as instructions. Monitor suspicious tool requests and boundary violations. Untrusted database comments should remain data, not new instructions to the assistant. Log the tool call and enforce permission limits outside the model.
Incorrect Answers
B:
“Monitor prompt leakage warnings and policy violations” concerns Unreviewed prompts could expose credentials; the reported problem instead is AI assistant may treat database metadata as instructions. Monitor suspicious tool requests and boundary violations. Untrusted database comments should remain data, not new instructions to the assistant. Log the tool call and enforce permission limits outside the model.
C:
“Monitor MCP tool invocation and unusual privileges” concerns A broad server permission grants unnecessary write access; the reported problem instead is AI assistant may treat database metadata as instructions. Monitor suspicious tool requests and boundary violations. Untrusted database comments should remain data, not new instructions to the assistant. Log the tool call and enforce permission limits outside the model.
D:
“Monitor anomalous query plans and regressions” concerns Generated SQL may produce accidental many-to-many amplification; the reported problem instead is AI assistant may treat database metadata as instructions. Monitor suspicious tool requests and boundary violations. Untrusted database comments should remain data, not new instructions to the assistant. Log the tool call and enforce permission limits outside the model.
Question 291
Marigold Banking is responsible for an Azure SQL or Microsoft SQL workload. A Fabric project assistant needs lakehouse metadata for SQL generation. Operational evidence: Broad access would expose unrelated workspace files. What initial check best narrows the technical cause without altering business data?
- Inspect endpoint URL, transport and authentication configuration
- Audit endpoint authentication, identity scopes and exposed tools
- Inspect lakehouse endpoint scopes and tool configuration
- Inspect provenance of retrieved comments and tool-call logs
Explanation
Correct Answer
C:
Broad access would expose unrelated workspace files. Inspect lakehouse endpoint scopes and tool configuration. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Incorrect Answers
A:
“Inspect endpoint URL, transport and authentication configuration” concerns Client config points to an outdated URL and unsupported auth; the reported problem instead is Broad access would expose unrelated workspace files. Inspect lakehouse endpoint scopes and tool configuration. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
B:
“Audit endpoint authentication, identity scopes and exposed tools” concerns A broad server permission grants unnecessary write access; the reported problem instead is Broad access would expose unrelated workspace files. Inspect lakehouse endpoint scopes and tool configuration. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
D:
“Inspect provenance of retrieved comments and tool-call logs” concerns AI assistant may treat database metadata as instructions; the reported problem instead is Broad access would expose unrelated workspace files. Inspect lakehouse endpoint scopes and tool configuration. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Question 292
At Riverbend Retail, a Fabric project assistant needs lakehouse metadata for SQL generation. The observed constraint is: Broad access would expose unrelated workspace files. Which proposed change is the most suitable response to the observed constraint?
- Grant least-privilege workspace access and follow Copilot tenant policy
- Configure an approved metadata-only MCP tool with least privilege
- Use least-privileged MCP permissions and explicit allowlisted capabilities
- Configure correct vetted MCP endpoint and credential flow
Explanation
Correct Answer
B:
Broad access would expose unrelated workspace files. Configure an approved metadata-only MCP tool with least privilege. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Incorrect Answers
A:
“Grant least-privilege workspace access and follow Copilot tenant policy” concerns Prompt context must not broaden Fabric workspace access; the reported problem instead is Broad access would expose unrelated workspace files. Configure an approved metadata-only MCP tool with least privilege. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
C:
“Use least-privileged MCP permissions and explicit allowlisted capabilities” concerns A broad server permission grants unnecessary write access; the reported problem instead is Broad access would expose unrelated workspace files. Configure an approved metadata-only MCP tool with least privilege. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
D:
“Configure correct vetted MCP endpoint and credential flow” concerns Client config points to an outdated URL and unsupported auth; the reported problem instead is Broad access would expose unrelated workspace files. Configure an approved metadata-only MCP tool with least privilege. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Question 293
A database engineer at Prairie Logistics is investigating this case: A Fabric project assistant needs lakehouse metadata for SQL generation. The relevant finding is: Broad access would expose unrelated workspace files. What isolated pilot would provide the strongest evidence before rollout?
- Request schema list using an isolated low-privileged identity
- Request sample code from tool against a disposable repository branch
- Test with read-only sample data under allowed and denied roles
- Connect through isolated test tenant using minimal permissions
Explanation
Correct Answer
A:
Broad access would expose unrelated workspace files. Request schema list using an isolated low-privileged identity. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Incorrect Answers
B:
“Request sample code from tool against a disposable repository branch” concerns Assistant creates inconsistent column and object names; the reported problem instead is Broad access would expose unrelated workspace files. Request schema list using an isolated low-privileged identity. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
C:
“Test with read-only sample data under allowed and denied roles” concerns Prompt context must not broaden Fabric workspace access; the reported problem instead is Broad access would expose unrelated workspace files. Request schema list using an isolated low-privileged identity. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
D:
“Connect through isolated test tenant using minimal permissions” concerns Client config points to an outdated URL and unsupported auth; the reported problem instead is Broad access would expose unrelated workspace files. Request schema list using an isolated low-privileged identity. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Question 294
Silverpine Labs is responsible for an Azure SQL or Microsoft SQL workload. A Fabric project assistant needs lakehouse metadata for SQL generation. Operational evidence: Broad access would expose unrelated workspace files. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Assistant accesses only authorized objects
- Expected reads work while prohibited mutations are denied
- Assistant workflow avoids real secret disclosure
- Only intended lakehouse metadata is returned
Explanation
Correct Answer
D:
Broad access would expose unrelated workspace files. Only intended lakehouse metadata is returned. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Incorrect Answers
A:
“Assistant accesses only authorized objects” concerns Prompt context must not broaden Fabric workspace access; the reported problem instead is Broad access would expose unrelated workspace files. Only intended lakehouse metadata is returned. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
B:
“Expected reads work while prohibited mutations are denied” concerns A broad server permission grants unnecessary write access; the reported problem instead is Broad access would expose unrelated workspace files. Only intended lakehouse metadata is returned. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
C:
“Assistant workflow avoids real secret disclosure” concerns Unreviewed prompts could expose credentials; the reported problem instead is Broad access would expose unrelated workspace files. Only intended lakehouse metadata is returned. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Question 295
At Briarfield Foods, a Fabric project assistant needs lakehouse metadata for SQL generation. The observed constraint is: Broad access would expose unrelated workspace files. What operational condition would provide the earliest useful regression warning?
- Monitor cross-workspace access attempts
- Monitor prompt leakage warnings and policy violations
- Monitor MCP tool invocation and unusual privileges
- Monitor audit events and permission drift
Explanation
Correct Answer
A:
Broad access would expose unrelated workspace files. Monitor cross-workspace access attempts. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Incorrect Answers
B:
“Monitor prompt leakage warnings and policy violations” concerns Unreviewed prompts could expose credentials; the reported problem instead is Broad access would expose unrelated workspace files. Monitor cross-workspace access attempts. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
C:
“Monitor MCP tool invocation and unusual privileges” concerns A broad server permission grants unnecessary write access; the reported problem instead is Broad access would expose unrelated workspace files. Monitor cross-workspace access attempts. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
D:
“Monitor audit events and permission drift” concerns Prompt context must not broaden Fabric workspace access; the reported problem instead is Broad access would expose unrelated workspace files. Monitor cross-workspace access attempts. Metadata-only inspection requires narrower privileges than arbitrary workspace file access. An allowlisted tool can expose object schemas without expanding data access.
Question 296
A database engineer at Northstar Analytics is investigating this case: A message contains an embedded reference token with surrounding prose. The relevant finding is: A fixed substring offset fails as prose length changes. What initial check best narrows the technical cause without altering business data?
- Identify allowed format and DB engine regex feature availability
- Inspect nullability and exclusion matching keys
- Inspect token format and supported regex extraction functions
- Inspect stable sorting key and pagination expectations
Explanation
Correct Answer
C:
A fixed substring offset fails as prose length changes. Inspect token format and supported regex extraction functions. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
A:
“Identify allowed format and DB engine regex feature availability” concerns Basic LIKE pattern cannot express all constraints; the reported problem instead is A fixed substring offset fails as prose length changes. Inspect token format and supported regex extraction functions. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
B:
“Inspect nullability and exclusion matching keys” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is A fixed substring offset fails as prose length changes. Inspect token format and supported regex extraction functions. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Inspect stable sorting key and pagination expectations” concerns Offset-only pages skip or repeat records under changes; the reported problem instead is A fixed substring offset fails as prose length changes. Inspect token format and supported regex extraction functions. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Question 297
Maple Harbor Research is responsible for an Azure SQL or Microsoft SQL workload. A message contains an embedded reference token with surrounding prose. Operational evidence: A fixed substring offset fails as prose length changes. Which proposed change is the most suitable response to the observed constraint?
- Use JSON_OBJECT for supported structured scalar output
- Use REGEXP_REPLACE with reviewed expression where supported
- Use REGEXP_SUBSTR with an explicitly bounded pattern where supported
- Use REGEXP_LIKE with anchored pattern where available
Explanation
Correct Answer
C:
A fixed substring offset fails as prose length changes. Use REGEXP_SUBSTR with an explicitly bounded pattern where supported. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
A:
“Use JSON_OBJECT for supported structured scalar output” concerns Application currently concatenates JSON strings manually; the reported problem instead is A fixed substring offset fails as prose length changes. Use REGEXP_SUBSTR with an explicitly bounded pattern where supported. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
B:
“Use REGEXP_REPLACE with reviewed expression where supported” concerns Need a controlled transformation without naive substring edits; the reported problem instead is A fixed substring offset fails as prose length changes. Use REGEXP_SUBSTR with an explicitly bounded pattern where supported. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Use REGEXP_LIKE with anchored pattern where available” concerns Basic LIKE pattern cannot express all constraints; the reported problem instead is A fixed substring offset fails as prose length changes. Use REGEXP_SUBSTR with an explicitly bounded pattern where supported. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Question 298
At Juniper Commerce, a message contains an embedded reference token with surrounding prose. The observed constraint is: A fixed substring offset fails as prose length changes. What isolated pilot would provide the strongest evidence before rollout?
- Apply to messages with token at several locations
- Insert sample null complaint keys and known complaints
- Page through sample data while inserting new records
- Run anonymized test examples through replacement
Explanation
Correct Answer
A:
A fixed substring offset fails as prose length changes. Apply to messages with token at several locations. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
B:
“Insert sample null complaint keys and known complaints” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is A fixed substring offset fails as prose length changes. Apply to messages with token at several locations. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
C:
“Page through sample data while inserting new records” concerns Offset-only pages skip or repeat records under changes; the reported problem instead is A fixed substring offset fails as prose length changes. Apply to messages with token at several locations. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Run anonymized test examples through replacement” concerns Need a controlled transformation without naive substring edits; the reported problem instead is A fixed substring offset fails as prose length changes. Apply to messages with token at several locations. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Question 299
A database engineer at Summit Logistics is investigating this case: A message contains an embedded reference token with surrounding prose. The relevant finding is: A fixed substring offset fails as prose length changes. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Only exact intended array membership matches
- Only targeted patterns are transformed without corrupting unrelated text
- Only intended token text is extracted and absent token handled
- Region extraction returns expected scalar or handled null/error
Explanation
Correct Answer
C:
A fixed substring offset fails as prose length changes. Only intended token text is extracted and absent token handled. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
A:
“Only exact intended array membership matches” concerns Text LIKE falsely matches substrings; the reported problem instead is A fixed substring offset fails as prose length changes. Only intended token text is extracted and absent token handled. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
B:
“Only targeted patterns are transformed without corrupting unrelated text” concerns Need a controlled transformation without naive substring edits; the reported problem instead is A fixed substring offset fails as prose length changes. Only intended token text is extracted and absent token handled. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Region extraction returns expected scalar or handled null/error” concerns SQL filter needs one scalar region field; the reported problem instead is A fixed substring offset fails as prose length changes. Only intended token text is extracted and absent token handled. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Question 300
BrightPath Studios is responsible for an Azure SQL or Microsoft SQL workload. A message contains an embedded reference token with surrounding prose. Operational evidence: A fixed substring offset fails as prose length changes. What operational condition would provide the earliest useful regression warning?
- Monitor duplicate/missing IDs across pages
- Monitor missed formats and false positives
- Monitor unexpected text formats and slow patterns
- Monitor null imports and plan performance
Explanation
Correct Answer
C:
A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
A:
“Monitor duplicate/missing IDs across pages” concerns Offset-only pages skip or repeat records under changes; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
B:
“Monitor missed formats and false positives” concerns Need a controlled transformation without naive substring edits; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Monitor null imports and plan performance” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.