Which of the following should the administrator do?
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?A . Add the line DenyUsers root to the /etc/hosts.deny file.B . Set PermitRootLogin to no in the /etc/ssh/sshd_config file.C . Add...
Which of the following processes would accomplish this task?
A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?A . Create a unit file in the /etc/default/ directory. systemctl enable cleanup systemctl is-enabled cleanupB . Create a unit file in...
Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?
Employees in the finance department are having trouble accessing the file /opt/work/file. All IT employees can read and write the file. Systems administrator reviews the following output: Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?A . chattr +i...
Which of the following commands will accomplish this task?
A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?A . tar -cvzf /dev/sdd1 /dev/sdc1B . rsync /dev/sdc1 /dev/sdd1C . dd if=/dev/sdc1 of=/dev/sdd1D . scp /dev/sdc1 /dev/sdd1View AnswerAnswer: C Explanation: The command dd if=/dev/sdc1 of=/dev/sdd1 copies the data from the...
Which of the following commands should the administrator use?
A Linux administrator needs to create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a. Which of the following commands should the administrator use?A . In -s /usr/local/bin/app-a /usr/local/share/app-aB . mv -f /usr/local/share/app-a /usr/local/bin/app-aC . cp -f /usr/local/share/app-a /usr/local/bin/app-aD . rsync -a /usr/local/share/app-a /usr/local/bin/app-aView AnswerAnswer: A Explanation: To create...
Which of the following technologies can be used as a central repository of Linux users and groups?
Which of the following technologies can be used as a central repository of Linux users and groups?A . LDAPB . MFAC . SSOD . PAMView AnswerAnswer: A Explanation: LDAP stands for Lightweight Directory Access Protocol, which is a protocol for accessing and managing a central directory of users and groups....
Which of the following tools is most suitable to use when uploading the key to the remote servers?
A systems administrator creates a public key for authentication. Which of the following tools is most suitable to use when uploading the key to the remote servers? A. scp B. ssh-copy-id C. ssh-agent D. ssh-keyscanView AnswerAnswer: B Explanation: The best tool to use when uploading the public key to the...
Which of the following commands can the adminis-trator run to obtain information about the UUlDs of all disks attached to a Linux system?
A systems administrator intends to use a UI-JID to mount a new partition per-manently on a Linux system. Which of the following commands can the adminis-trator run to obtain information about the UUlDs of all disks attached to a Linux system?A . fcstatB . blkidC . dmsetupD . IsscsiView AnswerAnswer:...
Which of the following commands will show this information?
A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?A . systemct1 status systemd-resolved.serviceB . systemct1 enable systemd-resolved.serviceC . systemct1 mask systemd-resolved.serviceD . systemct1 show systemd-resolved.serviceView AnswerAnswer: A Explanation: The command systemct1 status systemd-resolved.service will show...
Which of the following is the issue?
A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemct1 isolate graphical.target and rebooted the system by running systemct1 reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the...