0
0
GCPcloud~20 mins

Cloud SQL pricing in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cloud SQL Pricing Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Cloud SQL Instance Pricing Components

Which of the following components directly affect the cost of a Cloud SQL instance in Google Cloud?

ANumber of tables, number of indexes, and database engine type
BCPU count, memory size, storage capacity, and network egress
CNumber of users connected, database schema size, and query complexity
DOperating system version, database engine version, and backup frequency
Attempts:
2 left
💡 Hint

Think about what resources you pay for when running a virtual machine and storage in the cloud.

service_behavior
intermediate
2:00remaining
Effect of Storage Type on Cloud SQL Pricing

You choose between SSD and HDD storage for your Cloud SQL instance. How does this choice affect your monthly bill?

ASSD storage costs more per GB than HDD storage, increasing your monthly bill
BHDD storage costs more per GB than SSD storage, increasing your monthly bill
CBoth SSD and HDD storage cost the same per GB, so no price difference
DStorage type does not affect pricing; only storage size matters
Attempts:
2 left
💡 Hint

Think about performance differences and typical cloud storage pricing.

Architecture
advanced
2:00remaining
Cost Impact of High Availability Configuration in Cloud SQL

You enable High Availability (HA) for your Cloud SQL instance. What is the expected effect on your monthly cost?

AMonthly cost increases by 10% due to backup overhead
BMonthly cost decreases due to optimized resource usage
CMonthly cost stays the same because HA is free
DMonthly cost roughly doubles because a standby instance runs in another zone
Attempts:
2 left
💡 Hint

Consider what happens behind the scenes when HA is enabled.

security
advanced
2:00remaining
Cost Considerations for Automated Backups in Cloud SQL

How do automated backups affect your Cloud SQL monthly bill?

ABackups reduce your monthly bill by compressing data
BBackups are included free with the instance storage
CBackup storage beyond the instance's allocated storage is billed separately
DBackup costs are fixed and do not depend on backup size
Attempts:
2 left
💡 Hint

Think about where backups are stored and how storage is billed.

Best Practice
expert
2:00remaining
Optimizing Cloud SQL Costs for Variable Workloads

You have a Cloud SQL instance with variable workload peaks during the day and low usage at night. Which approach best optimizes cost without losing availability?

AUse Cloud SQL instance resizing to scale CPU and memory up during peaks and down at night
BKeep a large instance running 24/7 to handle peak loads without changes
CDelete the instance at night and recreate it in the morning
DUse only HDD storage to reduce costs regardless of workload
Attempts:
2 left
💡 Hint

Think about how to match resource allocation to demand dynamically.