Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
24 views2 pages

Big Exam Mashle

The document contains 20 multiple choice questions about Linux system administration topics such as hostname configuration, network configuration, SELinux, firewalls, RPM package management, and verifying installed packages. The questions cover commands and files used for common system tasks like installing and updating packages, configuring networking, scheduling tasks, monitoring performance, and securing servers.

Uploaded by

neymar2024a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

Big Exam Mashle

The document contains 20 multiple choice questions about Linux system administration topics such as hostname configuration, network configuration, SELinux, firewalls, RPM package management, and verifying installed packages. The questions cover commands and files used for common system tasks like installing and updating packages, configuring networking, scheduling tasks, monitoring performance, and securing servers.

Uploaded by

neymar2024a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

12. What does SELinux stand for?

13. What is the purpose of a firewall?


14. What does rpm stand for?
15. What are the different options for the rpm command?
16. How to remove a package using rpm?
17. How to update all installed packages using rpm?
18. How to search for packages available in the repository using rpm?
19. How to configure a static route?
20. How to configure a DNS server on the machine?
21. How to set up a VPN connection on Linux?
22. How to automate tasks using shell scripting?
23. How to create a new user on Linux?
24. How to manage user permissions on Linux?
25. How to install a new software application on Linux?
26. How to schedule tasks to run at specific times?
27. How to monitor system performance on Linux?
28. How to troubleshoot common Linux problems?
29. How to secure a Linux server?
30. What are the different types of Linux distributions?

Here are 20 QCM questions based on the text:

**Multiple Choice**

1. Which of the following commands is used to change the hostname of the machine?
a) hostnamectl set-hostname
b) ifconfig
c) rpm -ivh
d) vi /etc/shadow

2. What file stores the hostname of the machine?


a) /etc/hostname
b) /etc/passwd
c) /etc/resolv.conf
d) /etc/hosts

3. Which of the following commands is used to configure a network card using the
command line?
a) nmtui
b) ifconfig ens33 192.168.1.1 netmask 255.255.255.0 up
c) systemctl start network
d) nano /etc/network-interfaces

4. Which of the following commands is used to display the active network


interfaces?
a) ifconfig
b) netstat -i
c) ip addr
d) all of the above

5. How can you disable SELinux?


a) setenforce 0
b) systemctl disable selinux
c) rm -rf /etc/selinux
d) none of the above

6. Which command is used to disable and stop the firewall?


a) ufw disable
b) systemctl disable firewalld && systemctl stop firewalld
c) iptables stop
d) none of the above

7. Which of the following commands is used to install a package using rpm?


a) apt install
b) yum install
c) rpm -ivh package_name.rpm
d) dpkg -i package_name.deb

8. How can you verify the existence of a package named Smya-Dial-Package?


a) rpm -q Smya-Dial-Package
b) dpkg -l Smya-Dial-Package
c) yum list Smya-Dial-Package
d) apt list Smya-Dial-Package

You might also like