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...
Which of the following commands should be used to apply the configuration changes?
A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?A . systemctl stop sshd B. systemctl mask sshd C. systemctl reload sshd D. systemctl start sshdView AnswerAnswer: C
To which of the following configuration files will the required changes need to be made?
Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below. To which of the following configuration files will the required changes need to be made?A . /etc/login.defs B. /etc/security/limits.conf...
Which of the following commands would accomplish this task?
A development team asks an engineer to guarantee the persistency of journal log files across system reboots. Which of the following commands would accomplish this task?A . grep -i auto /etc/systemd/journald.conf && systemctl restart systemd-journald.service B. cat /etc/systemd/journald.conf | awk '(print $1,$3)' C. sed -i 's/auto/persistent/g' /etc/systemd/journald.conf && sed -i...
Which of the following commands should the administrator use to diagnose the issue?
Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided: Which of the following commands should the administrator use to diagnose the issue?A . df -i /oracle1 B. fdisk -1 /dev/sdb1 C. lsblk /dev/sdb1 D. du -sh /oracle1View AnswerAnswer: A
Which of the following commands would help the administrator to identify this filesystem?
A Linux systems administrator receives a notification that one of the server’s filesystems is full. Which of the following commands would help the administrator to identify this filesystem?A . lsblk B. fdisk C. df -h D. du -ahView AnswerAnswer: C
Based on the information above, which of the following is causing the issue?
Users have been unable to reach www.comptia.org from a Linux server. A systems administrator is troubleshooting the issue and does the following: Based on the information above, which of the following is causing the issue?A . The name www.comptia.org does not point to a valid IP address. B. The server...
Which of the following commands can be used to address this issue?
A Linux system fails to start and delivers the following error message: Which of the following commands can be used to address this issue?A . fsck.ext4 /dev/sda1 B. partprobe /dev/sda1 C. fdisk /dev/sda1 D. mkfs.ext4 /dev/sda1View AnswerAnswer: A
Which of the following commands should be run on the DNS forwarder server to accomplish this task?
A Linux administrator has set up a new DNS forwarder and is configuring all internal servers to use the new forwarder to look up external DNS requests. The administrator needs to modify the firewall on the server for the DNS forwarder to allow the internal servers to communicate to it...
Which of the following will accomplish this goal?
A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?A . chmod +t /project/access2all B. chmod +rws /project/access2all C. chmod 2770 /project/access2all D. chmod ugo+rwx /project/access2allView AnswerAnswer:...