nerdexam
CompTIA

XK0-005 · Question #632

An administrator has source code and needs to rebuild a kernel module. Which of the following command sequences is most commonly used to rebuild this type of module?

The correct answer is A. ./configure. The standard sequence for compiling software from source code is: (1) './configure' - checks the build environment and generates a Makefile, (2) 'make' - compiles the source code, (3) 'make install' - installs the compiled binaries. The './configure' step is the first and most…

System Management

Question

An administrator has source code and needs to rebuild a kernel module. Which of the following command sequences is most commonly used to rebuild this type of module?

Options

  • A./configure
  • Bwget
  • Ctar xvzf
  • Dbuild

How the community answered

(27 responses)
  • A
    89% (24)
  • B
    7% (2)
  • D
    4% (1)

Explanation

The standard sequence for compiling software from source code is: (1) './configure' - checks the build environment and generates a Makefile, (2) 'make' - compiles the source code, (3) 'make install' - installs the compiled binaries. The './configure' step is the first and most essential step in this workflow, making it the answer. 'wget' (B) is used to download files from the internet, not to build them. 'tar xvzf' (C) extracts a compressed archive and would precede the build process. 'build' (D) is not a standard Linux build command.

Topics

#kernel modules#source compilation#build process#Linux commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice