0
0
GCPcloud~20 mins

Disaster recovery strategies in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Disaster Recovery Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding RTO and RPO in Disaster Recovery

Which statement correctly describes the difference between Recovery Time Objective (RTO) and Recovery Point Objective (RPO) in disaster recovery?

ARTO is the maximum acceptable time to restore services after a disaster; RPO is the maximum acceptable data loss measured in time.
BRTO is the maximum data loss allowed; RPO is the time it takes to restore services after a disaster.
CRTO and RPO both measure the time to restore services but in different units.
DRTO measures data loss in bytes; RPO measures downtime in hours.
Attempts:
2 left
💡 Hint

Think about what each objective aims to limit: downtime or data loss.

Architecture
intermediate
2:00remaining
Choosing a Disaster Recovery Architecture in GCP

You want to design a disaster recovery solution for a critical application on Google Cloud Platform. The application requires minimal downtime and data loss. Which architecture best fits this need?

ABackup and restore: Periodic backups stored in Cloud Storage, restore when needed.
BPilot light: Minimal critical components running in a secondary region, scaled up on disaster.
CWarm standby: A scaled-down version of the full environment running in a secondary region, ready to scale up.
DCold standby: No resources running in the secondary region until disaster occurs.
Attempts:
2 left
💡 Hint

Consider which option balances readiness and cost for minimal downtime.

Configuration
advanced
2:30remaining
Configuring Cross-Region Replication for Cloud Storage

Which configuration snippet correctly enables cross-region replication for a Google Cloud Storage bucket named 'source-bucket' to replicate objects to 'destination-bucket' in another region?

GCP
gsutil versioning set on gs://source-bucket

# Replication configuration below
Agsutil bucket replication set --source=source-bucket --destination=destination-bucket --location=us-east1
Bgsutil replication create gs://source-bucket gs://destination-bucket
Cgsutil replication create --source=source-bucket --destination=destination-bucket --location=us-central1
Dgsutil replication set --source=source-bucket --destination=destination-bucket --location=us-east1
Attempts:
2 left
💡 Hint

Check the correct gsutil command syntax for bucket replication creation.

security
advanced
1:30remaining
Securing Disaster Recovery Access in GCP

To ensure secure access to disaster recovery resources in a secondary region, which IAM policy practice is best?

AGrant all users the Editor role on the recovery project for quick access.
BDisable IAM policies on the recovery project to prevent accidental lockout.
CAssign Owner role to all team members on the recovery project to avoid delays.
DUse least privilege principle by granting only necessary roles to specific users or groups.
Attempts:
2 left
💡 Hint

Think about minimizing risk while allowing access.

service_behavior
expert
2:00remaining
Behavior of Multi-Region Failover with Cloud SQL

In a Cloud SQL instance configured with high availability across multiple regions, what happens automatically when the primary region becomes unavailable?

ACloud SQL automatically fails over to the standby instance in the secondary region with minimal downtime.
BCloud SQL requires manual intervention to switch to the standby instance in the secondary region.
CCloud SQL stops serving traffic until the primary region is restored.
DCloud SQL creates a new instance in a different region and migrates data automatically.
Attempts:
2 left
💡 Hint

Consider how managed services handle failover for high availability.