Chapter 11

1. Most source code is available on the Internet in tarball format. True or False?
True
Which dump level indicates a full backup?
a. 0
b. 9
c. 1
d. f
a) 0
Which filename extension indicates a tarball?
a. .tar.gz
b. .cpio
c. .dump
d. .tar
a) .tar.gz
Files that have been compressed using the compress utility typically have the
extension.
a. .tar.gz
b. .gz
c. .Z
d. .bz2
c) .Z
The bzip2 and gzip utilities use similar compression algorithms. True or False?
False
When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?
a. tar
b. ./configure
c. make
d. make install
c) make
The -9 option to the gzip command results in a higher compression ratio. True or False?
True
You have created a full backup and four incremental backups. In which order must you
restore these backups?
a. 0, 1, 2, 3, 4
b. 0, 4, 3, 2, 1
c. 4, 3, 2, 1, 0
d. 1, 2, 3, 4, 0
a) 0, 1, 2, 3, 4
Which of the following commands extracts an archive?
a. cpio -vocBL /dev/fd0
b. cpio -vicdu -I /dev/fd0
c. cpio -vicdu -O /dev/fd0
d. cpio -vti -I /dev/fd0
b. cpio -vicdu -I /dev/fd0
The Debian Package Manager (DPM) is the default package manager used by Fedora 20.
True or False?
False
Which of the following commands can be used to list the files contained within an
installed RPM package?
a. rpm -qa packagename
b. rpm -qi packagename
c. rpm -ql packagename
d. rpm -q packagename
c. rpm -ql packagename
Which of the following command can be used to remove the test DPM package, including any test configuration files?
a. dpkg remove test
b. apt-get remove test
c. dpkg purge test
d. apt-get purge test
d. apt-get purge test
To install a new program from RPM software repositories on the Internet, you can use the yum update programname command. True or False?
False
Which file contains full and incremental back-up information for use with the dump/
restore utility?
a. /etc/dumps
b. /etc/dumpdates
c. /etc/dumpfile
d. /etc/dump.conf
b. /etc/dumpdates
Which of the following represents the first nonrewinding SCSI tape device on a system?
a. /dev/st0
b. /dev/ht0
c. /dev/nht0
d. /dev/nst0
d. /dev/nst0
Which option to the dpkg command can be used to list the files that comprise a
package?
a. -l
b. -L
c. -s
d. -i
b. -L
Which option to the rpm command can be used to remove a package from the system?
a. -r
b. -e
c. -u
d. -U
b. -e
Which of the following commands creates an archive?
a. tar -cvf /dev/st0
b. tar -xvf /dev/st0
c. tar -tvf /dev/st0
d. tar -zcvf /dev/st0 *
d. tar -zcvf /dev/st0 *
When compiling source code into a binary program, which command performs a system check and creates the Makefile?
a. tar
b. ./configure
c. make
d. make install
b. ./configure
Which of the following commands can be used to search for packages that contain the word “oobla” on RPM software repositories?
a. yum search oobla
b. rpm -qS oobla
c. yum list oobla
d. rpm -ql oobla
a. yum search oobla