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?
rm /dev/sdb3
dd if=/dev/zero of=/dev/sdb3
dd of=/dev/zero if=/dev/sdb3
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.)
configure
config.h.in
makefile
Makefile
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?
tar xvzf lpifiles.tar.gz --wildcards "˜*lpi*'
tar xvzwf lpifiles.tar.gz "˜*lpi*'
tar -xvfz lpifiles.tar.gz --deep "˜*lpi*'
tar -xvzf lpifiles.tar.gz --subdirs "˜*lpi*'
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.)
Install the binaries manually with suinstall
Run make install with root privileges
Do not run ./configure in order to maintain the default configuration for correct installation
Rerun ./configure with a --prefix option where the user has permissions to write
Run make install_local to install into /usr/local/