0
0
Redisquery~10 mins

RDB configuration (save intervals) in Redis - Interactive Code Practice

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

Complete the code to set Redis to save the DB every 900 seconds if at least 1 key changed.

Redis
save [1] 1
Drag options to blanks, or click blank then click option'
A900
B300
C60
D1800
Attempts:
3 left
💡 Hint
Common Mistakes
Using the number of keys changed as the first number instead of the second.
Confusing seconds with minutes.
2fill in blank
medium

Complete the code to save the DB every 300 seconds if at least 10 keys changed.

Redis
save [1] 10
Drag options to blanks, or click blank then click option'
A900
B600
C60
D300
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the two numbers.
Using 10 as the time interval.
3fill in blank
hard

Fix the error in the save configuration to save every 60 seconds if 100 keys changed.

Redis
save [1] 100
Drag options to blanks, or click blank then click option'
A10
B60
C100
D600
Attempts:
3 left
💡 Hint
Common Mistakes
Using the number of keys changed as the first number.
Using 100 as the time interval.
4fill in blank
hard

Fill both blanks to save every 1800 seconds if at least 5 keys changed.

Redis
save [1] [2]
Drag options to blanks, or click blank then click option'
A1800
B5
C10
D900
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the two numbers.
Using 10 instead of 5 for keys changed.
5fill in blank
hard

Fill all three blanks to configure Redis to save every 900 seconds if 1 key changed, every 300 seconds if 10 keys changed, and every 60 seconds if 100 keys changed.

Redis
save [1] 1
save [2] 10
save [3] 100
Drag options to blanks, or click blank then click option'
A60
B300
C900
D120
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the time intervals.
Using 120 seconds which is not part of the requirement.