Module 11 Review Quiz Flashcards

1
Q

Most source code is typically available on the Internet in tarball format or as a git repository. True or False?
a. True
b. False

A

a. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which dump level indicates a full backup?
a. 0
b. 9
c. 1
d. f

A

a. 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Files that have been compressed using the xz utility typically have the ______ extension.
a. zip
b. gz
c. xz
d. bz2

A

c. xz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which filename extension indicates a tarball?
a. tar.xz
b. cpio
c. dump
d. tar

A

a. tar.xz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The bzip2 and gzip utilities use similar compression algorithms. True or False?
a. True
b. False

A

b. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

c. make

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The -9 option to the gzip utility results in a higher compression ratio. True or False?
a. True
b. False

A

a. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

a. 0, 1, 2, 3, 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

b. cpio –vicdu –I /dev/fd0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The Debian Package Manager (DPM) is the default package manager used by Fedora 28. True or False?
a. True
b. False

A

b. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

c. rpm –ql packagename

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following commands can be used to remove the test DPM package, including any test configuration files?
a. dpkg remove test
b. apt remove test
c. dpkg purge test
d. apt purge test

A

d. apt purge test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following commands should be run following the installation of a shared library to update the /etc/ld.so.conf and /etc/ld.so.cache files?
a. ldd
b. updatedb
c. ldconfig
d. dpkg-reconfigure

A

c. ldconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To install a new program from RPM software repositories on the Internet, you can use the dnf update programname command. True or False?
a. True
b. False

A

b. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

b. -L

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which command can be used to create an image backup of a partition?
a. tar
b. dd
c. dump
d. cpio

A

b. dd

11
Q

Which option to the rpm command can be used to remove a package from the system?
a. r
b. e
c. u
d. U

A

b. e

12
Q

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 *

A

d. tar –zcvf /dev/st0 *

13
Q

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

A

b. /configure

14
Q

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

a. yum search oobla