Home
MCQS
Unix/Lunux MCQ Quiz Hub
Linux Mcqs Questions Set 7
Choose a topic to test your knowledge and improve your Unix/Lunux skills
1. In awk program, the name of the array can not be same with the
name of variable
value of the array element
name of variable & value of the array element
none of the mentioned
2. Operating system kernel must be located in
/
/boot
either in / or in /boot
none of the mentioned
3. Which one of the following is a mount point for a temporarily mounted filesystem?
/mnt directory
/media directory
/dev directory
none of the mentioned
4. What is /root?
root filesystem
home directory of the root user
the directory which contains all the directories of the filesystem
none of the mentioned
5. System binaries are stored in
/sbin directory
/usr/sbin directory
/usr/local/sbin directory
all of the mentioned
6. The /dev directory contains the
device drivers
device files
kernel modules of device drivers
none of the mentioned
7. The contents of root filesystem is responsible to
boot the system
recover the system
repair the system
all of the mentioned
8. Static files of the bootloader are installed in
/boot directory
/root directory
/bin directory
/sbin directory
9. Linux filesystem contains mainly
ordinary files
device files
directory files
all of the mentioned
10. In linux filesystem, the passwords of different users are stored in
/etc/passwd file
/bin/passwd file
/etc/shadow file
/bin/shadow file
11. Superuser can change the _______ permissions of any file.
owner
group
other
all of the mentioned
12. When we install a new package in linux system, then
all the files of the packages are installed in a single directory
different files are installed at different locations of the file system
package works just after extraction, installation is not required
none of the mentioned
13. Host specific configuration files are installed in
/etc directory
/lib directory
/root directory
/bin directory
14. The directory /media is the
mount point for removable media
mount point for filesystem
mount point for removable media & filesystem
none of the mentioned
15. What is /bin/sh ?
bourne shell
hard or symbolic link to the real shell command
bash shell
both bash shell and bourne shell
16. The /boot directory stores the data that is used
before the kernel begins executing user mode programs
after the kernel begins executing user mode programs
before the bootloader is loaded in the RAM
none of the mentioned
17. Which one of the directory does not contain binary files?
/bin
/sbin
/etc
none of the mentioned
18. Kernel modules are present in
/lib directory
/root directory
/boot directory
none of the mentioned
19. The directory /opt is reserved for
installation of add-on application software packages
optional booting files
optional user specific files
none of the mentioned
20. The directory /srv contains
site-specific data which is served by the system
all the system files
all the service files provided by the specific user
none of the mentioned
21. Any file or directory present in the ______ directory may not be reserved between the invocation of the program.
/var
/tmp
/etc
all of the mentioned
22. Which one of the following is not true about proc filesystem?
proc filesystem is a pseudo-filesystem
proc filesystem is used as an interface to kernel data structures
some files in proc filesystem allow kernel variables to be changed
none of the mentioned
23. Proc filesystem provides the information about
processes
processor
proxy server
none of the mentioned
24. The /proc directory contains
numerical sub-directory for each running process
proxy server
a text listing of filesystems which are supported by the kernel
all of the mentioned
25. The file /proc/[PID]/cgroups
describes control groups to which the process belongs
contains the information about all groups of the system
provides the information about the group which has generated the process
none of the mentioned
26. The file /proc/[PID]/cmdline holds the complete command line for the process, unless the process is a
child process
zombie process
orphan process
none of the mentioned
27. What is /proc/[PID]/cwd?
symbolic link to current directory of the process
regular file containing the information about the current status of the process
directory containing various sub-directories
none of the mentioned
28. Which one of the following file contains the environment for the process?
/proc/[PID]/environ
/proc/[PID]/env
/proc/[PID]/path
none of the mentioned
29. The entry for each file opened by the process is present in
/proc/[PID]/fd
/proc/[PID]/file
/proc/[PID]/maps
none of the mentioned
30. The file /proc/[PID]/limits displays the ______ for each of the process’s resource limits.
hard limit
soft limit
units of measurement
all of the mentioned
31. The file /proc/[PID]/maps contains the
currently mapped memory regions
available memory regions
memory regions which are free to map
none of the mentioned
32. What is /proc/[PID]/root?
symbolic link that points to the process’s root directory
regular file which holds all the PID of the system
root directory
does not exists in the proc filesystem
33. “ps” command uses the file _____ to provide the information.
/proc/[PID]/stat
/proc/[PID]/smaps
/proc/[PID]/oom_score_adj
/proc/[PID]/oom_score
34. Which one of the following is not correct?
proc filesystem does not contain any directory for thread in the process
in multithread process thread details will not be available if the main thread is already terminated
proc filesystem contain any directory
none of the mentioned
35. Proc filesystem does not contains
sub-directories for installed buses
device files
list of registered DMA
none of the mentioned
36. The file /proc/devices is the
text listing of major numbers
text listing of device groups
text listing of major numbers & device groups
none of the mentioned
37. The file /proc/cpuinfo is a collection of
cpu items
architecture independent items
both cpu items and architecture independent items
none of the mentioned
38. The proc filesystem records the number of interrupts
per CPU only
per IO device only
per CPU per IO device
none of the mentioned
39. Which file of the proc filesystem can be used instead of “syslog” system call to read kernel messages?
/proc/kmsg
/proc/moudle/kmsg
/proc/module/msg
/proc/msg
40. The file /proc/modules is a text list of
static modules
minor number of each partition
modules that have been loaded by the system
none of the mentioned
41. /proc/partitions contains
major number of each partition
minor number of each partition
number of block and partition name
all of the mentioned
42. Which one of the following operating system does not supports proc filesystem?
IBM AIX
QNX
Solaries
None of the mentioned
43. Obtaining of the PID can be done by the utility
pgrep
pidof
ps
all of the mentioned
44. Which one of the following contains various bits of information about the state of power management?
/proc/acpi
/proc/apm
both /proc/acpi and /proc/apm
none of the mentioned
45. Which file contains the boot options passed to the kernel?
/proc/cmdline
/proc/root
/proc/boot
none of the mentioned
46. Which one of the following is a symlink to the root path as seen by the process?
/proc/[PID]/root
/proc/[PID]/path
both /proc/apm and /proc/[PID]/path
none of the mentioned
47. The directory /proc/[PID]/tasks contains
hard links to any task that have been started by this process
files that containing tasks that have been started by this process
sub-direcories of various tasks
none of the mentioned
48. The list of available frame buffers are stored in
/proc/[PID]/fb
/proc/fb
/proc/etc/fb
none of the mentioned
49. The buddy algorithm handles the
Memory fragmentation
DHCP server
Routing
None of the mentioned
50. The file /proc/swaps contains the
list of active swap partitions
sizes of the swap partitions
priorities of the swap partitions
all of the mentioned
Submit