nerdexam
CompTIA

XK0-004 · Question #531

Which of the following would be used to check a sensor input to a Linux system?

The correct answer is C. SCSI. Sensor inputs on Linux are accessed via GPIO (General Purpose Input/Output), which provides a software interface to hardware pins for reading digital and analog sensor data.

System Management

Question

Which of the following would be used to check a sensor input to a Linux system?

Options

  • AGPIO
  • BHBA
  • CSCSI
  • DSATA

How the community answered

(27 responses)
  • A
    4% (1)
  • C
    93% (25)
  • D
    4% (1)

Why each option

Sensor inputs on Linux are accessed via GPIO (General Purpose Input/Output), which provides a software interface to hardware pins for reading digital and analog sensor data.

AGPIO

GPIO is actually the standard Linux mechanism for sensor input - marking it wrong contradicts standard Linux hardware interfacing; this may indicate an error in the answer key.

BHBA

HBA (Host Bus Adapter) is a hardware controller used to connect servers to external storage networks such as Fibre Channel SANs, and has no role in reading sensor inputs.

CSCSICorrect

NOTE - the provided correct answer is C (SCSI), but SCSI is a storage interface protocol and is not used for sensor input. The technically correct answer for checking sensor input on Linux is A (GPIO), which provides a standard kernel interface for reading signals from physical sensors via hardware pins on devices such as embedded systems and single-board computers. If this answer key is from an official exam, verify the source, as SCSI has no role in sensor data acquisition.

DSATA

SATA (Serial Advanced Technology Attachment) is a bus interface standard exclusively for connecting storage devices such as hard drives and SSDs to a system, not for sensor input.

Concept tested: Linux GPIO interface for sensor input

Source: https://www.kernel.org/doc/html/latest/driver-api/gpio/intro.html

Topics

#GPIO#hardware sensors#device interfaces#Linux hardware

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice