Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the CompTIA Linux+ XK0-006 Questions and answers with CertsForce

Viewing page 1 out of 4 pages
Viewing questions 1-10 out of questions
Questions # 1:

An administrator receives reports that a web service is not responding. The administrator reviews the following outputs:

Question # 1

Which of the following is the reason the web service is not responding?

Options:

A.

The private key needs to be renamed from server.crt to server, key so the service can find it.


B.

The private key does not match the public key, and both keys should be replaced.


C.

The private key is not in the correct location and needs to be moved to the correct directory.


D.

The private key has the incorrect permissions and should be changed to 0755 for the service.


Questions # 2:

Which of the following best describes the role of initrd?

Options:

A.

It is required to connect to the system via SSH.


B.

It contains basic kernel modules and drivers required to start the system.


C.

It contains trusted certificates and secret keys of the system.


D.

It is required to initialize a random device within a Linux system.


Questions # 3:

To perform a live migration, which of the following must match on both host servers? (Choose two)

Options:

A.

USB ports


B.

Network speed


C.

Available swap


D.

CPU architecture


E.

Available memory


F.

Disk storage path


Questions # 4:

Which of the following Ansible components is used to define groups and individual hosts and can include variables specific to each host or group?

Options:

A.

Modules


B.

Inventory


C.

Playbooks


D.

Handlers


Questions # 5:

A user states that an NFS share Is reporting random disconnections. The systems administrator obtains the following information

Question # 5

Which of the following best explains the symptoms that are being reported?

Options:

A.

The mount point is incorrect for the NFS share.


B.

The IP address of the NFS share is incorrect.


C.

The filesystem is nearly full and is reporting errors.


D.

The interface is reporting a high number of errors and dropped packets.


Questions # 6:

A systems administrator needs to integrate a new storage array into the company ' s existing storage pool. The administrator wants to ensure that the server is able to detect the new storage array. Which of the following commands should the administrator use to ensure that the new storage array is presented to the systems?

Options:

A.

lsscsi


B.

lsusb


C.

lsipc


D.

lshw


Questions # 7:

A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?

Options:

A.

tail -f /var/log/apache2/error.log > logfile.txt


B.

tail -f /var/log/apache2/error.log | logfile.txt


C.

tail -f /var/log/apache2/error.log > > logfile.txt


D.

tail -f /var/log/apache2/error.log | tee logfile.txt


Questions # 8:

An administrator wants to see all logs for the app.service systemd process. Which of the following commands should the administrator use to complete this task?

Options:

A.

cat /var/log/messages


B.

systemctl status app.service


C.

systemd-analyze unit-files app.service


D.

journalctl -u app.service


Questions # 9:

An administrator needs to verify the user ID, home directory, and assigned shell for the user named " accounting. " Which of the following commands should the administrator use to retrieve this information?

Options:

A.

getent passwd accounting


B.

id accounting


C.

grep accounting /etc/shadow


D.

who accounting


Questions # 10:

A user reports recurrent issues with an application, which is currently operational. The systems administrator gathers the following outputs to diagnose the issue:

Out of memory: Kill process (mariadb)

Killed process (mariadb)

mariadb invoked oom-killer

egrep ' Out of memory ' /var/log/messages

Multiple entries showing mariadb being killed by OOM killer

free -m

Mem: total 15819, used 10026, free 5174, available 5134

Swap: 0 0 0

sar -r

kbmemused ~67%, no swap usage

Which of the following is a possible cause of this issue?

Options:

A.

A backup is consuming all the system memory.


B.

The system is using all the swap.


C.

The cached memory is approaching the system ' s limits.


D.

The process is showing signs of a memory leak.


Viewing page 1 out of 4 pages
Viewing questions 1-10 out of questions