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

    A Linux administrator is configuring a server to log security events for the ping command while allowing the request to occur. The Linux server is using AppArmor to manage its security services. Which of the following commands is the BEST option?

    A. aa-complain /bin/ping
    B. aa-disable /bin/ping
    C. aa-unconfined /bin/ping
    D. aa-enforce /bin/ping

  • Question 272:

    Which of the following is commonly implemented in external devices to provide unique event-based two- factor authentication credentials when a system is already implementing username and password authentication?

    A. TACACS+
    B. HOTP
    C. Biometrics
    D. LDAP
    E. PIN

  • Question 273:

    Ann, a Linux administrator, is storing scripts in a private Git repository. Which of the following commands should Ann use to avoid entering the login and password every time Ann commits change?

    A. Git init shared-true
    B. Echo authe n tapprove `'>> .git/config
    C. Git credential approve
    D. Git config credential.help cache

  • Question 274:

    A developer reports a web sever is unable to connect to the database server. The developer reviews the following output from each server:

    Web server output:

    Database server output:

    Which of the following will resolve the issue?

    A. Start the database on the web server and enable it to survive reboot
    B. Add a staoc route between the two networks
    C. Remove the drcp command on the database firewall
    D. Enable the network interfaces on the database server

  • Question 275:

    In which of the following Linux GUI environments would the Konsole application MOST likely be found?

    A. Gnome
    B. KDE
    C. Cinnamon
    D. Unity
    E. MATE

  • Question 276:

    A Linux administrator has configured a local named caching server to reduce the amount of time to resolve common DNS addresses. The server resolves using the external server, however; the administrator wants to avoid this configuration. The administrator verifies the named, conf settings to confirm the following relevant settings:

    The administrator then runs dig twice to look up an external address and receives the following relevant output the second time.

    Which of the following should the administrator do to correct the configuration?

    A. Modify /etc/resolve.config and set nameserver to 127.0.0.1
    B. Add 1270.0.1 to the forwards in the named confi file.
    C. Alias the dig commands to use nslookup instead.
    D. Configure the name service in system to be masked

  • Question 277:

    A Linux administrator wants to verify the default email address for all Git commits. Which of the following commands is the BEST to use to retneve the email address setting?

    A. $ gic config user.email
    B. $ git fetch user, email
    C. $ git init --list
    D. $ git log user.email

  • Question 278:

    A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the following tasks to be completed:

    1.

    Display currently installed module version.

    2.

    Display which modules loaded at startup.

    Which of the following commands would be used to accomplish these tasks? (Choose two.)

    A. cat /etc/issue
    B. insmod
    C. lsmod
    D. rmmod
    E. depmod
    F. dmesg

  • Question 279:

    Some Bash scripts arc being versioned and stored in a Git repository.

    Which of the following commands should the Linux administrator use to exclude tmp Wes from being added to the repository during any code adds and commits?

    A. export GIT_IGNORE=,tmp
    B. alias git=git commit --ignore=, tmp
    C. echo .gitignore >> * tmp
    D. git config -- blacklist = tmp

  • Question 280:

    An administrator needs to set the time of a VM that has no network connectivity to an NTP server. The VM's host, however, is synchronized with NTP. Which of the following allows the administrator to synchronize the time of the VM with the host?

    A. time
    B. date
    C. hwclock
    D. ntpdate

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.