Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Selected LCP-001 Linux Certified Professional LCP Questions Answers

Page: 7 / 11
Total 289 questions

Linux Certified Professional (LCP) Powered by LPI Questions and Answers

Question 25

After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on running system. Which command will create a complete report which you can analyze for changes which may be security related?

Options:

A.

.rpm-Va>report

B.

rpm-Qavy > report

C.

rpm-Vqt-- nomd5>report

D.

rpm-checkfiles >report

E.

rpm-Va-nofiles > report

Question 26

You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would happen if you ran rm foo?

Options:

A.

foo and bar would both be removed.

B.

foo would be removed while bar would remain accessible.

C.

foo would be removed. bar would still exist but would be unusable.

D.

Both foo and bar would remain accessible.

E.

You would be asked whether bar should be removed.

Question 27

Which chown command will change the ownership to foo and the group to bar on a file named biglist?

Options:

A.

chown foo/bar biglist

B.

chown -u foo -g bar biglist

C.

chown foo:bar biglist

D.

chown --user foo --group bar biglist

Question 28

In Bash, inserting "1>&2" after a command redirects

Options:

A.

standard error to standard input

B.

standard input to standard error

C.

standard output to standard error

D.

standard error to standard output

E.

standard output to standard input

Page: 7 / 11
Total 289 questions