SSC Multi-Tasking Non-Technical Staff Model Exams in Telugu

AP Grama Sachivalayam 2023 Free Test Series in Telugu (14,523 Vacancies)

Free - AP Police SI (Sub Inspector) Model Exams in Telugu

Linux Sysfs Questions & Answers – 4

1.

Relationship between components of device driver models are expressed in the sysfs as

   A.) a directory
   B.) a regular file
   C.) symbolic links between files and directories
   D.) none of these

Answer: Option 'C'

symbolic links between files and directories

2.

What is the main role of the regular files in the sysfs?

   A.) regular files represent the attributes of devices and drivers
   B.) regular files represent the kernel objects
   C.) regular files represent the kernel sets
   D.) none of these

Answer: Option 'A'

regular files represent the attributes of devices and drivers

3.

The core data structure of device driver model is

   A.) kobject
   B.) kfile
   C.) kmodule
   D.) none of these

Answer: Option 'A'

kobject

4.

The kset contains

   A.) pointer to subsystem descriptor
   B.) pointer to the kobject type descriptor of the kset
   C.) head of the kobjects included in the kset
   D.) all of these

Answer: Option 'D'

all of these

5.

Which one of the following is a read-write semaphore in linux that protects all ksets and kobjects included in the filesystem?

   A.) rwsem
   B.) rwsemaphore
   C.) rws
   D.) none of these

Answer: Option 'A'

rwsem

6.

Each device in the device driver model is represented by a _____ object.

   A.) driver
   B.) device
   C.) node
   D.) none of these

Answer: Option 'B'

device

7.

Each driver in the device driver model is described by a ______ object.

   A.) dev_d
   B.) device_d
   C.) dev_driver
   D.) device_driver

Answer: Option 'D'

device_driver

8.

The channel between the processor and devices is called?

   A.) bus
   B.) driver
   C.) class
   D.) none of these

Answer: Option 'A'

bus

9.

In which directory every kernel module of the system is represented?

   A.) /sys/kernel
   B.) /sys/module
   C.) /sys/kernel/module
   D.) none of these

Answer: Option 'C'

/sys/kernel/module

10.

In sysfs the device drivers of same _____ are expected to provide same functionalities to the user mode application.

   A.) class
   B.) kobjects
   C.) ksets
   D.) none of these

Answer: Option 'A'

class


Linux Sysfs Questions & Answers – 4 Download Pdf

Recent Posts