Exclusive Black Friday Deal: 70% Off All Exam Bundles! Use coupon code below to unlock your savings! - Ends in 0d 00h 00m 00s - Coupon code: Friday70

Free LPIC-1 Exam 102, Part 2 of 2, version 5.0 Practice Questions

Question # 51

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?

Options:

A.  

LIMIT

B.  

FROM

C.  

WHERE

D.  

IF

Discussion 0
Question # 52

What is the purpose of the file /etc/profile?

Options:

A.  

It contains the welcome message that is displayed after login.

B.  

It contains security profiles defining which users are allowed to log in.

C.  

It contains environment variables that are set when a user logs in.

D.  

It contains default application profiles for users that run an application for the first time.

Discussion 0
Question # 53

Which of the following commands lists all defined variables and functions within Bash?

Options:

A.  

env

B.  

set

C.  

env -a

D.  

echo $ENV

Discussion 0
Question # 54

Which of the following configuration files should be modified to set default shell variables for all users?

Options:

A.  

/etc/bashrc

B.  

/etc/profile

C.  

~/.bash_profile

D.  

/etc/.bashrc

Discussion 0
Question # 55

When the command echo $$ outputs 12942, what is the meaning of 12942?

Options:

A.  

It is the process ID of the echo command.

B.  

It is the process ID of the current shell.

C.  

It is the process ID of the last command executed.

D.  

It is the process ID of the last command which has been placed in the background.

Discussion 0
Question # 56

What output will the following command sequence produce?

echo '1 2 3 4 5 6' | while read a b c; do

echo result: $c $b $a;

done

Options:

A.  

result: 3 4 5 6 2 1

B.  

result: 1 2 3 4 5 6

C.  

result: 6 5 4

D.  

result: 6 5 4 3 2 1

E.  

result: 3 2 1

Discussion 0
Question # 57

What is the difference between the commands test -e path and test -f path?

Options:

A.  

They are equivalent options with the same behaviour.

B.  

The -f option tests for a regular file. The -e option tests for an empty file.

C.  

Both options check the existence of the path. The -f option also confirms that it is a regular file.

D.  

The -f option tests for a regular file. The -e option tests for an executable file.

Discussion 0
Question # 58

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Options:

A.  

Set a network interface active or inactive.

B.  

Specify the kernel module to be used with a network interface.

C.  

Allow regular users to change the network configuration of a network interface.

D.  

Change the netmask used on a network interface.

E.  

Specify which network services are available on a network interface.

Discussion 0
Question # 59

You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:

Options:

A.  

The file at that location was used to make the script.

B.  

This script provides identical functionality as the file at that location.

C.  

This script will self-extract into a file at that location.

D.  

The program at that location will be used to process the script.

Discussion 0
Question # 60

Which of the following details is NOT provided in any output from the netstat utility?

Options:

A.  

broadcast services

B.  

interface statistics

C.  

masquerading connections

D.  

network connections

E.  

routing tables

Discussion 0

102-500 PDF

102-500 PDF (Printable)
$46.5
$154.99

102-500 Testing Engine

102-500 PDF (Printable)
$51
$169.99

102-500 PDF + Testing Engine

102-500 PDF (Printable)
$63.9
$212.99

Free Exams Sample Questions