You want to create a MySQL Cloud SQL instance named my-instance in the us-central1 region with 10GB storage. Which gcloud command will do this correctly?
Check the database version, region, and storage size carefully.
Option B correctly specifies MySQL 8.0, the region us-central1, and 10GB storage. Option B uses PostgreSQL, not MySQL. Option B uses MySQL 5.7 and a zone instead of region. Option B uses the wrong region and storage size.
You want to deploy a Cloud SQL instance that remains available even if one zone fails. Which architecture option achieves this?
Think about automatic failover and zone redundancy.
Option C enables high availability with automatic failover between zones. Option C has no failover. Option C requires manual switching and is complex. Option C read replicas do not provide failover for writes.
You want to allow only your Compute Engine VM instances in the default network to connect to your Cloud SQL instance. Which method correctly restricts access?
Consider private IP connectivity within the same network.
Option D uses private IP, which restricts access to VMs in the same VPC network securely. Option D is invalid because internal IPs are not used in authorized networks. Option D exposes the instance to external IPs, less secure. Option D allows all IPs, no restriction.
You delete a Cloud SQL instance that has automated backups enabled. What happens to the backups?
Think about backup retention policies after instance deletion.
Option A is correct because automated backups are retained for the configured retention period and can be used to restore a new instance. Option A deletes backups immediately, which is incorrect. Option A is not how backups behave. Option A is not the backup storage method.
You want to minimize downtime during maintenance for your Cloud SQL instance. Which approach follows best practice?
Consider when your users are least active.
Option A is best practice because scheduling maintenance during low-traffic periods reduces user impact. Option A is random and may cause downtime during busy times. Option A is not allowed as maintenance is required. Option A increases user disruption.