Test Bank Chapter 27 Debian-Based Software Management - Answer Key + Test Bank | Linux Essentials 1e Rothwell by William Rothwell. DOCX document preview.
Linux Essentials for Cybersecurity (Rothwell/Kinsey)
Chapter 27 Debian-Based Software Management
1) The Debian package manager is used on which of the following Linux distributions?
A) Ubuntu
B) Debian
C) Mint
D) All of the above
2) Which of the following Debian commands is the equivalent of the Red Hat rpm command?
A) apt-cache
B) dpkg
C) apt
D) apt-get
3) Debian software package files are distributed with a(n) ________ extension.
A) .ru
B) .ko
C) .deb
D) .gz
4) Which of the following options for the dpkg command includes a list of the configuration files for the package?
A) -s
B) -l
C) -c
D) -V
5) To install a software package with the dpkg command, use the __________ option.
A) -S
B) -i
C) -V
D) -I
6) Which of the following options for the dpkg command is used to extract files and replace missing or corrupted system files?
A) -L
B) -x
C) -V
D) -c
7) Which of the following commands removes a package on a Debian-based system, including all of the package’s configuration files?
A) dpkg -r pkg_name
B) dpkg -p pkg_name
C) dpkg -R pkg_name
D) dpkg -P pkg_name
8) APT, which stands for __________, is a collection of commands that provide the same functionality that yum or dnf provides on Red Hat-based systems.
A) Automated Package Tool
B) Advanced Package Troubleshooter
C) Advanced Package Tool
D) Automated Package Troubleshooter
9) Which of the following APT utilities provides additional features for more advanced package management operations?
A) apt-get
B) apt
C) apt-cache
D) apt-zip
10) The APT commands make use of repositories, called __________, from where packages can be downloaded.
A) origins
B) sources
C) lists
D) resources
11) Which of the following fields of an APT configuration file indicates whether the packages in the source repository are regular packages or source packages?
A) Component
B) Source location
C) Suite
D) Type
12) Which of the following fields of an APT configuration file indicates the subdirectory under the URL where the package files are stored?
A) Component
B) Source location
C) Suite
D) Type
13) Which option for the apt list command is used to display packages that are installed and have a newer version available?
A) --updatable
B) --installed
C) --upgrade
D) --upgradable
14) Which of the following commands provides a method to search for packages using a regular expression?
A) apt-cache
B) apt
C) apt show
D) apt find
15) To display all packages that begin with “vi”, you can execute which of the following commands?
A) apt show vi?
B) apt show vi#
C) apt show vi*
D) apt show “vi”
16) Which of the following commands can be used to display the reverse dependencies of a package?
A) apt-cache revdep
B) apt-cache rdepends
C) apt-cache deprev
D) apt-cache depends
17) Which of the following options for the apt install command is used to indicate which version of the distribution to use for the package version?
A) /target_release
B) =pkg_version_number
C) Both A and B
D) None of the above
18) Which option for the apt-get install command is used to fix broken dependencies?
A) -s
B) -y
C) -f
D) --reinstall
19) Package groups are available in the interactive __________ utility, which is a command-line utility that is normally installed by default.
A) aptitude
B) tasksel,
C) synaptic
D) None of the above
20) To purge a package, removing all the package files including configuration files, use the __________ command.
A) apt remove
B) apt-get purge
C) apt-get remove
D) apt purge
Document Information
Connected Book
Answer Key + Test Bank | Linux Essentials 1e Rothwell
By William Rothwell