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

Helping Hand Questions for 101-500

Page: 9 / 22
Total 293 questions

LPIC-1 Exam 101, Part 1 of 2, version 5.0 Questions and Answers

Question 33

Consider the following directory:

drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales

Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

Options:

A.

chmod g+s sales

B.

setpol –R newgroup=sales sales

C.

chgrp –p sales sales

D.

chown --persistent *.sales sales

E.

chmod 2775 sales

Question 34

Which of the following apt-get subcommands installs the newest versions of all currently installed packages?

Options:

A.

auto-update

B.

dist-upgrade

C.

full-upgrade

D.

install

E.

update

Question 35

What is true about the file .profile in a user's home directory?

Options:

A.

It must be executable

B.

It must call the binary of the login shell

C.

It must use a valid shell script syntax

D.

It must start with a shebang

E.

It must be readable for its owner only

Question 36

Which of the following keywords can be used in the die /etc/resolv.conf? (Choose TWO correct answers.)

Options:

A.

substitute

B.

lookup

C.

search

D.

nameserver

E.

method

Page: 9 / 22
Total 293 questions