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 commands can be used together to accomplish this task?
A Linux systems administrator needs to persistently enable IPv4 forwarding in one of the Linux systems. Which of the following commands can be used together to accomplish this task? (Choose two.)A . sysctl net.ipv4.ip_forwardB . sysctl -w net.ipv4.ip_forward=1C . echo "net.ipv4.ip_forward=1" >> /etc/sysctl.confD . echo 1 > /proc/sys/net/ipv4/ip_forwardE . sysctl...
Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?
A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?A . scp ~/.ssh/id_rsa user@server:~/B . rsync ~ /.ssh/ user@server:~/C . ssh-add user serverD . ssh-copy-id user@serverView AnswerAnswer:...
Which of the following commands would address the issue?
A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands: Which of the following commands would address the issue?A . top -p 8321B . kill -9 8321C . renice -10 8321D . free 8321View AnswerAnswer: B Explanation: The command that would address the memory-related issue...
Which of the following RPM options should be used?
A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?A . rpm -sB . rрm -dC . rpm -qD . rpm -eView AnswerAnswer: D Explanation: The RPM option -e should be used to remove software from the server. The rpm command...
Which of the following options can be used to boot the system into the single user mode?
A Linux system is failing to start due to issues with several critical system processes. Which of the following options can be used to boot the system into the single user mode? (Choose two.)A . Execute the following command from the GRUB rescue shell: mount -o remount, ro/sysroot.B . Interrupt...
Which of the following files holds the system configuration for journal when running systemd?
Which of the following files holds the system configuration for journal when running systemd?A . /etc/systemd/journald.confB . /etc/systemd/systemd-journalctl.confC . /usr/lib/systemd/journalctl.confD . /etc/systemd/systemd-journald.confView AnswerAnswer: A Explanation: The file that holds the system configuration for journal when running systemd is /etc/systemd/journald.conf. This file contains various settings that control the behavior of the...
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...
Which of the following is MOST likely causing the issue?
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running...
Which of the following commands will accomplish this task?
A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?A . chown -s 755 devopsB . chown 1755 devopsC . chmod -s 755 devopsD . chmod 1755 devopsView AnswerAnswer: D Explanation: The command that...