Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ttempt 5
- Written: Apr 15, 2019 12:35 AM - Apr 15, 2019 12:35 AM
- Submission View
- Congrats on completing the review quiz, take a look at the answers so you know what topics you need to study!
- Question 1 0 / 1 point
- You can use a small bootable Linux kernel (such as on a LiveCD) to fix problems related to the following: the boot loader; filesystems and partitions; the configuration file; and drivers.
- Correct Answer
- True
- False
- Question 2 0 / 1 point
- The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?
- /load
- /bin
- Correct Answer
- /boot
- /mnt
- Question 3 0 / 1 point
- The standard output and standard error from a terminal screen within the BASH shell can be redirected to a file on the filesystem using what shell metacharacter, followed by the absolute or relative pathname of the file?
- #
- <
- Correct Answer
- >
- |
- Question 4 0 / 1 point
- What RAID level is commonly referred to as disk striping with parity?
- RAID0
- RAID1
- RAID4
- Correct Answer
- RAID5
- Question 5 0 / 1 point
- What option, when added to the rm command, will recursively traverse directories to delete their contents as well?
- -d
- Correct Answer
- -r
- -f
- -i
- Question 6 0 / 1 point
- What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?
- u+r+w
- g-r+w
- Correct Answer
- g+r-w
- o+r-w
- Question 7 0 / 1 point
- The database for the locate command can be updated manually by using the updatedb command.
- Correct Answer
- True
- False
- Question 8 0 / 1 point
- What section of a filesystem contains information about the filesystem in general?
- inode table
- inode
- data blocks
- Correct Answer
- superblock
- Question 9 0 / 1 point
- Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?
- device ID
- Correct Answer
- target ID
- SCSI number
- SCSI controller
- Question 10 0 / 1 point
- Select the command that can be used to create partitions that will be stored in an MBR after installation:
- format
- formatdisk
- Correct Answer
- fdisk
- partition
- Question 11 0 / 1 point
- The environment variables that are set by default and their current values can be viewed with what command?
- env
- get
- Correct Answer
- set
- setenv
- Question 12 0 / 1 point
- Select the command below that can be used to provide a long listing for each file in a directory:
- ls -T
- ls -L
- ls -F
- Correct Answer
- ls -l
- Question 13 0 / 1 point
- What character device file represents the second serial port on a system (COM2)?
- /dev/ttyS0
- /dev/tty2
- /dev/tty1
- Correct Answer
- /dev/ttyS1
- Question 14 0 / 1 point
- Shell scripts do not require the execute permission in order to be run the same way binary programs are run.
- True
- Correct Answer
- False
- Question 15 0 / 1 point
- What command below can be used to create a new physical volume?
- lvcreate
- Correct Answer
- pvcreate
- new_pv
- pvdisk
- Question 16 0 / 1 point
- You can use the sed command to remove unwanted lines of text.
- Correct Answer
- True
- False
- Question 17 0 / 1 point
- What file in the /proc directory contains information about a computer's CPU?
- /proc/proc_info
- Correct Answer
- /proc/cpuinfo
- /proc/meminfo
- /proc/cpu_info
- Question 18 0 / 1 point
- The default BASH shell prompt is set by an environment variable. What command can be used to view this variable?
- ls $PWD
- echo #PWD
- Correct Answer
- echo $PS1
- ls #PS1
- Question 19 0 / 1 point
- In a SCSI chain the highest priority SCSI device is given what SCSI ID?
- 1
- 6
- Correct Answer
- 7
- 15
- Question 20 0 / 1 point
- In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued?
- cd ..
- Correct Answer
- cd ../..
- /home/joe
- cd ./..
- Question 21 0 / 1 point
- What is the term for a ZFS managed filesystem that is created from ZFS pools?
- ZFS store
- ZFS vault
- Correct Answer
- ZFS volume
- ZFS lake
- Question 22 0 / 1 point
- To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
- mount -o
- mount -f
- mount -u
- Correct Answer
- mount -a
- Question 23 0 / 1 point
- The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?
- Correct Answer
- $
- *
- &
- #
- Question 24 0 / 1 point
- The GNU General Public License (GPL) was developed by which organization?
- Correct Answer
- Free Software Foundation (FSF)
- Electronic Frontier Foundation (EFF)
- Microsoft
- Sun Microsystems
- Question 25 0 / 1 point
- Select the command that can be used to check an ext2, ext3, or ext4 filesystem:
- mke2fs
- ext2fsck
- fdisk
- Correct Answer
- e2fsck
- Question 26 0 / 1 point
- In the event that you wish to disable a swap partition, what command must be used?
- umount
- Correct Answer
- swapoff
- delete_swap
- swapdrop
- Question 27 0 / 1 point
- You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.
- True
- Correct Answer
- False
- Question 28 0 / 1 point
- Using WILDCARD metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
- 1-4
- Correct Answer
- [1-4]
- (1234)
- {1,2,3,4}
- Question 29 0 / 1 point
- In what mode does the vi editor open by default?
- append mode
- insert mode
- overview mode
- Correct Answer
- command mode
- Question 30 0 / 1 point
- To ensure that Linux has detected the correct amount of RAM in the system after installation, you should view the contents of what file in the proc directory?
- /proc/mem
- /proc/cpuinfo
- /proc/memoryinfo
- Correct Answer
- /proc/meminfo
- Question 31 0 / 1 point
- A device that transfers data in a character-by-character fashion is referred to as what type of device?
- text
- block
- Correct Answer
- character
- binary
- Question 32 0 / 1 point
- RAID level 6 is basically the same as RAID level 5, but it adds a second set of parity bits for added fault tolerance and allows up to two simultaneous hard disk drive failures while remaining fault tolerant.
- Correct Answer
- True
- False
- Question 33 0 / 1 point
- In what filesystem are most of the operating system files contained?
- boot
- data
- mnt
- Correct Answer
- root
- Question 34 0 / 1 point
- An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a:
- router
- package manager
- DBMS
- Correct Answer
- tarball
- Question 35 0 / 1 point
- The first software RAID volume on a system will use a multiple disk device file that starts with what number?
- Correct Answer
- 127
- 128
- 254
- 255
- Question 36 0 / 1 point
- In order to create a hard link, what command must be used?
- Correct Answer
- ln
- link
- lnk
- lk
- Question 37 0 / 1 point
- What metacharacter indicates background command execution?
- @
- ^
- Correct Answer
- &
- !
- Question 38 0 / 1 point
- Under the root directory in Linux, which directory contains system commands and utilities?
- /opt
- /var
- /boot
- Correct Answer
- /usr
- Question 39 0 / 1 point
- Each device attached to a system can be represented by multiple device files.
- True
- Correct Answer
- False
- Question 40 0 / 1 point
- Errors on a filesystem are common on most filesystems. What do these errors indicate?
- filesystem breaks
- Correct Answer
- filesystem corruption
- raid degradation
- hard drive failures
- Question 41 0 / 1 point
- What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove?
- del
- Correct Answer
- rm
- remove
- delete
- Question 42 0 / 1 point
- When viewing the version number for a Linux kernel, what number indicates the stability of the kernel?
- major number
- revision number
- Correct Answer
- minor number
- production kernel number
- Question 43 0 / 1 point
- The Linux kernel exists as a file named:
- Correct Answer
- vmlinuz
- linux
- kernel.0
- krn.linux
- Question 44 0 / 1 point
- The minimum height of a rackmount server is 2 inches; this is called a 1U server.
- True
- Correct Answer
- False
- Question 45 0 / 1 point
- What metacharacter can be used to refer to the current user's home directory?
- Correct Answer
- ˜
- @
- &
- #
- Question 46 0 / 1 point
- Which switch below can be added to the ls command to show a list of files and their type?
- -T
- -L
- Correct Answer
- -F
- -l
- Question 47 0 / 1 point
- A swap partition contains a filesystem.
- True
- Correct Answer
- False
- Question 48 0 / 1 point
- In order to set all of the SPECIAL permissions (SUID, SGID, sticky bit) on a certain file or directory, which command below should be used on a file named filename?
- chmod 777 filename
- Correct Answer
- chmod 7777 filename
- chmod 6666 filename
- chmod 0000 filename
- Question 49 0 / 1 point
- When using the chmod command, the mode rwx can be represented by which number?
- 0
- 1
- Correct Answer
- 7
- 8
- Question 50 0 / 1 point
- The mkfs command can be issued with what switch in order to specify a filesystem type?
- Correct Answer
- -t
- -f
- -c
- -o
- Question 51 0 / 1 point
- What permissions are required to execute a shell script in a manner similar to any other executable program on the system?
- read
- write and read
- execute
- Correct Answer
- read and execute
- Question 52 0 / 1 point
- It is acceptable to use shell metacharacters when naming files.
- True
- Correct Answer
- False
- Question 53 0 / 1 point
- The more command should not be used on binary files.
- Correct Answer
- True
- False
- Question 54 0 / 1 point
- To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.
- True
- Correct Answer
- False
- Question 55 0 / 1 point
- Which command can be used to count the number lines, words, and characters in a file?
- pr
- nl
- tr
- Correct Answer
- wc
- Question 56 0 / 1 point
- Which device file below represents the first primary partition on the second PATA hard disk drive?
- /dev/hdc1
- Correct Answer
- /dev/hdb1
- /dev/hda1
- /dev/hdc2
- Question 57 0 / 1 point
- In some cases, the installation process fails to place a boot loader on the hard disk properly; this is often caused by hard drives with over what number of cylinders?
- 256
- 512
- Correct Answer
- 1024
- 2048
- Question 58 0 / 1 point
- At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes?
- :q
- Correct Answer
- :q!
- :exit
- :!
- Question 59 0 / 1 point
- Open Source Software (OSS) is freely developed and continuously improved by a large community of software developers
- Correct Answer
- True
- False
- Question 60 0 / 1 point
- What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?
- read
- write
- Correct Answer
- execute
- sticky bit
- Question 61 0 / 1 point
- What character combination at the start of a shell script are referred to as a hashpling (or shebang), and allow for the specification of the shell that interprets the contents of the script?
- @!
- Correct Answer
- #!
- //
- ->
- Question 62 0 / 1 point
- What software type is software that is distributed free of charge, but the source code is not available?
- Open source software
- Shareware
- Close source software
- Correct Answer
- Freeware
- Question 63 0 / 1 point
- What permission (when assigned to a file) grants a user the ability to open, and read the contents of a file?
- Correct Answer
- read
- write
- execute
- sticky bit
- Question 64 0 / 1 point
- The LISP artificial intelligence programming language can be used with which text editor below?
- Kedit editor
- Joe editor
- Correct Answer
- Emacs editor
- Nedit editor
- Question 65 0 / 1 point
- Select the escape sequence that starts a new line when used with echo:
- \\
- \a
- Correct Answer
- \n
- \r
- Question 66 0 / 1 point
- When a user interacts with his computer, he interacts directly with the kernel of the computer’s operating system.
- True
- Correct Answer
- False
- Question 67 0 / 1 point
- What operator below is known as the NOT operator?
- -o
- -a
- Correct Answer
- !
- %
- Question 68 0 / 1 point
- What service provides a method for the efficient transfer of files over the Internet?
- Correct Answer
- FTP
- HTML
- SMTP
- Telnet
- Question 69 0 / 1 point
- A ZFS volume that uses a variable stripe size and requires a minimum of three hard disks to protect against single disk failure is known as:
- RAID 5
- ZFS Extended RAID
- Correct Answer
- RAID-Z
- RAID+
- Question 70 0 / 1 point
- Select the command below that shows the size of a directory and its contents in kilobytes:
- df
- Correct Answer
- du
- sizeof
- dir
- Question 71 0 / 1 point
- Linux uses a logical directory tree to organize files into different folders.
- Correct Answer
- True
- False
- Question 72 0 / 1 point
- Select the command that can be used to change the root filesystem to a different directory, such as when in a rescue environment.
- change_root
- Correct Answer
- chroot
- set_root
- croot
- Question 73 0 / 1 point
- What command can be used to replace characters in a file sent via Standard Input?
- Correct Answer
- tr
- rt
- ts
- st
- Question 74 0 / 1 point
- In a file’s mode, a permission that is unavailable is represented by what character?
- *
- +
- ?
- Correct Answer
- -
- Question 75 0 / 1 point
- What file under the proc directory contains information regarding what modules are currently loaded into the Linux kernel?
- modinfo
- kmods
- mod_info
- Correct Answer
- modules
- Question 76 0 / 1 point
- What does the setfacl -b command do?
- Correct Answer
- It removes all extra ACL assignments on a given file
- It sets 7777 on a given file or folder for all users / groups
- The file's user / group ownership is changed to to root / root
- The file's ACL assignments are created and are then ready to be modified.
- Question 77 0 / 1 point
- What directory under / contains the log files and spools for a Linux system?
- /boot
- /usr
- /opt
- Correct Answer
- /var
- Question 78 0 / 1 point
- Select the test statement that can be used to determine if A is numerically greater than B:
- [ A –g B ]
- [ A –ge B ]
- Correct Answer
- [ A –gt B ]
- [ A +eq B ]
- Question 79 0 / 1 point
- A hard drive or SSD can be divided into partitions. What is the maximum number of primary partitions that can be used on these devices?
- Correct Answer
- 4
- 8
- 16
- 32
- Question 80 0 / 1 point
- When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be:
- Arguments
- Correct Answer
- Options
- Keywords
- Metacharacters
- Question 81 0 / 1 point
- What command can be used to copy files?
- copy
- mv
- Correct Answer
- cp
- cpy
- Question 82 0 / 1 point
- The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?
- /bin
- /home/root
- /boot
- Correct Answer
- /root
- Question 83 0 / 1 point
- What number represents the stderr file descriptor?
- 0
- 1
- Correct Answer
- 2
- 3
- Question 84 0 / 1 point
- The rmdir command automatically removes a directory and all of its subdirectories and files.
- True
- Correct Answer
- False
- Question 85 0 / 1 point
- The section of an inode that stores permissions is referred to as what?
- the tail of the file
- the head of the file
- Correct Answer
- the mode of the file
- the accessor of the file
- Question 86 0 / 1 point
- If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?
- page fault
- IRQ fault
- Correct Answer
- segmentation fault
- RAM failure
- Question 87 0 / 1 point
- In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted?
- X
- Correct Answer
- dd
- yw
- d
- Question 88 0 / 1 point
- Many programming function libraries and UNIX-like commands appeared in the 1980s as a result of the work on the GNU project.
- Correct Answer
- True
- False
- Question 89 0 / 1 point
- What file in the /proc directory contains a list of memory address ranges reserved for device use?
- meminfo
- Correct Answer
- ioports
- iomem
- misc
- Question 90 0 / 1 point
- On closed-source operating systems, hot fixes for software bugs are deployed very quickly.
- True
- Correct Answer
- False
- Question 91 0 / 1 point
- The Linux kernel was developed and released in 1991 by:
- Richard Stallman
- Correct Answer
- Linus Torvalds
- Andrew Tannenbaum
- Dennis Ritchie
- Question 92 0 / 1 point
- What permission grants a user the ability to edit the contents of a file?
- Correct Answer
- write
- execute
- read
- alter
- Question 93 0 / 1 point
- What command is used to manage a software RAID configuration after installation?
- Correct Answer
- mdadm
- mdraid
- vgadm
- pgadm
- Question 94 0 / 1 point
- What environment file is always executed immediately after login for all users on the system, and sets most environment variables, such as HOME and PATH?
- ˜/.bash_profile
- ˜/.bash_login
- Correct Answer
- /etc/profile
- ˜/.profile
- Question 95 0 / 1 point
- Which command below provides the easiest method for monitoring free space on mounted filesystems?
- Correct Answer
- df
- fs
- du
- fd
- Question 96 0 / 1 point
- At minimum, Linux typically requires only two partitions to be created: a partition that is mounted to the root directory, and a partition for virtual memory.
- Correct Answer
- True
- False
- Question 97 0 / 1 point
- In Linux, you are restricted to using only one type of filesystem on a system.
- True
- Correct Answer
- False
- Question 98 0 / 1 point
- In Fedora 20, the logging system used to record the messages normally stored within the boot.log, messages, and syslog files has been replaced by a journaling database system called?
- systemd
- messaged
- logd
- Correct Answer
- journald
- Question 99 0 / 1 point
- In what year was the source code for the Linux kernel released?
- 1987
- 1990
- Correct Answer
- 1991
- 1993
- Question 100 0 / 1 point
- Select the metacharacter that can be used to send the standard output of one command to another command as standard input:
- <
- Correct Answer
- |
- >
- #
- Question 101 0 / 1 point
- Which character(s) below represent extended regular expression metacharacter(s)?
- .
- [...]
- ^
- Correct Answer
- {}
- Question 102 0 / 1 point
- Select the file in the /proc directory that contains statistics on the performance of the processor:
- cpuinfo
- modules
- kcore
- Correct Answer
- loadavg
- Question 103 0 / 1 point
- Select the mode below that corresponds to setting r-x:
- 1
- 2
- Correct Answer
- 5
- 6
- Question 104 0 / 1 point
- In order to quickly create an empty file, what command can be used?
- vim file1
- Correct Answer
- touch file1
- echo file1
- create file1
- Question 105 0 / 1 point
- What command can be issued to confirm what directory you are in at a command line prompt?
- dir
- Correct Answer
- pwd
- whereami
- ld
- Question 106 0 / 1 point
- Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.
- True
- Correct Answer
- False
- Question 107 0 / 1 point
- Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?
- --loop
- Correct Answer
- -o loop
- --mode l
- --option l
- Question 108 0 / 1 point
- What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output?
- \
- &
- Correct Answer
- ;
- |
- Question 109 0 / 1 point
- The quotas for certain users can be edited by using which command?
- Correct Answer
- edquota
- chquota
- usrquota
- repquota
- Question 110 0 / 1 point
- The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
- Correct Answer
- True
- False
- Attempt Score:
- 0 / 110 - 0 %
- Overall Grade (average of all attempts):
- 0 / 110 - 0 %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement