Which of the following commands can be used to copy a key file to remote servers?
A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers. Which of the following commands can be used to copy a key file to remote servers? (Choose two.)A . wgetB . ssh-keygenC . ssh-keyscanD . ssh-copy-idE . ftpdF . scpView AnswerAnswer:...
Which of the following commands would resolve the issue?
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output: Which of the following...
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion
DRAG DROP As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following: Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion. INSTRUCTIONS Fill the blanks to build a script that performs the...
Which of the following is the reason the firewall rules are not active?
A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present: The systems administrator makes additional checks: Which of the following is the reason the firewall rules are not active?A . iptables is conflicting with firewalld.B . The wrong system target...
Which of the following commands will accomplish this task?
A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?A . sudo useradd -e 2021-09-30 Project_userB ....
Which of the following commands will accomplish this task?
After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account. Which of the following commands will accomplish this task?A . chgrp system accountnameB . passwd Cs accountnameC . chmod -G system account nameD . chage -E -1 accountnameView 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 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...