Linux+ Networking Chapter 12

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Ajeff
A
Ajeff
Community Contributor
Quizzes Created: 39 | Total Attempts: 59,872
| Attempts: 558 | Questions: 20
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1. Most source code is available on the Internet in tarball format. True or False?

Explanation

Most source code is indeed available on the Internet in tarball format. Tarball is a common way of packaging source code files, especially in the open-source community. It allows for easy distribution and sharing of code, making it widely accessible for developers and users. Therefore, the statement "Most source code is available on the Internet in tarball format" is true.

Submit
Please wait...
About This Quiz
Linux Plus Networking Quizzes & Trivia

This quiz covers concepts related to Linux networking, focusing on tarballs, backup levels, file compression, and source code compilation.

Personalize your quiz and earn a certificate with your name on it!
2. The -9 option to the gzip utility results in a higher compression ratio. True or False?

Explanation

Using the -9 option with the gzip utility does result in a higher compression ratio. The gzip utility is used to compress files and the -9 option represents the highest compression level available. This means that when using this option, the gzip utility will apply more intensive compression algorithms, resulting in a higher compression ratio compared to lower compression levels. Therefore, the statement "The -9 option to the gzip utility results in a higher compression ratio" is true.

Submit
3. What is the most common method for obtaining Linux software?

Explanation

The most common method for obtaining Linux software is through internet download. This is because Linux distributions are freely available for download from various websites. Users can easily access and download the software directly to their computers, without the need for physical media such as CD-ROMs or floppy disks. Additionally, internet download allows for quick and convenient access to the latest versions and updates of Linux software.

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

Explanation

The correct order to restore the backups is 0, 1, 2, 3, 4. This is because a full backup is always required as the base for the incremental backups. Therefore, the full backup (0) needs to be restored first. After that, the incremental backups can be restored in the order they were created, starting from 1 and ending with 4. This ensures that all changes made after the full backup are properly applied.

Submit
5. Which dump level indicates a full backup?

Explanation

Dump level 0 indicates a full backup. In the context of data backup, dump level refers to the level of incremental backup being performed. Level 0 represents a full backup, where all the selected data is backed up.

Submit
6. The bzip2 and gzip utilities use similar compression algorithms. True or False?

Explanation

False. The bzip2 and gzip utilities do not use similar compression algorithms. While both utilities are used for compression, they employ different algorithms. Bzip2 uses the Burrows-Wheeler block sorting algorithm combined with Huffman coding, while gzip uses the DEFLATE algorithm, which combines LZ77 compression and Huffman coding.

Submit
7. Which filename extension indicates a tarball?

Explanation

The filename extension .tar.gz indicates a tarball. Tarball is a file format that combines multiple files into a single file, often used in Unix-based systems. The .tar extension denotes a tar archive file, while the .gz extension indicates that the file has been compressed using gzip compression. Therefore, the .tar.gz extension signifies a tarball file that has been compressed using gzip compression.

Submit
8. Which of the following commands extracts an archive?

Explanation

The command "cpio –vicdu –I /dev/fd0" extracts an archive. The "cpio" command is used to copy files to and from archives. The "-v" option is used to display verbose output, the "-i" option is used to extract files from an archive, the "-c" option is used to create a new archive, the "-d" option is used to create directories as needed, and the "-u" option is used to overwrite existing files. The "-I" option specifies the input file as "/dev/fd0", which is typically the floppy disk drive. Therefore, the given command extracts files from the archive located on the floppy disk drive.

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

Explanation

The command "rpm -ql packagename" can be used to list the files contained within an installed RPM package. The "rpm" command is used to manage RPM packages in Linux systems, and the "-ql" option specifically lists the files in a package. The "packagename" should be replaced with the actual name of the RPM package you want to list the files for.

Submit
10. Files that have been compressed using the compress utility typically have the ________ extension.

Explanation

Files that have been compressed using the compress utility typically have the .Z extension. The compress utility is commonly used to compress files on Unix systems. The .Z extension indicates that the file has been compressed using the compress algorithm.

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

