Site icon i2tutorials

Ubuntu Basic System Administration – Quiz

This Quiz contains totally 25 Questions each carry 1 point for you.

1.What is the primary purpose of a user account in Linux?
To run system services
To provide an interface for system management
To ensure file and process ownership
To execute shell scripts

Correct!

Wrong!

2.What is a group in Linux?
A collection of system services
A collection of related files
A collection of related users
A type of permission

Correct!

Wrong!

3.Which command is used to add a new user in Linux?
adduser
userdel
useradd
groupadd

Correct!

Wrong!

4.Which command is used to delete a group in Linux?
groupdel
groupadd
userdel
useradd

Correct!

Wrong!

5.What is the primary function of the 'sudo' command in Linux?
To change to another user
To execute a command with superuser privileges
To kill a process
To check the status of system services

Correct!

Wrong!

6.What is the function of the 'su' command in Linux?
To run a command with superuser privileges
To change to another user
To add a user to a group
To delete a user from a group

Correct!

Wrong!

7.Which command is used to list the running processes in Linux?
top
ps
kill
systemctl

Correct!

Wrong!

8.Which command is used to kill a process in Linux?
kill
ps
top
systemctl

Correct!

Wrong!

9.What is the main purpose of the 'top' command in Linux?
To list the running processes
To display dynamic real-time view of a running system
To kill a process
To start a system service

Correct!

Wrong!

10.Which command is used to control the systemd system and service manager in Linux?
systemctl
ps
kill
top

Correct!

Wrong!

11.Which of the following commands would you use to add a user named "test" in Linux?
useradd test
userdel test
groupadd test
groupdel test

Correct!

Wrong!

12.What is the result of running 'sudo command' in the terminal?
The command is run as the superuser (root)
The command is run and then the system shuts down
The command is run with reduced privileges
The command is run as the current user

Correct!

Wrong!

13.Which command would you use to display a list of all current system services?
top
ps
kill
systemctl

Correct!

Wrong!

14.What is the main difference between the 'su' and 'sudo' command?
'su' stands for super user, while 'sudo' stands for substitute user do
'su' allows you to become another user, while 'sudo' lets you execute commands as another user
'su' kills processes, while 'sudo' lists them
'su' adds users to a group, while 'sudo' removes them

Correct!

Wrong!

15.Which of the following commands is used to delete a user from a Linux system?
userdel
useradd
groupdel
groupadd

Correct!

Wrong!

16.In Linux, what is the purpose of groups?
To provide a way to organize and manage system services
To provide a way to manage permissions and privilege levels
To provide a way to organize and manage files and directories
To provide a way to organize and manage software packages

Correct!

Wrong!

17.What does the 'ps' command do in Linux?
It shows the system services status
It shows the current processes
It shows the disk usage
It shows the current logged in users

Correct!

Wrong!

18.What command would you use to stop a running service in Linux?
systemctl stop service
systemctl start service
systemctl restart service
systemctl status service

Correct!

Wrong!

19.What does the 'kill' command do in Linux?
It stops a system service
It starts a system service
It sends a signal to a process
It displays the status of a system service

Correct!

Wrong!

20.What does the 'groupdel' command do in Linux?
It adds a new group
It deletes a group
It adds a user to a group
It removes a user from a group

Correct!

Wrong!

21.What is the purpose of the 'sudo' command in Linux?
To add a new user
To remove a user
To execute a command as another user
To display a list of running processes

Correct!

Wrong!

22.What does the 'su' command do in Linux?
It switches to another user
It adds a new user
It removes a user
It adds a user to a group

Correct!

Wrong!

23.What does the 'top' command do in Linux?
It shows the current processes
It displays a dynamic real-time view of a running system
It sends a signal to a process
It adds a user to a group

Correct!

Wrong!

24.What does the 'userdel' command do in Linux?
It adds a new user
It deletes a user
It adds a user to a group
It removes a user from a group

Correct!

Wrong!

25.Which of the following commands is used to add a group in Linux?
groupadd
groupdel
useradd
userdel

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

Ubuntu Basic System Administration – Quiz

You got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...

Exit mobile version