Bird
0
0

Which gcloud command correctly creates an on-demand backup for a Cloud SQL instance named my-instance?

easy📝 Configuration Q12 of 15
GCP - Cloud SQL and Databases
Which gcloud command correctly creates an on-demand backup for a Cloud SQL instance named my-instance?
Agcloud sql backup create --name=my-instance
Bgcloud sql instances backup create my-instance
Cgcloud sql backups create --instance=my-instance
Dgcloud sql create backup --instance=my-instance
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct gcloud backup syntax

    The correct command to create a backup is gcloud sql backups create --instance=INSTANCE_NAME.
  2. Step 2: Match command to instance name

    Replacing INSTANCE_NAME with my-instance gives the correct command.
  3. Final Answer:

    gcloud sql backups create --instance=my-instance -> Option C
  4. Quick Check:

    Backup command = gcloud sql backups create [OK]
Quick Trick: Use 'gcloud sql backups create --instance=NAME' to backup [OK]
Common Mistakes:
  • Using 'instances backup' instead of 'backups create'
  • Incorrect flag names like --name instead of --instance
  • Wrong command order or missing 'create'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes