Try Before You Buy

Download a free sample of any of our exam questions and answers

  • 24/7 customer support, Secure shopping site
  • Free One year updates to match real exam scenarios
  • If you failed your exam after buying our products we will refund the full amount back to you.

[Jan-2022] Verified XK0-004 dumps Q&As - XK0-004 dumps with Correct Answers [Q128-Q145]

Share

[Jan-2022] Verified XK0-004 dumps Q&As - XK0-004 dumps with Correct Answers

The Best Linux+ Study Guide for the XK0-004 Exam


Does This Certificate Open New Career Opportunities?

Yes! The CompTIA Linux+ certification is all you need to fast track your professional growth along the Linux career path. Tons of reputable companies trust the Linux+ certification and certified individuals to manage their services in the modern business landscape. They include the US Department of Defense, Aetna, General Dynamics, and Dell to mention just a few. That being said, a few job titles with the salaries reported from Payscale that will require the Linux+ skills are highlighted below:

  • Network Administrator ($59,974);
  • Web Administrator ($57,340).
  • Linux Administrator ($74,081);
  • Technical Support Specialist ($51,716);
  • Systems Administrator ($62,746);

Security

Security is a critical component of managing Linux services and listed below are some of the objectives you should know to pass XK0-004 test:

  • Configuring and implementing the right authentication and access methods like PAM, and using Linux commands such as TTY, PTY, and SSH.
  • File backup, restoration, and compression.
  • Implementing logging services and various Linux log files;
  • Summarizing the security best practices commonly used within a Linux environment and explaining their peculiarities;
  • Implementing and configuring Linux firewalls with ACL;
  • Applying or acquiring fitting user or group ownership and context-based permissions;

CompTIA XK0-004: Prerequisites

The candidates for the CompTIA XK0-004 exam do not have to fulfill any compulsory requirements. However, it is recommended that they pursue CompTIA A+ and CompTIA Network+ before going for the Linux+ certification and its test. This is necessary to prepare them adequately for the content of this exam. Additionally, the applicants should have at least twelve months of experience as a Linux Administrator.

 

NEW QUESTION 128
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?

  • A. echo "rmmod bluetooth" > /etc/modprobe.d/rmmod-bluetooth
  • B. echo "kill bluetooth" > /etc/modprobe.d/kill-bluetooth
  • C. echo "modprobe bluetooth" > /etc/modprobe.d/modporbe-bluetooth
  • D. echo "blacklist bluetooth" > /etc/modprobe.d/blacklist-bluetooth

Answer: C

 

NEW QUESTION 129
A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23.
The administrator wishes to monitor the connection at five-minute intervals for one hour. Which of the following commands will accomplish this task?

  • A. ping -c 60 -i 100 192.168.1.23
  • B. ping -i 5 192.168.1.23
  • C. ping -c 12 -i 300 192.168.1.23
  • D. ping -c 12 192.168.1.23

Answer: D

Explanation:
Reference:
https://linuxize.com/post/linux-ping-command/

 

NEW QUESTION 130
A junior systems administrator needs to make a packet capture file that will only capture HTTP protocol data to a file called test.pcap.
Which of the following commands would allow the administrator to accomplish this task?

  • A. tcpdump -i eth0 port 80 -r test.pcap
  • B. tshark -r test.pcap -o http
  • C. tcpdump -i eth0 port 80 -w test.pcap
  • D. netcat -p 80 -w test.pcap

Answer: B

Explanation:
Explanation/Reference:

 

NEW QUESTION 131
A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?

  • A. systemctl <service> bootup
  • B. service <service> enable
  • C. crontab install <service>
  • D. chkconfig <service> on

Answer: D

Explanation:
Reference:
https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/

 

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

  • A. SPICE
  • B. KDE
  • C. GNOME
  • D. X11
  • E. VNC
  • F. GUI

Answer: B,C

 

NEW QUESTION 133
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that when the network connection drops, the network restart script will be killed before the new IP address has been set.
Which of the following commands would prevent the script from being killed?
nohup service network restart

  • A. service network restart &
  • B.
  • C. echo "service network restart" | at now
  • D. dg service network restart

