A technician's laptop is configured with wired and wireless interfaces. Both interfaces have obtained the appropriate IP address from the organization's DHCP server.
Which of the following commands is MOST appropriate to remove the IP address from the wireless interface temporarily so network traffic is routed through the wired interface?
A. ip addr wlan0 del default
B. route delete default gw if wlan0
C. netstat -r wlan0
D. dhclient -r wlan0
An administrator wants to be able to access a remote server.
After creating an SSH key pair, which of the following describes where the public key should be placed to allow for key-based authentication?
A. ~/.ssh/authorized_keys
B. ~/.ssh/id_rsa.pub
C. ~/.ssh/known_hosts
D. ~/.ssh/config
An administrator needs to generate a list of services that are listening on TCP and/or UDP ports. Which of the following tools should the administrator use?
A. ethtool
B. route
C. netstat
D. portmap
Joe, a member of the accounting group on a Linux system, is unable to write a file called "taxes" in the accounting shared directory. The ownership and permissions on the directory and file are as follows:
accounting drwxrw-r-- user = ann, group = accounting taxes -rw-r--r-- , user = ann, group = accounting Which of the following commands would allow Joe to write to the file? (Choose two.)
A. chmod g+x accounting
B. chmod 777 taxes
C. chgrp taxes accounting
D. chgrp accounting taxes
E. chmod 774 accounting
F. chmod u+x accounting
Ann, a Linux administrator, wants to edit a configuration management file. When she opens the file to edit, her text editor reports that the file has been opened in read-only mode. She then tries to edit the file as root by elevating via sudo and
is still unable to save any changes. The error message in her text editor says that the read-only option is set on the file. Ann checks the permissions on the file and sees the following:
-rw-rw-r-- 1 root wheel 30 Jun 13 15:38 infrastructure.yml
Which of the following commands is the BEST option to allow her to successfully modify the file?
A. chmod 600 infrastructure.yml
B. chown root: infrastructure.yml
C. chattr -i infrastructure.yml
D. chmod o+w infrastructure.yml
An administrator is logged into a server remotely and wants to determine if the system is a VM. Which of the following commands would assist with this?
A. dmesg
B. ps
C. top
D. vmstat
A systems administrator wants to download a package from a remote server. Which of the following are the BEST commands to use for this task? (Choose two.)
A. curl
B. wget
C. make
D. tar
E. zip
F. nc
A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?
A. nice -n 5 -p 2864
B. nice -n -5 -p 2864
C. renice -n 10 -p 2864
D. renice -n -10 -p 2864
A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for drive replacement and provide total storage of 11TB to 12TB, which of the following would be the correct RAID configuration?
A. RAID 01
B. RAID 03
C. RAID 10
D. RAID 50
An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mount it and receives this error:
Upon checking the logical volume status, the administrator receives this information:
Which of the following can be said about the data logical volume, and how can this problem be resolved?
A. The logical volume is not active. The administrator should make it active with lvchange -ay /dev/ datavg/datalv and then mount it.
B. The logical volume file system has become corrupted. The administrator should repair it with xfs_repair /dev/datavg/datalv and then mount it.
C. The logical volume is OK but the /dev special files are missing. The administrator should recreate them by running /dev/MAKEDEV.
D. The file system is read-only. The administrator should remount it as read-write with the command mount -o remount.rw /data.
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.