[Free] 2018(Jan) EnsurePass Examcollection LPI 102-400 Dumps with VCE and PDF 11-20

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan LPI Official New Released 102-400
100% Free Download! 100% Pass Guaranteed!

LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2

Question No: 11 – (Topic 1)

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

  1. It is the process ID of the echo command.

  2. It is the process ID of the current shell.

  3. It is the exit value of the command executed immediately before echo.

  4. It is the exit value of the echo command.

Answer: C

Question No: 12 – (Topic 1)

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

  1. export $VARIABLE

  2. export VARIABLE

  3. set $VARIABLE

  4. set VARIABLE

  5. env VARIABLE

Answer: B

Question No: 13 CORRECT TEXT – (Topic 1)

What word is missing from the following SQL statement?

count(*) from tablename;

(Please specify the missing word using lower-case letters only.)

Answer: select

Question No: 14 – (Topic 1)

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

  1. ~/.bashconf

  2. ~/.bashrc

  3. ~/.bashdefaults

  4. ~/.bash_etc

  5. ~/.bash_profile

Answer: B,E

Question No: 15 – (Topic 1)

What output will the following command sequence produce?

echo #39;1 2 3 4 5 6#39; | while read a b c; do echo result: $c $b $a;


  1. result: 3 4 5 6 2 1

  2. result: 1 2 3 4 5 6

  3. result: 6 5 4

  4. result: 6 5 4 3 2 1

  5. result: 3 2 1

Answer: A

Question No: 16 – (Topic 1)

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

  1. unset -v FOOBAR;./myscript

  2. set -a FOOBAR=quot;quot;;./myscript

  3. env -u FOOBAR./myscript

  4. env -i FOOBAR./myscript

Answer: C

Question No: 17 – (Topic 1)

Which of the following commands puts the output of the command date into the shell variable mydate?

  1. mydate=quot;$(date)quot;

  2. mydate=quot;exec datequot;

  3. mydate=quot;$((date))quot;

  4. mydate=quot;datequot;

  5. mydate=quot;${date}quot;

Answer: A

Question No: 18 – (Topic 1)

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

  1. It contains the welcome message that is displayed after login.

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

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

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

Answer: C

Question No: 19 – (Topic 1)

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

  1. They are equivalent options with the same behaviour.

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

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

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

Answer: C

Question No: 20 – (Topic 1)

Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

  1. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;

  2. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;

  3. COUNT(SELECT order_type FROM orders);

  4. SELECT COUNT(*) FROM orders ORDER BY order_type;

  5. SELECT AUTO_COUNT FROM orders COUNT order_type;

Answer: B

Topic 2, User Interfaces and Desktops

100% Ensurepass Free Download!
Download Free Demo:102-400 Demo PDF
100% Ensurepass Free Guaranteed!
102-400 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

This entry was posted in 102-400 Latest Exam (Jan 2018) and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.