Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

Note! Following XK0-004 Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is XK0-005

XK0-004 Exam Dumps - CompTIA Linux+ Certification Exam

Go to page:
Question # 17

A Linux administrator execute the following steps in this order:

1. Changes some software code

2. Commits the changes to the Git repository

3. Triggers a job to compile

4. Execute some test scripts

5. Packages the software package

6. Publishes the software packages to a package repository

Which of the following orchestration processes is the administrator using?

A.

Build automation

B.

Deployment automation

C.

Test automation

D.

Infrastructure automation

Full Access
Question # 18

A user submitted a ticket stating that the development environment is reporong the device does not have any space left. The user's application creates a lot of small files and does not remove these files when the application crashes. Given the following output:

Which of the following is the MOST likely cause for the error message indicating a lack of space?

A.

There are no free nodes

B.

SELmux is runrwig

C.

The appfccabon output is too large

D.

Directory permssions are too restrictive

Full Access
Question # 19

A Linux user needs to connect to a remote email server named mail.foo.com through the SMTP port.

Which of the following commands will accomplish this task?

A.

traceroute mail.foo.com 25

B.

netcat mail.foo.com 25

C.

traceroute mail.foo.com 110

D.

netcat mail.foo.com 110

Full Access
Question # 20

A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user’s account?

A.

pam_tally2 --user=user --reset

B.

passwd -u user -G root

C.

usermod -u user -G root

D.

chage -1 user=user --reset

Full Access
Question # 21

An administrator is installing a Linux VM on a personal hypervisor. The administrator wants to have the VM’s IP address on the same network as the hypervisor host so the VM has the same network properties as the physical interface of the host. To which of the following should the administrator set the network properties?

A.

Host-only network

B.

NAT network

C.

Bridge network

D.

Overlay network

Full Access
Question # 22

A junior systems administrator is diagnosing an issue with latency. The administrator issues the command mtr www.comptia.org at a terminal and receives the following output:

Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.)

A.

Host 1 is set to filter ICMP reply packets.

B.

Host 1 is set to filter ICMP echo packets.

C.

Host 2 is experiencing high packet loss, indicating the link is overloaded.

D.

Host 2 is experiencing low bandwidth, indicating the ISP is blocking traffic.

E.

Host 3 is set to filter ICMP reply packets.

F.

Host 3 is set to filter ICMP echo packets.

Full Access
Question # 23

An administrator notices the HISTSIZE variable is 50, using the commands below:

HISTSIZE=50

export HISTSIZE

The administrator rechecks the HISTSIZE value using echo HISTSIZE but gets no value. Which of the

following commands should the administrator use to retrieve its value?

A.

printenv | grep $HISTSIZE

B.

echo HISTSIZE

C.

printf HISTSIZE

D.

grep $HISTSIZE

Full Access
Question # 24

An administrator needs to create a file named hello in the home directory that contains the following text:

it's me!

Which of the following commands would accomplish this goal?

A.

mkdir ~/hello

touch ~/"it's me!"

B.

touch ~/hello

echo "it's me!" > ~/hello

C.

mv ~/hello

cp "it's me!" > ~/hello

D.

type ~/hello

print "it's me!"

Full Access
Go to page: