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

CompTIA XK0-006 - CompTIA Linux+ V8 Exam

Page: 4 / 5
Total 149 questions

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

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

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.

Application owners are reporting that their application stops responding after several days of running, and they need to restart it. A Linux administrator obtains the following details from the dmesg command:

invoked oom-killer

Call Trace:

out_of_memory

oom_kill_process

The application owners mentioned that resources to the system have been increased, and the error takes longer to appear. Which of the following best describes the reason the process is being terminated by OOM?

A.

The CPU type is incompatible with the application.

B.

The kernel has panicked.

C.

The application might have a memory leak.

D.

The swap configuration is not correctly sized.

An administrator is trying to terminate a process that is not responding. Which of the following commands should the administrator use in order to force the termination of the process?

A.

kill PID

B.

kill -1 PID

C.

kill -9 PID

D.

kill -15 PID

Which of the following can reduce the attack surface area in relation to Linux hardening?

A.

Customizing the log-in banner

B.

Reducing the number of directories created

C.

Extending the SSH startup timeout period

D.

Enforcing password strength and complexity

A systems administrator wants to review the amount of time the NetworkManager service took to start. Which of the following commands accomplishes this goal?

A.

resolvectl

B.

journalctl

C.

systemctl daemon-reload

D.

systemd-analyze blame

A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following outputs:

Which of the following provides the best resolution to this issue?

A.

Adding a setuid bit to the user in the shared folder

B.

Manually changing the group of the newly created files

C.

Changing all directory contents to be writable and readable for everyone

D.

Adding a setgid bit to the group in the shared folder

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?

A.

getent passwd accounting

B.

id accounting

C.

grep accounting /etc/shadow

D.

who accounting

An administrator updates the network configuration on a server but wants to ensure the change will not cause an outage if something goes wrong. Which of the following commands allows the administrator to accomplish this goal?

A.

netplan try

B.

netplan rebind

C.

netplan ip

D.

netplan apply

An administrator needs to remove the directory /home/user1/data and all of its contents. Which of the following commands should the administrator use?

A.

rmdir -p /home/user1/data

B.

ln -d /home/user1/data

C.

rm -r /home/user1/data

D.

cut -d /home/user1/data

Which of the following describes the method of consolidating system events to a single location?

A.

Log aggregation

B.

Health checks

C.

Webhooks

D.

Threshold monitoring