Click Here to take the test. (You need an account. It's free)
1. Which file in the sysfs filesystem could you view in order to see the MAC address of eth0?
2. Which options to du will print a summary of information in a human-readable format?
3. When running the lsblk command, there is no separate partition listed for /boot. From which partition is the system likely booted?
4. When using systemcti to kill a process, what is the default signal sent to a process?
5. When running fsck on an EXT3 filesystem, which option to fsck causes the operation to prompt when attempting a repair action?
6. You are having difficulty with shared libraries on the system. Which of the following commands will print the current directories and libraries in the cache?
7. Of the following options for the tail command, which option outputs the last lines beginning at the 30th line from the start of the file rather than the end of the file?
8. Which process ID is typically associated with the init process?
9. A newly added Serial ATA (SATA) disk is not showing up during the boot process. Where can you check to begin troubleshooting this issue?
10. Which option to the tee command enables appending to the destination files rather than overwriting?
11. Which of the following commands changes the ownership of the file called Functions.php to the user john and the group coders?
12. Which option to the uniq command causes the matching to be done in a case-insensitive manner?
13. Which of the following commands writes an image called from the current directory called debian.img to the SD card mounted at /dev/sdc?
14. Which command can be used to search the contents of all files below your current location for files that contain the characters DB?
15. Which of the following commands will remove all files for a package in Debian, including configuration files?
16. Which of the following commands will send the output of the grub-mkconfig command to the correct location for booting?
17. Which of the following commands will set the environment variable JAVA_PATH equal to /home/user/java2 when using the Bash shell?
18. Which option within a .repo file in /etc/yum.repos.d/ is used to set the URL for the repository?
19. When troubleshooting a problem, you look through .bash_history to determine commands that you’ve recently executed. However, the file does not contain information from your current session. Which command can you use to view the commands that have been executed during the current session?
20. Which of the following commands will cause nl to number all lines, including blank lines, for a file called file.php?
21. Which option in the .bashrc sets the number of commands to keep in the ,bash_history file?
22. What is the default directory for configuration information related to the modprobe command?
23. What is the prefix used to denote a Debian source repository in /etc/apt/sources.list?
24. Which option should be sent to grub-install if you want to install the boot images within a directory other than /boot?
25. Which option to the top command changes the update interval?
26. Which configuration option can be set within /etc/default/grub to affect the behavior of the system after a failed boot?
27. Which of the following best describes the contents of the / filesystem within Linux?
28. Which option to dmesg displays the time in local time?
29. Which option to the find command causes it to follow symbolic links?
30. Which command can be used to create an octal representation of a given plaintext file?
31. When creating a backup for a system, which directory should be included so that most configuration files will be backed up?
32. When bootstrapping a virtual machine, which command can be used to add the fingerprint of a server to the known_hosts file?
33. Which option to a yum install command will cause yum to assume yes and therefore not prompt for verification when performing actions deemed critical?
34. On a BlOS-based system, within which region of the disk is the boot loader typically installed?
35. Which of the following commands prints the username and real name of all users in /etc/passwd in a tab-separated format?
36. Which command and option is used to display basic information about each available package and its dependencies on a Debian system?
37. Which option to cp will preserve symlinks in a recursive copy?
38. When running the df command, you need to change the scale so that the report shows terabytes instead of bytes. Which option will accomplish this task?
39. Which command can be used to monitor communication taking place with dbus?
40. What command can be used to create an image of important metadata for an ext3 filesystem?
41. Which option to the systemctl kill command will change the signal sent to the process to be killed?
42. Which systemd command and option is equivalent to the chkconfig -list command in a SysVinit environment?
43. Which of the following files is updated dynamically with information about currently mounted filesystems?
44. Within a systemd environment, which service manages udev?
45. Which option to mke2fs is used to check for bad blocks during filesystem creation?
46. What is the correct syntax to indicate that the system should shut down at 8 p.m.?
47. Which filesystem is used to store information about current running processes?
48. Which of the following commands will display the process ID, the real user ID, the filesystem access user ID, and command for processes on the system?
49. Which option to ldconfig is used to change the location of the cache to be updated?
50. Which of the following commands will locate all files that begin with the name DB, starting from the current directory?
51. Within which hierarchy is cached data stored for both yum- and apt-style Systems?
52. When working with a yum-based system, you need to create a configuration to ensure that certain packages are not upgraded or installed. Which option can you set in /etc/yum.conf to facilitate this behavior?
53. Which command should be run in order to make changes take effect for a GRUB2 configuration change?
54. Which of the following wali commands send the message "Piease Log Off" to users in the operator group?
55. You have been troubleshooting a system issue that may be related to the driver in use for a PCI device in the system. Which command and option will display the PCI devices and the drivers being used for those devices?
56. Which options to rpm will upgrade a package while displaying progress and other additional information about the operation?
57. Which of the following files is the location used to gather information about load average for use in the uptime command?
58. Which command and option can be used to format text with pagination in a double-space format, including page numbers?
59. Which option to the telinit command will cause the operation to not send any notice to logged-on users?
60. Which of the following key combinations is a technique for moving to the 23rd line of a file in Vi?
{jssocials}