Halloween Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

CompTIA XK0-005 - CompTIA Linux+ Exam

Page: 4 / 15
Total 487 questions

A junior administrator updated the PostgreSQL service unit file per the data-base administrator's recommendation. The service has been restarted, but changes have not been applied. Which of the following should the administrator run for the changes to take effect?

A.

Systemct1 get—default

B.

systemct1 daemon—reload

C.

systemct1 enable postgresq1

D.

systemct1 mask postgresq1

A user reported issues when trying to log in to a Linux server. The following outputs were received:

Given the outputs above. which of the following is the reason the user is una-ble to log in to the server?

A.

User1 needs to set a long password.

B.

User1 is in the incorrect group.

C.

The user1 shell assignment incorrect.

D.

The user1 password is expired.

A Linux engineer is removing a previously created firewall rule. Which of the following commands will help the administrator accomplish this task?

A.

ufw delete 80/tcp

B.

ufw delete deny 80/tcp

C.

ufw delete 80/tcp deny

D.

delete7!

A systems administrator is reviewing the following output on the text editor that is being used to update the company's internal database records:

Which of the following extensions should the systems administrator use when saving the file?

A.

.json

B.

.yaml

C.

.tf

D.

.sh

A systems administrator is enabling LUKS on a USB storage device with an ext4 filesystem format. The administrator runs dmesg and notices the following output:

Given this scenario, which of the following should the administrator perform to meet these requirements? (Select three).

A.

gpg /dev/sdcl

B.

pvcreate /dev/sdc

C.

mkfs . ext4 /dev/mapper/LUKSCJ001 - L ENCRYPTED

D.

umount / dev/ sdc

E.

fdisk /dev/sdc

F.

mkfs . vfat /dev/mapper/LUKS0001 — L ENCRYPTED

G.

wipefs —a/dev/sdbl

A Linux administrator needs to create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a. Which of the following commands should the administrator use?

A.

In -s /usr/local/bin/app-a /usr/local/share/app-a

B.

mv -f /usr/local/share/app-a /usr/local/bin/app-a

C.

cp -f /usr/local/share/app-a /usr/local/bin/app-a

D.

rsync -a /usr/local/share/app-a /usr/local/bin/app-a

Which of the following options represents disk mirroring?

A.

RAID 0

B.

RAID 1

C.

RAID 5

D.

RAID 6

NO: 41:

A systems administrator needs to install the file installer_0.17-41.2_amd64.deb. Which of the following commands should the administrator use?

A.

apt install installer

B.

dpkg -i installer_0.17-41.2_amd64.deb

C.

rpm -i installer_0.17-41.2_amd64.deb

D.

yum localinstall installer_0.17-41.2_amd64.deb

A Linux systems administrator receives a report that a user is unable to start an application. The administrator reviews the following error:

yaml

CopyEdit

Killed process 1141 (application) ... total-vm:5622584kB ... oom_score_adj:0

oom_reaper: reaped process 1141 ...

Which of the following describes the situation?

A.

The system does not have adequate CPU capacity to allocate to the application.

B.

The application is trying to connect to multiple remote systems without having an adequate number of connections available.

C.

The application is trying to open more files than the available disk can accommodate.

D.

The application is trying to allocate more memory than the available system and swap space can support.

An administrator is unable to sync servers to the new NTP server IP address given by the service provider despite several attempts. Looking at the below output

Which of the following commands will help resolve the issue?

A.

B.

C.

D.