
Explanation:
Option B is correct because:
create_date: Date-based partitioning is ideal for time-series data as it allows BigQuery to scan only relevant partitions during querieslocation_id and device_version: Clustering organizes data within partitions, enabling efficient filtering and sortingWhy other options are incorrect:
locationed instead of location_id) and partitions by non-date columns which is less efficientThis combination of partitioning and clustering follows BigQuery best practices for optimizing both cost and performance.
Ultimate access to all questions.
No comments yet.
NO.29 You want to optimize your queries for cost and performance. How should you structure your data?
A
Partition table data by create_date, location_id and device_version
B
Partition table data by create_date cluster table data by location_id and device_version
C
Cluster table data by create_date, location_id and device_version
D
Cluster table data by create_date partition by locationed and device_version