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

    Which of the following can be used to check the status of wireless devices that are connected to the system?

    A. lsusb
    B. iwconfig
    C. netstat
    D. ifconfig

  • Question 212:

    A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys. Which of the following MOST securely achieves this task?

    A. Use curl to copy each user's public key file to the respective system
    B. Use cp to copy each user's public key file to the respective system
    C. Use ssh-copy-id to copy each user's public key file to the respective system
    D. Use ssh-copy-id to copy each user's private key file to the respective system

  • Question 213:

    A Linux user needs to connect to a remote email server named mail.foo.com through the SMTP port.

    Which of the following commands will accomplish this task?

    A. traceroute mail.foo.com 25
    B. netcat mail.foo.com 25
    C. traceroute mail.foo.com 110
    D. netcat mail.foo.com 110

  • Question 214:

    A newly installed desktop is unable to connect to networked resources. The systems administrator executes various commands and reviews the following output snippets: Which of the following should the systems administrator try NEXT to restore connectivity?

    A. arp -s 20:ad:1f:ab:10:0f 192.168.1.10
    B. route add -net 192.168.1.0 netmask 255.255.255.0
    C. dig -x @127.0.0.1 192.168.1.10
    D. ip link set wlo1 up
    E. killall -HUP NetworkManager

  • Question 215:

    A Linux administrator needs to implement a secunty policy that prevents all connections from the marketing department that has the IP subnet 10.10.10.0/24 from reaching the current server. Which of the following commands can BEST accomplish this task?

    A. iptables -A output -s 10.10.10.0/24 -j DROP
    B. iptables -A input -s 10.10.10.0/24 -j ACCEFT
    C. iptables -A forward -s 10.10.10.0/24 -j ACCEPT
    D. iptables -A input -s 10.10.10.0/24 -j DROP

  • Question 216:

    A systems administrator is attempting to connect a printer to the network. After installing the printer, the systems admnstrator wants to provide a pnnting interface for network users to detect printers dynamically.

    Which of the following would all...

    A. HBA
    B. CUPS
    C. USB
    D. LPO

  • Question 217:

    An administrator is installing a new kernel but is getting an error indicating the filesystem is out of space. A disk usage check shows / has plenty of space.

    Which of the following BEST represents where the administrator should check next?

    A. /var
    B. /proc
    C. /boot
    D. /etc

  • Question 218:

    A Linux administrator is configuring a web server that connects to an external SQL database. However, after starting the web application, the logs are showing an error message:

    Which of the following is the BEST way to resolve this issue?

    A. echo 0 > seLinux/enforce
    B. restorecon -rv /var/www/ html
    C. sed -1 s/'SELINUX. */SELINUX''permissive// etc/selinux/config
    D. setseboo1 -p http-can-network_connect_db 1

  • Question 219:

    Which of the following can cause a kernel panic message after a system reboot?

    A. Processor failure
    B. PXE boot failure
    C. USB device failure
    D. Drive failure

  • Question 220:

    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

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.