Leads4pass > CompTIA > CompTIA Linux+ > LX0-102 > LX0-102 Online Practice Questions and Answers

LX0-102 Online Practice Questions and Answers

Questions 4

Which of the following statements about crontab are true? (Select TWO).

A. Every user may have their owncrontab.

B. Changing a crontab requires a reload/restart of the cron daemon.

C. The cron daemon reloads crontab files automatically when necessary.

D. hourly is the same as "0 * * * *".

E. A cron daemon must run for each existing crontab.

Buy Now
Questions 5

An administrator suspects that a gateway machine on their network has failed; the administrator is unsure which machine is the problem. Which of the following commands will help locate the problem machine?

A. ps

B. netstat

C. nslookup

D. ifconfig

E. traceroute

Buy Now
Questions 6

Which of the following statements is true regarding the below /etc/resolv.conf file? search example.com

127.0.0.1 208.77.188.166

A. There is a syntax error.

B. If DNS queries to the localhost fail, the server 208.77.188.166 will be queried.

C. example.com will be appended to all host lookups.

D. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.

E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.

Buy Now
Questions 7

Which of the following is the BEST way to list all defined shell variables?

A. env

B. set

C. env -a

D. echo $ENV

Buy Now
Questions 8

Each entry in a crontab must end with which of the following characters?

A. tab

B. space

C. backslash

D. newline

Buy Now
Questions 9

Which crontab entry could be used to set the system time at regular intervals?

A. 1 0 * * * date $d $t $24

B. 1 0 * * * ntpdate ntp1.digex.net

C. 1 0 * * * date ntp1.digex.net

D. 1 0 * * * runcron date ntp1.digex.net

E. 1 0 * * * settime $d $t $24

Buy Now
Questions 10

Which of the following commands should be used to print a listing of email in the system's mail queue?

A. lpq

B. mailq

C. mlq

D. sendmail -l

Buy Now
Questions 11

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).

Buy Now
Questions 12

Which IP protocol is connectionless and unreliable? (Please enter only a single answer and do not enter

duplicate answers in this field.)

Buy Now
Questions 13

Given the following line from /etc/nsswitch.conf: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for hostname lookups? (Provide the full path and filename).

Buy Now
Exam Code: LX0-102
Exam Name: CompTIA Linux+ [Powered by LPI] Exam 2
Last Update: Dec 14, 2024
Questions: 177
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99