Free 102-500 Braindumps


  • Exam Number: 102-500
  • Provider: LPI
  • Questions: 194
  • Updated On: 30-Jul-2020

Topic 1, Shells, Scripting and Data Management
QUESTION: 1
Which of the following is the best way to list all defined shell variables?

A. env
B. set
C. env -a
D. echo $ENV

Answer(s): B

QUESTION: 2
What output wil the command seq 10 produce?

A. A continuous stream of numbers increasing in increments of 10 until stopped.
B. The numbers 1 through 10 with one number per line.
C. The numbers 0 through 9 with one number per line.
D. The number 10 to standard output.

Answer(s): B

QUESTION: 3
Which command makes the shell variable named VARIABLE visible to subshells?

A. export $VARIABLE
B. export VARIABLE
C. set $VARIABLE
D. set VARIABLE
E. env VARIABLE

Answer(s): B

QUESTION: 4

Which of the following SQL statements will select the fields name and address from the contacts table?

A. SELECT (name, address) FROM contacts;
B. SELECT (name address) FROM contacts;
C. SELECT name, address FROM contacts;
D. SELECT name address FROM contacts;

Answer(s): C

QUESTION: 5
When the command echo $ outputs 1, which of the following statements is true?

A. It is the process ID of the echo command.
B. It is the process ID of the current shel .
C. It is the exit value of the command executed immediately before echo.
D. It is the exit value of the echo command.

Answer(s): C

QUESTION: 6
What benefit does an alias in bash provide?

https://Xcerts.com
2

Get The Premium Version

Allbraindumps.com
 Test Questions PDF from Myitguides.com

 Test Questions PDF from Myitguides.com