Download CompTIA Linux+ Powered by LPI 2.LX0-104.CertKey.2018-11-25.107q.vcex

Vendor: CompTIA
Exam Code: LX0-104
Exam Name: CompTIA Linux+ Powered by LPI 2
Date: Nov 25, 2018
File Size: 175 KB
Downloads: 1

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

ProfExam Discount

Demo Questions

Question 1
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
Correct answer: B
Question 2
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.
Correct answer: B
Question 3
After issuing:
function myfunction { echo $1 $2 ; } 
in Bash, which output does:
myfunction A B C 
Produce?
  1. A B
  2. A B C
  3. A C
  4. B C
  5. C B A
Correct answer: A
Question 4
Which of the following commands puts the output of the command date into the shell variable mydate?
  1. mydate="$(date)"
  2. mydate="exec date"
  3. mydate="$((date))"
  4. mydate="date"
  5. mydate="${date}"
Correct answer: A
Question 5
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
  1. ~/.bashconf
  2. ~/.bashrc
  3. ~/.bashdefaults
  4. ~/.bash_etc
  5. ~/.bash_profile
Correct answer: BE
Question 6
What is the difference between the commands test -e path and test -f path?
  1. They are equivalent options with the same behaviour.
  2. The -f option tests for a regular file.  The -e option tests for an empty file.
  3. Both options check the existence of the path.  The -f option also confirms that it is a regular file.
  4. The -f option tests for a regular file.  The -e option tests for an executable file.
Correct answer: C
Question 7
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="";./myscript
  3. env -u FOOBAR./myscript
  4. env -i FOOBAR./myscript
Correct answer: C
Question 8
When the command echo $$ outputs 12942, what is the meaning of 12942?
  1. It is the process ID of the echo command.
  2. It is the process ID of the current shell.
  3. It is the process ID of the last command executed.
  4. It is the process ID of the last command which has been placed in the background.
Correct answer: B
Question 9
What output will the following command produce? 
seq 1 5 20
  1. 6
  2. 10 
    15
  3. 4
  4. 5
  5. 10 
    15 
    20
Correct answer: A
Question 10
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?
  1. CASE
  2. FROM
  3. WHERE
  4. IF
Correct answer: C
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!