Welcome to KillTest.com

TOP Exams

Want to practice some free CompTIA XK0-004 exam questions? You can study the following CompTIA XK0-004 exam online questions. Killtest provides 476 Q&As for CompTIA XK0-004 exam, which has been proven effective in the XK0-004 exam preparation. Besides, you can get full payment fee refund if you fail XK0-004 exam by using Killtest XK0-004 practice exam questions. Ready? Go!

 Get XK0-004 with 476 Q&As

CompTIA XK0-004 Online Practice Exam Questions

The questions of XK0-004 were last updated on Apr 15,2024 .

Viewing page 1 out of 17 pages.

Viewing questions 1 out of 85 questions

Question#1

A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate.
The administrator uses the command renice -n -5 -p2864, but it does not solve the issue.
Which of the following commands should the administrator execute to correct the issue?

A. nice -n 5 -p 2864
B. nice -n -5 -p 2864
C. renice -n 10 -p 2864
D. renice -n -10 -p 2864

Question#2

An administrator needs to kill the oldest Bash shell running in the system.
Which of the following commands should be issued to accomplish this task?

A. ps axjf | grep bash to obtain PID kill -9 PID
B. ps Ceo pid,etime,cmd | grep bash (to obtain PID) kill -9 PID
C. ps Ceo pid,etime| grep bash (to obtain PID) killall -9 PID
D. killall -15 -o bash

Explanation:
Reference: https://phoenixnap.com/kb/how-to-kill-a-process-in-linux

Question#3

A Linux administration is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces.
Which of the following commands enables this feature for IPv4 networks?

A. cat /proc/sys/net/ipv4/ip_route > 1
B. echo “1” > /proc/sys/net/ipv4/ip_forward
C. echo “1” > /proc/sys/net/ipv4/ip_route
D. echo “1” > /proc/sys/net/ipv4/ip_net

Question#4

A Linux administrator is restoring the SELinux contexts on an entire system.
Which of the following commands is the BEST option to complete this task?

A. setenforce 0 && reboot
B. setfacl CbR / && reboot
C. touch /.autorelabel && reboot
D. restorecon / && reboot

Explanation:
Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/
selinux_users_and_administrators_guide/sect-security-enhanced_linux-working_with_selinuxselinux_contexts_labeling_files

Question#5

A user wants to configure the application “myapp” to start on runlevels 2, 3, 4, and 5 every time the system starts.
Which of the following commands will accomplish this task?

A. chkconfig --level 2345 myapp on
B. systemctl myapp on 2345
C. chkcinfig myapp --levels 2-5
D. systemctl --levels 2345 on

Exam Code: XK0-004
Q & A: 476 Q&As
Updated:  Apr 15,2024

 Get XK0-004 Full Version

KILLTEST CONTACT INFO

[email protected]

GMT+8: Mon-Sat 8:00-18:00

GMT: Mon-Sat 0:00-10:00