DP-800 Premium File
- 101 Questions & Answers
- Last Update: Nov 12, 2026
A service performs repeated JSON_VALUE predicates and currently scans every row
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
An indexed computed expression can make frequently queried JSON properties searchable instead of repeatedly parsing and scanning.
Identity allocation can leave gaps after failures or caching, so it is inappropriate as a legal no-gap counter.
Sequences generate values independently of an individual table, unlike a column-specific identity, and can still exhibit gaps.
The selected range direction determines ownership of values equal to boundaries, which affects pruning and rollover.
A search service keeps returning retired policy passages after their SQL source rows were removed
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Index freshness includes removal as well as addition and edits; stale documents can yield harmful answers.
ANN reduces work compared with exhaustive distance scanning but may miss some exact nearest vectors.
Vector column dimension and element representation drive base storage and index footprint, not row count alone.
Lexical retrieval is suited to exact symbols and keywords, while semantic vectors may miss exact identifiers.
A CRM has transposed characters in human names and asks for a name-oriented fuzzy metric
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Jaro-Winkler style similarity rewards matching character patterns and helps with transpositions but cannot prove identity.
JSON_OBJECT produces correctly structured JSON property/value pairs and avoids manual quoting errors.
Window numbering can select one row per logical partition while a deterministic secondary sort resolves equal timestamps.
A ROWS frame specifies exactly which neighboring rows contribute, whereas default RANGE behavior may include peer rows.
An execution plan compiled for a small tenant is reused for a very large tenant
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
A cached plan based on one parameter distribution may be unsuitable for another; forced plans or hints need evidence.
Blocking is caused by incompatible locks; addressing the head blocker is different from killing every waiting request.
Performance changes need controlled before-and-after measurement because cache, concurrency and statistics distort comparisons.
SQL may abort one deadlock participant; retries can succeed but must not repeat non-idempotent side effects.
An AI assistant includes DROP TABLE in a generated rollback script for a harmless index change
Which SQL design or implementation decision most directly addresses this requirement?
Natural-language prompts do not guarantee safe SQL, so explicit statement-level approval protects critical schema.
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.
AI-generated rewrites can silently alter authorization or semantics even if syntactically valid.
A staging feed accepts documents only when the JSON structure is syntactically valid
Which SQL design or implementation decision most directly addresses this requirement?
Checking JSON validity before promotion reduces malformed documents but does not replace application-level schema validation.
Approximate binary floating-point types cannot represent every decimal currency value exactly; fixed-precision decimal arithmetic avoids that category of rounding error.
Uniqueness for non-primary business attributes is enforced separately from the surrogate primary key.
Partition elimination can narrow scans and partition switching can simplify retention when indexes align.
A product catalog endpoint must support searchable approved names without full database export
Which SQL design or implementation decision most directly addresses this requirement?
Search capability should use approved fields and query limits rather than exposing arbitrary free-form SQL.
GraphQL relationships make defined SQL relations traversable through the API without arbitrary client SQL.
At-least-once delivery and retries require idempotent consumers rather than relying on exactly-once invocation.
Configuration separation allows consistent entities while credentials and endpoints differ securely across environments.
A SQL table stores vectors but clients mistakenly sort distances largest-first when lower values mean closer
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Distance generally ranks closer vectors by smaller distance values, unlike a similarity score that may rank larger first.
Near-duplicate chunks can crowd top-K slots and lower answer coverage even with accurate vector ranking.
Answer-generation quality cannot reveal all retrieval failures; ranking metrics provide direct measurement.
ANN reduces work compared with exhaustive distance scanning but may miss some exact nearest vectors.
A multitenant vector-search pipeline incorrectly applies tenant checks only after selecting top five global neighbors
Which SQL design or implementation decision most directly addresses this requirement?
Late filtering after global top-K can leak unauthorized results or starve legitimate tenant matches.
Hybrid retrieval can leverage exact-term precision and vector semantic recall if results are merged sensibly.
Answer-generation quality cannot reveal all retrieval failures; ranking metrics provide direct measurement.
RRF combines positional rankings and avoids directly adding incompatible score scales.
A database query scans millions of rows despite filtering by a highly selective indexed key
Which SQL design or implementation decision most directly addresses this requirement?
The optimizer may scan without a suitable search path; index keys should reflect frequently filtered columns.
Long transactions hold locks and version state, worsening throughput and blocking.
Versioned read-committed isolation reduces reader/writer blocking but changes consistency semantics and tempdb/version-store demand.
Optimistic versioned isolation can reject overlapping writes, requiring idempotent retry or conflict resolution.
A reconciliation procedure receives an array of keys and should use typed joins rather than string splitting
Which SQL design or implementation decision most directly addresses this requirement?
TVPs provide typed relational input for multirow procedure operations without ad hoc concatenated SQL.
Views can serve as a restricted interface but must be combined with appropriate permissions and row filtering.
An explicit transaction and consistent failure policy enforce atomicity across multiple statements.
Schema binding prevents incompatible changes to referenced object definitions until the dependency is handled.
Please check your mailbox for a message from support@examlabs.com and follow the directions.