Linux Sysfs Interview Preparation Guide
Prepare comprehensively for your Linux Sysfs interview with our extensive list of 50 questions. These questions are specifically selected to challenge and enhance your knowledge in Linux Sysfs. Perfect for all proficiency levels, they are key to your interview success. Download the free PDF to have all 50 questions at your fingertips. This resource is designed to boost your confidence and ensure youre interview-ready.50 Linux Sysfs Questions and Answers:
1 :: The directories of /sys directory:
a) are created at system startup when the subsystems register themselves with object core
b) are created when any device is connects with the system
c) are created at the time of kernel compilation
d) none of the mentioned
a) are created at system startup when the subsystems register themselves with kobject core
2 :: The directory /sys/block contains:
a) sub-directories for each block device
b) symbolic link for each block device only
c) device file for each block device only
d) none of the mentioned
a) sub-directories for each block device
3 :: In sysfs, each represented bus type has two directories named as:
a) attributes and kobjects
b) devices and drivers
c) devices and kobjects
d) none of the mentioned
b) devices and drivers
4 :: A device class describes the ____ type of device.
a) physical
b) stuctural
c) functional
d) none of the mentioned
c) functional
5 :: Which one of the following directory contains every physical device that has been discovered by the bus types registered with the kernel?
a) /sys/devices
b) /sys/bus/devices
c) /devices
d) none of the mentioned
a) /sys/devices
6 :: Which type of devices are peripheral devices?
a) platform devices
b) system devices
c) both (a) and (b)
d) none of the mentioned
b) system devices
7 :: Which one of the following is not a system device?
a) CPU
b) APIC
c) timer
d) none of the mentioned
d) none of the mentioned
8 :: Which one of the following is not a platform specific code?
a) x86 BIOS
b) EFI on ia64
c) both (a) and (b)
d) none of the mentioned
d) none of the mentioned
9 :: In device driver model bus_type object contains the:
a) name of the bus type
b) set of kobjects of the drivers
c) set of kobjects of the devices
d) all of the mentioned
d) all of the mentioned
10 :: The file fs/sysfs/sysfs.h contains the:
a) internal header files for sysfs
b) function definitions shared locally among the sysfs source
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)