
Ultimate access to all questions.
A Business Intelligence (BI) team is developing a dashboard to monitor key retail sales metrics. The dashboard must display historical trends, including quarterly and yearly totals (and daily averages), sales for the previous day, and a rolling 7-day average.
The source data is a Lakehouse table, sales_details, which receives near real-time updates. It contains columns such as store_id, order_id, product_id, quantity, price, and order_timestamp.
The following constraints apply:
Which architectural approach best balances performance, user experience, and cost-effectiveness for this scenario?_
A
Use Structured Streaming to build a live dashboard that queries the sales_details table directly to ensure data is always current._
B
Implement a nightly batch job to pre-calculate the required metrics and store them in a summary table, overwriting the data with each update.
C
Create a Materialized View on the sales_details table and use this view as the primary source for the dashboard._
D
Configure a webhook to trigger an incremental update on the sales_details table whenever the dashboard is refreshed by a user._
E
Leverage Delta Cache to store the entire sales_details table in memory on the SQL Warehouse for faster query execution._