Questions for the 102-500 were updated on : Nov 14 ,2024
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done
A
When the command echo $ outputs 1, which of the following statements is true?
C
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
VALUES,
values
Which command makes the shell variable named VARIABLE visible to subshells?
B
What output will the command seq 10 produce?
B
By default, the contents of which directory will be copied to a new user's home directory when the
account is created by passing the -m option to the useradd command? (Specify the full path to the
directory.)
/etc/skel
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
select
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A
Which of the following commands puts the output of the command date into the shell variable
mydate?
A
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO
correct answers.)
B, E
What is the difference between the commands test -e path and test -f path?
C
How can the existing environment variable FOOBAR be suppressed for the execution of the
script./myscript only?
C
When the command echo $$ outputs 12942, what is the meaning of 12942?
B
What output will the following command produce?
seq 1 5 20
A
Which of the following words is used to restrict the records that are returned from a SELECT SQL
query based on a supplied criteria for the values in the records?
C