Proper study guides for Up to the immediate present CompTIA CompTIA Linux+ Certification Exam certified begins with CompTIA XK0-004 preparation products which designed to deliver the Guaranteed XK0-004 questions by making you pass the XK0-004 test at your first time. Try the free XK0-004 demo right now.
Check XK0-004 free dumps before getting the full version:
NEW QUESTION 1
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.

- B.

- C.

- D.

Answer: C
NEW QUESTION 2
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.1.1.1 localhost
Which of the following actions should the administrator perform to accomplish this task?
- A. Modify the /etc/hosts file, and add the ipv6 localhost entry to the file.
- B. Modify the /etc/hosts file, and add the ::1 localhost entry to the file.
- C. Modify the /etc/hosts file, and add the ipv4 localhost entry to the file.
- D. Modify the /etc/hosts file, and add the 0.0.0.0 localhost entry to the file.
Answer: D
NEW QUESTION 3
Which of the following is the purpose of the vmlinux file on a Linux system?
- A. To prevent a Linux kernel panic
- B. To start a Linux virtual machine
- C. To provide the executable kernel for the system
- D. To enable resource access to the network
Answer: C
NEW QUESTION 4
In order to comply with new security policies, an administrator needs to prevent the SSH server from using insecure algorithms.
Which of the following files should be edited to accomplish this?
- A. /etc/ssh/sshd_config
- B. /etc/ssh/ssh_config
- C. ~/.ssh/ssh_config
- D. /etc/ssh/known_hosts
Answer: A
NEW QUESTION 5
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. /etc/sysconfig/anaconda/cfg
- B. /root/anaconda.auto
- C. /root/anaconda-ks.cfg
- D. /etc/sysconfig/installation.cfg
Answer: C
NEW QUESTION 6
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 del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
- B. route add –net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
- C. route add 192.168.1.1 default 192.168.1.50 eth0
- D. route host gw 192.168.1.1 eth0
Answer: B
NEW QUESTION 7
A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys. Which of the following MOST securely achieves this task?
- A. Use curl to copy each user’s public key file to the respective system
- B. Use cp to copy each user’s public key file to the respective system
- C. Use ssh-copy-id to copy each user’s public key file to the respective system
- D. Use ssh-copy-id to copy each user’s private key file to the respective system
Answer: C
NEW QUESTION 8
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?
- A. free, fack, partprobe
- B. lsof, lvcreate, mdadm
- C. df, du, rmmod
- D. fdisk, mkswap, swapon -a
Answer: A
NEW QUESTION 9
A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to check for module problems during server startup?
- A. lsmod
- B. modprobe
- C. modinfo
- D. dmesg
Answer: C
NEW QUESTION 10
A Linux administrator needs to take stock of USB devices attached to the system. Which of the following commands would be BEST to complete this task?
- A. lspci
- B. lsusb
- C. cat /proc/USB
- D. modprobe -–usb
Answer: B
NEW QUESTION 11
A Linux administrator is using a public cloud provider to host servers for a company’s website. Using the
provider’s tools, the administrator wrote a JSON file to define how to deploy the servers. Which of the following techniques did the administrator use?
- A. Infrastructure as code
- B. Build automation
- C. Platform as a service
- D. Automated configuration
Answer: B
NEW QUESTION 12
A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?
- A. lsmod –i bluetooth
- B. insmod bluetooth
- C. modprobe –r bluetooth
- D. depmod –i bluetooth
Answer: C
NEW QUESTION 13
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version control system. A cloned copy of the remote repository in which the server.property file exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit –m “changed the property file” server.property. Which of the following commands did the engineer fail to perform?
- A. git init server.property
- B. git merge server.property
- C. git add server.property
- D. git push server.property
Answer: D
NEW QUESTION 14
An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?
- A. kill -HUP
- B. init 0
- C. service start
- D. renice -10
Answer: A
NEW QUESTION 15
Given the output below:
Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
- A. unlink ./MyPhoto.jpg
- B. del Pictures/photo.jpg
- C. rm –rf ./Pictures
- D. rm –f MyPhoto.jpg
- E. ln –rm ./Pictures/photo.jpg
Answer: E
NEW QUESTION 16
A user attempts to use the mount -a command but gets the following error: mount: mount point /mnt/test does not exist
Which of the following commands best describes the action the Linux administrator should take NEXT?
- A. mount –a /mnt/test
- B. mkdir –p /mnt/test
- C. mdadm –p /mnt/test
- D. mkfs /mnt/test
- E. touch /mnt/test
Answer: B
NEW QUESTION 17
Which of the following are Linux desktop managers? (Choose two.)
- A. KDE
- B. GNOME
- C. GUI
- D. VNC
- E. X11
- F. SPICE
Answer: AB
NEW QUESTION 18
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 19
......
P.S. Easily pass XK0-004 Exam with 267 Q&As Certleader Dumps & pdf Version, Welcome to Download the Newest Certleader XK0-004 Dumps: https://www.certleader.com/XK0-004-dumps.html (267 New Questions)