Answer: A

 

NEW QUESTION 134
A system administrator has deployed a Linux server based on an Anaconda process with all packages and custom configurations necessary to install a web server role.
Which of the following could be used to install more Linux servers with the same characteristics?

  • A. /root/anaconda-ks.cfg
  • B. /root/anaconda.auto
  • C. /etc/sysconfig/installation.cfg
  • D. /etc/sysconfig/anaconda/cfg

Answer: A

 

NEW QUESTION 135
A Linux administrator needs to prevent the Postfix mail transfer agent from starting on boot.
Which of the following commands will accomplish this task?

  • A. /etc/init.d/postfix stop
  • B. /etc/init.d/postfix disable
  • C. systemctl disable postfix.service
  • D. systemctl stop postfix.service

Answer: A

Explanation:
Reference:
https://www.cyberciti.biz/faq/linux-unix-start-stop-restart-postfix/

 

NEW QUESTION 136
Find the file named core and remove it from the system.
INSTRUCTIONS
Type "help" to display a list of available commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Answer:

Explanation:
Solution as

 

NEW QUESTION 137
A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfig is as follows:

Which of the following commands BEST describes how the administrator should re-enable the network service?

  • A. chkconfig --level 6 network on
  • B. chkconfig --level 12 network on
  • C. chkconfig --level 345 network on
  • D. chkconfig --level 0-6 network on
  • E. chkconfig --level 0 network on

Answer: C

 

NEW QUESTION 138
Which of the following is the template for the grub.cfg file?

  • A. /boot/efi
  • B. /etc/default/grub
  • C. /etc/sysct1.conf
  • D. /etc/grub2.cfg

Answer: B

 

NEW QUESTION 139
A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should the administrator perform FIRST?

  • A. Retrieve the remote changes using 'git commit'
  • B. Clone the remote repository using 'git clone'
  • C. Create a new repository using 'git init'
  • D. Configure the directory for git using 'git config'

Answer: D

 

NEW QUESTION 140
An administrator needs to create a shared directory in which all users are able, write, and execute its content but none of the regular users are able to delete any content.
Which of the following permissions should be applied to this shared directory?

  • A. rwxrwxrwt
  • B. rwxrwxrws
  • C. rwxrwxrwx
  • D. rwxrwxrw*

Answer: C

 

NEW QUESTION 141
A systems administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts and the usernames used.
Which of the following files should be watched by the agents?

  • A. /etc/rsyslog.conf
  • B. /var/log/audit/audit.log
  • C. /var/log/kern.log
  • D. /var/log/monitor

Answer: B

 

NEW QUESTION 142
A systems administrator wants to install a new application that requires the newmod kernel module. Which of the following commands should the systems administrator use?

  • A. modprobe newmod
  • B. lsof newmod
  • C. lsmod newmod
  • D. modinfo newmod

Answer: D

 

NEW QUESTION 143
An operator finds a user is having issues with opening certain files.
Which of the following commands would allow the security administrator to list and check the SELinux context?

  • A. ls -D
  • B. ls -a
  • C. ls -1
  • D. ls -Z

Answer: D

Explanation:
Explanation/Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security- enhanced_linux/sect-security-enhanced_linux-working_with_selinux-selinux_contexts_labeling_files

 

NEW QUESTION 144
A systems administrator is unable to reach other devices on the network and the Internet.
The server is configured with the IP address 192.169.1.50/24 on eth0.
The server's router is 192.168.1.1.
The administrator reviews the output of route -n:

Which of the following commands should the administrator run to correct the issue?

  • A. route host gw 192.168.1.1 eth0
  • B. route add 192.168.1.1 default 192.168.1.50 eth0
  • C. route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
  • D. route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0

Answer: D

 

NEW QUESTION 145
......

XK0-004 certification guide Q&A from Training Expert DumpTorrent: https://www.dumptorrent.com/XK0-004-braindumps-torrent.html

XK0-004 Certification Overview Latest XK0-004 PDF Dumps: https://drive.google.com/open?id=111CW2GCYUIrgp2vD3B_dUfN3kKU-z82G