250+ TOP MCQs on Linux Sysfs and Answers

Linux / Unix questions and answers focuses on sysfs. This is set 1.1. Sysfs was originally called
a) device driver filesystem
b) kernel interface filesystem
c) kernel filesystem
d) none of the mentioned

Answer: a
Clarification: None.

2. What is sysfs?
a) it is a virtual filesystem
b) users use it to get the information about the running kernel
c) it is used for exporting kernel objects.
d) all of the mentioned

Answer: d
Clarification: None.

3. Sysfs can be considered as the reflection of the
a) kernel’s device model
b) user’s device model
c) network’s device model
d) none of the mentioned

Answer: a
Clarification: None.

4. The files of sysfs contains the information about
a) devices and drivers
b) memory mapping
c) ports
d) none of the mentioned

Answer: a
Clarification: None.

5. Which one of the following is not true?
a) any file of the sysfs can not be edited
b) some files of the sysfs are writable for configuration of devices
c) any file of the sysfs may not be edited
d) none of the mentioned

Answer: b
Clarification: None.

6. In linux sysfs is always mounted at
a) /sys
b) /proc/sys
c) /proc/mounts
d) none of the mentioned

Answer: a
Clarification: None.

7. Libsysfs is a
a) user space library
b) kernel space library
c) not a library
d) none of the mentioned

Answer: a
Clarification: None.

8. Sysfs represents the
a) kernel objects
b) libraries
c) api
d) none of the mentioned

Answer: a
Clarification: None.

9. Sysfs does not contains
a) regular files
b) symbolic links
c) directories
d) none of the mentioned

Answer: d
Clarification: None.

10. The directories in the /sys directory represents
a) the device files
b) major subsystems that are registered with sysfs
c) details of buses only
d) none of the mentioned

Answer: b

Leave a Reply

Your email address will not be published. Required fields are marked *