You have created a full backup and four incremental backups using dump. In which order must you restore these backups based on their dump level?
A. 0, 1, 2, 3, 4
[Full backups are taken first and have a dump level 0. Each subsequent incremental backup is numbered starting from 1. After a system failure, backups must be restored in the same order they were taken.]
Which of the following commands creates an archive?
A. tar –zcvf /dev/st0 *
[The -c option to the tar command creates an archive. At minimum the tar command requires two arguments: the location of the archive, and the files to add to the archive.]
Files that have been compressed using the xz utility typically have the _____ extension.
C. .xz
[The xz utility uses the .xz for compressed files.]
Which command can be used to create an image backup of a partition?
D. dd
[The dd command can create an image backup from a partition.]
Which of the following are package managers that can be used to install sandboxed applications? (Choose all that apply.)
C. Snap
c. Flatpak
[Snap and Flatpak are sandbox package managers, while RPM and DPM are not.]
AppImage applications have a .app extension and can be executed directly on a system.
False
[AppImage applications have a .appimage extension.]
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?
B. ldconfig
[The ldconfig command updates the information stored within the /etc/ld.so.conf and /etc/ld.so.cache files.]
The Debian Package Manager (DPM) is the default package manager used by Ubuntu Linux.
True
[Ubuntu systems use the DPM by default.]
Which filename extension indicates a tarball?
C. .tar.xz
[Tarballs are compressed tar archives. A tar archive compressed using xz often has a .tar.xz extension.]
Which option to the dpkg command can be used to list the files that comprise a package?
C. –L
[The -L option to the dpkg command displays files within a DPM package.]
Which of the following commands extracts an archive?
D. cpio –vicdu –I archive.cpio
[The -I option to cpio indicates an input device when extracting an archive, while the -i option performs the extraction. The -t option displays the contents of the archive instead of extracting it.]
Which option to the rpm command can be used to remove a package from the system?
D. –e
[The -e option to the rpm command can be used to remove (erase) an RPM package.]
Most source code is typically available on the Internet in tarball format or as a git repository.
True
[Most source code is distributed via Git repos or tarballs hosted on websites.]
To install a new program from RPM software repositories on the Internet, you can use the dnf get programname command.
False
[You can use dnf install programname to install RPM software from an Internet repository.]
Which of the following commands can be used to search for packages that contain the word "oobla" on RPM software repositories?
A. dnf search oobla
[You can use the search option of the dnf command to search for RPM packages in an online software repository.]
Which of the following commands can be used to list the files contained within an installed RPM package?
B. rpm –ql packagename
[You can use the -ql (query, list files) options to the rpm command to list files within an installed RPM package.]
Which of the following commands can be used to remove the test DPM package, including any test configuration files?
B. apt purge test
[The purge option of the apt command (or the -P option to the dpkg command) can be used to remove a package and its configuration files.]
When compiling source code into a binary program, which command does the compiling of the program itself?
B. make
[The make command compiles the source code using the compiler specified in the Makefile.]
Which command will list the Flatpak applications available on a remote Flatpak repository?
D. flatpak remote-ls
[The remote-ls option to flatpak displays the contents of a remote Flatpak repository.]
The -9 option to the gzip command results in a higher compression ratio.
True
[The -9 or --best option to gzip provides the maximum compression ratio.]