Download CompTIA Linux+ Powered by LPI 2.LX0-104.PracticeDumps.2017-12-14.120q.tqb

Vendor: CompTIA
Exam Code: LX0-104
Exam Name: CompTIA Linux+ Powered by LPI 2
Date: Dec 14, 2017
File Size: 352 KB

How to open TQB files?

Files with TQB (Taurus Question Bank) extension can be opened by Taurus Exam Studio.

Demo Questions

Question 1
What is true regarding the statement beginning with #! that is found in the first line of a script?
  1. It prevents the script from being executed until the ! is removed.
  2. It specifies the path and the arguments of the interpreter used to run the script.
  3. It is a comment that is ignored by the script.
  4. It specifies the character encoding of the script.
Correct answer: B
Question 2
Which Bash option prevents a user from accidentally overwriting a file with a ">"?
  1. set -o safe
  2. set -o noglob
  3. set -o noclobber
  4. set -o append
  5. set -o nooverwrite
Correct answer: C
Question 3
Which of the following commands prints the exit value of the most recently executed program in Bash?
  1. echo $?
  2. echo $#
  3. echo $exit
  4. echo $status
  5. echo $&
Correct answer: A
Question 4
What word will complete an if statement in bash such as the following:     if [ -x "$file" ]; then         echo $file     _____
(Please provide the missing word only)
  1. fi
Correct answer: 1
Question 5
What word is missing from the following SQL statement? update tablename ____  fieldname='value' where id=909; 
(Please specify the missing word using lower\_case letters only.)
  1. set
Correct answer: 1
Question 6
Which of the following SQL statements will select the fields name and address from the contacts table?
  1. SELECT (name, address) FROM contacts;
  2. SELECT (name address) FROM contacts;
  3. SELECT name, address FROM contacts;
  4. SELECT name address FROM contacts;
Correct answer: C
Question 7
Which of the following configuration files should be modified to globally set shell variables for all users?
  1. /etc/bashrc
  2. /etc/profile
  3. ~/.bash_profile
  4. /etc/.bashrc
Correct answer: B
Question 8
Which of the following commands are used to manage the environment and shell variables within a shell process? (Choose TWO correct answers.)
  1. export
  2. init
  3. reset
  4. set
  5. tset
Correct answer: AD
Question 9
Which of the following are operators used for comparisons by the test command? (Choose TWO correct answers.)
  1. equals
  2. =
  3. -is
  4. -eq
  5. null
Correct answer: BD
Question 10
Which of the following commands creates a function in Bash that outputs the sum of two numbers?
  1. function sumitup { echo $(($1 + $2)) ; }
  2. command sumitup { echo $(($1 + $2)) ; }
  3. function sumitup { echo $1 + $2 ; }
  4. method sumitup { echo $1 + $2 ; }
  5. command sumitup { echo $1 + $2 ; }
Correct answer: A
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

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

Get Now!