PassLeader Valid LX0-104 Dumps with VCE and PDF (Question 271 – Question 300)

PassLeader released the NEWEST CompTIA LX0-104 exam dumps recently! Both LX0-104 VCE dumps and LX0-104 PDF dumps are available on PassLeader, either LX0-104 VCE dumps or LX0-104 PDF dumps have the NEWEST LX0-104 exam questions in it, they will help you passing CompTIA LX0-104 exam easily! You can download the valid LX0-104 dumps VCE and PDF from PassLeader here: https://www.passleader.com/lx0-104.html (662 Q&As Dumps)

Also, previewing the NEWEST PassLeader LX0-104 dumps online for free on Google Drive: https://drive.google.com/open?id=0B-ob6L_QjGLpbERvN0ZOZEM1V0U

QUESTION 271
On a system running the K Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

A.    When KDM starts
B.    When a user’s X session exists
C.    When KDM crashes
D.    When X is restarted
E.    When X crashes

Answer: B

QUESTION 272
Which of the following is the BEST way to temporarily suspend a user’s ability to interactively login?

A.    Changing the user’s UID.
B.    Changing the user’s password.
C.    Changing the user’s shell to /bin/false.
D.    Removing the user’s entry in /etc/passwd.
E.    Placing the command logout in the user’s profile.

Answer: C

QUESTION 273
To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How can this be done?

A.    unset -v FOOBAR
B.    set -a FOOBAR=””
C.    env -u FOOBAR myscript
D.    env -i FOOBAR myscript

Answer: C

QUESTION 274
Which of the following commands is used to display user resource limits?

A.    uname
B.    limit -a
C.    usrlmt
D.    ulimit

Answer: D

QUESTION 275
Which of the following lines would an administrator find in the file /etc/nsswitch.conf?

A.    order hosts,bind
B.    192.168.168.4 dns-server
C.    hosts: files dns
D.    domain mycompany.com

Answer: C

QUESTION 276
Which of the following commands can an administrator use to change a user’s password expiry information? (Select THREE.)

A.    usermod
B.    passwd
C.    chattr
D.    chage
E.    chsh

Answer: ABD

QUESTION 277
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.

Answer: A

QUESTION 278
Which of the following crontab entries could be used to set the system time at regular intervals?

A.    1 0 * * * date $d $t $24
B.    1 0 * * * settime $d $t $24
C.    1 0 * * * date<ntp1.digex.net
D.    1 0 * * * /usr/sbin/runcron date <ntp1.digex.net
E.    1 0 * * * /usr/sbin/ntpdate ntp1.digex.net > /dev/null 2>&1

Answer: E

QUESTION 279
Which of the following outputs will the below command produce?
seq 1 5 20

A.    1
B.    100
C.    101
D.    20
E.    5

Answer: A

QUESTION 280
When using ssh, which of the following can an administrator do to recover a lost passphrase for a DSA or RSA authentication key?

A.    Run the ssh-keygen command.
B.    Run the ssh –recover command.
C.    A lost passphrase cannot be recovered.
D.    Decrypt the authentication key with gpg.
E.    Decrypt the authentication key with ssh –decrypt.

Answer: C

QUESTION 281
Which of the following describes the Linux ping packet or datagram?

A.    IP packet with a packet type
B.    ICMP packet with a message type
C.    ICMP packet with a payload
D.    UDP datagram with a protocol type
E.    UDP datagram with a payload

Answer: B

QUESTION 282
Which of the following entries can an administrator add to syslog.conf file to have all syslog messages generated by the administrator system go file to have all syslog messages generated by the administrator system go to virtual console 12?

A.    *.* /dev/tty12
B.    /var/log/messages | /dev/tty12
C.    | /dev/tty12
D.    syslog tty12
E.    mail.* /dev/tty12

Answer: A

QUESTION 283
Which file specifies the user accounts can NOT submit jobs via at or batch? (Provide the full path and filename.)

Answer:
/ETC/AT.DENY

QUESTION 284
The ____ command is used to add a group to the system. (Please enter only a single command and do not enter duplicate answers in this field.)

Answer:
/USR/SBIN/GROUPADD
GROUPADD

QUESTION 285
An administrator has just set up the X Display Manager as the default display manager. Which of the following files should be edited to change the default background for it?

