Linux Sysfs Interview Questions And Answers
Download Linux Sysfs Interview Questions and Answers PDF
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 you're interview-ready.
50 Linux Sysfs Questions and Answers:
Linux Sysfs Job Interview Questions Table of Contents:
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
Read More2 :: 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
Read More3 :: 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
Read More4 :: A device class describes the ____ type of device.
a) physical
b) stuctural
c) functional
d) none of the mentioned
c) functional
Read More5 :: 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
Read More6 :: 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
Read More7 :: 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
Read More8 :: 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
Read More9 :: 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
Read More10 :: 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)
Read More11 :: In sysfs.h which one of the following structure represents the directory entries?
a) struct sysfs_dirent
b) struct sysfs_dir
c) struct sysfs
d) none of the mentioned
a) struct sysfs_dirent
Read More12 :: Which one of the following is not true?
a) kobjects are included in a hierarchic organisation
b) kobjects can have a parent
c) kobjects can be included in a kset
d) none of the mentioned
d) none of the mentioned
Read More13 :: The name pointer of the attribute data structure represents the _____ in sysfs.
a) directory
b) file
c) symbolic link
d) none of the mentioned
b) file
Read More14 :: To read/write attribute, which one of the following method is required?
a) show
b) store
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
Read More15 :: Which one of the following is not contained in the kobject data structure?
a) pointer to the kobject type descriptor
b) pointer to the containing kset
c) pointer to the parent kobject
d) none of the mentioned
d) none of the mentioned
Read More16 :: The kobjects can be organized in a hierarchical tree by means of:
a) ksets
b) kref
c) ktype
d) none of the mentioned
a) ksets
Read More17 :: Which one of the following is a element of a kset data structure?
a) pointer to the subsystem descriptor
b) pointer to the kobject type descriptor of the kset
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
Read More18 :: Which one of the following function is used to add the kobject to sysfs?
a) kobject_add()
b) kobject_register()
c) kobject_init()
d) all of the mentioned
d) all of the mentioned
Read More19 :: Which one of the following function is used to create a new attribute?
a) sysfs_create_file()
b) sysfs_attribute
c) both (a) and (b)
d) none of the mentioned
a) sysfs_create_file()
Read More20 :: Sysfs attribute should export ____ value per file.
a) one
b) two
c) three
d) four
a) one
Read More21 :: Sysfs was originally called:
a) device driver filesystem
b) kernel interface filesystem
c) kernel filesystem
d) none of the mentioned
a) device driver filesystem
Read More22 :: 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
a) kernel's device model
Read More23 :: The files of sysfs contains the information about:
a) devices and drivers
b) memory mapping
c) ports
d) none of the mentioned
a) devices and drivers
Read More24 :: 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) both (a) and (b)
d) none of the mentioned
b) some files of the sysfs are writable for configuration of devices
Read More25 :: In linux sysfs is always mounted at:
a) /sys
b) /proc/sys
c) /proc/mounts
d) none of the mentioned
a) /sys
Read More