100% Pass Ensure CompTIA Linux+ LX0-104 Practice Test with Free VCE and PDF (Question 211 – Question 240)

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 211
Which of the following methods can be used to deactivate a rule in Snort? (Select TWO.)

A.    Place a # in front of the rule and restart snort.
B.    Write a pass rule in local.rules and restart snort with the o option.
C.    Delete the rule and snort will automatically reread its rules files within five minutes.
D.    Add the rule to /etc/snort/rules.deactivated and it will take effect immediately.

Answer: AB

QUESTION 212
The system administrator is keeping local configuration file changes in RCS. What command will commit the file to RCS revision control AND keep a local, unlocked copy of the latest version of the file?

A.    ci file
B.    rcs commit file
C.    rcs o file
D.    ci u file

Answer: D

QUESTION 213
There is a configuration file being managed by RCS. Based on timestamps, it appears that someone has modified the file without checking it into RCS. What command can be used to compare the configuration file with the latest committed version? (Specify the command only, no path or argument information.)

Answer:
rcsdiff

QUESTION 214
What is an SO rule in the context of Snort?

A.    A loadable snort module.
B.    A rule which can be written in the Perl programming language.
C.    A simple object.
D.    A snort overflow.

Answer: A

QUESTION 215
Which of the following are valid ntop deployment scenarios? (Select THREE.)

A.    Public Site
B.    Switched Gateway
C.    Simple Host
D.    Border Gateway
E.    Mirror Line

Answer: CDE

QUESTION 216
In the Puppet centralized configuration management tool, a manifest is: ____.

A.    a list of all target configurations
B.    a configuration document that describes the target configuration and the steps required to achieve it
C.    a list of all files related to a configuration target
D.    a list of the important services on a target configuration

Answer: B

QUESTION 217
What is the syntax error in the following simple Puppet configuration file?
class test_class {
file { “/tmp/test.txt”:
mode => 600,
owner => root,
group => root
}
}
# Define the node
node testclient {
isa test_class
}

A.    Comments begin with // character and not a #.
B.    The colon (:) after /tmp/test.txt should be a semicolon (;).
C.    class, node and file sections require a semicolon (;) at the end of their definitions.
D.    isa should be include.

Answer: D

QUESTION 218
Which of the following are valid Nagios objects? (Select THREE.)

A.    Contacts
B.    Commands
C.    Host Groups
D.    Notification Groups
E.    Programs

Answer: ABC

QUESTION 219
Which of the following are common techniques for securing Nagios? (Select THREE.)

A.    Require authentication for access to the CGI scripts.
B.    Run Nagios in a chroot jail.
C.    Compile Nagios with the enabletls option.
D.    Do not run as the root user.
E.    Disable external commands.

Answer: ADE

QUESTION 220
Which of the following is not an iptables rule set?

A.    chain
B.    mangle
C.    filter
D.    nat

Answer: A

QUESTION 221
Which of the following are builtin chains for the iptables nat table? (Select THREE.)

A.    OUTPUT
B.    INPUT
C.    PROCESSING
D.    POSTROUTING
E.    PREROUTING

Answer: ADE

QUESTION 222
Which syslog configuration line will send out logged messages to a remote syslog server?

A.    *.* host:remotehost
B.    *.* remote remotehost
C.    *.* @remotehost
D.    *.* host=remotehost

Answer: C

QUESTION 223
Which option is required to syslogd in order for it to accept remote log messages?

A.    s
B.    r
C.    remote
D.    l

Answer: B

QUESTION 224
What does the following iptables rule accomplish:
iptables A INPUT s 208.77.188.166 j DROP

A.    Forwards all incoming traffic to the host 208.77.188.166.
B.    Accepts all traffic from 208.77.188.166.
C.    Nothing, there is a syntax error.
D.    Drops all traffic from 208.77.188.166.

Answer: D

QUESTION 225
What does the following iptables rule accomplish:
iptables A INPUT s 208.77.188.166 d 10.142.232.1 p tcp dport 22 j ACCEPT

A.    Accepts traffic on port 22 only from the hosts 208.77.188.166 and 10.142.232.1.
B.    Forwards all requests from the host 10.142.232.1 on port 22 the internal host 208.77.188.166
C.    Forwards all requests from the host 208.77.188.166 on port 22 the internal host 10.142.232.1
D.    Drops traffic on port 22 only from the hosts 208.77.188.166 and 10.142.232.1.

