Linux+ Networking Chapter 13

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Ajeff
A
Ajeff
Community Contributor
Quizzes Created: 39 | Total Attempts: 53,050
Questions: 20 | Attempts: 286

SettingsSettingsSettings
Linux Plus Networking Quizzes & Trivia

Linux+ Networking Chapter 13


Questions and Answers
  • 1. 

    On which part of the maintenance cycle do Linux administrators spend the most time?

    • A.

      Monitoring

    • B.

      Proactive maintenance

    • C.

      Reactive maintenance

    • D.

      Documentation

    Correct Answer
    A. Monitoring
    Explanation
    Linux administrators spend the most time on monitoring during the maintenance cycle. Monitoring involves constantly observing the system's performance, identifying any issues or abnormalities, and ensuring that everything is running smoothly. This includes monitoring system logs, network traffic, resource usage, and other critical metrics. By closely monitoring the system, administrators can proactively identify and address any potential problems before they escalate, preventing downtime and ensuring the overall stability and efficiency of the Linux environment.

    Rate this question:

  • 2. 

    Which of the following files is likely to be found in the /var/log/sa directory over time?

    • A.

      15

    • B.

      Sa39

    • C.

      Sa19

    • D.

      00

    Correct Answer
    C. Sa19
    Explanation
    The file "sa19" is likely to be found in the /var/log/sa directory over time.

    Rate this question:

  • 3. 

    Which of the following commands can be used to display memory statistics? (Choose all that apply.)

    • A.

      Free

    • B.

      Sar

    • C.

      Vmstat

    • D.

      Iostat

    Correct Answer(s)
    A. Free
    B. Sar
    C. Vmstat
    Explanation
    The commands "free", "sar", and "vmstat" can be used to display memory statistics. The "free" command shows the amount of free and used memory in the system. The "sar" command provides system activity reports, including memory usage. The "vmstat" command displays virtual memory statistics, including information about memory usage, paging, and swapping. The "iostat" command, on the other hand, is used to display input/output statistics and is not directly related to memory statistics.

    Rate this question:

  • 4. 

    Which command indicates the shared libraries required by a certain executable program?

    • A.

      Ldconfig

    • B.

      Ldd

    • C.

      Rpm –V

    • D.

      Slconfig

    Correct Answer
    B. Ldd
    Explanation
    The command "ldd" is used to indicate the shared libraries required by a certain executable program. It helps to identify the dependencies of the program on shared libraries, allowing users to ensure that all necessary libraries are present and properly configured. This command is commonly used in Linux systems to troubleshoot issues related to missing or incompatible libraries.

    Rate this question:

  • 5. 

    Which directory must you be in to compile the Linux kernel?

    • A.

      /lib/modules

    • B.

      /usr/src/linux

    • C.

      /lib/modules/(kernel-version)

    • D.

      /usr/src/linux/(kernel-version)

    Correct Answer
    B. /usr/src/linux
    Explanation
    To compile the Linux kernel, you must be in the "/usr/src/linux" directory. This directory contains the source code for the Linux kernel, which is necessary for compiling and building the kernel. Being in this directory allows you to access and modify the necessary files and configurations required for compiling the kernel successfully.

    Rate this question:

  • 6. 

    Which command can be used to create a ramdisk that will be used at boot time to load SCSI support?

    • A.

      Mkramdisk

    • B.

      Load ramdisk

    • C.

      Image=ramdisk

    • D.

      Mkinitrd

    Correct Answer
    D. Mkinitrd
    Explanation
    The command "mkinitrd" can be used to create a ramdisk that will be used at boot time to load SCSI support.

    Rate this question:

  • 7. 

    Which command can be used to apply a patch to kernel source code?

    • A.

      Patch

    • B.

      P0patch

    • C.

      Make patch

    • D.

      Make patch_install

    Correct Answer
    A. Patch
    Explanation
    The command "patch" can be used to apply a patch to kernel source code.

    Rate this question:

  • 8. 

    When an application stops functioning, what should you try first?

    • A.

      Restart the application.

    • B.

      Research the solution using the Internet.

    • C.

      Switch to Single User Mode.

    • D.

      Kill all other applications running in memory.

    Correct Answer
    A. Restart the application.
    Explanation
    When an application stops functioning, the first step to try is to restart the application. This is because restarting the application can help resolve any temporary glitches or errors that may be causing it to stop functioning. It is a simple and quick solution that can often fix the problem without the need for further troubleshooting or research. Researching the solution using the Internet may be helpful in some cases, but it should be tried after restarting the application. Switching to Single User Mode or killing all other applications running in memory are not relevant solutions for resolving a non-functioning application.

    Rate this question:

  • 9. 

    Which of the following steps is not a common troubleshooting procedure?

    • A.

      Test the solution.

    • B.

      Isolate the problem.

    • C.

      Delegate responsibility.

    • D.

      Collect information.

    Correct Answer
    C. Delegate responsibility.
    Explanation
    Delegate responsibility is not a common troubleshooting procedure because troubleshooting typically involves identifying and resolving issues independently or with a team. Delegating responsibility would involve assigning the problem-solving task to someone else, which goes against the idea of troubleshooting. The other steps mentioned - testing the solution, isolating the problem, and collecting information - are all common troubleshooting procedures that help identify and resolve issues effectively.

    Rate this question:

  • 10. 

    You can recompile the kernel to ________________. (Choose all that apply.)

    • A.

      Add support for a certain hardware device

    • B.

      Remove support for a certain hardware device

    • C.

      Change kernel features

    • D.

      Improve system performance

    Correct Answer(s)
    A. Add support for a certain hardware device
    B. Remove support for a certain hardware device
    C. Change kernel features
    D. Improve system performance
    Explanation
    The correct answer is that you can recompile the kernel to add support for a certain hardware device, remove support for a certain hardware device, change kernel features, and improve system performance. Recompiling the kernel allows you to modify its configuration and settings, enabling you to add or remove support for specific hardware devices. It also allows you to make changes to the kernel's features and functionalities, as well as optimize its performance for your specific system requirements.

    Rate this question:

  • 11. 

    Which command can be used to insert a module into the Linux kernel? (Choose all that apply.)

    • A.

      Insmod

    • B.

      Rmmod

    • C.

      Lsmod

    • D.

      Modprobe

    Correct Answer(s)
    A. Insmod
    D. Modprobe
    Explanation
    The commands "insmod" and "modprobe" can be used to insert a module into the Linux kernel. "insmod" is used to insert a module directly into the kernel, while "modprobe" is used to automatically load any dependencies and insert the module into the kernel.

    Rate this question:

  • 12. 

    Which files can be used to load modules upon system startup? (Choose all that apply.)

    • A.

      /etc/modprobe.conf

    • B.

      /etc/fstab

    • C.

      /etc/modtab

    • D.

      /etc/rc.d/rc.local

    Correct Answer(s)
    A. /etc/modprobe.conf
    D. /etc/rc.d/rc.local
    Explanation
    The files /etc/modprobe.conf and /etc/rc.d/rc.local can be used to load modules upon system startup. The /etc/modprobe.conf file is used to configure kernel modules, including loading them at system startup. The /etc/rc.d/rc.local file is a script that is executed during the boot process, and it can be used to run commands or scripts, including loading modules. The other options (/etc/fstab and /etc/modtab) are not used for loading modules at system startup.

    Rate this question:

  • 13. 

    Which of the following programs detects and installs new hardware detected at boot time?

    • A.

      Insmod

    • B.

      Kudzu

    • C.

      Lba32

    • D.

      LILO

    Correct Answer
    B. Kudzu
    Explanation
    Kudzu is a program that detects and installs new hardware detected at boot time. It is commonly used in Linux distributions to automatically configure and set up newly detected hardware devices. Kudzu helps to simplify the process of adding new hardware to a system by automatically detecting the hardware and configuring the necessary drivers and settings. This allows users to easily install and use new hardware without the need for manual configuration.

    Rate this question:

  • 14. 

    Which command can increase the number of filehandles that programs can open in a shell?

    • A.

      Ldd

    • B.

      Ulimit

    • C.

      Lba32

    • D.

      Top

    Correct Answer
    B. Ulimit
    Explanation
    The ulimit command is used to set or display the resource limits of the current shell and any child processes. By using the ulimit command with appropriate options, the number of filehandles that programs can open in a shell can be increased. This is useful when dealing with applications that require a large number of open files, such as servers or databases.

    Rate this question:

  • 15. 

    Which command can be used to create a system boot disk?

    • A.

      Makeboot

    • B.

      Bootdisk

    • C.

      Mkboot

    • D.

      Mkbootdisk

    Correct Answer
    D. Mkbootdisk
    Explanation
    The command "mkbootdisk" can be used to create a system boot disk.

    Rate this question:

  • 16. 

    What will the command sar –W 3 50 do?

    • A.

      Take 3 swap statistics every 50 seconds.

    • B.

      Take 50 swap statistics every 3 seconds.

    • C.

      Take 3 CPU statistics every 50 seconds.

    • D.

      Take 50 CPU statistics every 3 seconds.

    Correct Answer
    B. Take 50 swap statistics every 3 seconds.
    Explanation
    The command "sar -W 3 50" will collect 50 swap statistics every 3 seconds. The "sar" command is used for system activity reporting, and the "-W" option specifically collects swap space statistics. The numbers following the "-W" option indicate the interval (3 seconds) and the count (50) for collecting the statistics.

    Rate this question:

  • 17. 

    Which directory stores most modules on a Linux system?

    • A.

      /lib/modules/(kernel-version)

    • B.

      /usr/src/linux-(kernel-version)

    • C.

      /usr/lib/modules/(kernel-version)

    • D.

      /usr/src/linux

    Correct Answer
    A. /lib/modules/(kernel-version)
    Explanation
    The correct answer is /lib/modules/(kernel-version). This directory stores most modules on a Linux system. Modules are small pieces of code that can be added or removed from the running kernel without the need to restart the system. The /lib/modules directory contains subdirectories for different kernel versions, allowing for easy management and organization of modules.

    Rate this question:

  • 18. 

    When the fsck command cannot repair a nonroot filesystem, you should immediately restore all data from tape backup. True or False?

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    When the fsck command cannot repair a nonroot filesystem, it does not necessarily mean that all data should be immediately restored from tape backup. There can be other options to recover the data, such as using data recovery tools or consulting with experts. Therefore, the statement "you should immediately restore all data from tape backup" is not always true.

    Rate this question:

  • 19. 

    When performing a sar –u command, you notice that %idle is consistently 10%; is this good or bad?

    • A.

      Good, because the processor should be idle more than 5% of the time

    • B.

      Good, because the processor is idle 90% of the time

    • C.

      Bad, because the processor is idle 10% of the time and perhaps a faster CPU is required

    • D.

      Bad, because the processor is idle 10% of the time and perhaps a new hard disk is required

    Correct Answer
    C. Bad, because the processor is idle 10% of the time and perhaps a faster CPU is required
    Explanation
    The correct answer is bad, because the processor is idle 10% of the time and perhaps a faster CPU is required. A high percentage of idle time indicates that the processor is not being fully utilized and could potentially benefit from a faster CPU to improve overall performance.

    Rate this question:

  • 20. 

    Which command can be used to modify the IRQ and I/O address settings of a serial device?

    • A.

      Setserial

    • B.

      Modserial

    • C.

      Serial2K

    • D.

      Lsmod

    Correct Answer
    A. Setserial
    Explanation
    The command "setserial" can be used to modify the IRQ and I/O address settings of a serial device.

    Rate this question:

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.