0
0
Redisquery~10 mins

AOF (Append Only File) 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 enable AOF persistence in Redis configuration.

Redis
appendonly [1]
Drag options to blanks, or click blank then click option'
Ano
Byes
Cauto
Dmaybe
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'no' disables AOF.
Using invalid values like 'auto' or 'maybe' causes errors.
2fill in blank
medium

Complete the command to rewrite the AOF file manually.

Redis
redis-cli [1]
Drag options to blanks, or click blank then click option'
ABGREWRITEAOF
BBGSAVE
CSAVE
DFLUSHALL
Attempts:
3 left
💡 Hint
Common Mistakes
Using BGSAVE rewrites the RDB snapshot, not AOF.
SAVE blocks Redis and is not recommended for AOF rewriting.
3fill in blank
hard

Fix the error in the AOF fsync policy setting.

Redis
appendfsync [1]
Drag options to blanks, or click blank then click option'
Aalways
Bsometimes
Ceverysec
Dnever
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'sometimes' or 'never' which are invalid options.
Confusing 'always' with 'everysec' for performance.
4fill in blank
hard

Fill both blanks to configure AOF rewrite thresholds.

Redis
auto-aof-rewrite-percentage [1]
auto-aof-rewrite-min-size [2]
Drag options to blanks, or click blank then click option'
A100
B64mb
C50
D128mb
Attempts:
3 left
💡 Hint
Common Mistakes
Setting percentage too high or too low.
Using invalid size units.
5fill in blank
hard

Fill all three blanks to configure AOF persistence with safe fsync and rewrite settings.

Redis
appendonly [1]
appendfsync [2]
auto-aof-rewrite-percentage [3]
Drag options to blanks, or click blank then click option'
Ayes
Beverysec
C100
Dno
Attempts:
3 left
💡 Hint
Common Mistakes
Disabling AOF by setting appendonly to no.
Using unsafe fsync settings.
Setting rewrite percentage too low.