Answer: C

QUESTION 226
What does the following iptables rule accomplish:
iptables A INPUT d 10.142.232.1 p tcp dport 20:21 j ACCEPT

A.    Forwards all traffic not on port 20 or 21 to the host 10.142.232.1.
B.    Drops all traffic coming from the host 10.142.232.1 destined for port 20 or 21.
C.    Accepts all traffic from the host 10.142.232.1 destined for port 20 or 21.
D.    Forwards all traffic on port 20 and 21 to the host 10.142.232.1.

Answer: D

QUESTION 227
What does the following iptables rule accomplish:
iptables A INPUT s !127.0.0.0/8 p tcp dport 111 j DROP

A.    Drops all packets from the LAN destined for port 111.
B.    Drops all packets originating from the local machine unless they are destined for port 111.
C.    Drops all packets destined for port 111 which originate from the local machine.
D.    Drops all packets destined for port 111 unless they are from the local machine.

Answer: D

QUESTION 228
The local system administrator has created a configuration entry for apache version 2 that isn’t working. What is wrong with the following configuration?
<Location /members>
AuthName Members
AuthType Basic
AuthUserFile /www/passwd
</Location>

A.    The directive require validuser is missing.
B.    Basic Authentication has been removed from Apache 2.x.
C.    The format of the password file is not specified.
D.    The AuthUserFile must be in the apache configuration directory.

Answer: A

QUESTION 229
In apache configuration which directives are used to restrict access based on host/domain name and IP address?

A.    restrict and allow
B.    order, allow from and deny from
C.    deny and accept
D.    allow IP, deny IP, allow DOMAIN and deny DOMAIN
E.    order, deny and accept

Answer: B

QUESTION 230
The legacy program for sending files to the printer queues from the command line is which of the following?

A.    lpd
B.    lpr
C.    lpq
D.    lpp

Answer: B

QUESTION 231
Which of the following statements would create a default route using a gateway of 192.168.1.1?

A.    netstat -add default gw
B.    route default 192.168.1.1
C.    ip route default 192.168.1.1
D.    route add default gw 192.168.1.1
E.    ifconfig default gw 192.168.1.1 eth0

Answer: D

QUESTION 232
Which of the following is the purpose of the dig command?

A.    To adjust a directory’s hidden permissions
B.    To search for files on the filesystem
C.    To adjust a file’s hidden permissions
D.    To perform hostname lookups
E.    To ping all known hosts on the current subnet

Answer: D

QUESTION 233
Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?

A.    /etc/groups
B.    /etc/passwd
C.    /etc/sudoers
D.    /etc/sudo.conf

Answer: C

QUESTION 234
Which of the following commands will set the local machine’s timezone to UTC?

A.    cat UTC > /etc/timezone
B.    ln -s /usr/share/zoneinfo/UTC /etc/localtime
C.    date –timezone=UTC
D.    mv /usr/timezone/UTC /etc

Answer: B

QUESTION 235
A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file).

Answer:
/etc/cron.allow

QUESTION 236
Which of the following commands should be added to /etc/bash_profile to change the language of
messages from an internationalised program to Portuguese (pt)? (Select TWO.)

A.    export LANGUAGE=”pt”
B.    export MESSAGE=”pt”
C.    export LANG=”pt”
D.    export LC_MESSAGES=”pt”
E.    export ALL_MESSAGES=”pt”

Answer: CD

QUESTION 237
Which of the following is pool.ntp.org?

A.    A deprecated feature for maintaining system time in the Linux kernel.
B.    A website which provides binary and source packages for the OpenNTPD project.
C.    A virtual cluster of various timeservers.
D.    A community website used to discuss the localization of Linux.

Answer: C

QUESTION 238
Which of the following directories in a user’s home contains configuration files and key rings for GPG?

A.    ~/gpg.d/
B.    ~/.gpg/
C.    ~/.gnupg/
D.    ~/gnupg/
E.    ~/.gpg.d/

Answer: C

QUESTION 239
Which of the following lines from /etc/X11/xorg.conf indicates that fonts can be found on a font server?

A.    FontPath = server
B.    Fonts “unix/:7100”
C.    FontPath “unix/:7100”
D.    Fonts = server
E.    Fontserver = “servername”

Answer: C

QUESTION 240
The files in the /etc/skel directory are used by the: ____.

A.    pwconv command
B.    pwunconv command
C.    useradd command
D.    passwd command

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