A file server is sharing a directory called /share between team members inside a company. The fileshare needs to be moved
from serverA to /newshare located on serverB with all permissions and attributes preserved. Which of the following
commands would BEST achieve this task?
A
A Linux administrator needs to back up files from a user's home directory to a remote server. The administrator copied the
files last week but must ensure any files created or modified since then are added.
Which of the following is the BEST command for the administrator to use?
B
A member of the production group issues the following command:
echo "Monday through Friday" > /production_docs/days
The command fails to execute, so the user obtains the following output:
drwxr--r-- root production 0 Jun 16 2018 production
-rw-r--r-- production production 4096 Jun 14 2018 days
Which of the following commands should the user execute to BEST fix the issue?
D
A Linux administrator needs the tech account to have the option to run elevated commands as root.
Which of the following commands would BEST meet this goal?
B
An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the
mount persistent after reboot.
Which of the following BEST demonstrates the commands necessary to accomplish this task?
A
A user issues the following command:
ls l /var/log | egrep e ^d[rwx]{3}.*[rw-]{3}.*
The list of files in the system is shown below:
Which of the following results matches the command issued?
D
During the final step of staging new Linux hardware, GRUB2 is installed to the system drive. Which of the following BEST
describes the role of GRUB2 in a new Linux installation?
B
Explanation:
Reference: https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-
configuration/Working_with_the_GRUB_2_Boot_Loader/
Ann, a Linux administrator, wants to edit a configuration management file. When she opens the file to edit, her text editor
reports that the file has been opened in read-only mode. She then tries to edit the file as root by elevating via sudo and is still
unable to save any changes. The error message in her text editor says that the read-only option is set on the file. Ann
checks the permissions on the file and sees the following:
-rw-rw-r-- 1 root wheel 30 Jun 13 15:38 infrastructure.yml
Which of the following commands is the BEST option to allow her to successfully modify the file?
D
Explanation:
Reference: https://cets.seas.upenn.edu/answers/chmod.html
A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network
adapters are properly installed and functioning correctly. In addition, the output of the iptables L command appears to
contain a complete firewall configuration.
Which of the following commands does the administrator need to issue for the router to be fully functional?
A
An administrator has a CSV file named hosts.csv. The contents of hosts.csv include the following:
192.168.2.57,lnx1prd.example.com,Linux,Production
192.168.2.58,lnx2prd.example.com,Linux,Production
192.168.1.4,server15.example.com,Windows,Development
The administrator needs to create a second comma-separated list of only the Linux server IP addresses. Which of the
following commands would achieve this need?
C