0
0
Redisquery~10 mins

AOF rewrite process 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 start an AOF rewrite process in Redis.

Redis
redis-cli [1]
Drag options to blanks, or click blank then click option'
ASAVE
BBGREWRITEAOF
CFLUSHALL
DCONFIG
Attempts:
3 left
💡 Hint
Common Mistakes
Using SAVE instead of BGREWRITEAOF
Using FLUSHALL which clears all data
Using CONFIG which is for configuration commands
2fill in blank
medium

Complete the sentence: The AOF rewrite process creates a {{BLANK_1}} version of the AOF file.

Redis
The AOF rewrite process creates a [1] version of the AOF file.
Drag options to blanks, or click blank then click option'
Atemporary
Bcorrupted
Cbackup
Dcompressed
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the new file is a backup
Assuming the file is compressed
Confusing with corrupted file
3fill in blank
hard

Fix the error in the statement about AOF rewrite: 'The rewrite process blocks all writes until it finishes.'

Redis
The rewrite process [1] all writes until it finishes.
Drag options to blanks, or click blank then click option'
Adoes not block
Bblocks
Cdelays
Dignores
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming rewrite blocks writes
Confusing with RDB save blocking behavior
4fill in blank
hard

Fill both blanks to describe the AOF rewrite process: 'Redis creates a {{BLANK_1}} AOF file and then {{BLANK_2}} it to replace the old one.'

Redis
Redis creates a [1] AOF file and then [2] it to replace the old one.
Drag options to blanks, or click blank then click option'
Atemporary
Bdeletes
Crenames
Dcompressed
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the file is deleted before rename
Confusing compression with temporary file
5fill in blank
hard

Fill all three blanks to explain the AOF rewrite process: 'During rewrite, Redis {{BLANK_1}} new commands to a buffer, writes a {{BLANK_2}} AOF file, and finally {{BLANK_3}} the buffer to the new file.'

Redis
During rewrite, Redis [1] new commands to a buffer, writes a [2] AOF file, and finally [3] the buffer to the new file.
Drag options to blanks, or click blank then click option'
Aappends
Btemporary
Doverwrites
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'overwrites' instead of 'appends' for the buffer
Confusing temporary file with final file