0
0
GCPcloud~5 mins

Creating a Cloud SQL instance in GCP - Quick Revision & Summary

Choose your learning style9 modes available
Recall & Review
beginner
What is a Cloud SQL instance in Google Cloud?
A Cloud SQL instance is a managed database service in Google Cloud that lets you run relational databases like MySQL, PostgreSQL, or SQL Server without managing the underlying hardware or software.
Click to reveal answer
beginner
Which command-line tool can you use to create a Cloud SQL instance?
You can use the gcloud command-line tool to create and manage Cloud SQL instances.
Click to reveal answer
beginner
What are the key parameters needed to create a Cloud SQL instance?
You need to specify the instance name, database version (like MySQL 8.0), region, and machine tier (CPU and memory size).
Click to reveal answer
intermediate
Why is it important to choose the right region when creating a Cloud SQL instance?
Choosing a region close to your users reduces latency and can improve performance. It also affects data residency and compliance.
Click to reveal answer
beginner
What is the benefit of using a managed service like Cloud SQL instead of running your own database server?
Cloud SQL handles backups, patching, replication, and scaling automatically, so you can focus on your application instead of managing database infrastructure.
Click to reveal answer
Which database engines can you run on Cloud SQL?
AOracle, DB2, Sybase
BMongoDB, Cassandra, Redis
CSQLite, MariaDB, Firebase
DMySQL, PostgreSQL, SQL Server
What is the correct gcloud command to create a MySQL 8.0 Cloud SQL instance named 'my-instance' in region 'us-central1'?
Agcloud sql instances create my-instance --database-version=MYSQL_8_0 --region=us-central1
Bgcloud sql create instance my-instance --version=MYSQL8 --location=us-central1
Cgcloud sql instances new my-instance --db-version=MYSQL8 --zone=us-central1
Dgcloud sql instances deploy my-instance --db=MYSQL8 --region=us-central1
Why should you specify a machine tier when creating a Cloud SQL instance?
ATo select the backup schedule
BTo set the network bandwidth for your instance
CTo define the CPU and memory resources for the database instance
DTo choose the database engine version
Which of the following is NOT handled automatically by Cloud SQL?
ASoftware patching
BWriting application code
CScaling storage automatically
DDatabase backups
What is a benefit of choosing a Cloud SQL instance region close to your users?
ALower latency and faster database response
BCheaper storage costs
CAutomatic database schema updates
DUnlimited database size
Describe the steps to create a Cloud SQL instance using the gcloud command-line tool.
Think about what details you need before running the command.
You got /5 concepts.
    Explain why using a managed database service like Cloud SQL can save time and effort compared to managing your own database server.
    Consider what tasks are handled for you by the service.
    You got /5 concepts.