0
0
GCPcloud~20 mins

Multi-region architecture patterns in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Multi-Region Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Active-Active Multi-Region Setup

In a multi-region architecture, what is the main advantage of an active-active setup compared to active-passive?

AIt allows traffic to be served from multiple regions simultaneously, improving availability and reducing latency.
BIt keeps one region completely offline until a failure occurs in the primary region.
CIt requires manual failover to switch traffic between regions.
DIt stores data only in one region to avoid replication delays.
Attempts:
2 left
💡 Hint

Think about how traffic is handled in both setups.

Architecture
intermediate
2:00remaining
Choosing Data Replication Strategy

You want to design a multi-region system on GCP that keeps data consistent across regions with minimal delay. Which replication strategy fits best?

ASynchronous replication, where writes are confirmed only after all regions have the data.
BAsynchronous replication, where data is copied after the write is acknowledged.
CNo replication, data is stored only in the primary region.
DManual data export and import between regions daily.
Attempts:
2 left
💡 Hint

Consider consistency and delay trade-offs.

service_behavior
advanced
2:00remaining
Impact of DNS Failover in Multi-Region Setup

In a multi-region architecture using DNS failover, what is a common limitation affecting failover speed?

ADNS failover only works if regions share the same IP address.
BDNS automatically detects region health instantly and switches traffic immediately.
CDNS failover requires manual intervention to update IP addresses.
DDNS caching by clients and resolvers can delay traffic switching to the healthy region.
Attempts:
2 left
💡 Hint

Think about how DNS caching works on the internet.

security
advanced
2:00remaining
Securing Data in Multi-Region Replication

Which practice best secures data replicated across multiple GCP regions?

AStore data unencrypted to speed up replication.
BEncrypt data at rest and in transit using managed encryption keys.
CUse the same encryption key without rotation for all regions indefinitely.
DDisable network security to allow faster data transfer between regions.
Attempts:
2 left
💡 Hint

Consider encryption best practices for cloud data.

Best Practice
expert
3:00remaining
Designing for Disaster Recovery in Multi-Region Architecture

Which design choice best supports fast disaster recovery with minimal data loss in a multi-region GCP architecture?

AUse asynchronous replication with manual failover and no health monitoring.
BRely on client-side retries to handle region failures without failover.
CUse synchronous replication with automated failover and health checks between regions.
DKeep backups only in the primary region and restore manually after failure.
Attempts:
2 left
💡 Hint

Think about automation and replication consistency for recovery speed.