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?
-
It provides faster lookups for commands in the system directory.
-
It creates a local copy of a file from another directory.
-
It hides what command you are running from others.
-
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?
-
It is the process ID of the echo command.
-
It is the process ID of the current shell.
-
It is the exit value of the command executed immediately before echo.
-
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:
-
The file at that location was used to make the script.
-
This script provides identical functionality as the file at that location.
-
This script will self-extract into a file at that location.
-
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?
-
SELECT (name, address) FROM contacts;
-
SELECT (name address) FROM contacts;
-
SELECT name, address FROM contacts;
-
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
-
for
-
loop
-
until
-
while
Correct Answer: A
Question No.16
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
-
unset -v FOOBAR;./myscript
-
set -a FOOBAR=quot;quot;;./myscript
-
env -u FOOBAR./myscript
-
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?
-
LIMIT
-
FROM
-
WHERE
-
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