You have historical data covering the last three years in BigQuery and a data pipeline that delivers new data to BigQuery daily. You have noticed that when the Data Science team runs a query filtered on a date column and limited to 30--90 days of data, the query scans the entire table. You also noticed that your bill is increasing more quickly than you expected. You want to resolve the issue as cost-effectively as possible while maintaining the ability to conduct SQL queries. What should you do?
Suggested Answer: C
Get Premium Professional Data Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
RE
Rebbecca
1 year ago
A is definitely the most cost-effective option here.
ER
Ernestine
1 year ago
Wait, D? Creating a table per day? That seems excessive!
KI
King
1 year ago
C could work, but managing multiple tables might get messy.
DU
Dulce
1 year ago
I disagree, B is way too cumbersome for daily queries.
AL
Alline
1 year ago
A sounds like a solid plan! Partitioning is key.
LA
Larae
1 year ago
I feel like using wildcards in option D could be useful, but it might not address the underlying issue of scanning the entire table. I lean towards partitioning instead.
PO
Portia
1 year ago
I'm a bit hesitant about option C; maintaining two separate tables sounds complicated. Wouldn't that just add more overhead to our data management?
LI
Lisandra
1 year ago
I remember a similar question about optimizing queries in BigQuery, and partitioning was definitely a key point. It seems like option A makes the most sense here.
LA
Laurena
1 year ago
I think partitioning the tables by date could really help with the query performance, but I'm not entirely sure if that's the only solution we need.
KI
King
1 year ago
I'm a bit unsure about this. Does a macro really cover both requirements of automating tasks and sharing knowledge articles? I'll need to think this through more carefully.
JO
Jose
1 year ago
I'm a bit confused by this question. I'll need to re-read it and think through what information is required to properly set up the invoice discount terms for the vendor in Sweden.