Which of the following commands will display the operating system?
Which of the following commands will display the operating system?A . uname -nB . uname -sC . uname -oD . uname -mView AnswerAnswer: C Explanation: The command that will display the operating system is uname -o. This command uses the uname tool, which is used to print system information such...
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs: Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve...
Which of the following is the correct list of commands to achieve this goal?
A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app. Which of the following is the correct list of commands to achieve this goal? A) B) C) D) A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: D...
Which of the following PAM modules will accomplish this task?
A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this task?A . pam_login.soB . pam_access.soC . pam_logindef.soD . pam_nologin.soView AnswerAnswer: D Explanation: The PAM module pam_nologin.so will prevent logins from accounts other than...
Which of the following commands should be used to set filename.log permissions to -rwxr―r--. ?
A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr―r--. ?A . chmod 755 filename.logB . chmod 640 filename.logC . chmod 740 filename.logD . chmod 744 filename.logView AnswerAnswer: A Explanation: The...
Which of the following files should the engineer modify to change the port number to the desired value?
A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?A . /etc/host.confB . /etc/hostnameC . /etc/servicesD . /etc/ssh/sshd_configView AnswerAnswer: D Explanation: The file /etc/ssh/sshd_config contains the configuration...
Which of the following commands should be used to accomplish this task?
A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory. Which of the following commands should be used to accomplish this task?A . dd of=/dev/sda if=/tmp/sda.imgB . dd if=/dev/sda of=/tmp/sda.imgC . dd --if=/dev/sda --of=/tmp/sda.imgD . dd --of=/dev/sda --if=/tmp/sda.imgView AnswerAnswer:...
Which of the following commands would maintain version control?
An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?A . git clone https://github.com/comptia/linux+-.git git push originB . git clone https://qithub.com/comptia/linux+-.git git fetch New-BranchC . git clone https://github.com/comptia/linux+-.git git statusD . git clone https://github.com/comptia/linuxt+-.git git checkout -b <new-branch>View AnswerAnswer:...
Which of the following commands should be used to resolve the issue?
An administrator deployed a Linux server that is running a web application on port 6379/tcp. SELinux is in enforcing mode based on organization policies. The port is open on the firewall. Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied....
Which of the following commands will achieve the desired effect?
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?A . scp -p /data remote:/backup/dataB . ssh -i /remote:/backup/ /dataC . rsync -a /data remote:/backup/D . cp -r...