Logo

Win IT Exam with Last Dumps 2023


CompTIA XK0-004 Exam

Page 5/18
Viewing Questions 41 50 out of 180 Questions
27.78%

Question 41
A systems administrator has finished building a new feature for the monitoring software in a separate Git branch.
Which of the following is the BEST method for adding the new feature to the software's master branch?
A. Merge the changes from the feature branch to the master branch.
B. Save the changes to the master branch automatically with each Git commit.
C. Clone the feature branch into the master branch.
D. Pull the changes from the feature branch into the master branch.

Question 42
Which of the following will provide a list of all flash, external, internal, and SSD drives?
A. lspci
B. lsmod
C. lsblk
D. lsusb

Question 43
Which of the following configuration management tools is considered agentless?
A. Puppet
B. Salt
C. Ansible
D. Chef

Question 44
An administrator reviews the following configuration file provided by a DevOps engineer:
Which of the following would the application parsing this file MOST likely have to support?
Image XK0-004_44Q.png related to the CompTIA XK0-004 Exam
A. YAML
B. AJAX
C. JSON
D. SOAP

Question 45
Which of the following is a difference between YAML and JSON?
A. Users can comment in YAML but not in JSON
B. JSON only uses curly brackets, while YAML only uses square brackets
C. JSON is used in web development, while YAML is used solely in back-end systems.
D. YAML has been deprecated for JSON.

Question 46
A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is available. Space has been allocated for a swap file.
Which of the following should the administrator use to reduce the output of memory messages?
A. free : swapoff / swapfile ; swapon -a
B. mkswap /swapfile; swapon -a
C. fallocate -l 2G /swapfile && swapon -a
D. echo "1" > /proc/meninfo ; swapon / swapfile

Question 47
A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output:
Given this scenario, which of the following steps will address this issue?
Image XK0-004_47Q.png related to the CompTIA XK0-004 Exam
A. Issue the command renice -n 0 -p 8481
B. Issue the command renice -p 8481
C. Issue the command renice -p 0 -n 8481
D. Issue the command renice -n 8481

Question 48
An administrator needs to mount the shared NFS file system testhost:
/testvolume to mount point /mnt/testvol and make the mount persistent after reboot.
Which of the following BEST demonstrates the commands necessary to accomplish this task?
A.
Image XK0-004_48QA.png related to the CompTIA XK0-004 Exam
B.
Image XK0-004_48QB.png related to the CompTIA XK0-004 Exam
C.
Image XK0-004_48QC.png related to the CompTIA XK0-004 Exam
D.
Image XK0-004_48QD.png related to the CompTIA XK0-004 Exam

Question 49
A systems 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. /etc/sysconfig/anaconda.cfg
B. /root/anaconda.auto
C. /root/anaconda-ks.cfg
D. /etc/sysconfig/installation.cfg

Question 50
A Linux administrator 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