Compiling Kernel   «Prev  Next»

Compiling the Red Hat Linux Kernel - Quiz

Select the best answer or answers for each question.
1. Which of the following are part of the current upstream Linux kernel build toolchain?
Please select all the correct answers.
  A. A supported C compiler such as gcc or clang
  B. GNU make
  C. flex and bison
  D. egcs
  E. dev86

2. After copying an existing .config into a fresh output directory, which command accepts defaults for newly introduced configuration symbols?
Please select the best answer.
  A. make -C "$src" O="$build" olddefconfig
  B. make -C "$src" O="$build" dep
  C. make -C "$src" O="$build" clean
  D. make -C "$src" O="$build" modules_install

3. Which statements accurately describe built-in features and loadable kernel modules?
Please select all the correct answers.
  A. A feature selected with m is built as a loadable module.
  B. A feature selected with y is linked into the kernel image.
  C. A loaded module runs in kernel space and can be unloaded only when its use, dependencies, configuration, and policy permit.
  D. Loadable modules are always preferable to built-in code.

4. Which command performs the configured default build in the separate output directory used by this module?
Please select the best answer.
  A. make -C "$src" O="$build" -j"$jobs"
  B. make -C "$src" O="$build" dep
  C. make -C "$src" O="$build" modules_install
  D. make -C "$src" O="$build" clean