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

    An administrator receives a USB drive and wants to make an exact copy of the disk before starting to work on it. One of the partitions on the USB drive was mounted as /dev/sdc1. Which of the following commands should the administrator use?

    A. dd if=/dev/sdc of=~/usb_copy.img bs=512
    B. dd if=/dev/sdc1 of=~/usb_copy.img count=1024
    C. dd if=/dev/sdc1 of=~/usb_copy.img bs=1024
    D. dd of=/dev/sdc if=~/usb_copy.img bs=1M

  • Question 152:

    A user wants to list the lines of a log, adding a correlative number at the beginning of each line separated by a set of dashes from the actual message. Which of the following scripts will complete this task?

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

  • Question 153:

    A Linux user uses a VPN to securely access the company's systems from a laptop.

    Which of the following protocols are MOST likely used to secure the VPN connection? (Choose two.)

    A. IPSec
    B. HTTP
    C. SFTP
    D. VNC
    E. SSL/TLS
    F. SELinux

  • Question 154:

    Which of the following should the systems administrator use to ensure the test account is disabled after 24 hours if the account's password has expired?

    A. passwd -1 test --t 24
    B. passwd -i 1 test
    C. passwd -e test 24
    D. passwd -d -l --n 1 test

  • Question 155:

    Which of the following is the BEST reason for not storing database files in the /var directory?

    A. The /var filesystem is not fast enough for database files.
    B. The number of files in /var is limited by the available inodes.
    C. Files in /var do not have strict file permissions.
    D. If log files fill up /var, it might corrupt the database.

  • Question 156:

    A systems administrator is installing an HTTPD server on a Linux server and configuring it as a proxy server. The administrator runs the following commands to verify that the service is running:

    However, the administrator is getting a 503 error when browsing to portal . company. internal. After reviewing the logs, the following error information is discovered:

    Which Of the following commands BEST resolves the issue?

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

  • Question 157:

    A customer needs to spin-up 20 new VMs on a web cluster.

    Which of the following would help the customer use small amounts of storage per VM on a private cloud when creating each new VM in the environment?

    A. Snapshots
    B. VM templates
    C. Thin provisioning
    D. Cloned VMs

  • Question 158:

    An administrator needs to change the DNS domain search order of a single Linux host to localize it better. Which of the following files should the administrator edit?

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

  • Question 159:

    A systems administrator scheduled a new kernel module to replace an existing module while the system is running. Which of the ktoung wi accompfctfi ths task?

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

  • Question 160:

    A systems administrator is attempting to access a server by SSH. The Linux administrator ensures that the SSH keys on the remote server were unable to connect. The following error message is being displayed:

    Which of the following needs to be changed on order for the administrator to access the server via SSH?

    A. Password
    B. SSL
    C. SELinux
    D. OpenSSH

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.