Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the CompTIA Linux+ XK0-006 Questions and answers with CertsForce

Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions
Questions # 1:

(Partial question reconstructed from visible content)

Options:

A.

(not visible)


B.

(not visible)


C.

pam.conf


D.

smb.conf


Expert Solution
Questions # 2:

A Linux administrator wants to add a user to the Docker group without changing the user’s primary group. Which of the following commands should the administrator use to complete this task?

Options:

A.

sudo groupmod docker user


B.

sudo usermod -g docker user


C.

sudo usermod -aG docker user


D.

sudo groupmod -G docker user


Expert Solution
Questions # 3:

Which of the following commands should a Linux administrator use to determine the version of a kernel module?

Options:

A.

modprobe bluetooth


B.

lsmod bluetooth


C.

depmod bluetooth


D.

modinfo bluetooth


Expert Solution
Questions # 4:

An administrator is investigating the reason a Linux workstation is not resolving the website http://www.comptia.org. The administrator executes some commands and receives the following output:

Question # 4

Which of the following is the most likely cause?

Options:

A.

The static entry needs to be removed from /etc/hosts.


B.

The remote website does not support IPv6, and the workstation requires it.


C.

The firewall needs to be modified to allow outbound HTTP and HTTPS.


D.

The nameserver in /etc/resolv.conf needs to be updated to 8.8.8.8


Expert Solution
Questions # 5:

Due to application compatibility issues, the Python 3 OpenSSL library should not be upgraded. Which of the following commands should the systems administrator use to ensure the package stays at the current version?

Options:

A.

dpkg --hold python3-openssl


B.

apt set-selections python3-openssl


C.

apt-mark hold python3-openssl


D.

echo " python3-openssl hold " | apt set-selections


Expert Solution
Questions # 6:

Joe, a user, has taken a position previously held by Ann. As a systems administrator, you

need to archive all the files from Ann ' s home directory and extract them into Joe ' s home

directory.

INSTRUCTIONS

Within each tab, click on an object to form the appropriate commands. Command objects may only be used once, but the spacebar _ object may be used multiple times. Not all objects will be used.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Question # 6

Question # 6


Expert Solution
Questions # 7:

A Linux administrator is testing a web application on a laboratory service and needs to temporarily allow DNS and HTTP/HTTPS traffic from the internal network. Which of the following commands will accomplish this task?

Options:

A.

firewalld -- add-service=dns, http,https -- zone=internal


B.

iptables -- enable-service= ' dns|http|https ' -- zone=internal


C.

firewall-cmd --add-service={dns, http, https} --zone=internal


D.

systemctl mask firewalld --for={dns, http, https} --zone=internal


Expert Solution
Questions # 8:

A systems administrator manages multiple Linux servers and needs to set up a reliable and secure way to handle the complexity of managing event records on the OS and application levels. Which of the following should the administrator do?

Options:

A.

Create an automated process to retrieve logs from the server by demand.


B.

Implement a centralized log aggregation solution.


C.

Configure daily automatic backups of logs to remote storage.


D.

Deploy log rotation procedures to manage the records.


Expert Solution
Questions # 9:

A systems administrator is writing a script to analyze the number of files in the directory /opt/application/home/. Which of the following commands should the administrator use in conjunction with ls -l | to count the files?

Options:

A.

less


B.

tail -f


C.

tr -c


D.

wc -l


Expert Solution
Questions # 10:

Which of the following commands can be used to display real-time running processes on a Linux system?

Options:

A.

ps


B.

top


C.

df


D.

free


Expert Solution
Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions