Which of the following commands should the administrator use for this task?

A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?A . git reflogB . git pullC . git statusD . git pushView AnswerAnswer:...

January 28, 2025 No Comments READ MORE +

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:...

January 27, 2025 No Comments READ MORE +

Which of the following commands should the administrator use to identify the correct version of this file?

An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?A . rpm -qa | grep kernel; uname -aB . yum -y update; shutdown -r nowC ....

January 26, 2025 No Comments READ MORE +

Which of the following would the administrator do to complete this requirement?

A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to complete this requirement?A . hostnamectl status --no-ask-passwordB . hostnamectl set-hostname "$(perl -le "print" "A" x 86)"C...

January 23, 2025 No Comments READ MORE +

Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?

A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure. Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?A . docker export <container_id>B . docker...

January 23, 2025 No Comments READ MORE +

Which of the following commands should be used to resolve this issue?

An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?A . echo 'export PATH=$PATH:/opt/operations1/bin' >> /etc/profileB ....

October 11, 2024 No Comments READ MORE +

Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?

An administrator attempts to rename a file on a server but receives the following error. The administrator then runs a few commands and obtains the following output: Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?A . chgrp reet...

October 11, 2024 No Comments READ MORE +

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...

October 11, 2024 No Comments READ MORE +

Which of the following commands will permanently resolve the issue?

A Linux administrator is troubleshooting the root cause of a high CPU load and average. Which of the following commands will permanently resolve the issue?A . renice -n -20 6295B . pstree -p 6295C . iostat -cy 1 5D . kill -9 6295View AnswerAnswer: D Explanation: The command that will...

October 10, 2024 No Comments READ MORE +

Which of the following environment variables must be set in remote shell in order to launch the graphical interface?

A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the...

October 10, 2024 No Comments READ MORE +