Click Here to take the test. (You need an account. It's free)

 

1. When found in a GRUB configuration file, what does the ro option indicate?

  • Initially mount the root partition as read-only.
  • Mount the kernel as read-only.
  • Start the init program as read-once.
  • Mount the root partition in Raised Object mode.

2. Within which directory will you find the repositories used by yum?

  • /etc/yum.conf
  • /etc/repos
  • /etc/yum.conf.d
  • /etc/yum.repos.d

3. Within which file is a list of the currently mounted filesystems stored?

  • /etc/fstab
  • /etc/curmount
  • /var/spool/files
  • /etc/mtab

4. Which of the following commands installs GRUB into the MBR of the second SATA disk?

  • grub-install /dev/hdb2
  • grub-install /dev/sda2
  • grub-config /dev/sda
  • grub-install /dev/sdb

5. Which of the following commands and options lists all of the files included with a package on a Debian system?

  • apt -L
  • dpkg -L
  • dpkg -f
  • apt-get show

6. Which command option for rpm can be used to show the version of the kernel?

  • rpm kernel
  • rpm -qa kernel
  • rpm search kernel
  • rpm -list kern

7. Which of the following can be identified as an initial sector on a disk that stores information about the disk partitioning and operating system location?

  • Minimal boot record (MBR)
  • Master boot record (MBR)
  • Init sector
  • Master partition table (MPT)

8. Which of the following commands is used to display a list of physical volumes involved in LVM?

  • pvdisp
  • pvlist
  • pvscan
  • pvmm

9. Which of the following commands mounts /dev/sdai in the /boot partition?

  • mount /dev/sda /boot
  • mount /boot /dev/sda1
  • mount /dev/sda1 /boot
  • mount -dev sda1 /boot

10. Which rpm option can be used to verify that no files have been altered since installation?

  • -V
  • -v
  • -verbose
  • -filesum

11. Which yum option displays the dependencies for the package specified?

  • list
  • deplist
  • dependencies
  • listdeps

12. You are working to create a system image or template from which other virtual machines will be deployed. Which of the following represents a unique item that will change with each deployed virtual host or image?

  • System directories
  • MACaddress
  • Guest drivers
  • Pilot homing

13. Which of the following commands initializes a physical disk partition for use with Logical Volume Manager (LVM)?

  • Ivmcreate
  • pvcreate
  • fvcreate
  • Ivinit

14. Which option to zypper installs a package?

  • install
  • retr
  • get
  • ref

15. Which partition or directory structure typically holds most of the programs for a Linux system?

  • /etc
  • /usr
  • /home
  • /var

16. Where in the filesystem will the EFI system partition (ESP) typically be mounted?

  • /etc/efi
  • /efi
  • /sys/efi
  • /boot/efi

17. Which option to idconfig can be used to process only those directories given on the command line rather than the directories found in /etc/ld. so. conf ?

  • -n
  • -i
  • -v
  • -r

18. During boot of a system with GRUB, which key can be pressed to display the GRUB menu?

  • Shift
  • E
  • V
  • H

19. When using a GPT disk, which partition needs to be created for a Linux system to boot?

  • /boot/efi
  • /boot/gpt
  • /gpt
  • /vmgpt

20. Which of the following commands installs extlinux into the /boot partition?

  • extlinux -install /boot
  • extlinux -inst /boot
  • extlinux -boot
  • extlinux /boot install

21. Which of the following installs a previously downloaded Debian package?

  • dpkg -i <package name>
  • apt-install <package name>
  • apt-slash <package name>
  • dpkg -U <package name>

22. Which option to grub-install will place the GRUB images into an alternate directory?

  • -boot-dir
  • -b
  • -boot
  • -boot-directory

23. When working with a CentOS system, you need to determine the release of a certain package. Which command and option will accomplish this task?

  • dpkg -i
  • yum info
  • yum search
  • apt search

24. Which of the following swapon options displays information on the size of swap space along with its used space?

  • -list
  • -a
  • -show
  • -h

25. During the boot process for a virtual machine, what is the next step in the boot process after the kernel has taken over the initialization process and initializes devices?

  • The system BIOS initializes devices.
  • The system is placed in multi-user mode.
  • The boot loader initializes the kernel.
  • The root partition is mounted.

26. Which of the following commands adds /usr/local/lib to the LD_LIBRARY_PATH when using BASH shell?

  • set PATH=/usr/local/lib
  • export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
  • LD_LIBRARY_PATH=/usr/local/lib
  • connectpath LD_LIBRARY_PATH=/usr/local/lib

27. Of the following choices, which size would be most appropriate for the /boot partition of a Linux system?

  • Between 100MB and 500MB
  • Between 1GB and 10GB
  • /boot should not be partitioned separately.
  • Less than 5MB

28. When working with a script to create directories, the script is checking to see if srv/vhosts exists. When doing an is of the root directory, /, you see that it does exist. However, the script does not. What might be the issue?

  • The script is not executable.
  • The script does not have the setuid bit set.
  • The script is using a relative path.
  • The script is owned by root.

29. What is the logical order for creation of an LVM logical volume?

  • Physical volume creation, volume group creation, logical volume creation
  • Physical volume creation, logical volume creation, volume group creation
  • Logical volume creation, physical volume creation, volume group creation
  • LVM creation, format, partition

30. Within which file can you configure a filter for devices when using vgscan?

  • Ivm.conf
  • vg.conf
  • vgscan.conf
  • Iv.cfg

31. When using rpm2cpio, by default the output is sent to which location?

  • STDOUT
  • The cpio.out file
  • The a. out file
  • The /tmp/cpi.out file

32. You are architecting an application and need to choose between application containerization and virtualization. Which of the following describes a difference between application containers and a virtual machine?

  • An application container can contain only one application whereas a virtual machine can contain many.
  • An application container shares the host kernel whereas a virtual machine can have its own kernel.
  • An application container is used for small applications whereas a virtual machine is used for large applications.
  • The use of application containers is for testing only whereas a virtual machine is used for production.

33. Which of the following commands looks for LVM physical volumes and volume groups involved in an LVM configuration?

  • vgscan
  • Ivmscan
  • lvlist
  • pvlist

34. Which of the Debian package management tools provides a terminal-based interface for management?

  • apt-get
  • dpkg
  • apt-cache
  • aptitude

35. Which program can be used to deploy an Ubuntu image to a remote cloud provider?

  • dep-image
  • cloud-init
  • init-cloud
  • image-dep

36. Which option for yum performs a search of the package cache?

  • seek
  • query
  • -search
  • search

37. What is the location of the home directory for the root user?

  • /home/root
  • /home/su
  • /root
  • /

38. Which option in /etc/yum.conf is used to ensure that the kernel is not updated when the system is updated?

  • exclude=kernel*
  • exclude-kernel
  • updatekernel=false
  • include-except=kernel

39. In which file can you find the unique D-Bus machine ID for a given system?

  • /etc/machine-id
  • /etc/machineID
  • /etc/mch.conf
  • /etc/machine.id.conf

40. Which of the following commands updates the package cache for a Debian system?

  • apt-get cache-update
  • apt-cache update
  • apt-get update
  • apt-get upgrade

41. Which command can be used to download an RPM package without installing it?

  • yumdl
  • yumdownloadonly
  • yumdown
  • yumdownloader

42. Which command should be run after making a change to the /etc/default/grub file?

  • grub
  • grub-mkconfig
  • grub-inst
  • reboot

43. Which option to grub-install specifies the directory in which the EFI partition is located?

  • -boot-dir
  • -efi
  • -efi-boot
  • -efi-directory

44. Which command is used to determine the libraries on which a given command depends?

  • Idconfig
  • librarylist
  • listdeps
  • Idd

45. Which options for an rpm command will display verbose output for an installation along with progress of the installation?

  • -ivh
  • -wvh
  • -avh
  • -ins-verbose

46. You are working with a cloud instance virtual machine deployed with an Infrastructure-as-a-Service (laaS) provider. The virtual machine is running slowly. Which type of resource might you add to the cloud instance in order to improve performance?

  • Compute
  • Block storage
  • Networking
  • Disk

47. A Serial Advanced Technology Attachment (SATA) disk will use which of the following identifiers?

  • /dev/hdX
  • /dev/sataX
  • /dev/sdX
  • /disk/sataX

48. Which command is used to search for physical volumes for use with LVM?

  • Ivmcreate
  • pvcreate
  • Ivmdiskscan
  • lvmscan

49. Assuming a menu entry of Debian in your GRUB configuration, which option in /etc/default/grub would set that as the default operating system to boot?

  • GRUB_OS
  • GRUB_OS_DEF
  • GRUB_DEFAULT
  • GRUB_CONF

50. Which option given at boot time within the GRUB configuration will boot the system into single-user mode?

  • single-user
  • su
  • single
  • root

51. Which option to ivchange sets whether the logical volume is available?

  • -a
  • -b
  • -c
  • -d

52. What is the maximum number of primary partitions available on an MBR partitioning system?

  • 2
  • 4
  • 1
  • 5

53. Which command will output a new GRUB2 configuration file and send the output to the correct location for booting?

  • update-grub > /boot/grub/grub.cfg
  • update-grub boot > /boot/grub.cfg
  • grub-rc.d
  • grub-boot

54. Which command and option is used to update a Debian system to the latest software?

  • apt-update
  • apt-get upgrade
  • dpkg -U
  • apt-cache clean

55. Which option added to yumdownloader will also download dependencies?

  • -deps
  • -resolve
  • -resdeps
  • -d

56. Which command is used to create a logical volume with LVM?

  • pvcreate
  • lvmcreate
  • lvcreate
  • volcreate

57. When booting, which option can be added to a GRUB configuration line to set or change the root partition at boot time to /dev/sda2?

  • rootpartition={hd0,2}
  • root=/dev/sda2
  • root={hd0,3}
  • rootpartition=/dev/sda2

58. Your GRUB Legacy configuration includes a dual-boot option with Linux listed first and another operating system listed second. Which of the following options will boot to the Linux partition by default?

  • default=linux
  • default=0
  • default=1
  • default=other

59. Which of the following is true of Linux swap space?

  • Swap is used to hold temporary database tables.
  • Swap is used as additional memory when there is insufficient RAM.
  • Swap is used by the mail server for security.
  • Swap is used to scrub data from the network temporarily.

60. Which key combination will enable you to edit the kernel options and then boot when using GRUB Legacy?

  • ESC for editing and then Return to boot
  • v for editing and then Return to boot
  • e for editing and then b to boot
  • v for editing and then b to boot

61. Which of the following option sets for rpm lists the files within the package?

  • If
  • qlp
  • qf
  • eps

62. Which command should be used to make changes to the choices made when a Debian package was installed?

  • dpkg-reconfigure
  • dpkg -r
  • dpkg -reconf
  • apt-get reinstall

63. Which of the following is not typically used to store libraries?

  • /lib
  • /etc/lib
  • /usr/lib
  • /usr/local/lib

64. You are using a host machine and are unsure if it supports the extensions to enable virtualization. Which of the following should you look for in /proc/cpuinfo to indicate that the system is ready for virtualization?

  • vmx
  • virt
  • envirt
  • vtcapable

65. Which file should you edit when using GRUB2 in order to set things like the timeout?

  • /etc/default/grub
  • /etc/grub/boot
  • /etc/boot/grub.d
  • /grub.d/boot

66. You need to create a backup of user home directories including root. Which directory or directories need to be included in the backup?

  • /home
  • /home and /home/root
  • /home and /root
  • /home and /root/home

67. When working with package caches on Debian, you need to determine if the package list is being updated. Which option to apt-cache shows the number of available packages on the system?

  • packagenum
  • status
  • stats
  • liststatus

68. Within which file are details of the current package repositories stored on a Debian system?

  • /etc/apt.list
  • /etc/sources.list
  • /etc/apt/sources.list
  • /etc/apt.d/sources.list

69. Which command searches for and provides information on a given package on a Debian system, including whether or not the package is currently installed?

  • dpkg -i
  • dpkg -s
  • apt-cache
  • apt-info

70. Which command is used to update the links and cache for shared libraries on the system?

  • Idcache
  • cache-update
  • link-update
  • Idconfig

71. Which option within GRUB Legacy is used to indicate that a root partition contains a non-Linux kernel?

  • initrd
  • non-linux
  • rootnoverify
  • root-win

72. The presence of menu. ist within the filesystem typically indicates which condition?

  • GRUB Legacy is in use on the system.
  • GRUB2 is in use on the system.
  • An error has occurred creating the output to menu.lst.
  • The options for rescue boot have been changed.

73. Which of the following commands displays information about a given physical volume in an LVM setup?

  • pvdisp
  • pvlist
  • pvdisplay
  • pvl

74. A hard drive is reported as hd(0,0) by the GRUB Legacy configuration file. To which of the following disks and partitions does this correspond?

  • /dev/hdb2
  • /dev/hda0
  • /dev/disk1
  • /dev/sda1

75. Which command will search for a package named zsh on a Debian system?

  • apt-cache search zsh
  • apt-get search zsh
  • apt-cache locate zsh
  • apt search zsh

76. Which of the following commands creates a logical volume with LVM?

  • lvc
  • Ivcreate
  • Ivlist
  • Ivmake

77. When working with SSH (Secure Shell) keys for a virtual machine cloud deployment, which key is deployed to the virtual machine so that you can connect from the host?

  • The public key
  • The signature file
  • The private key
  • Both the public and private keys

78. When partitioning a disk for a mail server running postfix, which partition/mounted directory should be the largest in order to allow for mail storage?

  • /etc
  • /usr/bin
  • /mail
  • /var

79. You need to list the files available on a package on CentOS. Which of the following commands accomplishes this task?

  • repoquery -l
  • pkgquery -l
  • dpkg -L
  • pkglist

80. In addition to including /lib and /usr/lib, where does idconfig look to find additional directories to incorporate into the library path?

  • /etc/lib.conf
  • /etc/ldconf
  • /etc/lib.cfg
  • /etc/ld.so.conf

81. Which file is used as the primary configuration file for the yum package manager?

  • /etc/yum.cfg
  • /etc/yum.d
  • /etc/yum.conf
  • /etc/yum.config

82. Which option within /etc/default/grub is used to configure the default operating system for boot?

  • GRUB_OS
  • GRUB_ON
  • GRUB_DEFAULT
  • DEFAULT_OS

83. Which filesystem format type is used for the EFI System Partition (ESP)?

  • FAT
  • EXT4
  • NTFS
  • EXT3

84. Which option given to a yum command will install a given package?

  • update
  • configure
  • install
  • get

85. You are working with a Fedora 22 system and need to install a package. Which of the following is the default package manager on this system?

  • yum
  • apt
  • dpkg
  • dnf

86. Which command is used to activate swap space on a system?

  • mkswap
  • swapon
  • swapact
  • actswap

87. Which option for the grub-mkconfig command sends output to a file instead of STDOUT?

  • -stdout
  • -fileout
  • -o
  • -f

88. Within which file are mount points for the system stored?

  • /etc/fstab
  • /etc/mtab
  • /etc/partitions.list
  • /etc/disk.conf

89. When working with a system to determine if it is using GRUB or GRUB2, the presence of which file indicates that it is GRUB2?

  • grub.cfg
  • grub.conf
  • menu.lst
  • grub2.conf

 

{jssocials}