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

  • 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

  • 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

  • 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

  • 4. 

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

    • A. 

      Ldconfig

    • B. 

      Ldd

    • C. 

      Rpm –V

    • D. 

      Slconfig

  • 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)

  • 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

  • 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

  • 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.

  • 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.

  • 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

  • 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

  • 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

  • 13. 

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

    • A. 

      Insmod

    • B. 

      Kudzu

    • C. 

      Lba32

    • D. 

      LILO

  • 14. 

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

    • A. 

      Ldd

    • B. 

      Ulimit

    • C. 

      Lba32

    • D. 

      Top

  • 15. 

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

    • A. 

      Makeboot

    • B. 

      Bootdisk

    • C. 

      Mkboot

    • D. 

      Mkbootdisk

  • 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.

  • 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

  • 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

  • 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

  • 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

What are best practices for securing a Linux server choose all that apply?

10 Security Best Practices for Linux Servers.
Use Strong and Unique Passwords. ... .
Generate an SSH Key Pair. ... .
Update Your Software Regularly. ... .
Enable Automatic Updates. ... .
Avoid Unnecessary Software. ... .
Disable Booting from External Devices. ... .
Close Hidden Open Ports. ... .
Scan Log Files with Fail2ban..

What will the command SAR Â W 3 50 do?

What will the command sar -W 3 50 do? a. Take 3 CPU statistics every 50 seconds.