Embedded Linux & Drivers interview questions

27 Embedded Linux & Drivers questions from the Embedded Systems bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute ECE readiness check — six questions and a result.

Take the free ECE readiness check

or take a mock interview set up for this area

1. What is Device tree?

Junior
  1. A.second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  2. B.real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds
  3. C.hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  4. D.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node

Answer + AI explanation with Pro

2. Which term means: "hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files"?

Junior
  1. A.Device tree
  2. B.Kernel module
  3. C.Yocto Project
  4. D.PREEMPT_RT

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Device tree — driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  2. B.Device tree — layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board
  3. C.Device tree — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  4. D.Device tree — building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries

Answer + AI explanation with Pro

4. What is U-Boot?

Junior
  1. A.second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  2. B.virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  3. C.loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel
  4. D.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node

Answer + AI explanation with Pro

5. Which term means: "second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment"?

Junior
  1. A.PREEMPT_RT
  2. B.Platform driver model
  3. C.Yocto Project
  4. D.U-Boot

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.U-Boot — second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  2. B.U-Boot — platform devices matched to drivers by compatible string through probe and remove callbacks, with devm_ managed resources releasing memory and IRQs automatically on removal
  3. C.U-Boot — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  4. D.U-Boot — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel

Answer + AI explanation with Pro

7. What is Cross-compilation?

Junior
  1. A.second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  2. B.hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  3. C.building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  4. D.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node

Answer + AI explanation with Pro

8. Which term means: "building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries"?

Junior
  1. A.Yocto Project
  2. B.Cross-compilation
  3. C.Kernel module
  4. D.Character device driver

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.Cross-compilation — driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  2. B.Cross-compilation — virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  3. C.Cross-compilation — building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  4. D.Cross-compilation — layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board

Answer + AI explanation with Pro

10. What is Yocto Project?

Mid
  1. A.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  2. B.hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  3. C.building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  4. D.layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board

Answer + AI explanation with Pro

11. Which term means: "layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board"?

Mid
  1. A.Yocto Project
  2. B.Character device driver
  3. C.sysfs
  4. D.PREEMPT_RT

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Yocto Project — layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board
  2. B.Yocto Project — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  3. C.Yocto Project — building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  4. D.Yocto Project — real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds

Answer + AI explanation with Pro

13. What is Kernel module?

Mid
  1. A.hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  2. B.real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds
  3. C.loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel
  4. D.building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries

Answer + AI explanation with Pro

14. Which term means: "loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel"?

Mid
  1. A.Kernel module
  2. B.Device tree
  3. C.Cross-compilation
  4. D.PREEMPT_RT

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Kernel module — virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  2. B.Kernel module — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  3. C.Kernel module — driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  4. D.Kernel module — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel

Answer + AI explanation with Pro

16. What is Character device driver?

Mid
  1. A.building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  2. B.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  3. C.hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  4. D.layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board

Answer + AI explanation with Pro

17. Which term means: "driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node"?

Mid
  1. A.U-Boot
  2. B.Character device driver
  3. C.Platform driver model
  4. D.Cross-compilation

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Character device driver — driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  2. B.Character device driver — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  3. C.Character device driver — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel
  4. D.Character device driver — real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds

Answer + AI explanation with Pro

19. What is sysfs?

Mid
  1. A.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  2. B.virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  3. C.building on an x86 host for an ARM target with a toolchain prefixed such as aarch64-linux-gnu-, using a sysroot holding the target's headers and libraries
  4. D.real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds

Answer + AI explanation with Pro

20. Which term means: "virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness"?

Mid
  1. A.Platform driver model
  2. B.U-Boot
  3. C.Kernel module
  4. D.sysfs

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.sysfs — second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  2. B.sysfs — layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board
  3. C.sysfs — virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  4. D.sysfs — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel

Answer + AI explanation with Pro

22. What is PREEMPT_RT?

Senior
  1. A.layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board
  2. B.real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds
  3. C.second-stage bootloader that initialises DRAM and storage, loads the kernel image and hardware description and passes bootargs, with a scriptable command shell and environment
  4. D.virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness

Answer + AI explanation with Pro

23. Which term means: "real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds"?

Senior
  1. A.Device tree
  2. B.PREEMPT_RT
  3. C.sysfs
  4. D.Yocto Project

Answer + AI explanation with Pro

24. Which statement is correct?

Senior
  1. A.PREEMPT_RT — real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds
  2. B.PREEMPT_RT — platform devices matched to drivers by compatible string through probe and remove callbacks, with devm_ managed resources releasing memory and IRQs automatically on removal
  3. C.PREEMPT_RT — hardware description compiled from .dts into a .dtb blob that the kernel parses at boot to bind drivers to peripherals through compatible strings, replacing hard-coded board files
  4. D.PREEMPT_RT — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel

Answer + AI explanation with Pro

25. What is Platform driver model?

Senior
  1. A.virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness
  2. B.driver registering a major and minor number with file_operations for open, read, write and ioctl so user space reaches the hardware through a /dev node
  3. C.real-time patch set, mainlined in kernel 6.12, that makes most kernel code preemptible with threaded interrupts and priority-inheriting locks, cutting worst-case latency to tens of microseconds
  4. D.platform devices matched to drivers by compatible string through probe and remove callbacks, with devm_ managed resources releasing memory and IRQs automatically on removal

Answer + AI explanation with Pro

26. Which term means: "platform devices matched to drivers by compatible string through probe and remove callbacks, with devm_ managed resources releasing memory and IRQs automatically on removal"?

Senior
  1. A.Cross-compilation
  2. B.Platform driver model
  3. C.sysfs
  4. D.U-Boot

Answer + AI explanation with Pro

27. Which statement is correct?

Senior
  1. A.Platform driver model — platform devices matched to drivers by compatible string through probe and remove callbacks, with devm_ managed resources releasing memory and IRQs automatically on removal
  2. B.Platform driver model — layered build system using BitBake recipes and metadata layers to produce a reproducible custom Linux image, SDK and package feed for a board
  3. C.Platform driver model — loadable .ko object with module_init and module_exit entry points, inserted with insmod or modprobe, running in kernel space with no memory protection from the rest of the kernel
  4. D.Platform driver model — virtual filesystem under /sys exposing kernel objects and driver attributes as files, letting user space read or set values such as GPIO direction or LED brightness

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute ECE readiness check and a scored result. Answers, explanations and the AI tutor on every Embedded Linux & Drivers question come with Pro.

Take the free ECE readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers