Free 102-500 Exam Braindumps (page: 2)

Page 2 of 41

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(s): C



What benefit does an alias in bash provide?

  1. It provides faster lookups for commands in the system directory.
  2. It creates a local copy of a file from another directory.
  3. It hides what command you are running from others.
  4. It allows a string to be substituted for the first word of a simple command.

Answer(s): D



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(s): B



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:

  1. The file at that location was used to make the script.
  2. This script provides identical functionality as the file at that location.
  3. This script will self-extract into a file at that location.
  4. The program at that location will be used to process the script.

Answer(s): D



Page 2 of 41



Post your Comments and Discuss LPI 102-500 exam with other Community members:

LinuxGuy commented on April 25, 2021
Purchase process quick and smooth, with EXM, PDF and APK file formats provided for test prep
SINGAPORE
upvote