Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

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

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

A Linux administrator just finished setting up passwordless SSH authentication between two nodes. However, upon test validation, the remote host prompts for a password. Given the following logs:

Question # 11

Which of the following is the most likely cause of the issue?

Options:

A.

The SELinux policy is incorrectly targeting the unconf ined_u context.


B.

The administrator forgot to restart the SSHD after creating the authorizedjceys file.


C.

The authorized_keys file has the incorrect root permissions assigned.


D.

The authorized_keys file does not have the correct security context to match SELinux policy.


Expert Solution
Questions # 12:

A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?

Options:

A.

tail -f /var/log/apache2/error.log > logfile.txt


B.

tail -f /var/log/apache2/error.log | logfile.txt


C.

tail -f /var/log/apache2/error.log >> logfile.txt


D.

tail -f /var/log/apache2/error.log | tee logfile.txt


Expert Solution
Questions # 13:

Users cannot access a server after it has been restarted. At the server console, the administrator runs the following commands;

Question # 13

Which of the following is the cause of the issue?

Options:

A.

The DNS entry does not have a valid IP address.


B.

The SSH service has not been allowed on the firewall.


C.

The server load average is too high.


D.

The wrong protocol is being used to connect to the web server.


Expert Solution
Questions # 14:

Which of the following best describes the role of initrd?

Options:

A.

It is required to connect to the system via SSH.


B.

It contains basic kernel modules and drivers required to start the system.


C.

It contains trusted certificates and secret keys of the system.


D.

It is required to initialize a random device within a Linux system.


Expert Solution
Questions # 15:

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 # 16:

Which of the following commands should an administrator use to convert a KVM disk file to a different format?

Options:

A.

qemu-kvm


B.

qemu-ng


C.

qemu-io


D.

qemu-img


Expert Solution
Questions # 17:

A Linux user runs the following command:

nohup ping comptia.com &

Which of the following commands should the user execute to attach the process to the current terminal?

Options:

A.

renice


B.

jobs


C.

exec


D.

fg


Expert Solution
Questions # 18:

A systems administrator attempts to edit a file as root, but receives the following error:

Question # 18

Which of the following commands allows the administrator to edit the file?

Options:

A.

chown root /etc/resolv.conf


B.

chattr -i /etc/resolv.conf


C.

chmod 750 /etc/resolv.conf


D.

chgrp root /etc/resolv.conf


Expert Solution
Questions # 19:

An administrator set up a new user account called "test". However, the user is unable to change their password. Given the following output:

Question # 19

Which of the following is the most likely cause of this issue?

Options:

A.

The SUID bit is missing on the /bin/passwd file.


B.

The password provided by the user "test" does not meet complexity requirements.


C.

The user "test" already changed the password today.


D.

The password has been disabled for user "test".


Expert Solution
Questions # 20:

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
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions