DAS-C01 · Question #148
A large energy company is using Amazon QuickSight to build dashboards and report the historical usage data of its customers. This data is hosted in Amazon Redshift. The reports need access to all…
The correct answer is A. Use QuickSight to modify the current dataset to use SPICE. To significantly speed up Amazon QuickSight dashboard response times for reports based on large Amazon Redshift datasets, especially when not currently using an in-memory engine, the most effective and least effort solution is to leverage QuickSight's internal data engine.
Question
A large energy company is using Amazon QuickSight to build dashboards and report the historical usage data of its customers. This data is hosted in Amazon Redshift. The reports need access to all the fact tables' billions ot records to create aggregation in real time grouping by multiple dimensions. A data analyst created the dataset in QuickSight by using a SQL query and not SPICE Business users have noted that the response time is not fast enough to meet their needs. Which action would speed up the response time for the reports with the LEAST implementation effort?
Options
- AUse QuickSight to modify the current dataset to use SPICE
- BUse AWS Glue to create an Apache Spark job that joins the fact table with the dimensions.
- CUse Amazon Redshift to create a materialized view that joins the fact table with the dimensions
- DUse Amazon Redshift to create a stored procedure that joins the fact table with the dimensions.
How the community answered
(48 responses)- A71% (34)
- B4% (2)
- C8% (4)
- D17% (8)
Why each option
To significantly speed up Amazon QuickSight dashboard response times for reports based on large Amazon Redshift datasets, especially when not currently using an in-memory engine, the most effective and least effort solution is to leverage QuickSight's internal data engine.
The Amazon QuickSight SPICE (Super-fast, Parallel, In-memory Calculation Engine) engine is designed to accelerate interactive dashboard performance by caching data in its high-performance, in-memory columnar store. By importing the dataset into SPICE, QuickSight serves queries from its optimized cache, drastically reducing latency and the load on Amazon Redshift, thereby speeding up report response times with minimal implementation effort.
Using AWS Glue to create an Apache Spark job for pre-joining data would involve building a new ETL pipeline, which requires significant implementation effort and does not directly optimize QuickSight's interactive dashboard performance; it's an upstream data preparation step.
Creating a materialized view in Amazon Redshift can improve query performance by pre-computing results on the Redshift side. While beneficial for Redshift queries, QuickSight would still need to query Redshift for every interaction unless SPICE is used, and it involves more effort than simply configuring SPICE for the existing QuickSight dataset.
Creating a stored procedure in Amazon Redshift encapsulates SQL logic but does not inherently improve query performance by pre-computing or caching results. It would still execute complex joins and aggregations on demand, offering little improvement to the core issue of slow query execution over billions of records.
Concept tested: QuickSight SPICE engine for performance optimization
Source: https://docs.aws.amazon.com/quicksight/latest/user/spice.html
Topics
Community Discussion
No community discussion yet for this question.