XK0-004 Exam Details

  • Exam Code
    :XK0-004
  • Exam Name
    :CompTIA Linux+ Certification
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :516 Q&As
  • Last Updated
    :Aug 23, 2023

CompTIA XK0-004 Online Questions & Answers

  • Question 351:

    A systems administrator is investigating low performance a server. After executing some diagnostic commands, the administrator analyzes the data: Which of the following is the cause of low performance on the server?

    A. Lack of swap space
    B. Lack of available memory
    C. User processes have taken up all the available CPU time
    D. High disk activity

  • Question 352:

    A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked. Which of the following rules should be added in the firewall to allow this type of connection?

    A. firewall-cmd --zone=public --add-port=443/tcp --permanent
    B. firewall-cmd --zone=internal --add-port=80/tcp --permanent
    C. firewall-cmd --zone=public --add-port=80/tcp --permanent
    D. firewall-cmd --zone=internal --add-port=443/tcp --permanent

  • Question 353:

    A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity. Which of the following can be used to allow the server to connect to the Internet through the systems administrator's desktop?

    A. Local package repository
    B. UUCP
    C. Remote SSH port forwarding
    D. X11 forwarding

  • Question 354:

    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 355:

    An administrator receives the following message on a remote server: Cannot open display. Which of the following should the administrator have used to log in to the server?

    A. xrdp -h server.company.com
    B. ssh -X server.company.com
    C. xvnc server.company.com
    D. rdesktop server.company.com

  • Question 356:

    An administrator needs to look at a log for an application on a systemd-based system. There is no log for this application in /var/log. Which of the following is another way to view the application log on this system?

    A. tail -f /var/log/secure
    B. journalctl -u application
    C. systemctl application.service
    D. watch /var/lib/application/

  • Question 357:

    Joe, a system administrator, realizes that the time zone on a system is different than his local time zone. Joe runs the command export Tz-America .Chicago to resolve this. However the next Joe logs in, Joe notices the issue has returned. Which of the following is the BEST way for Joe to fix this issue so the solution persists across logins?

    A. Run the export Tz=/etc/localtime command
    B. Set the correct the zone with the date command.
    C. Add the export Tz=America/Chicage command to the bash_profile file.
    D. Run the export LC ALL=America/Chicago command

  • Question 358:

    While booting an Intel 64-bit Debian UEFI desktop from power up, the prompt ts0> was displayed, indicating the bootloader failed. Which of the following will complete the boot process to a GRUB2 menu?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 359:

    A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?

    A. echo SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
    B. setenforce 0
    C. sestatus 0
    D. chcon httpd_sys_content_t /var/

  • Question 360:

    A technician wants to create a set of directories named dir9 and change their permissions so only the owner can manage their content. Which of the following scripts will accomplish this task?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

Tips on How to Prepare for the Exams

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.