Linux Sysfs Questions & Answers – 1

This set of 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
View Answer

Answer: a
Explanation: 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
View Answer

Answer: d
Explanation: 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
View Answer

Answer: a
Explanation: None.

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

Answer: a
Explanation: None.
advertisement
advertisement

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
View Answer

Answer: b
Explanation: None.

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

Answer: a
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

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

Answer: a
Explanation: None.

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

Answer: a
Explanation: None.
advertisement

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

Answer: d
Explanation: 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
View Answer

Answer: b
Explanation: None.
advertisement

Sanfoundry Global Education & Learning Series – Linux Administration & Programming.
Here’s the list of Best Books in Linux Commands & Shell Programming.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.

To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.