文档介绍:Exam: 117-202
Title : LPIC Level 2 working Administration
Ver :
The Power Of Knowing
QUESTION NO: 1
What is the minimum number of partitions you need to install Linux?
Answer: 1.
Explanation: At a bare minimum, Linux requires just one partition to install and boot. This is the
root partition, which is known as the / partition. However, a minimum of two partitions is
mended: one for the root partition and one for the swap partition.
Reference: Roderick W. Smith. Sybex Linux + Study Guide: page 37.
QUESTION NO: 2
What file contains the default environment variables when using the bash shell?
A. ~/.profile
B. /bash
C. /etc/profile
D. ~/bash
Answer: C
Explanation: The file /etc/profile contains mands that are executed at login time for any
user whose entry in /etc/passwd has a shell specified in the shell field whose name ends in sh.
Reference: http://docsrv./cgi-bin/man/man?profile+4
Incorrect Answers
A: The ~/.profile is the profile file stored in each us er’s home directory. This file contains settings
that apply to that user only.
B: The default environment variables are stored in the /etc/profile file, not the /bash file.
D: The default environment variables are stored in the /etc/profile file, not the ~/bash file.
QUESTION NO: 3
You need to delete the group dataproject. Which two of the following tasks should you do first
before deleting the group?
A. Check the /etc/passwd file to make sure no one has this group as his default group.
B. Change the members of the dataproject group to another group besides users.
C. Make sure that members listed in the /etc/group file are given new login names.
D. Verify that no file or directory has this group listed as its owner.
A. A and C
The Power Of Knowing
B. A and D
C. B and C
D. B and D
Answer: B.
Explan