Complete the code to specify the Cloud SQL instance tier for pricing calculation.
instance_config = {"tier": "[1]"}The tier db-f1-micro is a valid Cloud SQL instance tier used for pricing and configuration.
Complete the code to set the storage type for Cloud SQL pricing.
storage_config = {"storageType": "[1]"}The storage type SSD is commonly used for Cloud SQL and affects pricing.
Fix the error in the code to correctly calculate the monthly cost for a Cloud SQL instance with 100 GB storage.
monthly_cost = instance_price_per_hour * 24 * 30 + [1] * storage_price_per_gb
The storage size is 100 GB, so the multiplier must be 100 to calculate storage cost correctly.
Fill both blanks to define a Cloud SQL instance with 2 vCPUs and 7.5 GB RAM for pricing estimation.
instance_config = {"vCPU": [1], "memoryGb": [2]The instance has 2 vCPUs and 7.5 GB RAM, which are used for pricing calculations.
Fill all three blanks to calculate total monthly cost including instance, storage, and backup costs.
total_cost = ([1] * hours_per_month) + (storage_gb * [2]) + (backup_gb * [3])
The total cost includes instance hourly price, storage price per GB, and backup price per GB.