Verified XK0-004 Dumps Q&As - XK0-004 Test Engine with Correct Answers
Pass Your XK0-004 Dumps as PDF Updated on 2021 With 266 Questions
CompTIA XK0-004: Preparation Options
CompTIA is a popular certification vendor, which means that the candidates can find numerous preparation resources for the XK0-004 certification exam. The official platform has a plethora of training tools to help the learners ace this test at the first attempt. The official materials that are available for your exam preparation are highlighted below:
- Study Guides
To help your self-paced study, you should explore the study guides available for this certification exam. They are available in the eBook and print format on the official website. These resources offer the engaging and highly informative content that focuses on the objectives of the test.
- eLearning
The candidates are not restricted by their location or work schedule when preparing for the certification exam. The eLearning resources from the CompTIA training platform can be accessed from anywhere in the world and at any time. The students can gain mastery of the exam objectives through the use of flashcards and videos. To evaluate their learning progress, these materials also include performance-based practice tests.
- Instructor-Led Training
CompTIA offers some of the best instructor-led training courses that will help you develop skills and competence in the exam topics. You can also explore the ones available in your region delivered by the authorized training partners.
- Virtual Labs
The learners need to develop practical experience because the CompTIA XK0-004 exam contains performance-based questions, which are designed to evaluate the hands-on skills of the applicants. The interactive virtual labs help you train in practical lab environments. Using this official resource, you can virtually work in the role of an Administrator and complete the tasks that will prepare you for the test as well as the real-world work environment.
How much XK0-004 Exam Cost
The price of the XK0-004 exam is $319 USD.
NEW QUESTION 127
Given the output below:
[root@appserver ~]# rm config.txt
rm: remove regular file 'config.txt'? yes
rm: cannot remove 'config.txt': Operation not permitted
Which of the following might be the cause?
- A. The file config.txthas an ACL that does not permit deletion by others.
- B. The file config.txthas the immutable attribute set.
- C. The file config.txtdoes not have the user write bit set.
- D. The file config.txtdoes not exist.
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 128
Which of the following would allow remote users to access a corporate server? (Choose two.)
- A. SMTP server
- B. VPN server
- C. NTP server
- D. File server
- E. SSH server
- F. DHCP server
Answer: B,E
NEW QUESTION 129
Which of the following is a difference between YAML and JSON?
- A. JSON is used in web development, while YAML is used solely in back-end systems.
- B. YAML has been deprecated for JSON.
- C. JSON only curly brackets, while YAML only uses square brackets
- D. Users can comment in YAML but not in JSON
Answer: D
Explanation:
Explanation/Reference: https://www.json2yaml.com/yaml-vs-json
NEW QUESTION 130
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP.
Which of the following commands should the administrator execute?
- A. ping -c 10 host1
- B. netstat host1
- C. traceroute -c 10 host1
- D. pathping -c 10 host1
Answer: A
Explanation:
Explanation/Reference: https://shapeshed.com/unix-ping/
NEW QUESTION 131
Which of the following configuration files should be modified to disable Ctrl+Alt+Del in Linux?
- A. /etc/securetty
- B. /etc/security/limits.conf
- C. ~/.bash_profile
- D. /etc/inittab
Answer: D
Explanation:
Explanation/Reference: https://www.linuxtechi.com/disable-reboot-using-ctrl-alt-del-keys/
NEW QUESTION 132
A user needs to modify the IP address of a laptop. Which of the following files can be used to configure the network interface named eth0?
- A. /etc/interfaces/eth0.conf
- B. /system/config/interfaces
- C. /system/networking/ifconfig
- D. /etc/sysconfig/network-scripts/ifcfg-eth0
- E. /etc/sysconfig/network/interfaces.cnf
Answer: D
NEW QUESTION 133
A storage administrator in a virtualized environment has been told by a user that there is no space left on the volume to which the user can write. However, a check reveals that there is 20GB of unused space. Which of the following explains the discrepancy?
- A. The drive is not formatted
- B. The drive is thick provision eager zeroed
- C. The drive space is overallocated
- D. The drive is thin provisioned
Answer: D
NEW QUESTION 134
A Linux administrator implemented a new HTTP server using the default configuration. None of the users on the network can access the server. If there is no problem on the network or with the users' workstations, which of the following steps will BEST analyze and resolve the issue?
- A. Run route to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
- B. Run netcat to ensure the port is correctly bound, and configure a static route to the web to allow access on ports 80 and 443
- C. Run route to ensure the port is correctly bound, and configure SELinux to allow access on ports 80 and
443 - D. Run netstat to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
Answer: B
NEW QUESTION 135
A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.
Which of the following commands would BEST accomplish this task?
- A. host
- B. ip
- C. netstat
- D. nslookup
- E. route
Answer: C
Explanation:
Explanation/Reference: https://www.tecmint.com/find-listening-ports-linux/
NEW QUESTION 136
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df -m command, the administrator notes there is still 50% of usage left. Which of the following is the NEXT step the administrator should take to analyze the issue without losing data?
- A. Run the df -B command and notice the block size
- B. Run the df -h command and notice the space exhaustion
- C. Run the df -k command and notice the storage exhaustion
- D. Run the df -i command and notice the inode exhaustion
Answer: D
NEW QUESTION 137
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 "kill bluetooth" > /etc/modprobe.d/kill-bluetooth
- B. echo "rmmod bluetooth" > /etc/modprobe.d/rmmod-bluetooth
- C. echo "blacklist bluetooth" > /etc/modprobe.d/blacklist-bluetooth
- D. echo "modprobe bluetooth" > /etc/modprobe.d/modporbe-bluetooth
Answer: D
NEW QUESTION 138
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 ::1 localhost entry to the file.
- B. Modify the /etc/hosts file, and add the 0.0.0.0 localhost entry to the file.
- C. Modify the /etc/hosts file, and add the ipv6 localhost entry to the file.
- D. Modify the /etc/hosts file, and add the ipv4 localhost entry to the file.
Answer: B
NEW QUESTION 139
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to prevent the service from being started?
- A. systemctl disable httpd && systemctl mask httpd
- B. systemctl disable httpd && systemctl hide httpd
- C. systemctl stop httpd && systemctl hide httpd
- D. systemctl stop httpd && systemctl mask httpd
Answer: D
Explanation:
Explanation
NEW QUESTION 140
A Linux administrator is adding a static IP address to a network interface on a Linux system. The administrator modifies the ifcfg- eth0 configuration file with the following settings:
After the administrator restarts the Linux server, the system is not connected to the network. Which of the following configuration settings needs to be changed?
- A. Set NETMASK to 255.255.0.0 and ONBOOT to yes.
- B. Set USERCTL to yes and ONBOOT to no.
- C. Set BOOTPROTO to BOOTP and USERCTL to yes.
- D. Set BOOTPROTO to NONE and ONBOOT to yes.
Answer: A
Explanation:
Reference:
https://www.tecmint.com/set-add-static-ip-address-in-linux/
NEW QUESTION 141
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 -eo pid,etime,cmd | grep bash (to obtain PID)
kill -9 PID - B. killall -15 -o bash
- C. ps -eo pid,etime| grep bash (to obtain PID)
killall -9 PID - D. ps axjf | grep bash to obtain PID
kill -9 PID
Answer: B
NEW QUESTION 142
The following represents a partial listing of a user's .bashrc file:
HISTSIZE=800
HISTFILESIZE=1000
umask 2002
HISTCONTROL=ignoreboth
When the user opens a terminal, an error message appears:
Octal number out of range
Which of the following lines in the partial .bashrc should be modified to prevent the error from occurring?
- A. HISTSIZE=800
- B. umask 2002
- C. HISTFILESIZE=1000
- D. HISTCONTROL=ignoreboth
Answer: B
Explanation:
Explanation
NEW QUESTION 143
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled.
Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?
- A. modinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- B. depmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- C. rmmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
- D. insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
Answer: D
Explanation:
Reference:
https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/
NEW QUESTION 144
Which of the following BEST describes containers running on a Linux system?
- A. Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware resources to each of those isolated processes.
- B. Containers need a hypervisor to run on a Linux system. Cgroups namespaces are functionalities used for the kernel but not for running containers.
- C. Containers only need the cgroups functionality for running on a Linux system. Namespaces is not a Linux kernel functionality needed for creating and managing containers.
- D. Containers only need the namespaces functionality to run on a Linux system available since kernel 2.6.
Answer: A
Explanation:
Explanation/Reference: https://www.linuxjournal.com/content/everything-you-need-know-about-linux-containers-part-ii- working-linux-containers-lxc
NEW QUESTION 145
Which of the following BEST describes running on a Linux system?
- A. Containers only need the namespaces functionally to run on a Linux system available since kernel 2.6.
- B. Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware resources to each of those isolated processes.
- C. Containers only need the cgroups functionality for running on a Linux system. Namespaces is not a Linux kernel functionality needed for creating and managing containers.
- D. Containers need a hypervisor to run a Linux system. Cgroups namespaces are functionalities used for the kernel but not for running containers.
Answer: B
NEW QUESTION 146
Which of the following commands would show the default printer on a Linux system?
- A. lpq
- B. lpr
- C. lpstat
- D. lspci
Answer: A
NEW QUESTION 147
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?
- A. Add the content of id_rsafile to the remote system ~/.ssh/authorized_keyslocation.
- B. Add the content of id_rsa.pubfile to the remote system ~/.ssh/known_hostslocation.
- C. Add the content of id_rsa.pubfile to the remote system ~/.ssh/authorized_keyslocation.
- D. Add the content of id_rsafile to the remote system ~/.ssh/known_hostslocation.
Answer: C
Explanation:
Explanation/Reference: https://kb.iu.edu/d/aews
NEW QUESTION 148
......
What is the duration of the XK0-004 Exam
- Length of Examination: 90 minutes
- Passing score: 720
- Format: Multiple choices, multiple answers
- Number of Questions: 90
Pass CompTIA XK0-004 Exam Info and Free Practice Test: https://www.actual4cert.com/XK0-004-real-questions.html
CompTIA XK0-004 Real Exam Questions and Answers FREE: https://drive.google.com/open?id=10YVTdWqX5u02TOMuZ_NAmCG5TNpLBkdV