ASSOCIATE-CLOUD-ENGINEER practice question 21 of 35
You have a large 5-TB AVRO file stored in a Cloud Storage bucket. Your analysts are proficient only in SQL and need access to the data stored in this file. You want to find a cost-effective way to complete their request as soon as possible. What should you do?
Full set: 332 questionsCreating a BigQuery external table allows you to query data directly in Cloud Storage without ingesting it into BigQuery's managed storage. This approach is the fastest because it only involves a quick metadata definition, eliminating the time-consuming step of loading a 5-TB file. It is also the most cost-effective for this ad-hoc request, as you only pay for the query execution (bytes scanned) and not for storing the 5 TB of data within BigQuery. This solution provides a standard SQL interface directly meeting the analysts' needs.
A. Cloud Datastore is a NoSQL database and does not offer a standard SQL interface. It is not designed for large-scale analytical queries.
B. Loading 5 TB of data into BigQuery incurs storage costs and takes significant time, contradicting the "as soon as possible" and "cost-effective" requirements.
D. Creating and managing a Hadoop cluster (e.g., with Dataproc) is operationally complex, slow to set up, and more expensive than using a serverless tool like BigQuery.
1. Google Cloud Documentation - Introduction to external tables: "External tables are useful for querying data without loading it into BigQuery managed storage. For example, you might have a frequent ETL job that loads data from Cloud Storage into BigQuery. Instead of loading the data before running queries, you can create an external table that points to the data in Cloud Storage." This directly supports the speed and cost-effectiveness of option C.
2. Google Cloud Documentation - Querying Cloud Storage data: "You can query data in Cloud Storage directly from BigQuery... Querying external data sources is useful for... Performing ad hoc queries on your data without loading it into BigQuery." This confirms the use case for ad-hoc analysis on data residing in Cloud Storage.
3. Google Cloud Documentation - BigQuery pricing - Storage pricing: "Storage pricing is the cost to store data that you load into BigQuery." By using an external table (Option C), this storage cost is avoided, making it more cost-effective than loading the data (Option B).
4. Google Cloud Documentation - What is Datastore?: "Datastore is a highly scalable NoSQL database for your applications." This confirms that Datastore is not a SQL database and is intended for application backends, not large-scale analytics.
Keep practicing
Take the free ASSOCIATE-CLOUD-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-CLOUD-ENGINEER practice questions
- Question 1You need to verify that a Google Cloud Platform service account was created at a particul…
- Question 2You are building a new version of an application hosted in an App Engine environment. You…
- Question 3You need to create a new billing account and then link it with an existing Google Cloud P…
- Question 4You want to configure 10 Compute Engine instances for availability when maintenance occur…
- Question 5You need to create a custom VPC with a single subnet. The subnet’s range must be as large…
- Question 6You significantly changed a complex Deployment Manager template and want to confirm that …
