Download CompTIA Linux+ Powered by LPI 2.LX0-104.SelftestTraining.2018-09-20.110q.vcex

Vendor: CompTIA
Exam Code: LX0-104
Exam Name: CompTIA Linux+ Powered by LPI 2
Date: Sep 20, 2018
File Size: 151 KB
Downloads: 1

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

ProfExam Discount

Demo Questions

Question 1
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 2
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 3
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 4
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 5
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 6
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 7
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 8
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
Question 9
Which of the following commands lists all defined variables and functions within Bash? 
  1. env
  2. set
  3. env -a
  4. echo $ENV
Correct answer: B
Question 10
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
  1. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
  2. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;
  3. COUNT(SELECT order_type FROM orders);
  4. SELECT COUNT(*) FROM orders ORDER BY order_type;
  5. SELECT AUTO_COUNT FROM orders COUNT order_type;
Correct answer: B
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!