Complete the code to enable Redis snapshotting with a save interval of 60 seconds and 1000 changes.
save [1] 1000
The save directive sets Redis to snapshot the dataset every specified seconds if at least the given number of changes occurred. Here, 60 seconds is the correct interval.
Complete the code to disable AOF persistence in Redis configuration.
appendonly [1]Setting appendonly no disables the Append Only File persistence in Redis, improving performance but risking data loss on crashes.
Fix the error in the Redis configuration line to set the AOF fsync policy to every second.
appendfsync [1]The correct value for fsync every second is everysec. Other options either cause too frequent syncing or disable it.
Fill both blanks to configure Redis to save snapshots every 900 seconds if at least 1 change occurred and disable AOF.
save [1] 1 appendonly [2]
Setting save 900 1 means Redis saves a snapshot every 900 seconds if at least one change happened. Setting appendonly no disables AOF persistence.
Fill all three blanks to configure Redis to save snapshots every 300 seconds if 10 changes occurred, enable AOF, and set fsync policy to always.
save [1] 10 appendonly [2] appendfsync [3]
This configuration saves snapshots every 300 seconds if 10 changes happened, enables AOF persistence, and sets fsync to always for maximum durability but lower performance.