LFCS

LFCS practice questions, page 8 of 11, with answer review and explanations.

Question 36

SIMULATION - Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Question 37

SIMULATION - Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Question 38

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  1. dd if=/dev/zero of=/dev/sda bs=512
  2. dd if=/dev/zero of=/dev/sda bs=512 count=1
  3. dd if=/dev/zero of=/dev/sda bs=440 count=1
  4. dd if=/dev/zero of=/dev/sda bs=440

Question 39

Which of the following commands can be used to create a USB storage media from a disk image?

  1. gdisk
  2. dd
  3. cc
  4. fdisk
  5. mount

Question 40

In Bash, inserting 1>&2 after a command redirects

  1. standard error to standard input.
  2. standard input to standard error.
  3. standard output to standard error.
  4. standard error to standard output.
  5. standard output to standard input.