Lpi Level 1 Exam 117-102: Detailed Objectives

十二月 17, 2009 by admin
Filed under: LPI 

This is a required exam for LPI certification Level 1. It covers basic skills for the Linux Professional that are common to major distributions of Linux.
IMPORTANT INFORMATION: These are the current 102 objectives, which are valid effective 2009-04-01.
Each objective is assigned a weighting value. The weights range roughly from 1 to 10 and indicate the relative importance of each objective. Objectives with higher weights will be covered in the exam with more questions.
1.What word is missing from the following SQL statement? 
update tablename ____   fieldname=’value’ where id=909; 
ANSWER: SET,SET 
2.Which of the following configuration files should be modified to set default shell variables for all users?
A./etc/bashrc
B./etc/profile
C.~default/.bash_profile
D./etc/skel/.bashrc
E./etc/skel/.bash_profile
Answer: B 
3.To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?
A.unset -v FOOBAR
B.set -a FOOBAR=”"
C.env -u FOOBAR myscript
D.env -i FOOBAR myscript
Answer: C 
4.Which command will print the exit value of the previous command to the screen in bash?
A.echo $?
B.echo $#
C.echo $exit
D.echo $status
E.echo $&
Answer: A 
5.What word will complete an if statement in bash such as the following: 
if [ -x "$file" ]; then    echo $file  _____  (Please provide the missing word only) 
ANSWER: FI 
6.Which of  the  following words  is used  to  restrict  the  records  that are  returned  from a SELECT query
based on a supplied criteria for the values in the records?
A.LIMIT
B.FROM
C.WHERE
D.IF
Answer: C

Comments

Comments are closed.