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

    An administrator schedules downtime on a system to find out why it takes so long to boot. Which of the following commands will help the administrator determine the issue with this system?

    A. systemd-analyze blame
    B. syated-analyze time
    C. systemct1 status unit-files
    D. systemct1 mask start

  • Question 382:

    A Linux administrator is creating a new local Linux user account for a web application The account has the following requirements:

    Use/var/www as the home directory Have the service_accounts group as its pnmary group Have the www user group as a secondary group Disable the account when the password expires

    Which of the following BEST meets these requirements?

    A. useradd -D/var/www/-g service_accounts -G www -c 0
    B. useradd -d/var/www/-g service_accounts -f www -g 0
    C. useradd -D/var/www/-g service_accounts -g www -c 0
    D. useradd -d/var/www/-g service_accounts -G www -f 0

  • Question 383:

    A Linux administrator execute the following steps in this order:

    1.

    Changes some software code

    2.

    Commits the changes to the Git repository

    3.

    Triggers a job to compile

    4.

    Execute some test scripts

    5.

    Packages the software package

    6.

    Publishes the software packages to a package repository

    Which of the following orchestration processes is the administrator using?

    A. Build automation
    B. Deployment automation
    C. Test automation
    D. Infrastructure automation

  • Question 384:

    A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server?

    A. Certificate authority
    B. Clustering
    C. Database
    D. Authentication

  • Question 385:

    A Linux administrator needs to ensure a service no longer starts when a system running SysVinit is booted. Which of the following commands should the administrator use?

    A. systemctl disable application
    B. chkconfig application off
    C. echo "manual" > /etc/ init/ application/override
    D. service application Stop

  • Question 386:

    An administrator needs to create a shared directory in which all users are able to read, 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*

  • Question 387:

    Which of the following is true about Type 2 hypervisors?

    A. Type 2 hypervisors run on top of another general purpose OS.
    B. Type 2 hypervisors are often called bare-metal or native hypervisors.
    C. Type 2 hypervisors offer a performance increase to the guests in comparison to a Type 1 hypervisor.
    D. Only Type 2 hypervisors allow direct access to CPU virtualization features.

  • Question 388:

    A security team informs the Linux administrator that a specific server is acting as an open relay. To which of the following is the security team referring?

    A. The server is running the SSH service and is open to the Internet, allowing outside sources to log into the server without source IP address filtering.
    B. The server is acting as an unmanaged router, open to the Internet, and is allowing outside Internet traffic into the network with no filtering.
    C. The server is acting as a web proxy and allowing outside unauthenticated sources to connect to the server, effectively hiding the source's IP address for malicious activities.
    D. The server has an email service configured to allow outside sources to send email to other external parties on the Internet without validation.

  • Question 389:

    An issue was discovered on a testing branch of a Git repository. A file was inadvertently modified and needs to be reverted to the master branch version. Which of the following is the BEST option to resolve the issue?

    A. git branch -b master file
    B. git merge master testing
    C. git stash branch master
    D. git checkout master -- file

  • Question 390:

    A new web server was recenly installed and configured according to vendor.......... management via SSH has shown slow screen responses. The systems administrator..

    An administrator is setting up a script named script,sh to be executed daily at 3:15 a.m.

    Which of the following is the correct way to define this in crontab?

    A. * * * 15 3 script,sh
    B. 3 15 * * * script,sh
    C. * * * 3 15 script,sh
    D. 15 3 * * * script,sh

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.