Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Newly Released CompTIA XK0-005 Exam PDF

Page: 11 / 30
Total 396 questions

CompTIA Linux+ Exam Questions and Answers

Question 41

A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Select TWO)

Options:

A.

rsyslog

B.

cp

C.

rsync

D.

reposync

E.

scp

F.

ssh

Question 42

A Linux administrator is configuring crontab and needs to schedule a task to run only on Saturday and Sunday at 9:00 a.m. every week of the year. Which of the following should the administrator use?

Options:

A.

0 9 * * 1-5 root /root/script.sh

B.

0 9 1 */3 * root /root/script.sh

C.

0 9 * * 6,0 root /root/script.sh

D.

0 9 1 * * root /root/script.sh

Question 43

The development team wants to prevent a file from being modified by all users in a Linux system, including the root account. Which of the following commands can be used to accomplish this objective?

Options:

A.

chmod / app/conf/file

B.

setenforce / app/ conf/ file

C.

chattr +i /app/conf/file

D.

chmod 0000 /app/conf/file

Question 44

A Linux systems administrator needs to add additional code to code that resides within a repository without changing the original code. Once completed, the additional code will be merged into the main branch. Which of the following commands should the administrator use first?

Options:

A.

git push

B.

git rebase

C.

git tag

D.

git clone

Page: 11 / 30
Total 396 questions