DP-800 Premium File
- 101 Questions & Answers
- Last Update: Nov 12, 2026
A search UI needs top semantic neighbors at scale without computing a full-table distance expression for every row
Which SQL design or implementation decision most directly addresses this requirement?
Indexed vector search can avoid an exhaustive scan at the cost of approximate recall and feature constraints.
Distance calculation requires aligned dimensions and semantics, and metric choice affects ordering.
Answer-generation quality cannot reveal all retrieval failures; ranking metrics provide direct measurement.
Duplicate candidates require a deliberate aggregation policy to prevent artificial rank inflation.
An AI service experiences intermittent timeouts and users see silent blank content
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Throttling and transient errors require carefully bounded retry; unbounded retries can exhaust database resources.
Source metadata supports provenance checks and keeps generated statements linked to authorized records.
LLMs are not authoritative for arithmetic or source-of-truth values; database computations should remain deterministic.
The stored procedure can call an external REST endpoint under its security/configuration limits; the caller must handle HTTP errors and quotas.
An accounting service must let auditors detect unauthorized alteration of retained ledger data
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Ledger adds cryptographic evidence for changes, but access governance and external digest retention remain essential.
Checking JSON validity before promotion reduces malformed documents but does not replace application-level schema validation.
JSON storage supports evolving attributes, but constraints and relational columns should still enforce critical business invariants.
A default supplies a value when the insert omits the column; it does not override explicit invalid inputs or validate all states.
A team grants EXECUTE on a procedure and needs to confirm whether callers inherit table access safely
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Stored procedure execution can reduce direct table grants but still needs review of ownership, dynamic SQL, and execution context.
Inline TVFs return tabular results and can be optimized into the calling query, unlike a procedure result set.
Views centralize a logical query definition without storing an independent copy of rows by default.
Scalar functions return one value and can encapsulate reusable calculation logic, but implementation choice may affect plan quality.
A multitenant application uses one table for several customers and users must see only their tenant rows
Which SQL design or implementation decision most directly addresses this requirement?
RLS applies row filters in SQL based on security context, reducing reliance on each client remembering tenant WHERE clauses.
Object-level permissions enable task-specific capability without broad exposure to every table.
Centralized identity management reduces shared-secret exposure and improves attribution and revocation.
Always Encrypted keeps sensitive column values inaccessible to parties lacking client-side keys, unlike server-only encryption at rest.
A workflow needs exact change keys but does not require the before image of each edited row
Which SQL design or implementation decision most directly addresses this requirement?
Change Tracking identifies changed rows efficiently but does not preserve full change history or unlimited retention.
CES integrates supported SQL changes into event consumers; exact guarantees and availability must be checked.
Incremental content tracking saves model calls and avoids rewriting vectors with no semantic change.
Embedding freshness requires detecting source changes and re-embedding only changed meaningful content.
A subscription report needs the previous month's revenue beside each current month
Which SQL design or implementation decision most directly addresses this requirement?
LAG retrieves a preceding row from a window without a self-join, respecting the defined partition and order.
A correlated subquery evaluates using the current outer-row key and may be optimized differently from explicit joins.
A nonrecursive CTE names a logical result within one statement and does not inherently materialize persistent storage.
Normalized edit similarity can be easier to compare across lengths than raw edit operations, though thresholds must be tuned.
A deployment introduces a slower plan for the same SQL text and users report a latency spike
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Query Store retains plan and runtime history so regressions can be tied to specific plan choices.
Long transactions hold locks and version state, worsening throughput and blocking.
Optimistic versioned isolation can reject overlapping writes, requiring idempotent retry or conflict resolution.
A cached plan based on one parameter distribution may be unsuitable for another; forced plans or hints need evidence.
A batch-loader needs a procedure to expose a single computed status indicator to its caller
After the team applies the intended design, which observation would most directly verify that the specific requirement was met?
Procedure output parameters convey scalar results in addition to result sets and return status values.
Schema binding prevents incompatible changes to referenced object definitions until the dependency is handled.
Views can serve as a restricted interface but must be combined with appropriate permissions and row filtering.
DML triggers run per statement and inserted/deleted can contain multiple rows; singleton assumptions cause data loss.
Pipeline database credentials are embedded in a public GitHub Actions workflow file
Which SQL design or implementation decision most directly addresses this requirement?
CI/CD credentials are high-value attack targets and should not be stored in repository text.
A DACPAC packages the declarative database model used by supported deployment tools.
Data and schema changes must be sequenced so new constraints do not break on preexisting invalid rows.
A successful compiler build is necessary but not sufficient for quality or secure schema changes.
A database codebase needs AI suggestions to follow project transaction and migration rules
Which SQL design or implementation decision most directly addresses this requirement?
Instruction files can guide generated suggestions toward local style and safety expectations, but must still be reviewed.
AI-assisted code generation does not waive data classification, retention and exposure restrictions.
Generated SQL must meet normal secure-coding requirements; a model does not sanitize input automatically.
Traceable AI-assisted operations support accountability while logs require access and retention controls.
Please check your mailbox for a message from support@examlabs.com and follow the directions.