

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


What software package allows a Linux server to share folders and printers with Windows and Mac clients? - Correct Answer Samba Which software package allows developers to deploy applications using the exact same environment in which they were developed? - Correct Answer Docker The cat -n File.txt command is entered at the command line. What will be the result? - Correct Answer The text file File.txt will be displayed along with line numbers Which of the following are stream editors? (Choose all that apply.) - Correct Answer sed, awk, and gawk Which command in GRUB2 defines the location of the /boot folder to the first partition on the first hard drive on the system? - Correct Answer set root=hd(0,1) If you see read or write errors appear in the system log, what tool should you use to correct any bad sections of the hard drive? - Correct Answer fsck The init program is started on a Linux system and has a process ID number. What typically is that process's ID number? - Correct Answer 1 You need to determine the default target of a systemd system. Which of the following commands should you use? - Correct Answer systemctl get-default The Cinnamon desktop environment uses which windows manager? - Correct Answer Muffin Your X11 session has become hung. What keystrokes do you use to restart the session? - Correct Answer Ctrl+Alt+Backspace What folder contains the time zone template files in Linux? - Correct Answer /usr/share/zoneinfo What systemd command allows you to view and change the time, date, and time zone? - Correct Answer timedatectl Which of the following files contain user account creation directives used by the useradd command? (Choose all that apply.) - Correct Answer /etc/default/useradd file & /etc/login.defs You need to display the various quotas on all your filesystems employing quota limits. Which of the following commands should you use? - Correct Answer repquota -a What drive and partition does the raw device file /dev/sdb1 reference? - Correct Answer The first partition on the second SCSI storage device What tool creates a logical volume from multiple physical partitions? - Correct Answer lvcreate Which of the following can be used as backup utilities? (Choose all that apply.) - Correct Answer zip, tar, rsync, & dd A system administrator has created a backup archive and transferred the file to another system across the network. Which utilities can be used to check the archive files integrity? (Choose all that apply.) - Correct Answer md5sum & sha
What tool should you use to install a .deb package file? - Correct Answer dpkg What tool do you use to install a .rpm package file? - Correct Answer rpm The lsmod utility provides the same information as what other utility or file(s)? - Correct Answer The /proc/modules file Which utility should be used to remove a module along with any dependent modules? - Correct Answer modprobe What special bit should you set to prevent users from deleting shared files created by someone else? - Correct Answer Sticky bit What command can you use to change the owner assigned to a file? - Correct Answer chown The ______ directory contains the various PAM configuration files. - Correct Answer /etc/pam.d/ Which of the following can override the settings in the ~/.ssh/config file? - Correct Answer The settings within the ~/.ssh/config file What command do you use to display entries in the systemd-journald journal? - Correct Answer tail -f What command can you use to display new entries in a log file in real time as they occur? - Correct Answer systemd-journald The /etc/services file may be used by firewalls for what purpose? - Correct Answer To map a service name to a port and protocol Which of the following is true about netfilter? (Choose all that apply.) - Correct Answer It is used by firewalld, It is used by UFW, It provides code hooks into the Linux kernel for firewall technologies to use, It is used by iptables Which of the following is a measurement of the maximum amount of data that can be transferred over a particular network segment? - Correct Answer Bandwidth Which tool will allow you to view disk I/O specific to swapping? - Correct Answer vmstat What command-line command allows you to view the applications currently running on the Linux system? - Correct Answer ps What command-line commands allow you to send process signals to running applications? (Choose two.) - Correct Answer pkill & kill Annika puts the file line PS1="My Prompt: " into her account's $HOME/.bash_profile file. This setting changes her prompt the next time she logs into the system. However, when she starts a subshell, it is not working properly. What does Annika need to do to fix this issue? - Correct Answer Add export prior to PS1 on the same line in the file A user, who is not the owner or a group member of a particular directory, attempts to use the ls command on the directory and gets a permission error. What does this mean? - Correct Answer The directory does not have read (r) set for other permissions Which directories contain dynamic files that display kernel and system information? (Choose two.) - Correct Answer /proc & /sys What directory contains configuration information for the X Windows System in Linux? - Correct Answer /etc/X How would you fix a "mount point does not exist" problem? - Correct Answer Use super user privileges, if needed, and create the directory via the mkdir command