102-400

Review 120 102-400 practice questions with answer explanations and community insights.

Question 1

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

  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

Question 2

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.

Question 3

SIMULATION - What word is missing from the following SQL statement? insert into tablename ________(909, 'text'); (Please specify the missing word using lower-case letters only.)

Question 4

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

Question 5

What output will the command seq 10 produce?

  1. A continuous stream of numbers increasing in increments of 10 until stopped.
  2. The numbers 1 through 10 with one number per line.
  3. The numbers 0 through 9 with one number per line.
  4. The number 10 to standard output.
We are moving to a new platform

CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.