70-463 · Question #1
You are reviewing the design of a customer dimension table in an existing data warehouse hosted on SQL Azure. The current dimension design does not allow the retention of historical changes to custome
The correct answer is A. Add StartDate and EndDate columns to the customer dimension.. This question tests knowledge of Slowly Changing Dimension Type 2 (SCD2) design, which supports full historical tracking of attribute changes by adding date range columns.
Question
You are reviewing the design of a customer dimension table in an existing data warehouse hosted on SQL Azure. The current dimension design does not allow the retention of historical changes to customer attributes such as Postcode. You need to redesign the dimension to enable the full historical reporting of changes to multiple customer attributes including Postcode. What should you do?
Options
- AAdd StartDate and EndDate columns to the customer dimension.
- BAdd an IsCurrent column to the customer dimension.
- CEnable Snapshot Isolation on the data warehouse.
- DAdd CurrentValue and PreviousValue columns to the customer dimension.
How the community answered
(18 responses)- A78% (14)
- B6% (1)
- C11% (2)
- D6% (1)
Why each option
This question tests knowledge of Slowly Changing Dimension Type 2 (SCD2) design, which supports full historical tracking of attribute changes by adding date range columns.
Adding StartDate and EndDate columns implements SCD Type 2, where each change to a customer attribute creates a new row with a date range defining the validity period. This allows full historical reporting by querying which row was active at any point in time, covering multiple attribute changes across all customers.
An IsCurrent flag only marks the latest record but does not store date boundaries, making it impossible to reconstruct attribute values at arbitrary historical points.
Snapshot Isolation is a database-level transaction isolation setting that prevents dirty reads; it has no effect on dimension history or data model design.
CurrentValue and PreviousValue columns can only store one level of change history, not the full chain of historical values needed for complete historical reporting.
Concept tested: Slowly Changing Dimension Type 2 design
Source: https://learn.microsoft.com/en-us/azure/architecture/data-guide/relational-data/data-warehousing
Topics
Community Discussion
No community discussion yet for this question.