Leads4pass > CompTIA > CompTIA Certifications > XK0-004 > XK0-004 Online Practice Questions and Answers

XK0-004 Online Practice Questions and Answers

Questions 4

A junior Linux administrator is updating local name resolution to support IPv6. The administrator issues the command cat /etc/hosts and receives the following output:

127.0.0.1 localhost

Which of the following actions should the administrator perform to accomplish this task?

A. Modify the /etc/hosts file, and add the ipv6 localhost entry to the file.

B. Modify the /etc/hosts file, and add the ::1 localhost entry to the file.

C. Modify the /etc/hosts file, and add the ipv4 localhost entry to the file.

D. Modify the /etc/hosts file, and add the 0.0.0.0 localhost entry to the file.

Buy Now
Questions 5

A systems administrator needs to install a new piece of hardware that requires a new driver. The driver should be manually installed. Which of the following describes the order of commands required to obtain module information, install the module, and check the log for any errors during module installation?

A. lsmod, modprobe, modinfo

B. modinfo, insmod, modprobe

C. modinfo, insmod, dmesg

D. lsmod, insmod, dmesg

Buy Now
Questions 6

Which of the following are Linux desktop managers? (Choose two.)

A. KDE

B. GNOME

C. GUI

D. VNC

E. X11

F. SPICE

Buy Now
Questions 7

A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command:

echo 0 > /proc/sys/net/ipv4/ip_default_ttl

Which of the following commands can the technician use to confirm the expected results? (Choose two.)

A. tcpdump

B. traceroute

C. route

D. iperf

E. ip

F. arp

Buy Now
Questions 8

Which of the following commands would a junior systems administrator run to monitor network traffic actively?

A. netstat

B. nmap

C. ping

D. tcpdump

Buy Now
Questions 9

A user tries to log in to the Linux console and receives the following message:

Your account has expired; Please contact your system administrator.

Which of the following commands was MOST likely run to create this behavior?

A. passwd

B. usermod

C. userdel

D. chage

Buy Now
Questions 10

Which of the following server roles utilize a heartbeat/polling process? (Choose two.)

A. Proxy

B. Certificate authority

C. Logging

D. File server

E. Cluster

F. Load balancer

Buy Now
Questions 11

A systems administrator is investigating low performance a server. After executing some diagnostic commands, the administrator analyzes the data: Which of the following is the cause of low performance on the server?

A. Lack of swap space

B. Lack of available memory

C. User processes have taken up all the available CPU time

D. High disk activity

Buy Now
Questions 12

An issue was discovered on a testing branch of a Git repository. A file was inadvertently modified and needs to be reverted to the master branch version. Which of the following is the BEST option to resolve the issue?

A. git branch -b master file

B. git merge master testing

C. git stash branch master

D. git checkout master -- file

Buy Now
Questions 13

The Apache web server was recently installed on a Debian/Ubuntu server. The web server fails and a review of log messages on another partition reveals the installation was not completed properly due to lack of disk space. After clearing the files, the systems administrator has requested the installation to be performed again.

Which of the following command lines will perform this task? (Choose two.)

A. apt-get install apache2

B. apt-get --purge remove acache2

C. apt-get --reinstall install apache2

D. apt-get --reinstall apache2

Buy Now
Exam Code: XK0-004
Exam Name: CompTIA Linux+ Certification
Last Update: Aug 23, 2023
Questions: 516
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99