ExamGecko
Home / CompTIA / XK0-005 / List of questions
Ask Question

CompTIA XK0-005 Practice Test - Questions Answers, Page 13

Add to Whishlist

List of questions

Question 121

Report Export Collapse

A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?

Become a Premium Member for full access
  Unlock Premium Member

Question 122

Report Export Collapse

A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 123

Report Export Collapse

One leg of an LVM-mirrored volume failed due to the underlying physical volume, and a systems administrator is troubleshooting the issue. The following output has been provided:

CompTIA XK0-005 image Question 123 99764 10022024175436000000

Given this scenario, which of the following should the administrator do to recover this volume?

Become a Premium Member for full access
  Unlock Premium Member

Question 124

Report Export Collapse

A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?

Become a Premium Member for full access
  Unlock Premium Member

Question 125

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 126

Report Export Collapse

A systems administrator is notified that the mysqld process stopped unexpectedly. The systems administrator issues the following command:

sudo grep -i -r β€˜out of memory' /var/log

The output of the command shows the following:

kernel: Out of memory: Kill process 9112 (mysqld) score 511 or sacrifice child.

Which of the following commands should the systems administrator execute NEXT to troubleshoot this issue? (Select two).

Become a Premium Member for full access
  Unlock Premium Member

Question 127

Report Export Collapse

Users have reported that the interactive sessions were lost on a Linux server. A Linux administrator verifies the server was switched to rescue.target mode for maintenance. Which of the following commands will restore the server to its usual target?

Become a Premium Member for full access
  Unlock Premium Member

Question 128

Report Export Collapse

A systems administrator was tasked with assigning the temporary IP address/netmask 192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server.

When adding the address, the following error appears:

# ip address add 192.168.168.1/33 dev eth0

Error: any valid prefix is expected rather than "192.168.168.1/33".

Based on the command and its output above, which of the following is the cause of the issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 129

Report Export Collapse

A Linux user reported the following error after trying to connect to the system remotely:

ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable

The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

CompTIA XK0-005 image Question 129 99770 10022024175436000000

Which of the following commands will resolve this issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 130

Report Export Collapse

A Linux administrator has been tasked with installing the most recent versions of packages on a RPMbased OS. Which of the following commands will accomplish this task?

Become a Premium Member for full access
  Unlock Premium Member
Total 407 questions
Go to page: of 41
Search

Related questions