0
0
GCPcloud~10 mins

Memorystore for Redis caching in GCP - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a Redis instance with the correct tier.

GCP
gcloud redis instances create my-redis-instance --size=1 --region=us-central1 --tier=[1] --authorized-network=default
Drag options to blanks, or click blank then click option'
ASTANDARD_HA
BBASIC
CPREMIUM
DENTERPRISE
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing STANDARD_HA when only basic caching is needed.
Using PREMIUM or ENTERPRISE tiers without need.
2fill in blank
medium

Complete the code to specify the Redis version when creating an instance.

GCP
gcloud redis instances create cache-1 --size=2 --region=us-east1 --tier=BASIC --redis-version=[1] --authorized-network=default
Drag options to blanks, or click blank then click option'
AREDIS_6_X
Bredis_latest
CREDIS_4_0
DREDIS_5_0
Attempts:
3 left
💡 Hint
Common Mistakes
Using REDIS_5_0 which is older and less recommended.
Using redis_latest which is not a valid version string.
3fill in blank
hard

Fix the error in the command to allow authorized network access.

GCP
gcloud redis instances create cache-2 --size=3 --region=us-west1 --tier=STANDARD_HA --authorized-network=[1]
Drag options to blanks, or click blank then click option'
Adefault
Bdefault-network
Cdefault-vpc
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect network names like 'default-network' or 'default-vpc'.
Leaving the flag empty or misspelled.
4fill in blank
hard

Fill both blanks to configure a Redis instance with a specific memory size and region.

GCP
gcloud redis instances create my-cache --size=[1] --region=[2] --tier=BASIC --authorized-network=default
Drag options to blanks, or click blank then click option'
A4
Bus-central1
Cus-east1
D2
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up region names or using unsupported sizes.
Using a size too large for the tier.
5fill in blank
hard

Fill all three blanks to create a Redis instance with high availability, a specific version, and authorized network.

GCP
gcloud redis instances create ha-cache --size=5 --region=[1] --tier=[2] --redis-version=[3] --authorized-network=default
Drag options to blanks, or click blank then click option'
Aus-east1
BSTANDARD_HA
CREDIS_6_X
DBASIC
Attempts:
3 left
💡 Hint
Common Mistakes
Using BASIC tier instead of STANDARD_HA for high availability.
Choosing unsupported Redis versions.
Incorrect region names.