0
0
GCPcloud~20 mins

Cost management with billing reports in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Billing Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Understanding GCP Billing Export Behavior

You enable billing export to BigQuery in Google Cloud Platform. What happens to the billing data after export?

ABilling data is continuously appended to the BigQuery dataset daily, allowing historical cost analysis.
BBilling data is exported in real-time every minute to BigQuery.
CBilling data is exported only once at the end of the month and then stops.
DBilling data is overwritten every day, so only the latest day's costs are available.
Attempts:
2 left
💡 Hint

Think about how billing reports help track costs over time.

Architecture
intermediate
2:00remaining
Designing a Cost Alert System Using Billing Data

You want to create an alert system that notifies your team when daily GCP costs exceed a threshold. Which GCP service combination is best suited for this?

AUse Cloud Logging to monitor billing logs and trigger alerts via Cloud Scheduler.
BExport billing data to BigQuery, use Cloud Functions to query costs daily, and send alerts via Pub/Sub.
CUse Cloud Monitoring to create a budget alert directly without exporting billing data.
DExport billing data to Cloud Storage, manually check costs, and send emails from a VM.
Attempts:
2 left
💡 Hint

Consider the simplest way to get cost alerts without complex setup.

security
advanced
2:00remaining
Securing Billing Data Access in BigQuery

You have exported billing data to a BigQuery dataset. How do you ensure only the finance team can view this sensitive cost data?

AMake the billing dataset public but restrict access using dataset labels.
BStore billing data in Cloud Storage with public read access and share the link with finance.
CUse a service account with Owner role and share its key with the finance team.
DGrant the finance team the BigQuery Data Viewer role on the billing dataset and remove access from others.
Attempts:
2 left
💡 Hint

Think about the principle of least privilege and proper role assignment.

Best Practice
advanced
2:00remaining
Optimizing Billing Export for Large Organizations

Your organization has multiple projects and wants detailed cost tracking per project and service. What is the best practice for billing export setup?

AEnable billing export separately for each project to different BigQuery datasets.
BEnable billing export to BigQuery at the billing account level to capture all projects in one dataset.
CExport billing data only for the largest project to reduce data volume.
DUse Cloud Storage export for each project and merge data manually.
Attempts:
2 left
💡 Hint

Consider how to get a unified view of costs across projects.

🧠 Conceptual
expert
2:00remaining
Interpreting Cost Anomalies in Billing Reports

You notice a sudden spike in your GCP billing report for a specific service on one day. Which of the following is the most likely cause?

AA temporary increase in resource usage or a new deployment causing higher consumption.
BBilling export failed that day, causing incorrect data to appear as a spike.
CThe billing account was deleted and recreated, resetting cost data.
DBigQuery automatically aggregates costs incorrectly on some days.
Attempts:
2 left
💡 Hint

Think about what usually causes cost spikes in cloud usage.