0
0
Redisquery~10 mins

Installing Redis - Interactive Practice

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

Complete the command to install Redis on Ubuntu using apt.

Redis
sudo apt-get [1] redis-server
Drag options to blanks, or click blank then click option'
Aupgrade
Bremove
Cupdate
Dinstall
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' instead of 'install' will uninstall packages.
Using 'update' only refreshes package lists, not install.
2fill in blank
medium

Complete the command to start the Redis server service using systemctl.

Redis
sudo systemctl [1] redis-server
Drag options to blanks, or click blank then click option'
Astop
Bstart
Crestart
Dstatus
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stop' will turn off the service.
Using 'status' only shows the current state.
3fill in blank
hard

Fix the error in the command to check Redis server status.

Redis
sudo systemctl [1] redis-server
Drag options to blanks, or click blank then click option'
Astatus
Binfo
Cstat
Dshow
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stat' causes an error because it's not a valid systemctl command.
4fill in blank
hard

Fill both blanks to update package lists and upgrade Redis to the latest version.

Redis
sudo apt-get [1] && sudo apt-get [2] redis-server
Drag options to blanks, or click blank then click option'
Aupdate
Binstall
Cupgrade
Dremove
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' instead of 'upgrade' will reinstall but not upgrade.
Using 'remove' deletes the package.
5fill in blank
hard

Fill all three blanks to enable Redis to start automatically on boot, start it now, and check its status.

Redis
sudo systemctl [1] redis-server && sudo systemctl [2] redis-server && sudo systemctl [3] redis-server
Drag options to blanks, or click blank then click option'
Aenable
Bstart
Cstatus
Ddisable
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'disable' instead of 'enable' prevents auto-start.
Checking status before starting shows inactive.