PROFESSIONAL-CLOUD-ARCHITECT · Question #91
Case Study: 6 - TerramEarth Company Overview TerramEarth manufactures heavy equipment for the mining and agricultural industries. About 80% of their business is from mining and 20% from agriculture. T
The correct answer is C. Create a BigQuery time-partitioned table for the European data, and set the partition expiration. Enable a bucket lifecycle management rule to delete objects older than 36 months. Use partitioned tables in BigQuery and set the partition expiration period to 36 months. is the right When you create a table partitioned by ingestion time, BigQuery automatically loads data into da
Question
Options
- ACreate a BigQuery table for the European data, and set the table retention period to 36 months.
- BCreate a BigQuery table for the European data, and set the table retention period to 36 months.
- CCreate a BigQuery time-partitioned table for the European data, and set the partition expiration
- DCreate a BigQuery time-partitioned table for the European data, and set the partition period to 36
How the community answered
(24 responses)- A8% (2)
- B17% (4)
- C71% (17)
- D4% (1)
Explanation
Enable a bucket lifecycle management rule to delete objects older than 36 months. Use partitioned tables in BigQuery and set the partition expiration period to 36 months. is the right When you create a table partitioned by ingestion time, BigQuery automatically loads data into daily, date-based partitions that reflect the data's ingestion or arrival time. Ref: https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time And Google recommends you configure the default table expiration for your datasets, configure the expiration time for your tables, and configure the partition expiration for partitioned tables. Ref: https://cloud.google.com/bigquery/docs/best-practices- storage#use_the_expiration_settings_to_remove_unneeded_tables_and_partitions If the partitioned table has a table expiration configured, all the partitions in it are deleted according to the table expiration settings. For our specific requirement, we could set the partition expiration to 36 months so that partitions older than 36 months (and the data within) are automatically deleted. Ref: https://cloud.google.com/bigquery/docs/managing-partitioned-tables#partition-expiration
Topics
Community Discussion
No community discussion yet for this question.