Google Cloud Associate Cloud Engineer — Question 134

You have an application that uses Cloud Spanner as a database backend to keep current state information about users. Cloud Bigtable logs all events triggered by users. You export Cloud Spanner data to Cloud Storage during daily backups. One of your analysts asks you to join data from Cloud Spanner and Cloud
Bigtable for specific users. You want to complete this ad hoc request as efficiently as possible. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer, D, is effective because it leverages BigQuery's capability to join external tables, allowing for a seamless integration of data from Cloud Storage and Cloud Bigtable based on user criteria. Options A and B involve unnecessary data copying without joining capabilities, while option C does not directly join the data but rather extracts it to a separate environment, complicating the process.