adds mini quiz
This commit is contained in:
parent
5e6749acff
commit
0ef30e0f5a
|
@ -0,0 +1,61 @@
|
|||
"LEVEL","ANSWER","QUESTION",1,2,3,4,5
|
||||
"010-160",1,"The BIOS begins the computer’s boot process and passes control to the boot loader.","True ","False ",,,
|
||||
"010-160",3,"Which of the following are Linux boot loaders?","LILO ","GRUB ","Both LILO and GRUB ","BIOS ",
|
||||
"010-160",4,"Which of the following is a temporary file system which is loaded into memory when the system boots.","kernel","vmlinux ","vmlinuz ","initrd",
|
||||
"010-160",2,"The /linux directory contains the files required to boot Linux. ","True ","False",,,
|
||||
"010-160",4,"Which command displays the contents of the kernel ring buffer? ","ringbuf ","ringb ","rmesg ","dmesg",
|
||||
"010-160",4,"The syslog standard: ","Aids in the processing of messages. ","Allows logging to be centrally controlled. ","Uses facilities and severities to categorize messages. ","All of the above.",
|
||||
"010-160",1,"Which command can you use to generate log messages? ","logger ","log ","logit ","There is no such command.",
|
||||
"010-160",1,"Partitioning a disk allows you to allocate different sections of the disk for different purposes. ","True ","False",,,
|
||||
"010-160",3,"How many primary partitions does the MBR partitioning scheme allow? ",2,3,4,"Unlimited",
|
||||
"010-160",1,"A mount point is simply a directory that is used to access data on a partition. ","True ","False",,,
|
||||
"010-160",1,"These two commands perform the same task: `mkfs -t ext4 /dev/sdb3` and `mkfs.ext4 /dev/sdb3` ","True ","False",,,
|
||||
"010-160",2,"Which command is used to unmount a filesystem. ","unmount ","umount ","dismount",,
|
||||
"010-160",2,"The /etc/filetab file controls where devices are mounted on a Linux system and what options to use when mounting those devices. ","True ","False",,,
|
||||
"010-160",4,"Which command or commands can be used to view a UUID? ","Only the uuid command. ","Only the lsblk command. ","Only the blkid command. ","Both the lsblk and blkid commands.",
|
||||
"010-160",1,"What command prepares a swap partition for use. Afterwards, you can enable the swap partition with the swapon command. ","mkswap ","mkswp ","makeswap",,
|
||||
"010-160",4,"Which file stores account information? ","/etc/accounts ","/etc/passwordfile ","/etc/password ","/etc/passwd",
|
||||
"010-160",1,"The /etc/shadow file stores encrypted passwords. ","True ","False",,,
|
||||
"010-160",1,"What UID is always assigned to the root account? ",0,1,100,1000,
|
||||
"010-160",4,"What command displays the group memberships for a user? ","groupshow ","lsgroups ","listgroups ","groups",
|
||||
"010-160",2,"What file stores group information? ","/etc/groups ","/etc/group ","/etc/memberships",,
|
||||
"010-160",1,"The sudo command allows users to run processes as other users, most typically the root user. ","True ","False",,,
|
||||
"010-160",3,"Which command is used to set or change passwords for Linux accounts? ","password ","pwd ","passwd ","pswd",
|
||||
"010-160",2,"257.19.21.228 is a valid IP address. ","True ","False",,,
|
||||
"010-160",3,"Given an IP address of 199.83.131.0 and a subnet mask of 255.255.255.0, what is the broadcast address? ","199.83.131.0 ","199.83.131.1 ","199.83.131.255 ","199.255.255.255",
|
||||
"010-160",2,"Which of the following IP addresses does not fall within a private address range? ","10.11.12.13 ","11.12.13.14 ","172.16.255.255 ","192.168.1.100",
|
||||
"010-160",4,"What command can be used to display the hostname of a Linux system? ","hostname ","uname -n ","hostname -f ","All of the above.",
|
||||
"010-160",2,"Entries added to the /etc/hosts file become automatically available in DNS. ","True ","False",,,
|
||||
"010-160",2,"Which configuration file controls the order in which lookups are performed? ","/var/nsswitch.conf ","/etc/nsswitch.conf ","/etc/resolv.conf ","/var/resolv.conf",
|
||||
"010-160",4,"What range of ports are considered unprivileged ports? ","0 - 1023 ","0 - 1000 ","1024 - 2048 ","1024 - 65535",
|
||||
"010-160",1,"DHCP stands for Dynamic Host Configuration Protocol. ","True ","False",,,
|
||||
"010-160",5,"Which commands can be used for network troubleshooting? ","ping ","traceroute ","netstat ","tcpdump ","All of the above."
|
||||
"010-160",2,"If you can’t ping a host, you can always be assured that the host you are attempting to ping is down. ","True ","False",,,
|
||||
"010-160",1,"If you can ping by IP address but not by name, there is a problem with the resolution of the DNS name. ","True ","False",,,
|
||||
"010-160",1,"Which command is used to view running processes? ","ps ","pid ","proc ","lsproc",
|
||||
"010-160",4,"What character is placed at the end of a command line to start the command in the background? ","- ","? ","\ ","&",
|
||||
"010-160",1,"The kill command can be used to kill processes and jobs. ","True ","False",,,
|
||||
"010-160",3,"Which command is used to create, read, update, and delete cron jobs? ","cron ","crond ","crontab ","vicron",
|
||||
"010-160",4,"Which of the following cron jobs will run at 08:00 AM every day? ","8 0 0 * * /opt/acme/bin/backup ","8 0 * * * /opt/acme/bin/backup ","8 * * * * /opt/acme/bin/backup ","0 8 * * * /opt/acme/bin/backup",
|
||||
"010-160",2,"Given the following output of the ls -l command, what permissions are assigned to members of the “staff” group? `-rwxrw-r— 1 jason staff 1040 Sep 27 08:52 sales` ","rwx ","rw- ","r– ","–rwxrw-r—",
|
||||
"010-160",2,"Given the following output of the ls -l command, what type is “sales”? `drwxrw-r— 1 jason staff 1040 Sep 27 08:52 sales` ","file ","directory ","link ","It cannot be determined with the given output.",
|
||||
"010-160",3,"Which command is used to change the permissions on a file or directory? ","modch ","set ","chmod ","mkmod",
|
||||
"010-160",2,"The chmod command can only be used with numerical permissions. ","True ","False",,,
|
||||
"010-160",1,"Every user on a Linux system is in at least one group. ","True ","False",,,
|
||||
"010-160",4,"Which command would you run to ensure that “file.txt” can only be read, edited, and executed by the owner and that no other users on the system have access to it? ","chmod 777 file.txt ","chmod 755 file.txt ","chmod 770 file.txt ","chmod 700 file.txt",
|
||||
"010-160",3,"Which command is used to set the file creation mask? ","fmask ","fcmask ","umask ","chmod",
|
||||
"010-160",2,"The Debian and RedHat Enterprise Linux distributions use the same package format. ","True ","False",,,
|
||||
"010-160",1,"How would you search for “apache” using yum? ","yum search apache ","yum find apache ","yum get apache ","yum-cache search apache",
|
||||
"010-160",3,"Which command lists all of the RPM packages installed on a system? ","rpm -a ","rpm -q ","rpm -qa ","rpm -ea",
|
||||
"010-160",4,"How would you install the htop package on a Debian based distribution? ","apt-get htop ","apt-get install htop ","apt-cache install htop ","yum-get htop",
|
||||
"010-160",4,"Which of the following commands will list the contents of the htop Debian package? ","dpkg -S htop ","dpkg –i htop ","dpkg -l htop ","dpkg –L htop",
|
||||
"010-160",4,"Which of the following commands display the first line of the file named “file.txt”? ","top file.txt ","top +1 file.txt ","head file.txt ","head -1 file.txt",
|
||||
"010-160",3,"What command would you use to view the changes as they occur to the `/var/log/messages` file? ","watch /var/log/messages ","tail /var/log/messages ","tail -f /var/log/messages ","tail -1 /var/log/messages",
|
||||
"010-160",2,"Use the nano editor if you need powerful and complex editing capabilities. ","True ","False",,,
|
||||
"010-160",4,"Which is not a valid vi mode? ","command ","insert ","line ","fundamental",
|
||||
"010-160",1,"Emacs can be used as a graphical editor as well as from the command line. ","True ","False",,,
|
||||
"010-160",1,"The first line of a shell script typically starts with a shebang followed by the path to an interpreter that will be used to execute the commands in the script. ","True ","False",,,
|
||||
"010-160",4,"Which of the following variables is valid? ","3LETTERS=“ABC” ","first-three-letters=“ABC” ","first@Three@Letters=“ABC” ","FIRST3LETTERS=“ABC”",
|
||||
"010-160",2,"What is the value of “$1” given the following command line: `$ ./add-user.sh tom richard harry` ","./add-user.sh ","tom ","richard ","harry",
|
||||
"010-160",1,"Which is the proper way to assign a value to a variable? ","VAR=“VALUE” ","VAR = “VALUE”",,,
|
||||
"010-160",3,"Which of the following will assign the output of the hostname command to the variable HOSTNAME? ","HOSTNAME=$(hostname) ","HOSTNAME=`hostname` ","All of the above.",,
|
|
Loading…
Reference in New Issue