· 6 years ago · Apr 15, 2019, 04:40 AM
1ttempt 5
2Written: Apr 15, 2019 12:35 AM - Apr 15, 2019 12:35 AM
3Submission View
4Congrats on completing the review quiz, take a look at the answers so you know what topics you need to study!
5
6Question 1 0 / 1 point
7You 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.
8Correct Answer
9 True
10 False
11Question 2 0 / 1 point
12The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?
13
14/load
15
16/bin
17Correct Answer
18/boot
19
20/mnt
21Question 3 0 / 1 point
22The 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?
23
24#
25
26<
27Correct Answer
28>
29
30|
31Question 4 0 / 1 point
32​What RAID level is commonly referred to as disk striping with parity?
33
34​RAID0
35
36​RAID1
37
38​RAID4
39Correct Answer
40​RAID5
41Question 5 0 / 1 point
42What option, when added to the rm command, will recursively traverse directories to delete their contents as well?
43
44​-d
45Correct Answer
46​-r
47
48​-f
49
50​-i
51Question 6 0 / 1 point
52What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?
53
54u+r+w
55
56g-r+w
57Correct Answer
58g+r-w
59
60o+r-w
61Question 7 0 / 1 point
62​The database for the locate command can be updated manually by using the updatedb command.
63Correct Answer
64 True
65 False
66Question 8 0 / 1 point
67What section of a filesystem contains information about the filesystem in general?
68
69inode table
70
71inode
72
73data blocks
74Correct Answer
75superblock
76Question 9 0 / 1 point
77Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?
78
79device ID
80Correct Answer
81target ID
82
83SCSI number
84
85SCSI controller
86Question 10 0 / 1 point
87Select the command that can be used to create partitions that will be stored in an MBR after installation:
88
89format
90
91formatdisk
92Correct Answer
93fdisk
94
95partition
96Question 11 0 / 1 point
97The environment variables that are set by default and their current values can be viewed with what command?
98
99env
100
101get
102Correct Answer
103set
104
105setenv
106Question 12 0 / 1 point
107Select the command below that can be used to provide a long listing for each file in a directory:
108
109ls -T
110
111ls -L
112
113ls -F
114Correct Answer
115ls -l
116Question 13 0 / 1 point
117What character device file represents the second serial port on a system (COM2)?
118
119/dev/ttyS0
120
121/dev/tty2
122
123/dev/tty1
124Correct Answer
125/dev/ttyS1
126Question 14 0 / 1 point
127Shell scripts do not require the execute permission in order to be run the same way binary programs are run.​
128 True
129Correct Answer
130 False
131Question 15 0 / 1 point
132​What command below can be used to create a new physical volume?
133
134​lvcreate
135Correct Answer
136​pvcreate
137
138​new_pv
139
140​pvdisk
141Question 16 0 / 1 point
142You can use the sed command to remove unwanted lines of text.
143Correct Answer
144 True
145 False
146Question 17 0 / 1 point
147What file in the /proc directory contains information about a computer's CPU?​
148
149​/proc/proc_info
150Correct Answer
151​/proc/cpuinfo
152
153​/proc/meminfo
154
155​/proc/cpu_info
156Question 18 0 / 1 point
157The default BASH shell prompt is set by an environment variable. What command can be used to view this variable?
158
159ls $PWD
160
161echo #PWD
162Correct Answer
163echo $PS1
164
165ls #PS1
166Question 19 0 / 1 point
167In a SCSI chain the highest priority SCSI device is given what SCSI ID?
168
1691
170
1716
172Correct Answer
1737
174
17515
176Question 20 0 / 1 point
177In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued?
178
179cd ..
180Correct Answer
181cd ../..
182
183/home/joe
184
185cd ./..
186Question 21 0 / 1 point
187What is the term for a ZFS managed filesystem that is created from ZFS pools?​
188
189​ZFS store
190
191​ZFS vault
192Correct Answer
193​ZFS volume
194
195​ZFS lake
196Question 22 0 / 1 point
197To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
198
199mount -o
200
201mount -f
202
203mount -u
204Correct Answer
205mount -a
206Question 23 0 / 1 point
207The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?
208Correct Answer
209$
210
211*
212
213&
214
215#
216Question 24 0 / 1 point
217The GNU General Public License (GPL) was developed by which organization?​
218Correct Answer
219​Free Software Foundation (FSF)
220
221​Electronic Frontier Foundation (EFF)
222
223​Microsoft
224
225​Sun Microsystems
226Question 25 0 / 1 point
227Select the command that can be used to check an ext2, ext3, or ext4 filesystem:​
228
229​mke2fs
230
231​ext2fsck
232
233​fdisk
234Correct Answer
235​e2fsck
236Question 26 0 / 1 point
237In the event that you wish to disable a swap partition, what command must be used?​
238
239​umount
240Correct Answer
241​swapoff
242
243​delete_swap
244
245​swapdrop
246Question 27 0 / 1 point
247You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.
248 True
249Correct Answer
250 False
251Question 28 0 / 1 point
252Using WILDCARD metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
253
2541-4
255Correct Answer
256[1-4]
257
258(1234)
259
260{1,2,3,4}
261Question 29 0 / 1 point
262In what mode does the vi editor open by default?​
263
264​append mode
265
266​insert mode
267
268​overview mode
269Correct Answer
270​command mode
271Question 30 0 / 1 point
272To 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?
273
274/proc/mem
275
276/proc/cpuinfo
277
278/proc/memoryinfo
279Correct Answer
280/proc/meminfo
281Question 31 0 / 1 point
282A device that transfers data in a character-by-character fashion is referred to as what type of device?
283
284text
285
286block
287Correct Answer
288character
289
290binary
291Question 32 0 / 1 point
292RAID 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.
293Correct Answer
294 True
295 False
296Question 33 0 / 1 point
297In what filesystem are most of the operating system files contained?
298
299boot
300
301data
302
303mnt
304Correct Answer
305root
306Question 34 0 / 1 point
307An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a:
308
309router
310
311package manager
312
313DBMS
314Correct Answer
315tarball
316Question 35 0 / 1 point
317The first software RAID volume on a system will​ use a multiple disk device file that starts with what number?
318Correct Answer
319​127
320
321​128
322
323​254
324
325​255
326Question 36 0 / 1 point
327In order to create a hard link, what command must be used?
328Correct Answer
329ln
330
331link
332
333lnk
334
335lk
336Question 37 0 / 1 point
337What metacharacter indicates background command execution?
338
339@
340
341^
342Correct Answer
343&
344
345!
346Question 38 0 / 1 point
347Under the root directory in Linux, which directory contains system commands and utilities?
348
349/opt
350
351/var
352
353/boot
354Correct Answer
355/usr
356Question 39 0 / 1 point
357Each device attached to a system can be represented by multiple device files.
358 True
359Correct Answer
360 False
361Question 40 0 / 1 point
362Errors on a filesystem are common on most filesystems. What do these errors indicate?
363
364filesystem breaks
365Correct Answer
366filesystem corruption
367
368raid degradation
369
370hard drive failures
371Question 41 0 / 1 point
372What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove?
373
374del
375Correct Answer
376rm
377
378remove
379
380delete
381Question 42 0 / 1 point
382When viewing the version number for a Linux kernel, what number indicates the stability of the kernel?
383
384major number
385
386revision number
387Correct Answer
388minor number
389
390production kernel number
391Question 43 0 / 1 point
392The Linux kernel exists as a file named:​
393Correct Answer
394​vmlinuz
395
396linux
397
398​kernel.0
399
400​krn.linux
401Question 44 0 / 1 point
402​The minimum height of a rackmount server is 2 inches; this is called a 1U server.
403 True
404Correct Answer
405 False
406Question 45 0 / 1 point
407What metacharacter can be used to refer to the current user's home directory?
408Correct Answer
409˜
410
411@
412
413&
414
415#
416Question 46 0 / 1 point
417Which switch below can be added to the ls command to show a list of files and their type?
418
419-T
420
421-L
422Correct Answer
423-F
424
425-l
426Question 47 0 / 1 point
427A swap partition contains a filesystem.
428 True
429Correct Answer
430 False
431Question 48 0 / 1 point
432In 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?
433
434chmod 777 filename
435Correct Answer
436chmod 7777 filename
437
438chmod 6666 filename
439
440chmod 0000 filename
441Question 49 0 / 1 point
442When using the chmod command, the mode rwx can be represented by which number?
443
4440
445
4461
447Correct Answer
4487
449
4508
451Question 50 0 / 1 point
452The mkfs command can be issued with what switch in order to specify a filesystem type?
453Correct Answer
454-t
455
456-f
457
458-c
459
460-o
461Question 51 0 / 1 point
462What permissions are required to execute a shell script in a manner similar to any other executable program on the system?
463
464read
465
466write and read
467
468execute
469Correct Answer
470read and execute
471Question 52 0 / 1 point
472It is acceptable to use shell metacharacters when naming files.
473 True
474Correct Answer
475 False
476Question 53 0 / 1 point
477The more command should not be used on binary files.
478Correct Answer
479 True
480 False
481Question 54 0 / 1 point
482To 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.
483 True
484Correct Answer
485 False
486Question 55 0 / 1 point
487Which command can be used to count the number lines, words, and characters in a file?
488
489pr
490
491nl
492
493tr
494Correct Answer
495wc
496Question 56 0 / 1 point
497Which device file below represents the first primary partition on the second PATA hard disk drive?
498
499/dev/hdc1
500Correct Answer
501/dev/hdb1
502
503/dev/hda1
504
505/dev/hdc2
506Question 57 0 / 1 point
507In 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?
508
509256
510
511512
512Correct Answer
5131024
514
5152048
516Question 58 0 / 1 point
517​At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes?
518
519​:q
520Correct Answer
521​:q!
522
523​:exit
524
525​:!
526Question 59 0 / 1 point
527Open Source Software (OSS) is freely developed and continuously improved by a large community of software developers
528Correct Answer
529 True
530 False
531Question 60 0 / 1 point
532What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?​
533
534​read
535
536​write
537Correct Answer
538​execute
539
540​sticky bit
541Question 61 0 / 1 point
542What 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?
543
544​@!
545Correct Answer
546​#!
547
548​//
549
550​->
551Question 62 0 / 1 point
552What software type is software that is distributed free of charge, but the source code is not available?
553
554Open source software
555
556Shareware
557
558Close source software
559Correct Answer
560Freeware
561Question 63 0 / 1 point
562​What permission (when assigned to a file) grants a user the ability to open, and read the contents of a file?
563Correct Answer
564​read
565
566​write
567
568​execute
569
570​sticky bit
571Question 64 0 / 1 point
572The LISP artificial intelligence programming language can be used with which text editor below?
573
574Kedit editor
575
576Joe editor
577Correct Answer
578Emacs editor
579
580Nedit editor
581Question 65 0 / 1 point
582Select the escape sequence that starts a new line when used with echo:
583
584​\\
585
586​\a
587Correct Answer
588​\n
589
590​\r
591Question 66 0 / 1 point
592When a user interacts with his computer, he interacts directly with the kernel of the computer’s operating system.
593 True
594Correct Answer
595 False
596Question 67 0 / 1 point
597​What operator below is known as the NOT operator?
598
599​-o
600
601​-a
602Correct Answer
603​!
604
605​%
606Question 68 0 / 1 point
607What service provides a method for the efficient transfer of files over the Internet?
608Correct Answer
609FTP
610
611HTML
612
613SMTP
614
615Telnet
616Question 69 0 / 1 point
617​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:
618
619​RAID 5
620
621​ZFS Extended RAID
622Correct Answer
623​RAID-Z
624
625​RAID+
626Question 70 0 / 1 point
627Select the command below that shows the size of a directory and its contents in kilobytes:​
628
629​df
630Correct Answer
631​du
632
633​sizeof
634
635​dir
636Question 71 0 / 1 point
637Linux uses a logical directory tree to organize files into different folders.
638Correct Answer
639 True
640 False
641Question 72 0 / 1 point
642​Select the command that can be used to change the root filesystem to a different directory, such as when in a rescue environment.
643
644​change_root
645Correct Answer
646​chroot
647
648​set_root
649
650​croot
651Question 73 0 / 1 point
652What command can be used to replace characters in a file sent via Standard Input?
653Correct Answer
654tr
655
656rt
657
658ts
659
660st
661Question 74 0 / 1 point
662In a file’s mode, a permission that is unavailable is represented by what character?
663
664*
665
666+
667
668?
669Correct Answer
670-
671Question 75 0 / 1 point
672What file under the proc directory contains information regarding what modules are currently loaded into the Linux kernel?​
673
674​modinfo
675
676​kmods
677
678​mod_info
679Correct Answer
680​modules
681Question 76 0 / 1 point
682What does the setfacl -b command do?​
683Correct Answer
684​It removes all extra ACL assignments on a given file
685
686​It sets 7777 on a given file or folder for all users / groups
687
688​The file's user / group ownership is changed to to root / root
689
690​The file's ACL assignments are created and are then ready to be modified.
691Question 77 0 / 1 point
692What directory under / contains the log files and spools for a Linux system?​
693
694​/boot
695
696​/usr
697
698​/opt
699Correct Answer
700​/var
701Question 78 0 / 1 point
702Select the test statement that can be used to determine if A is numerically greater than B:
703
704[ A –g B ]
705
706[ A –ge B ]
707Correct Answer
708[ A –gt B ]
709
710[ A +eq B ]
711Question 79 0 / 1 point
712A hard drive or SSD can be divided into partitions. What is the maximum number of primary partitions that can be used on these devices?
713Correct Answer
7144
715
7168
717
71816
719
72032
721Question 80 0 / 1 point
722When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be:
723
724Arguments
725Correct Answer
726Options
727
728Keywords
729
730Metacharacters
731Question 81 0 / 1 point
732What command can be used to copy files?
733
734copy
735
736mv
737Correct Answer
738cp
739
740cpy
741Question 82 0 / 1 point
742The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?
743
744/bin
745
746/home/root
747
748/boot
749Correct Answer
750/root
751Question 83 0 / 1 point
752What number represents the stderr file descriptor?
753
7540
755
7561
757Correct Answer
7582
759
7603
761Question 84 0 / 1 point
762The rmdir command automatically removes a directory and all of its subdirectories and files.
763 True
764Correct Answer
765 False
766Question 85 0 / 1 point
767The section of an inode that stores permissions is referred to as what?
768
769the tail of the file
770
771the head of the file
772Correct Answer
773the mode of the file
774
775the accessor of the file
776Question 86 0 / 1 point
777If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?
778
779page fault
780
781IRQ fault
782Correct Answer
783segmentation fault
784
785​RAM failure
786Question 87 0 / 1 point
787In vi, using command mode, what ​series of key presses below will cause the line on which the cursor is on to be deleted?
788
789​X
790Correct Answer
791​dd
792
793​yw
794
795​d
796Question 88 0 / 1 point
797Many programming function libraries and UNIX-like commands appeared in the 1980s as a result of the work on the GNU project.​
798Correct Answer
799 True
800 False
801Question 89 0 / 1 point
802What file in the /proc directory contains a list of memory address ranges reserved for device use?
803
804meminfo
805Correct Answer
806ioports
807
808iomem
809
810misc
811Question 90 0 / 1 point
812On closed-source operating systems, hot fixes for software bugs are deployed very quickly.​
813 True
814Correct Answer
815 False
816Question 91 0 / 1 point
817The Linux kernel was developed and released in 1991 by:​
818
819​Richard Stallman
820Correct Answer
821​Linus Torvalds
822
823​Andrew Tannenbaum
824
825​Dennis Ritchie
826Question 92 0 / 1 point
827What permission grants a user the ability to edit the contents of a file?
828Correct Answer
829write
830
831execute
832
833read
834
835alter
836Question 93 0 / 1 point
837What command is used to manage a software RAID configuration after installation?​
838Correct Answer
839​mdadm
840
841​mdraid
842
843​vgadm
844
845​pgadm
846Question 94 0 / 1 point
847What environment file is always executed immediately after login for all users on the system, and sets most environment variables, such as HOME and PATH?
848
849˜/.bash_profile
850
851˜/.bash_login
852Correct Answer
853/etc/profile
854
855˜/.profile
856Question 95 0 / 1 point
857Which command below provides the easiest method for monitoring free space on mounted filesystems?
858Correct Answer
859df
860
861fs
862
863du
864
865fd
866Question 96 0 / 1 point
867At 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.​
868Correct Answer
869 True
870 False
871Question 97 0 / 1 point
872In Linux, you are restricted to using only one type of filesystem on a system.
873 True
874Correct Answer
875 False
876Question 98 0 / 1 point
877​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?
878
879​systemd
880
881​messaged
882
883​logd
884Correct Answer
885​journald
886Question 99 0 / 1 point
887In what year was the source code for the Linux kernel released?
888
8891987
890
8911990
892Correct Answer
8931991
894
8951993
896Question 100 0 / 1 point
897Select the metacharacter that can be used to send the standard output of one command to another command as standard input:
898
899<
900Correct Answer
901|
902
903>
904
905#
906Question 101 0 / 1 point
907Which character(s) below represent extended regular expression metacharacter(s)?
908
909.
910
911[...]
912
913^
914Correct Answer
915{}
916Question 102 0 / 1 point
917Select the file in the /proc directory that contains statistics on the performance of the processor:
918
919cpuinfo
920
921modules
922
923kcore
924Correct Answer
925loadavg
926Question 103 0 / 1 point
927​Select the mode below that corresponds to setting r-x:
928
9291​
930
931​2
932Correct Answer
9335​
934
935​6
936Question 104 0 / 1 point
937In order to quickly create an empty file, what command can be used?​
938
939​vim file1
940Correct Answer
941​touch file1
942
943​echo file1
944
945​create file1
946Question 105 0 / 1 point
947What command can be issued to confirm what directory you are in at a command line prompt?
948
949dir
950Correct Answer
951pwd
952
953whereami
954
955ld
956Question 106 0 / 1 point
957Given 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.
958 True
959Correct Answer
960 False
961Question 107 0 / 1 point
962Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?​
963
964​--loop
965Correct Answer
966​-o loop
967
968​--mode l
969
970​--option l
971Question 108 0 / 1 point
972What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output?
973
974\
975
976&
977Correct Answer
978;
979
980|
981Question 109 0 / 1 point
982The quotas for certain users can be edited by using which command?
983Correct Answer
984edquota
985
986chquota
987
988usrquota
989
990repquota
991Question 110 0 / 1 point
992The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
993Correct Answer
994 True
995 False
996Attempt Score:
9970 / 110 - 0 %
998Overall Grade (average of all attempts):
9990 / 110 - 0 %