Unit4 - Subjective Questions

CSC202 • Practice Questions with Detailed Answers

1

Describe the purpose of the /proc directory in Linux. How can an administrator use it to gather information about the CPU and memory?

2

Differentiate between Systemd targets and SysVinit runlevels. List the equivalent Systemd target for runlevel 3 and runlevel 5.

3

Explain the life cycle of a Linux process. What are the different states a process can be in?

4

What are Kernel Modules? Explain how to manage them using lsmod, modprobe, and modinfo.

5

Explain the significance of Swap Memory. How would you add a new swap file of size 1GB to a Linux system?

6

Discuss the systemctl command. Provide the syntax to start, stop, enable, and check the status of the httpd service.

7

What is the purpose of the Nice value in Linux processes? How can a system administrator change the priority of a running process?

8

Explain the usage of the ip command for network management. How does it differ from the deprecated ifconfig?

9

How would you configure the system locale and timezone using command-line tools in Linux?

10

Detail the steps to configure Key-based Authentication for SSH to allow password-less remote administrative access.

11

What is NetworkManager? Describe how to use nmcli to set a static IP address for a connection named 'eth0'.

12

Compare TCP and UDP protocols. Which layer of the OSI model do they operate in?

13

Explain the difference between SIGTERM (15) and SIGKILL (9) signals when managing processes.

14

What are the common tools used to troubleshoot network connectivity in Linux? Explain the usage of ping, traceroute, and ss.

15

Describe how to list and interpret hardware devices using lspci, lsusb, and lscpu.

16

Explain the configuration of the SSH Daemon (sshd). What are some key security settings in /etc/ssh/sshd_config?

17

What is the OOM Killer in Linux? Under what circumstances does it trigger?

18

Explain the role of NTP (Network Time Protocol) in system administration. How is chronyd used to manage time?

19

What is the function of the udev system? How does it relate to device management?

20

Explain the standard Load Average output found in commands like top or uptime. What do the three numbers represent?