1.
Which directory contains a lot of the files that the programs use to
run. This directory is needed to control the operating system.
Correct Answer
A. /bin
Explanation
The directory /bin contains a lot of the files that the programs use to run. It is needed to control the operating system as it contains essential executable files that are necessary for the system to function properly. These files include basic system commands and utilities that are required for booting the system, managing processes, and performing various system tasks.
2.
Which directory is used to store Kernel information needed to start the OS on startup?
Correct Answer
D. /boot
Explanation
The /boot directory is used to store Kernel information needed to start the OS on startup. This directory contains the necessary files for the bootloader to load the kernel and start the operating system. The kernel image, along with other essential files such as initial ramdisk (initrd) and bootloader configuration files, are typically stored in the /boot directory.
3.
What does the / directory signify?
Correct Answer
A. Root directory
Explanation
The / directory signifies the root directory. In a file system, the root directory is the top-level directory that contains all other directories and files. It is the starting point of the file system hierarchy and is represented by the forward slash (/) symbol. All other directories and files are organized and accessed through the root directory.
4.
What directory contains all the devices and their references in the file system?
Correct Answer
C. /dev
Explanation
The "/dev" directory contains all the devices and their references in the file system. This directory is used by the Linux kernel to access and control devices. It contains special files that represent devices such as hard drives, keyboards, mice, and printers. By accessing these files, the kernel can communicate with the corresponding devices and perform operations on them.
5.
Where are the configuration files for the servers programs as well as the servers boot processess stored?
Correct Answer
D. /etc
Explanation
The configuration files for server programs and the server boot processes are stored in the /etc directory. This directory contains various system configuration files that are essential for the proper functioning of the servers. These files define the settings and parameters for different programs and processes running on the servers. Storing these configuration files in a centralized location like /etc allows for easy access and management of the server settings.
6.
Where is user data stored when a user is created on the server?
Correct Answer
B. /home
Explanation
When a user is created on the server, their data is typically stored in the "/home" directory. This directory is commonly used to store the home directories of individual users. Each user typically has their own subdirectory within "/home" where their personal files and configurations are stored. This allows for easy organization and management of user data on the server.
7.
Where is the information needed by programs so they can run located?
Correct Answer
C. /lib
Explanation
The information needed by programs to run is located in the /lib directory. This directory contains essential libraries and modules that are required for the execution of programs. These libraries provide various functions and resources that programs rely on during runtime. By storing this information in the /lib directory, programs can easily access and utilize the necessary components to successfully run.
8.
Where are all the processes kept on the server in flat files?
Correct Answer
B. /proc
Explanation
On a server, all the processes are kept in the /proc directory. The /proc directory is a virtual filesystem that provides information about running processes and system resources. It contains directories and files that represent each running process, and these files can be used to gather information about the process, such as its ID, status, memory usage, and more. Therefore, /proc is the correct answer as it is the specific directory where all the processes are stored on a server.
9.
Which folder is used by the root user?
Correct Answer
D. None of the above.
Explanation
The root user directory is /root
10.
Where can you find essential system binaries?
Correct Answer
D. /sbin
11.
Which folder contains the Kernel, firmware, and other related system files?
Correct Answer
D. /sys
Explanation
The /sys folder contains the Kernel, firmware, and other related system files. The /proc folder is used to access information about processes running on the system. The /boot folder contains files necessary for booting the system. The /root folder is the home directory for the root user. Therefore, the correct answer is /sys.
12.
What directory contains read-only user data?
Correct Answer
A. /usr
Explanation
The /usr directory contains read-only user data. This directory is typically used for storing system files and programs that are not required for the basic functioning of the operating system. It contains files related to user applications, libraries, documentation, and other read-only data that can be accessed by all users on the system.
13.
What folder holds files whose contents are expected to continually change during normal operation of the system such as logs, spool files, and temp e-mail files?
Correct Answer
C. /var
Explanation
The correct answer is /var. The /var folder holds files whose contents are expected to continually change during normal operation of the system. This includes logs, spool files, and temporary email files. The /tmp folder is used for temporary files, while /update and /usr are not specifically designated for files that change during normal system operation.