CompTIA Exam Linux+ LX0-104 Dumps With VCE and PDF Download (Question 91 – Question 120)

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 91
Which of the following commands lists all defined variables and functions within Bash?

A.    env
B.    set
C.    env -a
D.    echo $ENV

Answer: B

QUESTION 92
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Select THREE.)

A.    The user issuing the command must be in the group script.
B.    The script file must be found in the $PATH.
C.    The script file must have the executable permission bit set.
D.    The script must begin with a shebang-line (#!) that points to the correct interpreter.
E.    The file system on which the script resides must be mounted with the option scripts.

Answer: BCD

QUESTION 93
By default, the contents of which directory will be copied to a new user’s home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Answer:
/etc/skel

QUESTION 94
What word is missing from the following SQL statement?
____ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

Answer:
select

QUESTION 95
What word is missing from the following SQL statement?
insert into tablename ____(909, ‘text’);
(Please specify the missing word using lower-case letters only.)

Answer:
VALUES, values

QUESTION 96
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Answer:
1024

QUESTION 97
Which of the following may occur as a consequence of using the command ifconfig? (Select THREE.)

A.    New name servers may be added to the resolver configuration.
B.    Network interfaces may become active or inactive.
C.    The routing table may change.
D.    IP addresses may change.
E.    The system’s host name may change.

Answer: BCD

QUESTION 98
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Answer:
hostname

QUESTION 99
Which of the following commands will help identify a broken router between the local and the remote machine?

A.    ps
B.    netstat
C.    nslookup
D.    ifconfig
E.    traceroute

Answer: E

QUESTION 100
Which of the following programs can be used to determine the routing path to a given destination?

A.    dig
B.    netstat
C.    ping
D.    route
E.    traceroute

Answer: E

QUESTION 101
What of the following can be done by the command ifconfig? (Select TWO.)

A.    Set a network interface active or inactive.
B.    Specify the kernel module to be used with a network interface.
C.    Allow regular users to change the network configuration of a network interface.
D.    Change the netmask used on a network interface.
E.    Specify which network services are available on a network interface.

Answer: AD

QUESTION 102
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)

Answer:
14

QUESTION 103
Given the following routing table:
passleader-LX0-104-dumps-1031
How would an outgoing packet to the destination 192.168.2.150 be handled?

A.    It would be passed to the default router 192.168.178.1 on wlan0.
B.    It would be directly transmitted on the device eth0.
C.    It would be passed to the default router 255.255.255.0 on eth0.
D.    It would be directly transmitted on the device wlan0.
E.    It would be passed to the router 192.168.1.1 on eth0.

Answer: E

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

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

Answer: C

QUESTION 105
Which of the following commands shows the current color depth of the X Server?

A.    xcd
B.    xcdepth
C.    xwininfo
D.    xcolordepth
E.    cat /etc/X11

Answer: C

QUESTION 106
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Answer:
xorg.conf

QUESTION 107
How is a display manager started?

A.    It is started by a user using the command startx.
B.    It is started like any other system service by the init system.
C.    It is started by inetd when a remote hosts connects to the X11 port.
D.    It is started automatically when a X11 user logs in to the system console.

Answer: B

QUESTION 108
Which of the following are tasks handled by a display manager like XDM or KDM? (Select TWO.)

A.    Start and prepare the desktop environment for the user.
B.    Configure additional devices like new monitors or projectors when they are attached.
C.    Handle the login of a user.
D.    Lock the screen when the user was inactive for a configurable amount of time.
E.    Create an X11 configuration file for the current graphic devices and monitors.

Answer: AC

QUESTION 109
What is the purpose of a screen reader?

A.    It reads text displayed on the screen to blind or visually impaired people.
B.    It reads the parameters of the attached monitors and creates an appropriate X11 configuration.
C.    It displays lines and markers to help people use speed reading techniques.
D.    It manages and displays files that contain e-books.

Answer: A

QUESTION 110
Which of the following steps prevents a user from obtaining an interactive login session?

A.    Run the command chsh -s /bin/false with the user name.
B.    Set the UID for the user to 0.
C.    Remove the user from the group staff.
D.    Add the user to /etc/noaccess.
E.    Create a .nologin file in the user’s home directory.

Answer: A

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

Answer:
/etc/at.deny

QUESTION 112
What is true about the file /etc/localtime?

A.    It is a plain text file containing a string such as Europe/Berlin.
B.    It is created and maintained by the NTP service based on the geolocation of the system’s IP address.
C.    It is a symlink to /sys/device/clock/ltime and always contains the current local time.
D.    It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

Answer: D

QUESTION 113
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO.)

A.    Year
B.    Minute
C.    Username
D.    Command

Answer: BD

QUESTION 114
Which of the following commands can remove a user from a group?

A.    grouprm
B.    groupmod
C.    passwd
D.    usergroups
E.    usermod

Answer: E

QUESTION 115
Which command makes the shell variable named VARIABLE visible to subshells?

A.    export $VARIABLE
B.    export VARIABLE
C.    set $VARIABLE
D.    set VARIABLE
E.    env VARIABLE

Answer: B

QUESTION 116
Which of the following files, when existing, affect the behavior of the Bash shell? (Select TWO.)

A.    ~/.bashconf
B.    ~/.bashrc
C.    ~/.bashdefaults
D.    ~/.bash_etc
E.    ~/.bash_profile

Answer: BE

QUESTION 117
What output will the command seq 10 produce?

A.    A continuous stream of numbers increasing in increments of 10 until stopped.
B.    The numbers 1 through 10 with one number per line.
C.    The numbers 0 through 9 with one number per line.
D.    The number 10 to standard output.

Answer: B

QUESTION 118
What is the difference between the commands test -e path and test -f path?

A.    They are equivalent options with the same behaviour.
B.    The -f option tests for a regular file. The -e option tests for an empty file.
C.    Both options check the existence of the path. The -f option also confirms that it is a regular file.
D.    The -f option tests for a regular file. The -e option tests for an executable file.

Answer: C

QUESTION 119
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

A.    SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
B.    SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;
C.    COUNT(SELECT order_type FROM orders);
D.    SELECT COUNT(*) FROM orders ORDER BY order_type;
E.    SELECT AUTO_COUNT FROM orders COUNT order_type;

Answer: B

QUESTION 120
What output will the following command sequence produce?
echo ‘1 2 3 4 5 6’ | while read a b c; do
echo result: $c $b $a;
done

A.    result: 3 4 5 6 2 1
B.    result: 1 2 3 4 5 6
C.    result: 6 5 4
D.    result: 6 5 4 3 2 1
E.    result: 3 2 1

Answer: A


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