A.    /etc/X11/xdm/Xsetup
B.    /etc/X11/prefdm
C.    /etc/X11/xorg.conf
D.    /etc/X11/xdm.conf

Answer: A

QUESTION 286
What word is missing from the following SQL statement?
update tablename ____ fieldname=’value’ where id=909;

Answer:
SET

QUESTION 287
What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments, please no duplicate answers in this field.)

Answer:
/SBIN/IPROUTEDEL0.0.0.0
/SBIN/IPROUTEDELDEFAULT
/SBIN/ROUTEDEL0.0.0.0
/SBIN/ROUTEDELDEFAULT
IPROUTEDEL0.0.0.0
IPROUTEDELDEFAULT
ROUTEDEL0.0.0.0
ROUTEDELDEFAULT

QUESTION 288
An administrator is running an email server configured with the default settings. In which directory will the administrator commonly find the delivered mail for the user foo?

A.    /var/spool/mail
B.    /home/foo/mail
C.    /var/mail/spool
D.    /var/users/mail

Answer: A

QUESTION 289
For accessibility assistance, which of the following programs is an on-screen keyboard?

A.    xkb
B.    atkb
C.    GOK
D.    xOSK

Answer: C

QUESTION 290
What word is missing from the following SQL statement?
select count(*) ____ tablename;

Answer:
FROM

QUESTION 291
Which option, when passed to the gpg command, will enter an interactive menu enabling the user to perform key management related tasks? (Provide only one option.)

Answer:
EDIT-KEY
–EDIT-KEY

QUESTION 292
All of the following are contained in the locale setting of the operating system EXCEPT: ____.

A.    currency symbol
B.    language
C.    timezone
D.    thousands separator

Answer: C

QUESTION 293
An administrator discovers a pending job for the at command. Which of the following does the administrator need to use to remove it?

A.    atrm
B.    atq -r
C.    at -e
D.    rmat

Answer: A

QUESTION 294
A French user has installed the French language pack, but currencies are still being displayed with a leading ‘$’ sign in spreadsheets. Which of the following must be done to fix this?

A.    Alter the locale.
B.    Set the timezone correctly.
C.    Edit /etc/currency.
D.    Reinstall the French language pack.

Answer: A

QUESTION 295
An administrator has a user whose account needs to be disabled but not removed. Which of the following should the administrator do?

A.    Edit /etc/gshadow and just remove the user name.
B.    Edit /etc/passwd and change all numbers to 0.
C.    Edit /etc/shadow and remove the last field.
D.    Edit /etc/passwd and insert an * after the first : .
E.    Edit /etc/group file and put a # sign in front of the user name.

Answer: D

QUESTION 296
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

Answer: E

QUESTION 297
While performing a security audit, an administrator discovers that a machine is accepting connections on TCP port 184, but it is not obvious which process has the port open. Which of the following programs should the administrator use to find out?

A.    traceroute
B.    strace
C.    debug
D.    nessus
E.    lsof

Answer: E

QUESTION 298
An administrator wants to temporarily prevent users from logging in. Please complete the following command: touch /etc/____.

Answer:
NOLOGIN

QUESTION 299
An administrator needs to pause the CUPS printer Laserjet4, and wants to cancel all print jobs with a message, “hello”. Which of the following commands will do this?

A.    cupsreject -c -r hello Laserjet4
B.    cupsreject -p -m hello Laserjet4
C.    cupsdisable -c -r hello Laserjet4
D.    cupsdisable -p -m hello Laserjet4

Answer: C

QUESTION 300
To prevent a specific user from scheduling tasks with at, which of the following should the administrator do?

A.    Add the specific user to /etc/at.allow file.
B.    Add the specific user to [deny] section in the /etc/atd.conf file.
C.    Add the specific user to /etc/at.deny file.
D.    Add the specific user to nojobs group.
E.    Run the following: atd –deny [user].

Answer: C


Welcome to choose PassLeader LX0-104 dumps for 100% passing CompTIA LX0-104 exam: https://www.passleader.com/lx0-104.html (662 Q&As VCE Dumps and PDF Dumps)

Also, previewing the NEWEST PassLeader LX0-104 dumps online for free on Google Drive: https://drive.google.com/open?id=0B-ob6L_QjGLpbERvN0ZOZEM1V0U