Chapter 11 Flashcards

1
Q

Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories?

a. yum list oobla
b. yum search oobla
c. rpm -qS oobla
d. rpm -ql oobla

A

yum search oobla

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

Which one is NOT a Linux compression tool?
Group of answer choices

  1. bzip2 / bunzip2
  2. compress / uncompress
  3. xz / unxz
  4. zap / unzap
A

zap / unzap

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

Which one is NOT a typical step involved in compiling and installing software on Linux?
Group of answer choices

  1. Run “make” shell script
  2. Run “install” shell script
  3. Run “configure” shell script
  4. Run “make install” shell script
A

Run “install” shell script

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

dnf resolves package dependencies automatically.
Correct!

True
False

A

True

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

Which commands can you use or could you have used to install a package on Fedora? (Select three)

  1. dnf
  2. fed
  3. rpm
  4. yum
A
  1. dnf
  2. rpm
  3. yum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which methods describe a typical Linux software installation process? (Select two)

  1. Download an executable and let the installer extract and install
  2. Download a tarball, and manually extract, compile, and install
  3. Download a package and let the package manager extract and install.
  4. Download an image and let the installer extract and install
A
  1. Download a tarball, and manually extract, compile, and install
  2. Download a package and let the package manager extract and install.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which one is NOT a Linux backup tool?

  1. tar
  2. cpioCo
  3. ee
  4. dump / restore
A

ee

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

Which one is NOT a typical program used on a Linux server to download a tarball?

  1. curl
  2. firefox
  3. ftp or sftp
  4. wget
A

firefox

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

What is a shared library? (Select two)

  1. A binary file that contains function calls that are used by multiple applications
  2. Has the .sl extension
  3. Placed under /lib/ or /lib64/ directory typically
  4. Unique to Linux which is not found in Windows OS
A

A binary file that contains function calls that are used by multiple applications

Placed under /lib/ or /lib64/ directory typically

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

Which commands can you use or could you have used to install a package on Ubuntu? (Select all that apply)

Correct!

apt

aptitude

apt-get

dpkg

A

apt

aptitude

apt-get

dpkg

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

Which command is used to extract the tarball?

  1. tar -extf gimp-2.10.14.tar.gz
  2. tar -exvf gimp-2.10.14.tar.gz
  3. tar -zcvf gimp-2.10.14.tar.gz
  4. tar -zxvf gimp-2.10.14.tar.gz
A

tar -zxvf gimp-2.10.14.tar.gz

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

Which option to the dpkg command can be used to list the files that comprise a package?

  • l
  • L
  • s
  • i
A

-L

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

When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?

tar
./configure
make
make install

A

make

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

You have created a full backup and four incremental backups. In which order must you restore these backups?

0, 1, 2, 3, 4
0, 4, 3, 2, 1
4, 3, 2, 1, 0
1, 2, 3, 4, 0

A

0, 1, 2, 3, 4

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

The bzip2 and gzip utilities use similar compression algorithms.

True
False

A

True

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

Which of the following command can be used to display the package to which the specified file belongs in RPM?

rpm -a
rpm –F
rpm -qf
rpm -ql

A

rpm -qf

17
Q

Which dump level indicates a full backup?

0
9
1
f

A

0

18
Q

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

A

.xz

19
Q

Which filename extension indicates a tarball?

.tar.xz
.cpio
.dump
.tar

A

.tar.xz

20
Q

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

A

dd

21
Q

Which of the following commands creates a zipped archive?

tar –cvf /dev/st0
tar –xvf /dev/st0
tar –tvf /dev/st0
tar –zcvf /dev/st0 *

A

tar –zcvf /dev/st0 *

22
Q

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

True

False

A

False

23
Q

Which of the following commands can be used to remove the test DPM package, including any test configuration files?

dpkg remove test
apt remove test
dpkg purge test
apt purge test

A

apt purge test

24
Q

When compiling source code into a binary program, which command performs a system check and creates the Makefile?
tar
./configure
make
make install

A

./configure

25
Q

Which of the following commands can be used to list the files contained within an installed RPM package?

rpm –qa packagename
rpm –qi packagename
rpm –ql packagename
rpm –q packagename

A

rpm –ql packagename

26
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?
ldd
updatedb
ldconfig
dpkg-reconfigure

A

ldconfig

27
Q

Which of the following commands extracts an archive?
cpio –vocBL /dev/fd0
cpio –vicdu –I /dev/fd0
cpio –vicdu –O /dev/fd0
cpio –vti –I /dev/fd0

A

cpio –vicdu –I /dev/fd0

28
Q

The Debian Package Manager (DPM) is the default package manager used by Fedora 28.

True
False

A

False

29
Q

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

True
False

A

True

30
Q

The -9 option to the gzip utility results in a higher compression ratio.

True
False

A

True

31
Q

Which option to the rpm command can be used to remove a package from the system?

  • r
  • e
  • u
  • U
A

-e

32
Q

Which statements are true regarding packages and package mangers. (Select two)

Red Hat Package has the extension of .rpm

Debian Package has the extension of .dpm

rpm is the command to run Red Hat Package Manager

dpm is the command to run Debian Package Manager

A

Red Hat Package has the extension of .rpm

rpm is the command to run Red Hat Package Manager

33
Q

Incremental backups back up the data that has been changed since the last full backup.

True

False

A

FALSE