Complete the code to create a read replica instance in Cloud SQL.
gcloud sql instances create replica-instance --master-instance-name=[1] --region=us-central1The --master-instance-name flag specifies the primary instance to replicate from.
Complete the code to enable replication on the primary Cloud SQL instance.
gcloud sql instances patch primary-instance --[1]=ONEnabling bin-log-enabled on the primary instance allows read replicas to sync data.
Fix the error in the command to list read replicas of a Cloud SQL instance.
gcloud sql instances list --filter='[1]:REPLICA'
The filter key INSTANCE_TYPE is used to specify instance types like 'REPLICA'.
Fill both blanks to configure a read replica with a specific machine type and storage size.
gcloud sql instances create replica-instance --master-instance-name=primary-instance --tier=[1] --storage-size=[2]
The --tier flag sets the machine type, and --storage-size sets the disk size for the replica.
Fill all three blanks to create a read replica with a specific region, activation policy, and database version.
gcloud sql instances create replica-instance --master-instance-name=primary-instance --region=[1] --activation-policy=[2] --database-version=[3]
The --region flag sets the location, --activation-policy controls instance start behavior, and --database-version specifies the database engine version.