Google Cloud Professional Data Engineer — Question 262
Each analytics team in your organization is running BigQuery jobs in their own projects. You want to enable each team to monitor slot usage within their projects.
What should you do?
Answer options
- A. Create a Cloud Monitoring dashboard based on the BigQuery metric query/scanned_bytes
- B. Create a Cloud Monitoring dashboard based on the BigQuery metric slots/allocated_for_project
- C. Create a log export for each project, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
- D. Create an aggregated log export at the organization level, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
Correct answer: B
Explanation
The correct answer is B because the BigQuery metric slots/allocated_for_project specifically tracks the slots allocated for each project, allowing teams to monitor their usage effectively. Options A and C focus on metrics that do not directly relate to slot allocation, and option D aggregates logs at the organization level, which does not meet the requirement of project-specific monitoring.