Free XK0-005 Exam Braindumps (page: 19)

Page 18 of 96

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?

  1. find /var/log -type d -mtime +180 -print -exec rm {} \;
  2. find /var/log -type f -modified +180 -rm
  3. find /var/log -type f -mtime +180 -exec rm {} \
  4. find /var/log -type c -atime +180 –remove

Answer(s): C



A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site. Which of the following parameters will accomplish this goal?

Answer(s): C



Some servers in an organization have been compromised. Users are unable to access to the organization’s web page and other services. While reviewing the system log, a systems administrator notices messages from the kernel regarding firewall rules:
Which of the following commands will remediate and help resolve the issue?

Answer(s): B



A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.
Given the following output:
Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?

  1. restorecon -rv .ssh/authorized_key
  2. mv .ssh/authorized_key .ssh/authorized_keys
  3. systemctl restart sshd.service
  4. chmod 600 mv .ssh/authorized_key

Answer(s): B






Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

XK0-005 Exam Discussions & Posts