Google Cloud Associate Cloud Engineer — Question 299
Your company is closely monitoring their cloud spend. You need to allow different teams to monitor their Google Cloud costs. You must ensure that team members receive notifications when their cloud spend reaches certain thresholds and give team members the ability to create dashboards for additional insights with detailed billing data. You want to follow Google-recommended practices and minimize engineering costs. What should you do?
Answer options
- A. Deploy Grafana to Compute Engine. Create a dashboard for each team that uses the data from the Cloud Billing API. Ask each team to create their own alerts in Cloud Monitoring.
- B. Set up alerts for each team based on required thresholds. Create a shell script to read data from the Cloud Billing API, and push the results to BigQuery. Grant team members access to BigQuery.
- C. Deploy Grafana to Compute Engine. Create a dashboard for each team that uses the data from the Cloud Billing Budget API. Ask each team to create their own alerts in Grafana.
- D. Set up alerts for each team based on required thresholds. Set up billing exports to BigQuery. Grant team members access to BigQuery.
Correct answer: D
Explanation
The correct answer is D because setting up alerts based on thresholds and utilizing billing exports to BigQuery allows teams to receive notifications and access detailed billing data efficiently. This approach aligns with Google’s best practices for cost management. The other options either involve unnecessary complexity or do not leverage the capabilities of the Cloud Billing Budget API effectively.