Vcehome > CompTIA > CompTIA Linux+ > XK0-004 > XK0-004 Online Practice Questions and Answers

XK0-004 Online Practice Questions and Answers

Questions 4

A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?

A. echo "blacklist bluetooth" > /etc/modprobe.d/blacklist-bluetooth

B. echo "kill bluetooth" > /etc/modprobe.d/kill-bluetooth

C. echo "modprobe bluetooth" > /etc/modprobe.d/modporbe-bluetooth

D. echo "rmmod bluetooth" > /etc/modprobe.d/rmmod-bluetooth

Browse 516 Q&As
Questions 5

Which of the following commands would show the default printer on a Linux system?

A. lpr

B. lpq

C. lpstat

D. lspci

Browse 516 Q&As
Questions 6

A Linux administrator is using a public cloud provider to host servers for a company's website. Using the provider's tools, the administrator wrote a JSON file to define how to deploy the servers. Which of the following techniques did the administrator use?

A. Infrastructure as code

B. Build automation

C. Platform as a service

D. Automated configuration

Browse 516 Q&As
Questions 7

An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script's function. Which of the following commands should the administrator use to minimize the script's impact on system resources?

A. renice

B. kill

C. bg

D. nohup

Browse 516 Q&As
Questions 8

An administrator finds a text file that is using too much disk space. The administrator runs lsof | grep bigfile.txt and gets the following return:

Which of the following should the administrator do NEXT to prepare to delete the file and free up disk space?

A. pkill app.py

B. logout --force comptia

C. kill -9 7339

D. kill -HUP 12288

Browse 516 Q&As
Questions 9

A security administrator must use a password and a token to log in to the server. Which of the following processes does this describe?

A. Kerberos authentication

B. RADIUS authentication

C. Biometric authentication

D. Multifactor authentication

E. LDAP authentication

Browse 516 Q&As
Questions 10

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

Browse 516 Q&As
Questions 11

A systems administrator is investigating low performance a server. After executing some diagnostic commands, the administrator analyzes the data: Which of the following is the cause of low performance on the server?

A. Lack of swap space

B. Lack of available memory

C. User processes have taken up all the available CPU time

D. High disk activity

Browse 516 Q&As
Questions 12

A junior Linux administrator is performing version control on a Git repository. The administrator is given a list of tasks to complete:

1.

List the currently installed Git release.

2.

Show the status reporting of the clone.

Which of the following commands would allow the administrator to complete these tasks? (Choose two.)

A. git clone --progress

B. git clone --recursive

C. git --help

D. git clone --dissociate

E. git --version

F. git clone --shared

Browse 516 Q&As
Questions 13

Which of the following servers provides encrypted tunnel SOCKS services?

A. SNMP

B. VPN

C. CA

D. SSH

Browse 516 Q&As
Exam Code: XK0-004
Exam Name: CompTIA Linux+ Certification Exam
Last Update:
Questions: 516 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99