102-500 Real Exam Dumps Questions and answers 11-20

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.11

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.

Correct Answer: D

Question No.12

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.

Correct Answer: C

Question No.13

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.

Correct Answer: D

Question No.14

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

  1. SELECT (name, address) FROM contacts;

  2. SELECT (name address) FROM contacts;

  3. SELECT name, address FROM contacts;

  4. SELECT name address FROM contacts;

Correct Answer: C

Question No.15

What keyword is missing from this code sample of a shell script?

i in *.txt; do echo $i

done

  1. for

  2. loop

  3. until

  4. while

Correct Answer: A

Question No.16

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

Correct Answer: C

Question No.17

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?

  1. LIMIT

  2. FROM

  3. WHERE

  4. IF

    Correct Answer: C

    Question No.18

    What word is missing from the following SQL statement?

    count(*) from tablename;

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

    Correct Answer: select

    Question No.19

    What output will the following command produce?

    seq 1 5 20

    A.

    1

    6

    1

    1

    1

    6

    B.

    1

    5

    10

    15

    C.

    1

    2

    3

    4

    D.

    2

    3

    4

    5

    E.

    5

    10

    15

    20

    Correct Answer: A

    Question No.20

    What command displays all aliases defined in the current shell? (Specify the command without any path information)

    Correct Answer: alias, alias -p

    Get Full Version of 102-500 Dumps

    Tagged

Leave a Reply

Your email address will not be published. Required fields are marked *