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 2 out of 5 pages
Viewing questions 11-20 out of questions
Questions # 11:

A user states that an NFS share Is reporting random disconnections. The systems administrator obtains the following information

Question # 11

Which of the following best explains the symptoms that are being reported?

Options:

A.

The mount point is incorrect for the NFS share.


B.

The IP address of the NFS share is incorrect.


C.

The filesystem is nearly full and is reporting errors.


D.

The interface is reporting a high number of errors and dropped packets.


Expert Solution
Questions # 12:

Which of the following cryptographic functions ensures a hard drive is encrypted when not in use?

Options:

A.

GPG


B.

LUKS


C.

PKI certificates


D.

OpenSSL


Expert Solution
Questions # 13:

A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?

Options:

A.

Using copy and paste when possible


B.

Generating monolithic code


C.

Linting generated code


D.

Merging CI/CD pipelines


Expert Solution
Questions # 14:

A Linux administrator needs to securely erase the contents of a hard disk. Which of the following commands is the best for this task?

Options:

A.

sudo rm -rf /dev/sda1


B.

sudo shred /dev/sda1


C.

sudo parted rm /dev/sda1


D.

sudo dd if=/dev/null of=/dev/sda1


Expert Solution
Questions # 15:

A systems administrator is configuring new Linux systems and needs to enable passwordless authentication between two of the servers. Which of the following commands should the administrator use?

Options:

A.

ssh-keygen -t rsa & & ssh-copy-id -i ~/.ssh/id_rsa.pub john@server2


B.

ssh-keyscan -t rsa & & ssh-copy-id john@server2 -i ~/.ssh/key


C.

ssh-agent -i rsa & & ssh-copy-id ~/.ssh/key john@server2


D.

ssh-add -t rsa & & scp -rp ~/.ssh john@server2


Expert Solution
Questions # 16:

A Linux administrator tries to install Ansible in a Linux environment. One of the steps is to change the owner and the group of the directory /opt/Ansible and its contents. Which of the following commands will accomplish this task?

Options:

A.

groupmod -g Ansible -n /opt/Ansible


B.

chown -R Ansible:Ansible /opt/Ansible


C.

usermod -aG Ansible /opt/Ansible


D.

chmod -c /opt/Ansible


Expert Solution
Questions # 17:

A systems administrator is preparing a Linux system for application setup. The administrator needs to create an environment variable with a persistent value in one of the user accounts. Which of the following commands should the administrator use for this task?

Options:

A.

export " VAR=SomeValue " > > ~/.ssh/profile


B.

export VAR=value


C.

VAR=value


D.

echo " export VAR=value " > > ~/.bashrc


Expert Solution
Questions # 18:

Which of the following describes the method of consolidating system events to a single location?

Options:

A.

Log aggregation


B.

Health checks


C.

Webhooks


D.

Threshold monitoring


Expert Solution
Questions # 19:

A Linux administrator notices that an application is having trouble connecting to an external database. Which of the following commands should the administrator use to validate the connection to the remote port exposed by a database server?

Options:

A.

dig MX db.comptia.org:3306


B.

nc -v db.comptia.org 3306


C.

arp -an | grep db.comptia.org | grep 3306


D.

ss -plant | grep 3306


Expert Solution
Questions # 20:

Which of the following commands is used to verify whether a port is open on a remote host?

Options:

A.

ip


B.

ping


C.

nc


D.

netstat


Expert Solution
Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions