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

    A user does not want Bluetooth to start up every tme the system starts. Which of the following commands should the user execute to accomplish this task?

    A. Systemctl disabled Bluetooth.service
    B. Systemctl disable Bluetooth. Service
    C. System stop Bluetooth.service
    D. System stopped Bluetooth.service

  • Question 102:

    A systems administrator observes high latency values when reaching a remote web server. Which of the following commands will help determine and isolate issues on the network side?

    A. mtr
    B. dig
    C. netstat
    D. route

  • Question 103:

    A Linux administrator built a GitLab server. Later that day, a software engineer tried to access the server to upload the repository during the final step of installation. The software engineer could not access the website. Which of the following firewall rules would allow access to this site?

    A. iptables -A INPUT -p tcp -m multiport --dports 80,443 -m conntrack -cstate NEW, ESTABLISHED -j ACCEPT
    B. iptables -A INPUT -p tcp -m multiport --dports 80,443 -m conntrack -cstate ESTABLISHED -j ACCEPT
    C. iptables -A INPUT -p tcp -m multiport --dports 80,443 -m conntrack -cstate RELATED, ESTABLISHED -j ACCEPT
    D. iptables -A INPUT -p tcp -m multiport --dports 80,443 -m conntrack -cstate NEW, ESTABLISHED -j REJECT

  • Question 104:

    A Linux administrator has downloaded the network-tools-12.1-17.i386.rpm package for installation to a local system. The administrator issues the rpm -ivh nerwork-cools-12.1-17.i386.rpm command to install the package. After attempting to use the newly installed package, the administrator realizes the package for the system's architecture was not installed correctly.

    Which of the following commands should the administrator use to remove the package from the system?

    A. rpm -e network-tools
    B. rpm -U network-tools-12.1-17.i386.rpm
    C. rpm -ivh network-tools-12.1-17.i686.rpm
    D. rpm -r network-tools

  • Question 105:

    Which of the following BEST describes build automation?

    A. Automating the creation of software and related processes
    B. Automatically categorizing servers in the infrastructure
    C. Managing and provisioning servers via automatic templates
    D. Bringing systems in line with the desired automated configuration

  • Question 106:

    Which of the following files would a junior systems administrator check to verify DNS server settings?

    A. /etc/network
    B. /etc/resolv.conf
    C. /etc/nsswitch.conf
    D. /etc/hosts

  • Question 107:

    A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the "dba" group and preserve existing group memberships?

    A. usermod -a -G dba jsmith
    B. usermod -g dba jsmith
    C. useradd -g dba jsmith
    D. groupmod dba -u jsmith

  • Question 108:

    A technician suspects a company's border firewall is down, thus blocking Internet access. The technician executes the following commands:

    #ping -c 1 firewall.company.com 64 bytes from firewall.company.com (192.168.1.1): icmp_seq=1 ttl=64 time=0.061ms #ping -c 16 www.comptia.com 16 packets transmitted, 0 received, 100% packet loss, time 14999ms

    Which of the following commands should the technician use to BEST determine the source of this outage?

    A. tcpdump
    B. nmap
    C. dig
    D. traceroute

  • Question 109:

    A Linux administrator needs to run a command in the background of a terminal, Which of the following commands will BEST accomplish this task?

    A. ./run_application $$ bg
    B. ./run_application +$
    C. ./run_application
    D. ./run_application $

  • Question 110:

    A junior systems administrator is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements:

    1.

    View current settings of the LC_ALL environment variable only.

    2.

    Modify the LANG environment variable to US English Unicode.

    Given this scenario, which of the following should be performed to meet these requirements? (Choose two.)

    A. echo $LC_ALL
    B. locale
    C. cat $LC_ALL
    D. export LANG = en_US.UTF-8
    E. export $LANG = en_US.UTF
    F. stty

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.