Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Pass XK0-004 Exam Guide

Page: 15 / 18
Total 483 questions

CompTIA Linux+ Certification Exam Questions and Answers

Question 57

A junior systems administrator is tasked with providing the network_administrators group the ability to

perform sudo without prompting for a password. Which of the following steps should the administrator perform

to accomplish this task? (Choose two.)

Options:

A.

Use visudo to edit the /etc/sudoers file and add network_administrators to the “wheel” group

B.

Use vi to edit the /etc/sudo file and add network_administrators to the “wheel” group

C.

Provide all network_administrators with the “root” account password

D.

Add the network_administrators ALL=(ALL) NOPASSWD: ALL directive to the /etc/sudoers file

E.

Add the network_administrators =(ALL) NOEXEC: ALL directive to the /etc/sudoers file

Question 58

A Linux administrator tried to copy files to a remote server but received an error message indicating a lack of

free space on the disk. The administrator issued a df command and verified adequate free space and inodes

on the filesystem.

Which of the following commands is the BEST way to diagnose the issue?

Options:

A.

cat /proc/meminfo

B.

lsof -nP | grep deleted

C.

find / -type f -size +50M

D.

du -a / | sort -n -r | head -n 30

Question 59

A Linux administrator recently reprovisioned a new corporate web server to replace a legacy one. To minimize

the impact on the company's users, the administrator modified the network and DNS settings of the new server

to be the same as the legacy server.

When attempting to log in to the new server remotely over SSH, the following error message is displayed:

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Which of the following should the administrator do to resolve the issue?

Options:

A.

Restart the network services on both the remote server and the local machine.

B.

Remove the entry for the web server from the known_hosts file on the local machine.

C.

Update the /etc/hosts file on the remote server and local machine.

D.

Add the administrator's public key to the authorized_keys on the remote server.

Question 60

Which of the following is used on the client to boot a Linux system from a TFTP server?

Options:

A.

HTTP

B.

GRUB

C.

EFI

D.

PXE

Page: 15 / 18
Total 483 questions