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

Exact2Pass Menu

CompTIA Linux+ V8 Exam

Last Update 10 hours ago Total Questions : 149

The CompTIA Linux+ V8 Exam content is now fully updated, with all current exam questions added 10 hours ago. Deciding to include XK0-006 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our XK0-006 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these XK0-006 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any CompTIA Linux+ V8 Exam practice test comfortably within the allotted time.

Question # 21

Which of the following is a reason multiple password changes on the same day are not allowed?

A.

To avoid brute-forced password attacks by making them too long to perform

B.

To increase password complexity and the system ' s security

C.

To stop users from circulating through the password history to return to the originally used password

D.

To enforce using multifactor authentication with stronger encryption algorithms instead of passwords

Question # 22

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?

A.

lsscsi

B.

lsusb

C.

lsipc

D.

lshw

Question # 23

A systems administrator is restoring data from a backup. While analyzing the file format, the administrator sees the following output:

data: 7-zip archive data, version 0.4

Which of the following commands should the administrator use to help extract the data?

A.

7za e data

B.

tar x --lzip --format=v7 data

C.

unzip -p 7 data

D.

zcat -S 7 data

Question # 24

Which of the following best describes journald?

A.

A system service that collects and stores logging data

B.

A feature that creates crash dumps in case of kernel failure

C.

A service responsible for keeping the filesystem journal

D.

A service responsible for writing audit records to a disk

Question # 25

Which of the following Ansible components contains a list of hosts and host groups?

A.

Fact

B.

Inventory

C.

Playbook

D.

Collection

Question # 26

A systems administrator needs to check access to all company servers. The administrator uses the following script, which does not complete:

for i in $(cat /home/user1.file)

do

echo $i

ssh $i uptime

Which of the following is missing from the script?

A.

fi

B.

else

C.

while

D.

done

Question # 27

A Linux administrator needs to change the server name to comptia1. Which of the following commands should the administrator use?

A.

export HOSTNAME=comptia1

B.

echo " comptia1 " > > /etc/resolv.conf

C.

hostnamectl set-hostname comptia1

D.

systemctl daemon-reload -H comptia1

Question # 28

A Linux administrator updates the DNS record for the company using:

cat /etc/bind/db.abc.com

The revised partial zone file is as follows:

ns1 IN A 192.168.40.251

ns2 IN A 192.168.40.252

www IN A 192.168.30.30

When the administrator attempts to resolve www.abc.com to its IP address, the domain name still points to its old IP mapping:

nslookup www.abc.com

Server: 192.168.40.251

Address: 192.168.40.251#53

Non-authoritative answer:

Name: www.abc.com

Address: 199.168.20.81

Which of the following should the administrator execute to retrieve the updated IP mapping?

A.

systemd-resolve query www.abc.com

B.

systemd-resolve status

C.

service nslcd reload

D.

resolvectl flush-caches

Question # 29

Which of the following commands should an administrator use to see a full hardware inventory of a Linux system?

A.

dmidecode

B.

lsmod

C.

dmesg

D.

lscpu

Question # 30

Users report that a Linux system is unresponsive and simple commands take too long to complete. The Linux administrator logs in to the system and sees the following: Output 1:

10:06:29 up 235 day, 19:23, 2 users, load average: 8.71, 8.24, 7.71

Which of the following is the system experiencing?

A.

High latency

B.

High uptime

C.

High CPU load

D.

High I/O wait times

Go to page: