DP-800 Premium File
- 101 Questions & Answers
- Last Update: Nov 12, 2026
An OLTP table is queried through a date predicate but the column is wrapped in a conversion function
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Avoiding functions on the indexed search column can let the optimizer use an index seek.
Sequences generate values independently of an individual table, unlike a column-specific identity, and can still exhibit gaps.
System-versioned temporal tables maintain historical row versions so FOR SYSTEM_TIME queries can reconstruct earlier states.
A primary key uniquely identifies each row and provides a reference target; its underlying index strategy is a separate design choice.
An application receives JSON arrays of items and needs relational rows per item
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
OPENJSON shreds objects or arrays into rows and typed columns when a schema is supplied.
REGEXP_LIKE evaluates a regex match, including anchors that constrain the whole input rather than just a substring.
Regex splitting can turn patterned text delimiters into row values for relational processing.
LAG retrieves a preceding row from a window without a self-join, respecting the defined partition and order.
A search service keeps returning retired policy passages after their SQL source rows were removed
Which SQL design or implementation decision most directly addresses this requirement?
Index freshness includes removal as well as addition and edits; stale documents can yield harmful answers.
Distance generally ranks closer vectors by smaller distance values, unlike a similarity score that may rank larger first.
Fast response alone is not sufficient; index parameters shift the speed-quality tradeoff.
Cosine, Euclidean and dot-product measures are not universally interchangeable unless normalization assumptions hold.
A product matching system compares similar names of very different lengths
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Normalized edit similarity can be easier to compare across lengths than raw edit operations, though thresholds must be tuned.
JSON_VALUE reads scalar values at a specified JSON path; non-scalar fragments need a different interface.
A nonrecursive CTE names a logical result within one statement and does not inherently materialize persistent storage.
Jaro-Winkler style similarity rewards matching character patterns and helps with transpositions but cannot prove identity.
A streaming audit feed requires durable changes that can be processed asynchronously
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
CDC records changes from the transaction log for downstream consumption, but latency and retention need management.
CES can publish database changes into an event architecture, but supported platform and ordering guarantees must be checked.
Change Tracking reports which rows changed since a version without storing a full sequence of each column change.
Search capability should use approved fields and query limits rather than exposing arbitrary free-form SQL.
An Azure platform needs warnings when DAB latency or SQL exceptions exceed agreed thresholds
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Actionable alerts require measurable thresholds, destinations and noise controls rather than generic dashboards alone.
Configuration separation allows consistent entities while credentials and endpoints differ securely across environments.
DAB reads configuration to expose chosen database objects as endpoints, subject to role and permission controls.
Application identity, API entity permissions and SQL authorization must jointly prevent overbroad access.
A SQL query sorts a huge intermediate result and spills repeatedly to tempdb
Which SQL design or implementation decision most directly addresses this requirement?
Improving estimates, ordering or indexing can reduce tempdb spills and prevent large grants from crowding other queries.
Versioned read-committed isolation reduces reader/writer blocking but changes consistency semantics and tempdb/version-store demand.
Saving compute cost is not safe if CPU, IO or memory limits violate service-level objectives.
Actual plans reveal runtime statistics and costly operators that estimated plans alone may not expose.
A recursive hierarchy query loops indefinitely after bad cyclic parent references are ingested
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Recursive CTEs need termination and data-integrity safeguards; a recursion cap is a protective limit, not a substitute for valid hierarchy rules.
Graph MATCH expresses edge relationships in a pattern rather than merely comparing flat key columns.
Edit distance measures changes required to transform a string and must not be confused with semantic meaning.
A nonrecursive CTE names a logical result within one statement and does not inherently materialize persistent storage.
A corpus contains thousands of similar support notes and the team plans a DiskANN-based index
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
DiskANN is an approximate-neighbor indexing approach, not a substitute for valid model dimensions and authorization.
Distance generally ranks closer vectors by smaller distance values, unlike a similarity score that may rank larger first.
Distance calculation requires aligned dimensions and semantics, and metric choice affects ordering.
ANN index retrieval can reduce full-scan cost if accuracy requirements permit, while brute-force evaluation remains a reference.
A billing service must preserve exact two-decimal charges in SQL Server
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Approximate binary floating-point types cannot represent every decimal currency value exactly; fixed-precision decimal arithmetic avoids that category of rounding error.
Avoiding functions on the indexed search column can let the optimizer use an index seek.
A default supplies a value when the insert omits the column; it does not override explicit invalid inputs or validate all states.
In-Memory OLTP reduces certain latch and lock bottlenecks but has feature and capacity constraints that require workload testing.
A prompt-injection string stored in a comment tells the AI coding assistant to export a secrets table
Which SQL design or implementation decision most directly addresses this requirement?
Prompt injection in tool output must not grant new authority or override the application trust boundary.
Grounded schema context helps prevent nonexistent objects but still requires verification of generated SQL.
Generated SQL must meet normal secure-coding requirements; a model does not sanitize input automatically.
Copilot features depend on administrative eligibility and workspace settings rather than appearing automatically for every user.
Please check your mailbox for a message from support@examlabs.com and follow the directions.