Microsoft DP-800 Practice Test 21
Question 200
A database engineer at BrightPath Studios is investigating this case: A staging import contains structured reference codes. The relevant finding is: Basic LIKE pattern cannot express all constraints. What operational condition would provide the earliest useful regression warning?
- Monitor JSON schema changes and portability
- Monitor query plans and matching index availability
- Monitor regex compatibility and CPU
- Monitor demographic bias and false matches
Explanation
Correct Answer
C:
Basic LIKE pattern cannot express all constraints. Monitor regex compatibility and CPU. A regular expression can encode richer formatting constraints than a basic LIKE pattern, but the deployed SQL engine must actually support that function.
Incorrect Answers
A:
“Monitor JSON schema changes and portability” concerns Text LIKE falsely matches substrings; the reported problem instead is Basic LIKE pattern cannot express all constraints. Monitor regex compatibility and CPU. A regular expression can encode richer formatting constraints than a basic LIKE pattern, but the deployed SQL engine must actually support that function.
B:
“Monitor query plans and matching index availability” concerns Joining all violations duplicates account rows; the reported problem instead is Basic LIKE pattern cannot express all constraints. Monitor regex compatibility and CPU. A regular expression can encode richer formatting constraints than a basic LIKE pattern, but the deployed SQL engine must actually support that function.
D:
“Monitor demographic bias and false matches” concerns Basic edit count may not rank transpositions optimally; the reported problem instead is Basic LIKE pattern cannot express all constraints. Monitor regex compatibility and CPU. A regular expression can encode richer formatting constraints than a basic LIKE pattern, but the deployed SQL engine must actually support that function.
Question 201
Lakeview Services is responsible for an Azure SQL or Microsoft SQL workload. Raw message metadata contains phone-like patterns. Operational evidence: Need a controlled transformation without naive substring edits. What initial check best narrows the technical cause without altering business data?
- Review which fields and formats are in scope for redaction
- Inspect partition key and deterministic tie-break ordering
- Review required property names and null handling
- Inspect token format and supported regex extraction functions
Explanation
Correct Answer
A:
Need a controlled transformation without naive substring edits. Review which fields and formats are in scope for redaction. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Incorrect Answers
B:
“Inspect partition key and deterministic tie-break ordering” addresses the window row_number deduplication situation—need latest row per device without discarding event history. The observed failure is: Need a controlled transformation without naive substring edits. Review which fields and formats are in scope for redaction. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
C:
“Review required property names and null handling” concerns Application currently concatenates JSON strings manually; the reported problem instead is Need a controlled transformation without naive substring edits. Review which fields and formats are in scope for redaction. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
D:
“Inspect token format and supported regex extraction functions” concerns A fixed substring offset fails as prose length changes; the reported problem instead is Need a controlled transformation without naive substring edits. Review which fields and formats are in scope for redaction. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Question 202
At Crownridge Travel, raw message metadata contains phone-like patterns. The observed constraint is: Need a controlled transformation without naive substring edits. Which proposed change is the most suitable response to the observed constraint?
- Employ REGEXP_SUBSTR with an explicitly bounded pattern where supported
- Use REGEXP_REPLACE with reviewed expression where supported
- Use supported JSON_CONTAINS or relationalized membership semantics
- Use JSON_OBJECT for supported structured scalar output
Explanation
Correct Answer
B:
Need a controlled transformation without naive substring edits. Use REGEXP_REPLACE with reviewed expression where supported. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Incorrect Answers
A:
“Employ REGEXP_SUBSTR with an explicitly bounded pattern where supported” addresses the regexp_substr code extraction situation—a fixed substring offset fails as prose length changes. The observed failure is: Need a controlled transformation without naive substring edits. Use REGEXP_REPLACE with reviewed expression where supported. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
C:
“Use supported JSON_CONTAINS or relationalized membership semantics” concerns Text LIKE falsely matches substrings; the reported problem instead is Need a controlled transformation without naive substring edits. Use REGEXP_REPLACE with reviewed expression where supported. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
D:
“Use JSON_OBJECT for supported structured scalar output” concerns Application currently concatenates JSON strings manually; the reported problem instead is Need a controlled transformation without naive substring edits. Use REGEXP_REPLACE with reviewed expression where supported. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Question 203
A database engineer at Oakridge Advisors is investigating this case: Raw message metadata contains phone-like patterns. The relevant finding is: Need a controlled transformation without naive substring edits. What isolated pilot would provide the strongest evidence before rollout?
- Query valid, absent and malformed test payloads
- Run anonymized test examples through replacement
- Test accounts with zero, one and several violations
- Test a small tree with a known hierarchy depth
Explanation
Correct Answer
B:
Need a controlled transformation without naive substring edits. Run anonymized test examples through replacement. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Incorrect Answers
A:
“Query valid, absent and malformed test payloads” concerns SQL filter needs one scalar region field; the reported problem instead is Need a controlled transformation without naive substring edits. Run anonymized test examples through replacement. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
C:
“Test accounts with zero, one and several violations” concerns Joining all violations duplicates account rows; the reported problem instead is Need a controlled transformation without naive substring edits. Run anonymized test examples through replacement. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
D:
“Test a small tree with a known hierarchy depth” concerns Single self-join only returns one level; the reported problem instead is Need a controlled transformation without naive substring edits. Run anonymized test examples through replacement. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Question 204
Horizon Communications is responsible for an Azure SQL or Microsoft SQL workload. Raw message metadata contains phone-like patterns. Operational evidence: Need a controlled transformation without naive substring edits. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Only valid complaint-free customers remain
- Only targeted patterns are transformed without corrupting unrelated text
- Only intended token text is extracted and absent token handled
- Exactly newest deterministic row per device is selected
Explanation
Correct Answer
B:
Need a controlled transformation without naive substring edits. Only targeted patterns are transformed without corrupting unrelated text. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Incorrect Answers
A:
“Only valid complaint-free customers remain” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is Need a controlled transformation without naive substring edits. Only targeted patterns are transformed without corrupting unrelated text. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
C:
“Only intended token text is extracted and absent token handled” concerns A fixed substring offset fails as prose length changes; the reported problem instead is Need a controlled transformation without naive substring edits. Only targeted patterns are transformed without corrupting unrelated text. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
D:
“Exactly newest deterministic row per device is selected” concerns Need latest row per device without discarding event history; the reported problem instead is Need a controlled transformation without naive substring edits. Only targeted patterns are transformed without corrupting unrelated text. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Question 205
At Brookfield Labs, raw message metadata contains phone-like patterns. The observed constraint is: Need a controlled transformation without naive substring edits. What operational condition would provide the earliest useful regression warning?
- Monitor unexpected text formats and slow patterns
- Monitor false match decisions
- Monitor demographic bias and false matches
- Monitor missed formats and false positives
Explanation
Correct Answer
D:
Need a controlled transformation without naive substring edits. Monitor missed formats and false positives. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Incorrect Answers
A:
“Monitor unexpected text formats and slow patterns” concerns A fixed substring offset fails as prose length changes; the reported problem instead is Need a controlled transformation without naive substring edits. Monitor missed formats and false positives. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
B:
“Monitor false match decisions” concerns Exact equality misses likely matches; the reported problem instead is Need a controlled transformation without naive substring edits. Monitor missed formats and false positives. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
C:
“Monitor demographic bias and false matches” concerns Basic edit count may not rank transpositions optimally; the reported problem instead is Need a controlled transformation without naive substring edits. Monitor missed formats and false positives. REGEXP_REPLACE can redact text matching an approved pattern while leaving other content intact; test the expression against edge cases and exceptions.
Question 206
A database engineer at Cascade Manufacturing is investigating this case: Supplier names have small spelling errors across sources. The relevant finding is: Exact equality misses likely matches. What initial check best narrows the technical cause without altering business data?
- Inspect nullability and exclusion matching keys
- Inspect partition and ordering for sensor events
- Inspect edit patterns and acceptable false-match rate
- Inspect array structure and declared types
Explanation
Correct Answer
C:
Exact equality misses likely matches. Inspect edit patterns and acceptable false-match rate. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Incorrect Answers
A:
“Inspect nullability and exclusion matching keys” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is Exact equality misses likely matches. Inspect edit patterns and acceptable false-match rate. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
B:
“Inspect partition and ordering for sensor events” addresses the lag for change detection situation—self-joins create expensive predecessor lookup. The observed failure is: Exact equality misses likely matches. Inspect edit patterns and acceptable false-match rate. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
D:
“Inspect array structure and declared types” concerns Business logic needs one relational row per array element; the reported problem instead is Exact equality misses likely matches. Inspect edit patterns and acceptable false-match rate. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Question 207
Clearwater Utilities is responsible for an Azure SQL or Microsoft SQL workload. Supplier names have small spelling errors across sources. Operational evidence: Exact equality misses likely matches. The application requires a Levenshtein edit-distance measure for ranking candidate supplier spellings in a supported SQL environment. Which change implements that specified measure?
- Normalize supplier names to a common letter case but continue matching with exact equality
- Use EDIT_DISTANCE for candidate ranking where feature is available
- Use REGEXP_LIKE with anchored pattern where available
- Use supported JSON_CONTAINS or relationalized membership semantics
Explanation
Correct Answer
B:
Exact equality misses likely matches. Use EDIT_DISTANCE for candidate ranking where feature is available. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Incorrect Answers
A:
Normalizing case is useful cleaning, but exact equality still misses insertions, deletions, transpositions and other small spelling variations. It does not implement the explicitly required edit-distance ranking; the supported EDIT_DISTANCE function does, subject to service/version availability.
C:
“Use REGEXP_LIKE with anchored pattern where available” concerns Basic LIKE pattern cannot express all constraints; the reported problem instead is Exact equality misses likely matches. Use EDIT_DISTANCE for candidate ranking where feature is available. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
D:
“Use supported JSON_CONTAINS or relationalized membership semantics” concerns Text LIKE falsely matches substrings; the reported problem instead is Exact equality misses likely matches. Use EDIT_DISTANCE for candidate ranking where feature is available. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Question 208
At Cedarbridge Health, supplier names have small spelling errors across sources. The observed constraint is: Exact equality misses likely matches. What isolated pilot would provide the strongest evidence before rollout?
- Test exact and substring region names in a sample document
- Compare known similar and dissimilar synthetic names
- Compare known 50th/95th percentile test samples
- Query a tiny network with a known valid route
Explanation
Correct Answer
B:
Exact equality misses likely matches. Compare known similar and dissimilar synthetic names. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Incorrect Answers
A:
“Test exact and substring region names in a sample document” concerns Text LIKE falsely matches substrings; the reported problem instead is Exact equality misses likely matches. Compare known similar and dissimilar synthetic names. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
C:
“Compare known 50th/95th percentile test samples” concerns Average obscures slow tail requests; the reported problem instead is Exact equality misses likely matches. Compare known similar and dissimilar synthetic names. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
D:
“Query a tiny network with a known valid route” concerns Need to find direct relationships between connected facilities; the reported problem instead is Exact equality misses likely matches. Compare known similar and dissimilar synthetic names. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Question 209
A database engineer at Ashwood Solutions is investigating this case: Supplier names have small spelling errors across sources. The relevant finding is: Exact equality misses likely matches. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Only exact intended array membership matches
- Ranking surfaces close candidates for human confirmation
- Only intended token text is extracted and absent token handled
- Reported tail latency reflects expected distribution
Explanation
Correct Answer
B:
Exact equality misses likely matches. Ranking surfaces close candidates for human confirmation. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Incorrect Answers
A:
“Only exact intended array membership matches” concerns Text LIKE falsely matches substrings; the reported problem instead is Exact equality misses likely matches. Ranking surfaces close candidates for human confirmation. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
C:
“Only intended token text is extracted and absent token handled” concerns A fixed substring offset fails as prose length changes; the reported problem instead is Exact equality misses likely matches. Ranking surfaces close candidates for human confirmation. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
D:
“Reported tail latency reflects expected distribution” concerns Average obscures slow tail requests; the reported problem instead is Exact equality misses likely matches. Ranking surfaces close candidates for human confirmation. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Question 210
Seabrook University is responsible for an Azure SQL or Microsoft SQL workload. Supplier names have small spelling errors across sources. Operational evidence: Exact equality misses likely matches. What operational condition would provide the earliest useful regression warning?
- Monitor JSON schema changes and portability
- Monitor missed formats and false positives
- Monitor demographic bias and false matches
- Monitor false match decisions
Explanation
Correct Answer
D:
Exact equality misses likely matches. Monitor false match decisions. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
Incorrect Answers
A:
“Monitor JSON schema changes and portability” concerns Text LIKE falsely matches substrings; the reported problem instead is Exact equality misses likely matches. Monitor false match decisions. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
B:
“Monitor missed formats and false positives” concerns Need a controlled transformation without naive substring edits; the reported problem instead is Exact equality misses likely matches. Monitor false match decisions. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.
C:
“Monitor demographic bias and false matches” concerns Basic edit count may not rank transpositions optimally; the reported problem instead is Exact equality misses likely matches. Monitor false match decisions. Fuzzy matching trades recall for false positives. Calibrate an edit-distance threshold on known true/false pairs instead of treating a low distance as identity.