QuestionQ102
Ensuring solution and operations excellenceYour company has a Google Cloud project that uses BigQuery for data warehousing with pay-per-use pricing. You need to monitor queries in real time to identify the most expensive queries and the users who spend the most. What should you do?
- A
- In the BigQuery dataset that contains all the tables to be queried, add a label for each user that can launch a query. 2. Open the Billing page of the project. 3. Select Reports. 4. Select BigQuery as the product and filter by the user you want to check.
- B
- Create a Cloud Logging sink to export BigQuery data access logs to BigQuery. 2. Perform a BigQuery query on the generated table to extract the information you need.
- C
- Create a Cloud Logging sink to export BigQuery data access logs to Cloud Storage. 2. Develop a Dataflow pipeline to compute the cost of queries split by users.
- D
- Activate billing export into BigQuery. 2. Perform a BigQuery query on the billing table to extract the information you need.
Community Discussion