LPI 102-400 - LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2 Exam
Page: 2 / 24
Total 120 questions
Question #6 (Topic: Topic 1)
What command displays all aliases defined in the current shell? (Specify the command
without any path information)
without any path information)
Answer: alias, alias -p
Question #7 (Topic: Topic 1)
Which of the following commands lists all defined variables and functions within Bash?
A. env
B. set
C. env -a
D. echo $ENV
Answer: B
Question #8 (Topic: Topic 1)
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
Answer: VALUES, values
Question #9 (Topic: Topic 1)
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A. A B
B. A B C
C. A C
D. B C
E. C B A
Answer: A
Question #10 (Topic: Topic 1)
Which of the following words is used to restrict the records that are returned from a
SELECT SQL query based on a supplied criteria for the values in the records?
SELECT SQL query based on a supplied criteria for the values in the records?
A. CASE
B. FROM
C. WHERE
D. IF
Answer: C