Microsoft DP-900 Practice Test 19
Question 180
An order line references a product that was never created. After selecting the proper Foreign key referential integrity approach, which observation gives the clearest evidence of success?
- A planned failover procedure documents data latency and routing behavior.
- Audit records capture intended events and report users cannot change schemas.
- Callers execute consistent logic with tested permissions.
- Invalid references are rejected and approved relationship changes follow the constraint.
Explanation
Correct Answer
D:Invalid references are rejected and approved relationship changes follow the constraint. This is the directly observable result for Foreign key referential integrity; foreign keys protect cross-table references to parent keys.
Incorrect Answers
A:A planned failover procedure documents data latency and routing behavior. This supports Azure SQL active geo-replication tradeoff, not confirmation of Foreign key referential integrity. The relevant evidence is that invalid references are rejected and approved relationship changes follow the constraint.
B:Audit records capture intended events and report users cannot change schemas. This supports Azure SQL auditing and least privilege, not confirmation of Foreign key referential integrity. The relevant evidence is that invalid references are rejected and approved relationship changes follow the constraint.
C:Callers execute consistent logic with tested permissions. This supports Stored procedure reusable server operation, not confirmation of Foreign key referential integrity. The relevant evidence is that invalid references are rejected and approved relationship changes follow the constraint.
Question 181
Source connectors frequently fail during scheduled data ingestion. What is the MOST appropriate next validation or correction?
- Compare query plans and before-after latency on test workloads.
- Test connectors pipelines retries and reconciliation counts.
- Assign customer spreadsheet styling as the only job of the ingestion engineer.
- Test rollback when the second operation fails.
Explanation
Correct Answer
B:Test connectors pipelines retries and reconciliation counts. This tests the intended result: source data arrives in correct destinations with logged errors and retries.
Incorrect Answers
A:Compare query plans and before-after latency on test workloads. It tests DBA performance tuning and indexing rather than the critical Data engineer ingestion pipeline behavior. Data engineers build reliable movement and preparation of data across systems.
C:Assign customer spreadsheet styling as the only job of the ingestion engineer. This unsafe shortcut leaves the Data engineer ingestion pipeline problem unresolved. Building dashboards without ensuring ingestion produces stale insights.
D:Test rollback when the second operation fails. It tests OLTP atomic purchase transaction rather than the critical Data engineer ingestion pipeline behavior. Data engineers build reliable movement and preparation of data across systems.
Question 182
An IoT app stores status for devices grouped by site. Which choice BEST meets this requirement?
- Choose a partition key with sufficient cardinality and even request distribution.
- Select an appropriate redundancy option based on local zone and regional failure requirements.
- Design entities with appropriate PartitionKey and RowKey values.
- Query only a free-text Description field and assume it is the unique Table primary key.
Explanation
Correct Answer
C:Table Storage identifies entities by partition and row keys.
Incorrect Answers
A:Choose a partition key with sufficient cardinality and even request distribution. That action primarily handles Cosmos DB logical partition key; the given requirement is Table Storage PartitionKey and RowKey. Table Storage identifies entities by partition and row keys.
B:Select an appropriate redundancy option based on local zone and regional failure requirements. That action primarily handles Azure Storage LRS ZRS GRS distinctions; the given requirement is Table Storage PartitionKey and RowKey. Table Storage identifies entities by partition and row keys.
D:Query only a free-text Description field and assume it is the unique Table primary key. It does not implement Table Storage PartitionKey and RowKey. Unbalanced partition keys or unselective scans can harm performance.
Question 183
A notebook produces correct results interactively but fails without pinned dependencies. What is the MOST appropriate next validation or correction?
- Run notebook as an unattended job with fixed inputs.
- Review model relationships and test grouped business metrics.
- Assume an unsaved notebook cell is a durable production data pipeline.
- Test app audience membership and semantic model access.
Explanation
Correct Answer
A:Run notebook as an unattended job with fixed inputs. This tests the intended result: scheduled runs repeat the transformation outside an author's interactive session.
Incorrect Answers
B:Review model relationships and test grouped business metrics. It tests Star schema analytical query model rather than the critical Databricks collaborative notebooks behavior. Notebooks can combine code documentation and analytical results but require governed execution.
C:Assume an unsaved notebook cell is a durable production data pipeline. This unsafe shortcut leaves the Databricks collaborative notebooks problem unresolved. Untracked library updates can make a previous transformation nonreproducible.
D:Test app audience membership and semantic model access. It tests Power BI reports dashboards and sharing rather than the critical Databricks collaborative notebooks behavior. Notebooks can combine code documentation and analytical results but require governed execution.
Question 184
A system permits only one account for each normalized username. Which choice BEST meets this requirement?
- Apply a UNIQUE constraint or index on the additional business key.
- Put UNIQUE in a comment and assume the database validates it.
- Consider serverless Azure SQL Database compute where supported and tune auto-pause parameters.
- Denormalize only selected analytical attributes with a refresh consistency plan.
Explanation
Correct Answer
A:Apply a UNIQUE constraint or index on the additional business key. A table can enforce uniqueness on nonprimary attributes. In the stated case, verification should show that duplicate tax identifiers are rejected without changing row primary keys.
Incorrect Answers
B:Put UNIQUE in a comment and assume the database validates it. It does not implement Unique index versus primary key. Relying solely on application checks allows races that create duplicates.
C:Consider serverless Azure SQL Database compute where supported and tune auto-pause parameters. That action primarily handles Azure SQL Database serverless compute; the given requirement is Unique index versus primary key. A table can enforce uniqueness on nonprimary attributes.
D:Denormalize only selected analytical attributes with a refresh consistency plan. That action primarily handles Denormalization for analytics tradeoff; the given requirement is Unique index versus primary key. A table can enforce uniqueness on nonprimary attributes.
Question 185
An analyst joins one order row to three marketing campaigns and sums revenue. What is the MOST appropriate next validation or correction?
- Compare prejoin row counts with postjoin cardinalities.
- Test a group with many small charges whose total exceeds threshold.
- Use SELECT DISTINCT blindly and assume every aggregation error is fixed.
- Test T-SQL connection and selected compute tier behavior.
Explanation
Correct Answer
A:Compare prejoin row counts with postjoin cardinalities. This tests the intended result: reconciled totals remain stable after joining dimension and bridge rows.
Incorrect Answers
B:Test a group with many small charges whose total exceeds threshold. It tests SQL HAVING after grouping rather than the critical Cardinality of joined dimensions behavior. Joins can multiply fact records in one-to-many relationships.
C:Use SELECT DISTINCT blindly and assume every aggregation error is fixed. This unsafe shortcut leaves the Cardinality of joined dimensions problem unresolved. Summing a duplicated fact across join rows inflates revenue.
D:Test T-SQL connection and selected compute tier behavior. It tests Azure SQL Database single database PaaS rather than the critical Cardinality of joined dimensions behavior. Joins can multiply fact records in one-to-many relationships.
Question 186
A retailer processes thousands of individual cart updates while running annual category reports. Which choice BEST meets this requirement?
- Separate transaction-optimized writes from analytical aggregation workloads as needed.
- Use a hierarchical-namespace enabled storage account for data lake file organization.
- Use typed relational columns with defined constraints for consistently shaped entities.
- Store every aggregated yearly total as the only source of checkout-line truth.
Explanation
Correct Answer
A:OLTP emphasizes short consistent transactions whereas OLAP emphasizes aggregated analytical reads.
Incorrect Answers
B:Use a hierarchical-namespace enabled storage account for data lake file organization. That action primarily handles Azure Data Lake Storage Gen2 analytics landing; the given requirement is OLTP relational versus OLAP analytical store. OLTP emphasizes short consistent transactions whereas OLAP emphasizes aggregated analytical reads.
C:Use typed relational columns with defined constraints for consistently shaped entities. That action primarily handles Structured records in a customer table; the given requirement is OLTP relational versus OLAP analytical store. OLTP emphasizes short consistent transactions whereas OLAP emphasizes aggregated analytical reads.
D:Store every aggregated yearly total as the only source of checkout-line truth. It does not implement OLTP relational versus OLAP analytical store. Running massive unbounded analytics queries on a critical transactional database may hurt performance.
Question 187
A legacy Table Storage application wants enhanced distributed features. After selecting the proper Cosmos DB API for Table compatibility approach, which observation gives the clearest evidence of success?
- Authorized clients retrieve the correct binary object using its blob address.
- Existing key-value entity requests function against the chosen Cosmos API.
- Stored blobs are encrypted and unauthorized retrieval requests are denied.
- Old session documents disappear according to TTL policy.
Explanation
Correct Answer
B:Existing key-value entity requests function against the chosen Cosmos API. This is the directly observable result for Cosmos DB API for Table compatibility; the Table API can support Table-style entity access within Cosmos DB.
Incorrect Answers
A:Authorized clients retrieve the correct binary object using its blob address. This supports Blob storage object and container hierarchy, not confirmation of Cosmos DB API for Table compatibility. The relevant evidence is that existing key-value entity requests function against the chosen Cosmos API.
C:Stored blobs are encrypted and unauthorized retrieval requests are denied. This supports Storage encryption and access controls, not confirmation of Cosmos DB API for Table compatibility. The relevant evidence is that existing key-value entity requests function against the chosen Cosmos API.
D:Old session documents disappear according to TTL policy. This supports Cosmos DB TTL document expiration, not confirmation of Cosmos DB API for Table compatibility. The relevant evidence is that existing key-value entity requests function against the chosen Cosmos API.
Question 188
A DBA must distinguish missing indexes from application network delays. Select TWO statements that correctly describe the DBA performance tuning and indexing implementation and how it can be verified.
- Analyze execution plans indexes and database workload metrics.
- Diagnose every SQL timeout by changing a Power BI chart color.
- Validate data quality and compare segmented trends before conclusions.
- Rewritten or indexed queries improve measured response safely.
- Extract clean and transform upstream then load only validated results.
Explanation
Correct Answers
A:Analyze execution plans indexes and database workload metrics. This is an appropriate action for the DBA performance tuning and indexing case. DBAs tune database performance as well as maintaining access and reliability.
D:Rewritten or indexed queries improve measured response safely. This is directly observable success evidence for DBA performance tuning and indexing.
Incorrect Answers
B:Diagnose every SQL timeout by changing a Power BI chart color. This is not a safe or appropriate DBA performance tuning and indexing implementation. Adding random indexes can increase write cost without fixing the bottleneck.
C:Validate data quality and compare segmented trends before conclusions. This implements Data analyst anomaly interpretation instead of the required DBA performance tuning and indexing function. DBAs tune database performance as well as maintaining access and reliability.
E:Extract clean and transform upstream then load only validated results. This implements ETL data transformation before loading instead of the required DBA performance tuning and indexing function. DBAs tune database performance as well as maintaining access and reliability.
Question 189
A monitoring service appends log records throughout the day. Which choice BEST meets this requirement?
- Consider append blobs for append-based writes with appropriate access and retention controls.
- Consume a supported Cosmos DB change feed with checkpointed processing.
- Use a hierarchical-namespace-enabled storage account for suitable lake needs.
- Assume append blobs support arbitrary in-place sector updates like a virtual disk.
Explanation
Correct Answer
A:Append blobs optimize appending data rather than random page modification.
Incorrect Answers
B:Consume a supported Cosmos DB change feed with checkpointed processing. That action primarily handles Cosmos DB change feed updates; the given requirement is Append blob sequential logging. Append blobs optimize appending data rather than random page modification.
C:Use a hierarchical-namespace-enabled storage account for suitable lake needs. That action primarily handles ADLS Gen2 hierarchical namespace; the given requirement is Append blob sequential logging. Append blobs optimize appending data rather than random page modification.
D:Assume append blobs support arbitrary in-place sector updates like a virtual disk. It does not implement Append blob sequential logging. Choosing page-style random offsets on an append blob causes wrong write expectations.
Question 190
A project combines Spark notebooks and SQL-based finance reporting. After selecting the proper Lakehouse versus Warehouse selection approach, which observation gives the clearest evidence of success?
- Product filters affect intended fact rows without unpredictable double counting.
- The engine scans relevant partitions rather than every archive folder.
- Selected regions filter the relevant visuals and restore correctly.
- The chosen experience supports required processing and consumption without undue copying.
Explanation
Correct Answer
D:The chosen experience supports required processing and consumption without undue copying. This is the directly observable result for Lakehouse versus Warehouse selection; fabric workloads have complementary analytics designs rather than one universal model.
Incorrect Answers
A:Product filters affect intended fact rows without unpredictable double counting. This supports One-to-many semantic relationships, not confirmation of Lakehouse versus Warehouse selection. The relevant evidence is that the chosen experience supports required processing and consumption without undue copying.
B:The engine scans relevant partitions rather than every archive folder. This supports Data lake partition pruning, not confirmation of Lakehouse versus Warehouse selection. The relevant evidence is that the chosen experience supports required processing and consumption without undue copying.
C:Selected regions filter the relevant visuals and restore correctly. This supports Slicer interactive filter, not confirmation of Lakehouse versus Warehouse selection. The relevant evidence is that the chosen experience supports required processing and consumption without undue copying.