Explanation

The correct answer is "make". When compiling source code into a binary program, the "make" command is used to invoke the GNU C Compiler (gcc) and perform the compilation process. The "make" command reads the instructions specified in a Makefile and executes the necessary compilation steps to generate the binary program.

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

Explanation

The option "e" can be used with the rpm command to remove a package from the system. This option stands for "erase" and is used to uninstall or remove a package that has been installed using the rpm package manager. By specifying the "e" option followed by the package name, the rpm command will remove the package and any associated files or dependencies from the system.

Submit
13. Which of the following commands can be used to list detailed information about a package such as its installation date and license?

Explanation

The correct answer is "rpm –qi packagename". This command is used to list detailed information about a package, including its installation date and license.

Submit
14. Which file contains full and incremental back-up information for use with the dump/restore utility?

Explanation

The file /etc/dumpdates contains full and incremental backup information for use with the dump/restore utility. This file keeps track of the dates and levels of each backup performed, allowing the restore utility to determine which files need to be restored and from which backup.

Submit
15. When compiling source code into a binary program, which command performs a system check and creates the Makefile?

Explanation

The correct answer is "./configure". When compiling source code into a binary program, the "./configure" command is used to perform a system check and create the Makefile. The Makefile is a configuration file that contains instructions for the "make" command, which is used to build the program. The "./configure" command checks the system for required dependencies and sets up the build environment accordingly. It is an important step in the compilation process as it ensures that the program can be built successfully on the specific system.

Submit
16. Which of the following represents the first nonrewinding SCSI tape device on a system?

Explanation

The correct answer is /dev/nst0. In SCSI tape devices, the "n" prefix stands for nonrewinding. Therefore, /dev/nst0 represents the first nonrewinding SCSI tape device on a system.

Submit
17. Source code is commonly obtained in Red Hat Package Manager format. True or False?

Explanation

The statement is false because source code is commonly obtained in the form of compressed archives or version control systems, such as Git or Subversion. The Red Hat Package Manager (RPM) format is used for distributing pre-compiled binary packages, not source code.

Submit
18. When compiling source code into a binary program, which command copies compiled binary files to the correct location on the filesystem?

Explanation

The "make install" command is used to copy the compiled binary files to the correct location on the filesystem. This command is typically used after the source code has been compiled using the "make" command. The "make install" command ensures that the binary files are copied to the appropriate directories so that the program can be executed properly.

Submit
19. Which of the following commands creates an archive?

Explanation

The correct answer is "tar –zcvf /dev/fd0 *". This command creates an archive using the tar utility with the options -z (compress), -c (create), -v (verbose), and -f (file) to specify the output file as /dev/fd0. The * at the end indicates that all files and directories in the current directory should be included in the archive.

Submit
20. Compiling and installing software from source code updates a central database that can then be used to query and remove the software at a later time. True or False?

Explanation

Compiling and installing software from source code does not update a central database. Instead, it directly installs the software onto the system. Therefore, it cannot be used to query and remove the software at a later time.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 20, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 07, 2009
    Quiz Created by
    Ajeff
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Most source code is available on the Internet in ...
The -9 option to the gzip utility results in a higher compression...
What is the most common method for obtaining Linux software?
You have created a full backup and four ...
Which dump level indicates a full backup?
The bzip2 and ...
Which filename extension indicates a tarball?
Which of the following commands extracts an archive?
Which of the following commands can be used to ...
Files that have been compressed using the compress utility typically...
When compiling source code into a binary program, ...
Which option to the rpm command can be used to remove a package from...
Which of the following commands can be used to ...
Which file contains full and incremental back-up ...
When compiling source code into a binary program, ...
Which of the following represents the first ...
Source code is commonly obtained in Red Hat ...
When compiling source code into a binary program, ...
Which of the following commands creates an archive?
Compiling and installing software from source ...
Alert!

Advertisement