Microsoft DP-800 Practice Test 2
Question 10
At Seabrook University, a warehouse aggregates billions of immutable sale lines each night. The observed constraint is: Row-oriented scans consume excessive I/O for aggregation. What operational condition would provide the earliest useful regression warning?
- Watch constraint violations in ingestion logs
- Watch rowgroup health and segment elimination
- Watch partition boundary maintenance and skew
- Watch conversion and arithmetic overflow errors
Explanation
Correct Answer
B:
Row-oriented scans consume excessive I/O for aggregation. Watch rowgroup health and segment elimination.
Incorrect Answers
A:
“Watch constraint violations in ingestion logs” concerns Orphan records appear after bulk import; the reported problem instead is Row-oriented scans consume excessive I/O for aggregation. Watch rowgroup health and segment elimination.
C:
“Watch partition boundary maintenance and skew” concerns Large deletes cause long log usage and blocking; the reported problem instead is Row-oriented scans consume excessive I/O for aggregation. Watch rowgroup health and segment elimination.
D:
“Watch conversion and arithmetic overflow errors” concerns FLOAT introduces approximate representations in money calculations; the reported problem instead is Row-oriented scans consume excessive I/O for aggregation. Watch rowgroup health and segment elimination.
Question 11
A database engineer at Atlas Publishing is investigating this case: A product catalog has names of widely varying lengths. The relevant finding is: Fixed CHAR allocation wastes space on short product names. What initial check best narrows the technical cause without altering business data?
- Identify cross-table allocation and gap-tolerance requirements
- Inspect index fragmentation, page splits, and insert pattern
- Inspect range boundaries and partition-alignment requirements
- Measure string length distribution and data collation requirements
Explanation
Correct Answer
D:
Fixed CHAR allocation wastes space on short product names. Measure string length distribution and data collation requirements.
Incorrect Answers
A:
A sequence coordinates generated numeric identifiers, not the storage footprint of short strings. The observed issue is fixed-width allocation for variable-length product names.
B:
“Inspect index fragmentation, page splits, and insert pattern” concerns Page split events spike on a busy B-tree; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Measure string length distribution and data collation requirements.
C:
“Inspect range boundaries and partition-alignment requirements” concerns Large deletes cause long log usage and blocking; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Measure string length distribution and data collation requirements.
Question 12
Mountainview Realty is responsible for an Azure SQL or Microsoft SQL workload. A product catalog has names of widely varying lengths. Operational evidence: Fixed CHAR allocation wastes space on short product names. Which proposed change is the most suitable response to the observed constraint?
- Use a DEFAULT UTC timestamp expression on CreatedAt
- Use 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
Explanation
Correct Answer
C:
Fixed CHAR allocation wastes space on short product names. Use bounded VARCHAR or NVARCHAR suited to multilingual content.
Incorrect Answers
A:
A default timestamp records when a row is inserted; it does not avoid unused fixed-width character storage for short product names. A suitable variable-length string type addresses that space waste.
B:
A sequence coordinates generated numeric identifiers, not the storage footprint of short strings. The observed issue is fixed-width allocation for variable-length product names.
D:
A surrogate key stabilizes record identity independently of business names. It does not change the storage occupied by a CHAR column when values are shorter than its declared width.
Question 13
At Willow Creek Finance, a product catalog has names of widely varying lengths. The observed constraint is: Fixed CHAR allocation wastes space on short product names. What isolated pilot would provide the strongest evidence before rollout?
- Allocate IDs in separate test tables including a rolled-back transaction
- Replay a representative workload against an indexed test copy
- Populate a test table with representative short and long values
- Benchmark representative insert sequences with alternative designs
Explanation
Correct Answer
C:
Fixed CHAR allocation wastes space on short product names. Populate a test table with representative short and long values.
Incorrect Answers
A:
A sequence coordinates generated numeric identifiers, not the storage footprint of short strings. The observed issue is fixed-width allocation for variable-length product names.
B:
“Replay a representative workload against an indexed test copy” concerns Table scans occur despite highly selective filters; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Populate a test table with representative short and long values.
D:
“Benchmark representative insert sequences with alternative designs” concerns Page split events spike on a busy B-tree; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Populate a test table with representative short and long values.
Question 14
A database engineer at Granite Ridge Technology is investigating this case: A product catalog has names of widely varying lengths. The relevant finding is: Fixed CHAR allocation wastes space on short product names. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Values round-trip without truncation and average row size improves
- Measured throughput improves without violating transaction requirements
- Missing values receive the documented default without overwriting explicit values
- JSON parsing and indexed queries return correct typed values
Explanation
Correct Answer
A:
Fixed CHAR allocation wastes space on short product names. Values round-trip without truncation and average row size improves.
Incorrect Answers
B:
“Measured throughput improves without violating transaction requirements” concerns A small set of hot rows is updated at high frequency; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Values round-trip without truncation and average row size improves.
C:
A default timestamp records when a row is inserted; it does not avoid unused fixed-width character storage for short product names. A suitable variable-length string type addresses that space waste.
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 Fixed CHAR allocation wastes space on short product names. Values round-trip without truncation and average row size improves.
Question 15
Pinecrest Operations is responsible for an Azure SQL or Microsoft SQL workload. A product catalog has names of widely varying lengths. Operational evidence: Fixed CHAR allocation wastes space on short product names. What operational condition would provide the earliest useful regression warning?
- Monitor history-table growth and retention settings
- Monitor truncation failures and unexpected growth
- Monitor connector latency and remote access failures
- Monitor JSON validation failures and query cost
Explanation
Correct Answer
B:
Fixed CHAR allocation wastes space on short product names. Monitor truncation failures and unexpected growth.
Incorrect Answers
A:
“Monitor history-table growth and retention settings” concerns Overwriting rows discards prior valid values; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Monitor truncation failures and unexpected growth.
C:
“Monitor connector latency and remote access failures” concerns Copying all external data hourly is costly; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Monitor truncation failures and unexpected growth.
D:
“Monitor JSON validation failures and query cost” concerns A rigid collection of nullable columns changes with every product type; the reported problem instead is Fixed CHAR allocation wastes space on short product names. Monitor truncation failures and unexpected growth.
Question 16
At Marigold Banking, a payment ledger stores decimal currency with exact reconciliation. The observed constraint is: FLOAT introduces approximate representations in money calculations. What initial check best narrows the technical cause without altering business data?
- Examine stored numeric types and rounding differences
- Assess key stability, uniqueness, and referencing tables
- Map node and edge relationships and query capabilities
- Inspect index fragmentation, page splits, and insert pattern
Explanation
Correct Answer
A:
FLOAT introduces approximate representations in money calculations. Examine stored numeric types and rounding differences.
Incorrect Answers
B:
Primary keys govern row identity and uniqueness, not numeric precision. Approximate FLOAT values can introduce rounding errors in monetary arithmetic even with perfect keys.
C:
“Map node and edge relationships and query capabilities” concerns Multiple self-joins make variable-depth connections difficult; the reported problem instead is FLOAT introduces approximate representations in money calculations. Examine stored numeric types and rounding differences.
D:
“Inspect index fragmentation, page splits, and insert pattern” concerns Page split events spike on a busy B-tree; the reported problem instead is FLOAT introduces approximate representations in money calculations. Examine stored numeric types and rounding differences.
Question 17
A database engineer at Riverbend Retail is investigating this case: A payment ledger stores decimal currency with exact reconciliation. The relevant finding is: FLOAT introduces approximate representations in money calculations. Which proposed change is the most suitable response to the observed constraint?
- Use DECIMAL with explicit precision and scale for exact money values
- Use bounded VARCHAR or NVARCHAR suited to multilingual content
- Use a SEQUENCE and NEXT VALUE FOR according to documented rules
- Use a DEFAULT UTC timestamp expression on CreatedAt
Explanation
Correct Answer
A:
FLOAT introduces approximate representations in money calculations. Use DECIMAL with explicit precision and scale for exact money values.
Incorrect Answers
B:
“Use bounded VARCHAR or NVARCHAR suited to multilingual content” concerns Fixed CHAR allocation wastes space on short product names; the reported problem instead is FLOAT introduces approximate representations in money calculations. Use DECIMAL with explicit precision and scale for exact money values.
C:
“Use a SEQUENCE and NEXT VALUE FOR according to documented rules” concerns IDENTITY on one table cannot coordinate numbering across tables; the reported problem instead is FLOAT introduces approximate representations in money calculations. Use DECIMAL with explicit precision and scale for exact money values.
D:
“Use a DEFAULT UTC timestamp expression on CreatedAt” concerns Application callers inconsistently supply CreatedAt; the reported problem instead is FLOAT introduces approximate representations in money calculations. Use DECIMAL with explicit precision and scale for exact money values.
Question 18
Prairie Logistics is responsible for an Azure SQL or Microsoft SQL workload. A payment ledger stores decimal currency with exact reconciliation. Operational evidence: FLOAT introduces approximate representations in money calculations. What isolated pilot would provide the strongest evidence before rollout?
- Replay a representative workload against an indexed test copy
- Change test usernames while maintaining foreign references
- Compare query plans before and after indexing in a test database
- Compute test invoice totals for edge-case decimal amounts
Explanation
Correct Answer
D:
FLOAT introduces approximate representations in money calculations. Compute test invoice totals for edge-case decimal amounts.
Incorrect Answers
A:
A covering rowstore index may improve access to queried rows but cannot make FLOAT calculations exact for money. Use an appropriate fixed-precision decimal representation.
B:
Primary keys govern row identity and uniqueness, not numeric precision. Approximate FLOAT values can introduce rounding errors in monetary arithmetic even with perfect keys.
C:
Indexing JSON_VALUE extracts can improve JSON lookup performance; it cannot repair approximate floating-point representation of financial amounts.
Question 19
At Silverpine Labs, a payment ledger stores decimal currency with exact reconciliation. The observed constraint is: FLOAT introduces approximate representations in money calculations. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Child relationships survive mutable business-field changes
- Page-split rate falls without excessive storage growth
- Remote rows and types match expected results without unnecessary local copies
- Reconciliation matches expected currency totals exactly
Explanation
Correct Answer
D:
FLOAT introduces approximate representations in money calculations. Reconciliation matches expected currency totals exactly.
Incorrect Answers
A:
Primary keys govern row identity and uniqueness, not numeric precision. Approximate FLOAT values can introduce rounding errors in monetary arithmetic even with perfect keys.
B:
“Page-split rate falls without excessive storage growth” concerns Page split events spike on a busy B-tree; the reported problem instead is FLOAT introduces approximate representations in money calculations. Reconciliation matches expected currency totals exactly.
C:
“Remote rows and types match expected results without unnecessary local copies” concerns Copying all external data hourly is costly; the reported problem instead is FLOAT introduces approximate representations in money calculations. Reconciliation matches expected currency totals exactly.
Question 20
A database engineer at Briarfield Foods is investigating this case: A payment ledger stores decimal currency with exact reconciliation. The relevant finding is: FLOAT introduces approximate representations in money calculations. What operational condition would provide the earliest useful regression warning?
- Watch conversion and arithmetic overflow errors
- Observe constraint violations in ingestion logs
- Watch partition boundary maintenance and skew
- Watch rowgroup health and segment elimination
Explanation
Correct Answer
A:
FLOAT introduces approximate representations in money calculations. Watch conversion and arithmetic overflow errors.
Incorrect Answers
B:
“Observe constraint violations in ingestion logs” addresses the foreign key referential integrity situation—orphan records appear after bulk import. The observed failure is: FLOAT introduces approximate representations in money calculations. Watch conversion and arithmetic overflow errors.
C:
“Watch partition boundary maintenance and skew” concerns Large deletes cause long log usage and blocking; the reported problem instead is FLOAT introduces approximate representations in money calculations. Watch conversion and arithmetic overflow errors.
D:
“Watch rowgroup health and segment elimination” concerns Row-oriented scans consume excessive I/O for aggregation; the reported problem instead is FLOAT introduces approximate representations in money calculations. Watch conversion and arithmetic overflow errors.