Microsoft DP-800 Practice Test 6
Question 50
A database engineer at BrightPath Studios is investigating this case: An inventory table contains negative quantities that are not permitted. The relevant finding is: Application validation is bypassed by some ETL jobs. What operational condition would provide the earliest useful regression warning?
- Monitor unique username conflicts and foreign key violations
- Monitor CHECK violations and rejected imports
- Watch constraint violations in ingestion logs
- Monitor connector latency and remote access failures
Explanation
Correct Answer
B:
Application validation is bypassed by some ETL jobs. Monitor CHECK violations and rejected imports.
Incorrect Answers
A:
“Monitor unique username conflicts and foreign key violations” concerns Username changes cascade to many child records; the reported problem instead is Application validation is bypassed by some ETL jobs. Monitor CHECK violations and rejected imports.
C:
A foreign key checks existence of referenced rows; it does not enforce an independent numeric or domain-range rule. A CHECK constraint expresses that business predicate.
D:
“Monitor connector latency and remote access failures” concerns Copying all external data hourly is costly; the reported problem instead is Application validation is bypassed by some ETL jobs. Monitor CHECK violations and rejected imports.
Question 51
Lakeview Services is responsible for an Azure SQL or Microsoft SQL workload. Duplicate SKU values are produced by parallel import workers. Operational evidence: Application-level duplicate checks race under concurrency. What initial check best narrows the technical cause without altering business data?
- Determine which attributes require typed relational filtering
- Identify cross-table allocation and gap-tolerance requirements
- Compare contention waits and transactional feature limitations
- Compare duplicates and identify the true unique business key
Explanation
Correct Answer
D:
Application-level duplicate checks race under concurrency. Compare duplicates and identify the true unique business key. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Incorrect Answers
A:
Storing records as JSON changes their representation, but does not prevent concurrent requests from inserting the same business identifier. Enforce uniqueness in the database.
B:
A sequence assigns generated numbers; it cannot guarantee the uniqueness of an independently supplied business key if multiple requests race.
C:
Memory optimization can reduce contention, but it is not a substitute for a database-enforced unique key when application prechecks race.
Question 52
At Crownridge Travel, duplicate SKU values are produced by parallel import workers. The observed constraint is: Application-level duplicate checks race under concurrency. Which proposed change is the most suitable response to the observed constraint?
- Add a validated FOREIGN KEY with deliberate delete behavior
- Create a filtered index matching the stable active-status predicate
- Add a CHECK constraint expressing the allowable quantity rule
- Enforce a UNIQUE constraint or index on the approved business key
Explanation
Correct Answer
D:
Application-level duplicate checks race under concurrency. Enforce a UNIQUE constraint or index on the approved business key. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Incorrect Answers
A:
“Add a validated FOREIGN KEY with deliberate delete behavior” concerns Orphan records appear after bulk import; the reported problem instead is Application-level duplicate checks race under concurrency. Enforce a UNIQUE constraint or index on the approved business key. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
B:
“Create a filtered index matching the stable active-status predicate” concerns A full index is large and mostly unused; the reported problem instead is Application-level duplicate checks race under concurrency. Enforce a UNIQUE constraint or index on the approved business key. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
C:
“Add a CHECK constraint expressing the allowable quantity rule” concerns Application validation is bypassed by some ETL jobs; the reported problem instead is Application-level duplicate checks race under concurrency. Enforce a UNIQUE constraint or index on the approved business key. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Question 53
A database engineer at Oakridge Advisors is investigating this case: Duplicate SKU values are produced by parallel import workers. The relevant finding is: Application-level duplicate checks race under concurrency. What isolated pilot would provide the strongest evidence before rollout?
- Update synthetic contracts and query an earlier AS OF timestamp
- Insert synthetic transfer edges and run a MATCH graph query
- Run concurrent queue updates on test disk-based and memory-optimized designs
- Run concurrent inserts for the same synthetic SKU
Explanation
Correct Answer
D:
Application-level duplicate checks race under concurrency. Run concurrent inserts for the same synthetic SKU. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Incorrect Answers
A:
“Update synthetic contracts and query an earlier AS OF timestamp” concerns Overwriting rows discards prior valid values; the reported problem instead is Application-level duplicate checks race under concurrency. Run concurrent inserts for the same synthetic SKU. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
B:
“Insert synthetic transfer edges and run a MATCH graph query” concerns Multiple self-joins make variable-depth connections difficult; the reported problem instead is Application-level duplicate checks race under concurrency. Run concurrent inserts for the same synthetic SKU. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
C:
Memory optimization can reduce contention, but it is not a substitute for a database-enforced unique key when application prechecks race.
Question 54
Horizon Communications is responsible for an Azure SQL or Microsoft SQL workload. Duplicate SKU values are produced by parallel import workers. Operational evidence: Application-level duplicate checks race under concurrency. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Invalid parent references are rejected and existing rows validated
- Values round-trip without truncation and average row size improves
- One accepted row exists and conflicting inserts are rejected
- New values are allocated uniquely while gaps remain an accepted property
Explanation
Correct Answer
C:
Application-level duplicate checks race under concurrency. One accepted row exists and conflicting inserts are rejected. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Incorrect Answers
A:
“Invalid parent references are rejected and existing rows validated” concerns Orphan records appear after bulk import; the reported problem instead is Application-level duplicate checks race under concurrency. One accepted row exists and conflicting inserts are rejected. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
B:
“Values round-trip without truncation and average row size improves” concerns Fixed CHAR allocation wastes space on short product names; the reported problem instead is Application-level duplicate checks race under concurrency. One accepted row exists and conflicting inserts are rejected. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
D:
A sequence assigns generated numbers; it cannot guarantee the uniqueness of an independently supplied business key if multiple requests race.
Question 55
At Brookfield Labs, duplicate SKU values are produced by parallel import workers. The observed constraint is: Application-level duplicate checks race under concurrency. What operational condition would provide the earliest useful regression warning?
- Monitor JSON validation failures and query cost
- Monitor unique username conflicts and foreign key violations
- Monitor unique-key failures and importer retry behavior
- Monitor truncation failures and unexpected growth
Explanation
Correct Answer
C:
Application-level duplicate checks race under concurrency. Monitor unique-key failures and importer retry behavior. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Incorrect Answers
A:
Storing records as JSON changes their representation, but does not prevent concurrent requests from inserting the same business identifier. Enforce uniqueness in the database.
B:
“Monitor unique username conflicts and foreign key violations” concerns Username changes cascade to many child records; the reported problem instead is Application-level duplicate checks race under concurrency. Monitor unique-key failures and importer retry behavior. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
D:
“Monitor truncation failures and unexpected growth” concerns Fixed CHAR allocation wastes space on short product names; the reported problem instead is Application-level duplicate checks race under concurrency. Monitor unique-key failures and importer retry behavior. A client-side existence check is subject to a race between concurrent inserts. A UNIQUE index or constraint enforces the business-key invariant atomically inside the database engine.
Question 56
A database engineer at Cascade Manufacturing is investigating this case: New telemetry rows omit their creation date. The relevant finding is: Application callers inconsistently supply CreatedAt. What initial check best narrows the technical cause without altering business data?
- Review range boundaries and partition-alignment requirements
- Inspect current defaults and time-zone expectations
- Inspect whether system time and change history must be queryable
- Inspect existing out-of-range values and column nullability
Explanation
Correct Answer
B:
Application callers inconsistently supply CreatedAt. Inspect current defaults and time-zone expectations. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Incorrect Answers
A:
“Review range boundaries and partition-alignment requirements” addresses the date-based table partitioning situation—large deletes cause long log usage and blocking. The observed failure is: Application callers inconsistently supply CreatedAt. Inspect current defaults and time-zone expectations. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
C:
“Inspect whether system time and change history must be queryable” concerns Overwriting rows discards prior valid values; the reported problem instead is Application callers inconsistently supply CreatedAt. Inspect current defaults and time-zone expectations. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
D:
“Inspect existing out-of-range values and column nullability” concerns Application validation is bypassed by some ETL jobs; the reported problem instead is Application callers inconsistently supply CreatedAt. Inspect current defaults and time-zone expectations. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Question 57
Clearwater Utilities is responsible for an Azure SQL or Microsoft SQL workload. New telemetry rows omit their creation date. Operational evidence: Application callers inconsistently supply CreatedAt. Which proposed change is the most suitable response to the observed constraint?
- Employ a SEQUENCE and NEXT VALUE FOR according to documented rules
- Use bounded VARCHAR or NVARCHAR suited to multilingual content
- Use stable surrogate keys and keep natural key uniqueness separately
- Use a DEFAULT UTC timestamp expression on CreatedAt
Explanation
Correct Answer
D:
Application callers inconsistently supply CreatedAt. Use a DEFAULT UTC timestamp expression on CreatedAt. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Incorrect Answers
A:
Sequences provide generated identifiers, not a default creation timestamp. A database default can populate CreatedAt consistently across callers.
B:
CHAR/VARCHAR selection affects string storage, not whether every insert supplies CreatedAt. Define the timestamp behavior at the table level.
C:
Key design ensures identity and uniqueness but does not populate an omitted CreatedAt value. A default constraint supplies it consistently.
Question 58
At Cedarbridge Health, new telemetry rows omit their creation date. The observed constraint is: Application callers inconsistently supply CreatedAt. What isolated pilot would provide the strongest evidence before rollout?
- Benchmark representative insert sequences with alternative designs
- Insert and extract synthetic nested product properties
- Update synthetic contracts and query an earlier AS OF timestamp
- Insert sample rows omitting and specifying a timestamp
Explanation
Correct Answer
D:
Application callers inconsistently supply CreatedAt. Insert sample rows omitting and specifying a timestamp. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Incorrect Answers
A:
“Benchmark representative insert sequences with alternative designs” concerns Page split events spike on a busy B-tree; the reported problem instead is Application callers inconsistently supply CreatedAt. Insert sample rows omitting and specifying a timestamp. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
B:
“Insert and extract synthetic nested product properties” concerns A rigid collection of nullable columns changes with every product type; the reported problem instead is Application callers inconsistently supply CreatedAt. Insert sample rows omitting and specifying a timestamp. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
C:
“Update synthetic contracts and query an earlier AS OF timestamp” concerns Overwriting rows discards prior valid values; the reported problem instead is Application callers inconsistently supply CreatedAt. Insert sample rows omitting and specifying a timestamp. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Question 59
A database engineer at Ashwood Solutions is investigating this case: New telemetry rows omit their creation date. The relevant finding is: Application callers inconsistently supply CreatedAt. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Historical entries remain accessible after changes without additional triggers
- Database rejects disallowed values regardless of client
- Missing values receive the documented default without overwriting explicit values
- JSON parsing and indexed queries return correct typed values
Explanation
Correct Answer
C:
Application callers inconsistently supply CreatedAt. Missing values receive the documented default without overwriting explicit values. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Incorrect Answers
A:
“Historical entries remain accessible after changes without additional triggers” addresses the temporal history for audit situation—overwriting rows discards prior valid values. The observed failure is: Application callers inconsistently supply CreatedAt. Missing values receive the documented default without overwriting explicit values. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
B:
“Database rejects disallowed values regardless of client” concerns Application validation is bypassed by some ETL jobs; the reported problem instead is Application callers inconsistently supply CreatedAt. Missing values receive the documented default without overwriting explicit values. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
D:
“JSON parsing and indexed queries return correct typed values” concerns A rigid collection of nullable columns changes with every product type; the reported problem instead is Application callers inconsistently supply CreatedAt. Missing values receive the documented default without overwriting explicit values. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Question 60
Seabrook University is responsible for an Azure SQL or Microsoft SQL workload. New telemetry rows omit their creation date. Operational evidence: Application callers inconsistently supply CreatedAt. What operational condition would provide the earliest useful regression warning?
- Track fragmentation and write amplification over time
- Watch partition boundary maintenance and skew
- Watch time-zone consistency and default exceptions
- Watch constraint violations in ingestion logs
Explanation
Correct Answer
C:
Application callers inconsistently supply CreatedAt. Watch time-zone consistency and default exceptions. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
Incorrect Answers
A:
“Track fragmentation and write amplification over time” concerns Page split events spike on a busy B-tree; the reported problem instead is Application callers inconsistently supply CreatedAt. Watch time-zone consistency and default exceptions. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
B:
“Watch partition boundary maintenance and skew” concerns Large deletes cause long log usage and blocking; the reported problem instead is Application callers inconsistently supply CreatedAt. Watch time-zone consistency and default exceptions. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.
D:
“Watch constraint violations in ingestion logs” concerns Orphan records appear after bulk import; the reported problem instead is Application callers inconsistently supply CreatedAt. Watch time-zone consistency and default exceptions. A column default is applied when an INSERT omits that column, providing a central fallback instead of relying on every caller to supply a timestamp.