Linux Sysfs Questions & Answers – 1

DigitalOcean Referral Badge DigitalOcean Referral Badge

1.

Sysfs was originally called

   A.) device driver filesystem
   B.) kernel interface filesystem
   C.) kernel filesystem
   D.) none of these

Answer: Option 'A'

device driver filesystem

DigitalOcean Referral Badge

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 these

Answer: Option 'D'

all of these

DigitalOcean Referral Badge

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 these

Answer: Option 'A'

kernel’s device model
 

DigitalOcean Referral Badge

4.

The files of sysfs contains the information about

   A.) devices and drivers
   B.) memory mapping
   C.) ports
   D.) none of these

Answer: Option 'A'

devices and drivers

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

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 these

Answer: Option 'B'

some files of the sysfs are writable for configuration of devices

DigitalOcean Referral Badge

6.

In linux sysfs is always mounted at

   A.) /sys
   B.) /proc/sys
   C.) /proc/mounts
   D.) none of these

Answer: Option 'A'

/sys

DigitalOcean Referral Badge

7.

Libsysfs is a

   A.) user space library
   B.) kernel space library
   C.) not a library
   D.) none of these

Answer: Option 'A'

user space library

DigitalOcean Referral Badge

8.

Sysfs represents the

   A.) kernel objects
   B.) libraries
   C.) api
   D.) none of these

Answer: Option 'A'

kernel objects

DigitalOcean Referral Badge

9.

Sysfs does not contains

   A.) regular files
   B.) symbolic links
   C.) directories
   D.) none of these

Answer: Option 'D'

none of these

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

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 these

Answer: Option 'B'

major subsystems that are registered with sysfs

DigitalOcean Referral Badge

Linux Sysfs Questions & Answers – 1 Download Pdf

Recent Posts