Microsoft DP-800 Practice Test 43
Question 420
Briarfield Foods is responsible for an Azure SQL or Microsoft SQL workload. A stored procedure runs fast for small tenants but times out for large tenants. Operational evidence: The cached query plan favors one selectivity pattern. What operational condition would provide the earliest useful regression warning?
- Monitor deadlock rate and transaction retries
- Monitor Query Store regressed queries
- Monitor stats modification counts and plan churn
- Monitor plan forcing and parameter regression
Explanation
Correct Answer
D:
The cached query plan favors one selectivity pattern. Monitor plan forcing and parameter regression.
Incorrect Answers
A:
“Monitor deadlock rate and transaction retries” concerns Deadlock graphs repeatedly identify the same pair of statements; the reported problem instead is The cached query plan favors one selectivity pattern. Monitor plan forcing and parameter regression.
B:
“Monitor Query Store regressed queries” concerns Query Store captures a new high-cost plan; the reported problem instead is The cached query plan favors one selectivity pattern. Monitor plan forcing and parameter regression.
C:
“Monitor stats modification counts and plan churn” concerns Outdated statistics misestimate filtered cardinality; the reported problem instead is The cached query plan favors one selectivity pattern. Monitor plan forcing and parameter regression.
Question 421
At Northstar Analytics, a weekly release makes a previously fast query slow. The observed constraint is: Query Store captures a new high-cost plan. What initial check best narrows the technical cause without altering business data?
- Inspect Query Store plans and parameter distributions
- Compare plans, duration and deployment timestamp
- Inspect wait stats, isolation settings and transaction duration
- Inspect actual plans, existing overlapping indexes and workloads
Explanation
Correct Answer
B:
Query Store captures a new high-cost plan. Compare plans, duration and deployment timestamp.
Incorrect Answers
A:
“Inspect Query Store plans and parameter distributions” concerns The cached query plan favors one selectivity pattern; the reported problem instead is Query Store captures a new high-cost plan. Compare plans, duration and deployment timestamp.
C:
“Inspect wait stats, isolation settings and transaction duration” concerns Readers wait for exclusive locks during updates; the reported problem instead is Query Store captures a new high-cost plan. Compare plans, duration and deployment timestamp.
D:
“Inspect actual plans, existing overlapping indexes and workloads” concerns A single recommendation ignores write/storage cost; the reported problem instead is Query Store captures a new high-cost plan. Compare plans, duration and deployment timestamp.
Question 422
A database engineer at Maple Harbor Research is investigating this case: A weekly release makes a previously fast query slow. The relevant finding is: Query Store captures a new high-cost plan. Which proposed change is the most suitable response to the observed constraint?
- Update appropriate statistics or adjust stats maintenance process
- Correct indexing/statistics or use an approved plan correction mechanism
- Fix cardinality/index design or query shape before increasing resources
- Use appropriate plan-stability or parameter-sensitivity strategy based on supported engine
Explanation
Correct Answer
B:
Query Store captures a new high-cost plan. Correct indexing/statistics or use an approved plan correction mechanism.
Incorrect Answers
A:
“Update appropriate statistics or adjust stats maintenance process” concerns Outdated statistics misestimate filtered cardinality; the reported problem instead is Query Store captures a new high-cost plan. Correct indexing/statistics or use an approved plan correction mechanism.
C:
“Fix cardinality/index design or query shape before increasing resources” concerns Actual plan warns of spill and high memory grant; the reported problem instead is Query Store captures a new high-cost plan. Correct indexing/statistics or use an approved plan correction mechanism.
D:
“Use appropriate plan-stability or parameter-sensitivity strategy based on supported engine” concerns The cached query plan favors one selectivity pattern; the reported problem instead is Query Store captures a new high-cost plan. Correct indexing/statistics or use an approved plan correction mechanism.
Question 423
Juniper Commerce is responsible for an Azure SQL or Microsoft SQL workload. A weekly release makes a previously fast query slow. Operational evidence: Query Store captures a new high-cost plan. What isolated pilot would provide the strongest evidence before rollout?
- Replay representative sort with captured plans
- Replay affected query with prior and candidate plan on snapshot
- Benchmark candidate and baseline indexes under mixed reads/writes
- Replay concurrent update/read workload against a sandbox copy
Explanation
Correct Answer
B:
Query Store captures a new high-cost plan. Replay affected query with prior and candidate plan on snapshot.
Incorrect Answers
A:
“Replay representative sort with captured plans” concerns Actual plan warns of spill and high memory grant; the reported problem instead is Query Store captures a new high-cost plan. Replay affected query with prior and candidate plan on snapshot.
C:
“Benchmark candidate and baseline indexes under mixed reads/writes” concerns A single recommendation ignores write/storage cost; the reported problem instead is Query Store captures a new high-cost plan. Replay affected query with prior and candidate plan on snapshot.
D:
“Replay concurrent update/read workload against a sandbox copy” concerns Readers wait for exclusive locks during updates; the reported problem instead is Query Store captures a new high-cost plan. Replay affected query with prior and candidate plan on snapshot.
Question 424
At Summit Logistics, a weekly release makes a previously fast query slow. The observed constraint is: Query Store captures a new high-cost plan. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Query performance returns without incorrect forced assumptions
- Both workloads meet latency goals with correct row results
- Plan uses efficient seeks without excessive key lookups
- Spill events decrease and query remains correct
Explanation
Correct Answer
A:
Query Store captures a new high-cost plan. Query performance returns without incorrect forced assumptions.
Incorrect Answers
B:
“Both workloads meet latency goals with correct row results” concerns The cached query plan favors one selectivity pattern; the reported problem instead is Query Store captures a new high-cost plan. Query performance returns without incorrect forced assumptions.
C:
“Plan uses efficient seeks without excessive key lookups” concerns Existing index begins with a rarely filtered column; the reported problem instead is Query Store captures a new high-cost plan. Query performance returns without incorrect forced assumptions.
D:
“Spill events decrease and query remains correct” concerns Actual plan warns of spill and high memory grant; the reported problem instead is Query Store captures a new high-cost plan. Query performance returns without incorrect forced assumptions.
Question 425
A database engineer at BrightPath Studios is investigating this case: A weekly release makes a previously fast query slow. The relevant finding is: Query Store captures a new high-cost plan. What operational condition would provide the earliest useful regression warning?
- Monitor Query Store regressed queries
- Monitor plan forcing and parameter regression
- Monitor version-store usage and long transactions
- Monitor row versioning and tempdb or persistent version-store pressure
Explanation
Correct Answer
A:
Query Store captures a new high-cost plan. Monitor Query Store regressed queries.
Incorrect Answers
B:
“Monitor plan forcing and parameter regression” concerns The cached query plan favors one selectivity pattern; the reported problem instead is Query Store captures a new high-cost plan. Monitor Query Store regressed queries.
C:
“Monitor version-store usage and long transactions” concerns Concurrent updates produce inconsistent intermediate totals; the reported problem instead is Query Store captures a new high-cost plan. Monitor Query Store regressed queries.
D:
“Monitor row versioning and tempdb or persistent version-store pressure” concerns Readers wait for exclusive locks during updates; the reported problem instead is Query Store captures a new high-cost plan. Monitor Query Store regressed queries.
Question 426
Lakeview Services is responsible for an Azure SQL or Microsoft SQL workload. A DMV suggests a large covering index for a busy write table. Operational evidence: A single recommendation ignores write/storage cost. What initial check best narrows the technical cause without altering business data?
- Inspect Query Store plans and parameter distributions
- Compare statistics age and actual-versus-estimated rows
- Compare plans, duration and deployment timestamp
- Inspect actual plans, existing overlapping indexes and workloads
Explanation
Correct Answer
D:
A single recommendation ignores write/storage cost. Inspect actual plans, existing overlapping indexes and workloads.
Incorrect Answers
A:
“Inspect Query Store plans and parameter distributions” concerns The cached query plan favors one selectivity pattern; the reported problem instead is A single recommendation ignores write/storage cost. Inspect actual plans, existing overlapping indexes and workloads.
B:
“Compare statistics age and actual-versus-estimated rows” concerns Outdated statistics misestimate filtered cardinality; the reported problem instead is A single recommendation ignores write/storage cost. Inspect actual plans, existing overlapping indexes and workloads.
C:
“Compare plans, duration and deployment timestamp” concerns Query Store captures a new high-cost plan; the reported problem instead is A single recommendation ignores write/storage cost. Inspect actual plans, existing overlapping indexes and workloads.
Question 427
At Crownridge Travel, a DMV suggests a large covering index for a busy write table. The observed constraint is: A single recommendation ignores write/storage cost. Which proposed change is the most suitable response to the observed constraint?
- Correct indexing/statistics or use an approved plan correction mechanism
- Evaluate consolidated indexes against read/write impact instead of blindly applying DMV hint
- Create or revise composite index key order for dominant filters
- Evaluate READ_COMMITTED_SNAPSHOT after compatibility tests
Explanation
Correct Answer
B:
A single recommendation ignores write/storage cost. Evaluate consolidated indexes against read/write impact instead of blindly applying DMV hint.
Incorrect Answers
A:
“Correct indexing/statistics or use an approved plan correction mechanism” concerns Query Store captures a new high-cost plan; the reported problem instead is A single recommendation ignores write/storage cost. Evaluate consolidated indexes against read/write impact instead of blindly applying DMV hint.
C:
“Create or revise composite index key order for dominant filters” concerns Existing index begins with a rarely filtered column; the reported problem instead is A single recommendation ignores write/storage cost. Evaluate consolidated indexes against read/write impact instead of blindly applying DMV hint.
D:
“Evaluate READ_COMMITTED_SNAPSHOT after compatibility tests” concerns Readers wait for exclusive locks during updates; the reported problem instead is A single recommendation ignores write/storage cost. Evaluate consolidated indexes against read/write impact instead of blindly applying DMV hint.
Question 428
A database engineer at Oakridge Advisors is investigating this case: A DMV suggests a large covering index for a busy write table. The relevant finding is: A single recommendation ignores write/storage cost. What isolated pilot would provide the strongest evidence before rollout?
- Replay affected query with prior and candidate plan on snapshot
- Benchmark small and large tenant parameter sets in test SQL
- Benchmark lookups before/after on representative dataset
- Benchmark candidate and baseline indexes under mixed reads/writes
Explanation
Correct Answer
D:
A single recommendation ignores write/storage cost. Benchmark candidate and baseline indexes under mixed reads/writes.
Incorrect Answers
A:
“Replay affected query with prior and candidate plan on snapshot” concerns Query Store captures a new high-cost plan; the reported problem instead is A single recommendation ignores write/storage cost. Benchmark candidate and baseline indexes under mixed reads/writes.
B:
“Benchmark small and large tenant parameter sets in test SQL” concerns The cached query plan favors one selectivity pattern; the reported problem instead is A single recommendation ignores write/storage cost. Benchmark candidate and baseline indexes under mixed reads/writes.
C:
“Benchmark lookups before/after on representative dataset” concerns Existing index begins with a rarely filtered column; the reported problem instead is A single recommendation ignores write/storage cost. Benchmark candidate and baseline indexes under mixed reads/writes.
Question 429
Horizon Communications is responsible for an Azure SQL or Microsoft SQL workload. A DMV suggests a large covering index for a busy write table. Operational evidence: A single recommendation ignores write/storage cost. Which acceptance result most directly demonstrates the requirement has been satisfied?
- End-to-end workload improves after considering maintenance costs
- Plan uses efficient seeks without excessive key lookups
- Query performance returns without incorrect forced assumptions
- Read latency improves without lost-update application logic
Explanation
Correct Answer
A:
A single recommendation ignores write/storage cost. End-to-end workload improves after considering maintenance costs.
Incorrect Answers
B:
“Plan uses efficient seeks without excessive key lookups” concerns Existing index begins with a rarely filtered column; the reported problem instead is A single recommendation ignores write/storage cost. End-to-end workload improves after considering maintenance costs.
C:
“Query performance returns without incorrect forced assumptions” concerns Query Store captures a new high-cost plan; the reported problem instead is A single recommendation ignores write/storage cost. End-to-end workload improves after considering maintenance costs.
D:
“Read latency improves without lost-update application logic” concerns Readers wait for exclusive locks during updates; the reported problem instead is A single recommendation ignores write/storage cost. End-to-end workload improves after considering maintenance costs.
Question 430
At Brookfield Labs, a DMV suggests a large covering index for a busy write table. The observed constraint is: A single recommendation ignores write/storage cost. Which recurring metrics identify BOTH usage of the proposed index and the additional **storage footprint** it creates, rather than measuring only its effect on write latency?
- Monitor index usage and storage overhead
- Monitor Query Store regressed queries
- Monitor index seek usage and write cost
- Monitor version-store usage and long transactions
Explanation
Correct Answer
A:
A single recommendation ignores write/storage cost. Monitor index usage and storage overhead.
Incorrect Answers
B:
“Monitor Query Store regressed queries” concerns Query Store captures a new high-cost plan; the reported problem instead is A single recommendation ignores write/storage cost. Monitor index usage and storage overhead.
C:
Index-seek counts and write cost can reveal performance trade-offs, but the question specifically requires measurement of accumulated index storage overhead together with actual usage. The usage/storage pair in A covers both named metrics.
D:
“Monitor version-store usage and long transactions” concerns Concurrent updates produce inconsistent intermediate totals; the reported problem instead is A single recommendation ignores write/storage cost. Monitor index usage and storage overhead.