ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 291 - Professional Data Engineer discussion

Report
Export

You have 100 GB of data stored in a BigQuery table. This data is outdated and will only be accessed one or two times a year for analytics with SQL. For backup purposes, you want to store this data to be immutable for 3 years. You want to minimize storage costs. What should you do?

A.
1 Create a BigQuery table clone. 2. Query the clone when you need to perform analytics.
Answers
A.
1 Create a BigQuery table clone. 2. Query the clone when you need to perform analytics.
B.
1 Create a BigQuery table snapshot. 2 Restore the snapshot when you need to perform analytics.
Answers
B.
1 Create a BigQuery table snapshot. 2 Restore the snapshot when you need to perform analytics.
C.
1. Perform a BigQuery export to a Cloud Storage bucket with archive storage class. 2 Enable versionmg on the bucket. 3. Create a BigQuery external table on the exported files.
Answers
C.
1. Perform a BigQuery export to a Cloud Storage bucket with archive storage class. 2 Enable versionmg on the bucket. 3. Create a BigQuery external table on the exported files.
D.
1 Perform a BigQuery export to a Cloud Storage bucket with archive storage class. 2 Set a locked retention policy on the bucket. 3. Create a BigQuery external table on the exported files.
Answers
D.
1 Perform a BigQuery export to a Cloud Storage bucket with archive storage class. 2 Set a locked retention policy on the bucket. 3. Create a BigQuery external table on the exported files.
Suggested answer: D

Explanation:

This option will allow you to store the data in a low-cost storage option, as the archive storage class has the lowest price per GB among the Cloud Storage classes. It will also ensure that the data is immutable for 3 years, as the locked retention policy prevents the deletion or overwriting of the data until the retention period expires. You can still query the data using SQL by creating a BigQuery external table that references the exported files in the Cloud Storage bucket. Option A is incorrect because creating a BigQuery table clone will not reduce the storage costs, as the clone will have the same size and storage class as the original table. Option B is incorrect because creating a BigQuery table snapshot will also not reduce the storage costs, as the snapshot will have the same size and storage class as the original table. Option C is incorrect because enabling versioning on the bucket will not make the data immutable, as the versions can still be deleted or overwritten by anyone with the appropriate permissions. It will also increase the storage costs, as each version of the file will be charged separately.Reference:

Exporting table data | BigQuery | Google Cloud

Storage classes | Cloud Storage | Google Cloud

Retention policies and retention periods | Cloud Storage | Google Cloud

Federated queries | BigQuery | Google Cloud

asked 18/09/2024
Vitalii Lutsenko
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first