Google Professional Data Engineer Question 256
Select 3Google Cloud PlatformYou are a data engineer managing a Google Cloud environment for a retail analytics company. The company has a budget constraint and requires proactive monitoring of planned usage to avoid unexpected cost overruns. Which of the following approaches should you implement to monitor and control the planned usage effectively?
- A
Set up a budget alert in Cloud Billing to notify stakeholders when costs exceed a predefined threshold.
- B
Use Cloud Monitoring to create custom metrics that track BigQuery query usage.
- C
Enable Dataflow autoscaling for data processing jobs to dynamically adjust resource consumption based on workload.
- D
Implement Identity and Access Management (IAM) policies to restrict access to cost-heavy Google Cloud services.
- E
Schedule regular exports of billing data to BigQuery and build dashboards in Looker Studio for real-time tracking.
Show answer and explanation
Correct answers: A, B, E
Explanation
Monitoring planned usage in a Google Cloud environment involves setting up alerts, tracking resource consumption, and analyzing billing data to ensure costs remain under control. Budget alerts, custom metrics in Cloud Monitoring, and detailed billing dashboards in Looker Studio are effective tools for achieving this. While options like autoscaling and IAM policies are useful for optimization and access control, they do not directly address the need for monitoring planned costs and usage.
- A. Correct.
Setting up budget alerts in Cloud Billing is a recommended practice to notify stakeholders when costs approach or exceed the planned budget, allowing proactive action.
- B. Correct.
Using Cloud Monitoring to create custom metrics for BigQuery usage enables tracking and understanding of resource consumption patterns, helping to stay within planned usage.
- C. Incorrect.
While enabling Dataflow autoscaling optimizes resource utilization for specific workloads, it does not directly help in monitoring or alerting on planned usage.
- D. Incorrect.
IAM policies help control access to services but are not directly related to monitoring or managing planned usage effectively.
- E. Correct.
Exporting billing data to BigQuery and visualizing it in Looker Studio allows detailed analysis and real-time tracking of costs, which aids in monitoring planned usage.