201-450 Practice Test

Review 120 201-450 practice questions with answer explanations and community insights.

Question 1

Which of the following commands erases the contents of the /dev/sdb3 partition?

  1. rm /dev/sdb3
  2. dd if=/dev/zero of=/dev/sdb3
  3. dd of=/dev/zero if=/dev/sdb3
  4. umount /dev/sdb3

Question 2

Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose two.)

  1. configure
  2. config.h.in
  3. makefile
  4. Makefile
  5. Makefile.in

Question 3

FILL BLANK - What command is used to send messages to all users currently logged in? (Specify ONLY the command without any path or parameters.)

Question 4

Which of the following commands restores only those files containing lpi in their name from the archive lpifiles.tar.gz?

  1. tar xvzf lpifiles.tar.gz --wildcards "˜*lpi*'
  2. tar xvzwf lpifiles.tar.gz "˜*lpi*'
  3. tar -xvfz lpifiles.tar.gz --deep "˜*lpi*'
  4. tar -xvzf lpifiles.tar.gz --subdirs "˜*lpi*'
  5. tar xvzf lpifiles.tar.gz --globbing "˜*lpi*'

Question 5

A regular user has just run - ./configure && make && make install to build and install a program. However, the installation fails. What could be done to install the program? (Choose two.)

  1. Install the binaries manually with suinstall
  2. Run make install with root privileges
  3. Do not run ./configure in order to maintain the default configuration for correct installation
  4. Rerun ./configure with a --prefix option where the user has permissions to write
  5. Run make install_local to install into /usr/local/