A systems administrator wants to increase the existing drive space on a Linux server with a software RAID. After physically adding the new drive to the system, and then adding the drive to the RAID array, the administrator notices the available drive space has not increased. A status of the array shows the new drive and the original storage space:
md0 : active Raid sdd1[3]S sdc1[2] sdb1[1] sda1[0] 954585654 blocks level5 64K chunk algorithm 2 [3/3] [UUU]
Which of the following should the administrator do to make all storage space available on the RAID array?
A. Run hdparm to alert the kernel to a new drive.
B. Convert the new drive to a hot spare.
C. Set the RAID type to a RAID 1.
D. Grow the array size to four members.
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
The dracut command is used to:
A. create initial RAMDisk images for preloading modules.
B. compile the Linux kernel images used to boot the OS.
C. create the bootloader executable files.
D. create the Boot Manager configuration files.
tracepath -n 192.168.1.100An administrator completed the configuration of the in-addr.arpa zone files for an organization. Which of the following commands should the administrator use to verify the configuration is working as expected?
A. ping -n 192.168.1.100
B. host in-add.arpa
C. dig -x 192.168.1.100
D. nslookup in-addr.arpa
E. tracepath -n 192.168.1.100
An administrator needs to download a monitoring agent called node_exporter.0.16.0-Linux.amd64 from the internal web page https://company.local/downloads/. The server does not have graphical interface. Which of the following commands will accomplish this task?
A. curl -K https://company.local/downloads/node_exporter.0.16.0-Linux.amd64.tar.gz -o node_exporter.tar.gz
B. curl -k https://company.local/downloads/node_exporter.0.16.0-Linux.amd64.tar.gz -o node_exporter.tar.gz
C. curl --auth https://company.local/downloads/node_exporter.0.16.0-Linux.amd64.tar.gz
D. curl -A https://company.local/downloads/node_exporter.0.16.0-Linux.amd64.tar.gz -o node_exporter.tar.gz
While installing third-party software, a technician wants to monitor logs on the system continuously. Which of the following commands should the technician issue to monitor the logs?
A. cat /var/log/kern.log
B. grep -e /var/log/httpd/access.log
C. head -n /var/log/secure
D. tail -f /var/log/messages
Joe, a user, asks a systems administrator to schedule the daily execution of a custom script. Which of the following commands will allow the systems administrator to set up Joe's cron job?
A. crontab -r -u joe
B. crontab -e -u joe
C. crontab -n -u joe
D. crontab -l -u joe
An administrator is trying to access a server in a cloud via SSH but is unable to log in. The administrator determines the company's IP address has been blocklisted on the server. Which of the following should the administrator do to prevent being blocked in the future?
A. Add the company's TLS certificate to the authorized_keys and known_hosts files.
B. Modify the cloud provider security rules to allow all connectors form the company's IP address.
C. Add the company's IP address from the /etc/hosts.allow.
D. Turn on SELinux and enable the SSH context.
A user tries to log in to the Linux console and receives the following message:
Your account has expired; Please contact your system administrator.
Which of the following commands was MOST likely run to create this behavior?
A. passwd
B. usermod
C. userdel
D. chage
A systems administrator installed Git on a new workstation and wants to ensure all Git projects on this machine are initialized with the same username and email address. Which of the following should the administrator use to meet this goal? (Choose two.)
A. git config --global user.name = “James Doe”
B. echo ‘email.addr = “[email protected]”’ >> .git/.gitconfig
C. echo ‘username’ = “James Doe”’ >> .git/.gitconfig
D. git config username = “James Doe”
E. git config --global user.email = “[email protected]”
F. git config email.addr = [email protected]”
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.