Free XK0-005 Exam Braindumps (page: 18)

Page 18 of 43

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): A



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): A



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



Page 18 of 43



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

RF commented on September 06, 2024
Awesome resource
UNITED STATES
upvote

M commented on August 09, 2024
Great questions
Anonymous
upvote

Bob Igor commented on March 14, 2024
Question 11 is B not A because the ports are reversed on A
UNITED STATES
upvote

soheib commented on July 24, 2023
question: 78 the right answer i think is d not a
Anonymous
upvote

Lola commented on August 28, 2023
Good so far
Anonymous
upvote

soheib commented on July 24, 2023
Question: 78 the right answer i think is d not a
Anonymous
upvote

Gurunath commented on June 18, 2023
I just wanted to let you know I passed my exam today. The updated version you provided is on spot. Thank you.
INDIA
upvote

Nito commented on April 21, 2023
These questions are valid.
CANADA
upvote

Ortiz commented on November 07, 2022
I am certified now. You study packages helped me a lot. Your site is the best!
MEXICO
upvote