0
0
GCPcloud~20 mins

Memorystore for Redis caching in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Memorystore Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
How does Memorystore for Redis handle failover?

When a primary Redis instance in Memorystore fails, what happens to maintain availability?

AThe service deletes all data and creates a new instance from scratch.
BThe service requires manual intervention to restart the primary instance.
CThe service automatically promotes a replica to primary and redirects traffic without downtime.
DThe service pauses all client connections until the primary is fixed.
Attempts:
2 left
💡 Hint

Think about how cloud services keep your app running smoothly even if one part breaks.

Configuration
intermediate
2:00remaining
Which Redis version is supported by Memorystore for Redis?

You want to use a specific Redis version with Memorystore. Which version is officially supported?

ARedis 6.x
BRedis 2.8
CRedis 3.0
DRedis 5.0
Attempts:
2 left
💡 Hint

Check the latest stable Redis versions supported by cloud providers.

security
advanced
2:00remaining
What is the best way to secure access to a Memorystore for Redis instance?

Which method ensures only your application can access your Memorystore Redis instance?

AEnable public IP and use Redis AUTH password only.
BUse SSL/TLS encryption without network restrictions.
CAllow all IPs and rely on Redis AUTH password.
DUse VPC Service Controls and private IP with firewall rules restricting access.
Attempts:
2 left
💡 Hint

Think about network isolation and limiting who can reach your Redis instance.

Architecture
advanced
2:00remaining
How to design a caching layer with Memorystore for Redis for a global app?

You have users worldwide and want low latency caching. What is the best architecture using Memorystore?

ADeploy one Memorystore instance in a single region and serve all users from it.
BDeploy multiple Memorystore instances in regional GCP zones near users and route traffic accordingly.
CUse Memorystore only in the US region and rely on CDN for caching.
DDeploy Memorystore instances in multiple regions but do not sync data between them.
Attempts:
2 left
💡 Hint

Think about placing caches close to users to reduce delay.

Best Practice
expert
2:00remaining
What is the recommended approach to handle Redis data persistence in Memorystore?

Memorystore for Redis does not support persistence by default. How should you ensure data durability?

AUse application-level backups by exporting data regularly and storing in Cloud Storage.
BRely on Memorystore's built-in snapshot backups automatically enabled.
CEnable Redis AOF persistence directly in Memorystore settings.
DConfigure Redis to write to local disk on the instance for persistence.
Attempts:
2 left
💡 Hint

Memorystore is a managed service with limited persistence options. Think about external backups.