0
0
GCPcloud~20 mins

Why managed databases matter in GCP - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Managed Database Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why choose a managed database service?

Which of the following is the main benefit of using a managed database service like Google Cloud SQL instead of managing your own database on a virtual machine?

AYou can avoid paying for the database service and only pay for storage.
BYou get automatic backups, patching, and scaling without manual intervention.
CYou have full control over the operating system and database software versions.
DYou must manually configure replication and failover for high availability.
Attempts:
2 left
💡 Hint

Think about what tasks a managed service automates for you.

service_behavior
intermediate
2:00remaining
Behavior of managed database backups

What happens when you enable automated backups on a managed database instance in Google Cloud SQL?

AThe service automatically creates daily backups and retains them for a configured period.
BBackups are created only when you manually trigger them from the console.
CBackups are stored only on the same disk as the database instance.
DBackups cause the database to shut down temporarily during the process.
Attempts:
2 left
💡 Hint

Consider how managed services handle backups to avoid downtime.

Architecture
advanced
2:30remaining
High availability with managed databases

You want to design a highly available database setup using Google Cloud SQL. Which configuration best achieves this?

AUse a single primary instance with no replicas and rely on backups.
BCreate two independent primary instances in the same zone without replication.
CCreate a primary instance with a failover replica in a different zone.
DManually copy data between two instances every hour.
Attempts:
2 left
💡 Hint

Think about how managed services provide automatic failover.

security
advanced
2:30remaining
Security features of managed databases

Which security feature is typically provided by managed database services like Google Cloud SQL to protect data at rest?

AStoring data unencrypted to improve performance.
BDisabling all network access by default without exceptions.
CRequiring manual installation of encryption software on the VM.
DAutomatic encryption of stored data using Google-managed keys.
Attempts:
2 left
💡 Hint

Consider how cloud providers protect stored data without user setup.

Best Practice
expert
3:00remaining
Cost optimization with managed databases

You want to optimize costs for a managed database that has variable workloads with peak times and idle times. Which approach best balances cost and performance?

AUse a managed database with autoscaling enabled to adjust resources based on demand.
BProvision the largest instance size permanently to handle peak loads at all times.
CManually stop the database instance during idle times to save costs.
DUse multiple small instances without load balancing to distribute workload.
Attempts:
2 left
💡 Hint

Think about how managed services can adjust resources automatically.