Pass4itsure > CompTIA > Linux+ > XK0-005 > XK0-005 Online Practice Questions and Answers

XK0-005 Online Practice Questions and Answers

Questions 4

A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?

A. chown web:web /home/web

B. chmod -R 400 /home/web

C. echo "umask 377" >> /home/web/.bashrc

D. setfacl read /home/web

Buy Now
Questions 5

A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received: Which of the following commands can be used to resolve this issue?

A. chgrp -R 755 data/

B. chmod -R 777 data/

C. chattr -R -i data/

D. chown -R data/

Buy Now
Questions 6

A systems administrator created a new directory with specific permissions. Given the following output:

# file: comptia

# owner: root

# group: root

user: : rwx

group :: r-x

other: :--

default:user :: rwx

default:group :: r-x

default:group:wheel: rwx

default:mask :: rwx

default:other ::

Which of the following permissions are enforced on /comptia?

A. Members of the wheel group can read files in /comptia.

B. Newly created files in /comptia will have the sticky bit set.

C. Other users can create files in /comptia.

D. Only root can create files in /comptia.

Buy Now
Questions 7

A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?

A. partprobe vgcreate lvextend

B. lvcreate fdisk partprobe

C. fdisk partprobe mkfs

D. fdisk pvcreate vgextend

Buy Now
Questions 8

An administrator started a long-running process in the foreground that needs to continue without interruption. Which of the following keystrokes should the administrator use to continue running the process in the background?

A. bg

B. bg

C. jobs -1

D. bg and

Buy Now
Questions 9

A Linux administrator is trying to start the database service on a Linux server but is not able to run it. The administrator executes a few commands and receives the following output: Which of the following should the administrator run to resolve this issue? (Select two).

A. systemctl unmask mariadb

B. journalctl --g mariadb

C. dnf reinstall mariadb

D. systemctl start mariadb

E. chkconfig mariadb on

F. service mariadb reload

Buy Now
Questions 10

Which of the following would significantly help to reduce data loss if more than one drive fails at the same time?

A. Server clustering

B. Load balancing

C. RAID

D. VDI

Buy Now
Questions 11

At what point is the Internal Certificate Authority (ICA) created?

A. During the primary Security Management Server installation process.

B. Upon creation of a certificate.

C. When an administrator decides to create one.

D. When an administrator initially logs into SmartConsole.

Buy Now
Questions 12

An administrator attempts to rename a file on a server but receives the following error.

The administrator then runs a few commands and obtains the following output:

Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?

A. chgrp reet files

B. chacl -R 644 files

C. chown users files

D. chmod -t files

Buy Now
Questions 13

A systems administrator pressed Ctrl+Z after starting a program using the command line, and the shell prompt was presented. In order to go back to the program, which of the following commands can the administrator use?

A. fg

B. su

C. bg

D. ed

Buy Now
Exam Code: XK0-005
Exam Name: CompTIA Linux+ Certification Exam
Last Update:
Questions: 360
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99