Which of the following commands will accomplish this task?

Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?A . find /var/log -type d -mtime +180 -print -exec rm {} ;B . find /var/log -type f -modified +180...

October 4, 2024 No Comments READ MORE +

Based on the output above, which of following is the MOST probable cause of the issue?

A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. When listing link parameters, the following is presented: Based on the output above, which of following is the MOST...

October 4, 2024 No Comments READ MORE +

Which of the following commands will help the administrator accomplish this task?

A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive. Which of the following commands will help the administrator accomplish this task?A . grub-install /dev/hdaB . grub-install /dev/sdaC . grub-install /dev/sr0D . grub-install /dev/hd0,0View AnswerAnswer: B Explanation: The command that will help the...

October 4, 2024 No Comments READ MORE +

Which of the following commands would be BEST to use to accomplish this task?

A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries. Which of the following commands would be BEST to use to accomplish this task?A . chattr +a...

October 4, 2024 No Comments READ MORE +

Which of the following commands will allow the systems administrator to check whether the system supports virtualization?

A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen. Which of the following commands will allow the systems administrator to check whether the system supports virtualization?A . dmidecode -s system-versionB ....

October 4, 2024 No Comments READ MORE +

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

October 4, 2024 No Comments READ MORE +

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

October 3, 2024 No Comments READ MORE +

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

October 2, 2024 No Comments READ MORE +

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

October 2, 2024 No Comments READ MORE +

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

October 1, 2024 No Comments READ MORE +