A junior administrator needs to display information for an RPM package that contains software from an external provider. Which of the following commands will display the package information?
A. rpm -vp package.noarch.rpm
B. rpm -qp package.noarch.rpm
C. rpm -qf package.noarch.rpm
D. rpm -qi package.noarch.rpm
A network administrator installed a web server on a Linux host and added a firewalld command to open port 80/tcp. The web server worked without error until an updated and patched kernel was installed on the system a month later. Now users are unable to access the web server even though the service is running.
Which of the following would fix the issue?
A. Use the firewalld command to open the HTTP application service rather than the port
B. Change the firewalld zone to private and open port tcp/80
C. Issue an additional firewalld command to open up port tcp/443 as well as port tcp/80
D. Use the firewalld command to open tcp/80 both with and without the --permanent switch
Which of the following allows communication over port 3389 to access GUI services?
A. XRDP
B. VNC
C. Xfce
D. KDE
E. X-forwarding
Which of the following are Linux desktop environments? (Choose two.)
A. X11
B. Wayland
C. SPICE
D. VNC
E. MATE
F. KDE
A customer needs to spin-up 20 new VMs on a web cluster.
Which of the following would help the customer use small amounts of storage per VM on a private cloud when creating each new VM in the environment?
A. Snapshots
B. VM templates
C. Thin provisioning
D. Cloned VMs
A user creates a key pair to configure RSA authentication on a Linux server. Which of the following should the user do NEXT?
A. Copy the id_rsa.pub file contents to the server
B. Copy the id_rsa file contents to the server
C. Use ssh-add to install the id_rsa.pub on the client
D. Copy the known_hosts file contents to the client
E. Copy the known_hosts file contents to the server
An administrator finds a text file that is using too much disk space. The administrator runs lsof | grep bigfile.txt and gets the following return:
Which of the following should the administrator do NEXT to prepare to delete the file and free up disk space?
A. pkill app.py
B. logout --force comptia
C. kill -9 7339
D. kill -HUP 12288
After restoring a user's files from backup, a technician begins troubleshooting the following error message:
Which of the following is MOST likely fix this issue?
A. chown user:users /home/user
B. chmod o+rw /etc/ssh/ssh_config
C. chmod u+x /home/john
D. chmod 700 /home/user/.ssh
A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output: According to best practice, which of the following commands should the technician use?
A. setfacl u:user:w /etc/hosts.allow; vi hosts.allow
B. visudo /etc/hosts.allow
C. chgrp user /etc/hosts.allow; vi /etc/hosts.allow
D. sudo vi /etc/hosts.allow /etc/hosts.allow
E. chown user /etc/hosts.allow; vi
A systems administrator wants to change the system locale to test a custom script. Which of the following commands should the administrator execute?
A. export TZ=:/usr/share/zoneinfo/Europe/Paris
B. ln -s /usr/share/zoneinfo/US/Central /etc/localtime
C. export LC_ALL=en_GB.UTF-8
D. TZ=GMT date
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your XK0-004 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.