PassLeader LX0-104 Exam Dumps Collection with VCE and PDF (Question 1 – Question 30)

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 1
What output will the following command produce?
seq 1 5 20

A.    1
B.    100
C.    120
D.    2
E.    5

Answer: A

QUESTION 2
When the command echo $$ outputs 12942, what is the meaning of 12942?

A.    It is the process ID of the echo command.
B.    It is the process ID of the current shell.
C.    It is the process ID of the last command executed.
D.    It is the process ID of the last command which has been placed in the background.

Answer: B

QUESTION 3
Which of the following commands puts the output of the command date into the shell variable mydate?

A.    mydate=”$(date)”
B.    mydate=”exec date”
C.    mydate=”$((date))”
D.    mydate=”date”
E.    mydate=”${date}”

Answer: A

QUESTION 4
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

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

Answer: C

QUESTION 5
When the command echo $ outputs 1, which of the following statements is true?

A.    It is the process ID of the echo command.
B.    It is the process ID of the current shell.
C.    It is the exit value of the command executed immediately before echo.
D.    It is the exit value of the echo command.

Answer: C

QUESTION 6
What command displays all aliases defined in the current shell? (Specify the command without any path information.)

Answer:
alias, alias -p

QUESTION 7
What is the purpose of the file /etc/profile?

A.    It contains the welcome message that is displayed after login.
B.    It contains security profiles defining which users are allowed to log in.
C.    It contains environment variables that are set when a user logs in.
D.    It contains default application profiles for users that run an application for the first time.

Answer: C

QUESTION 8
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

A.    It is placed in curly brackets as in Section SectionName { … }.
B.    It is placed between a line containing Section “SectionName” and a line containing EndSection.
C.    It is placed between the tags <Section name=”SectionName”> and </Section>.
D.    It is placed after the row [SectionName].
E.    It is placed after an initial unindented Section “SectionName” and must be indented by exactly one tab character.

Answer: B

QUESTION 9
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Answer:
xdm

QUESTION 10
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Answer:
/usr/bin/xwininfo, xwininfo

QUESTION 11
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Answer:
DISPLAY, $DISPLAY

QUESTION 12
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

A.    tcpd
B.    inetd
C.    fingerd
D.    mountd
E.    xinetd

Answer: A

QUESTION 13
Which of the following commands can be used to limit the amount of memory a user may use?

A.    umask
B.    usermod
C.    ulimit
D.    passwd
E.    chage

Answer: C

QUESTION 14
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Select TWO.)

A.    ssh –port 2222 example.com
B.    ssh -p 2222 example.com
C.    ssh -o Port=2222 example.com
D.    ssh -o GatewayPort=2222 example.com
E.    ssh example.com:2222

Answer: BC

QUESTION 15
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Answer:
/etc/xinetd.d/, /etc/xinetd.d

QUESTION 16
What is a purpose of an SSH host key?

A.    It must be sent by any SSH client in addition to a user key in order to identify the client’s host.
B.    It provides the server’s identity information to connecting SSH clients.
C.    It is the root key by which all user SSH keys must be signed.
D.    It authenticates any user that logs into a remote machine from the key’s host.
E.    It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

Answer: B

QUESTION 17
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Answer:
I

QUESTION 18
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

A.    core
B.    edquota
C.    ulimit
D.    quota

Answer: C

QUESTION 19
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Answer:
/etc/shadow

QUESTION 20
Which file used by XDM specifies the default wallpaper?

A.    /etc/X11/xdm/Xsetup
B.    /etc/X11/xdm.conf
C.    /etc/X11/xdm/Defaults
D.    /etc/X11/defaults.conf

Answer: A

QUESTION 21
What is the purpose of the iconv command?

A.    It converts bitmap images from one format to another such as PNG to JPEG.
B.    It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
C.    It displays additional meta information from icon files ending in .ico.
D.    It changes the mode of an inode in the ext4 file system.
E.    It converts files from one character encoding to another.

Answer: E

QUESTION 22
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

A.    Without additional configuration, no users may have user specific crontabs.
B.    Without additional configuration, all users may have user specific crontabs.
C.    The cron daemon will refuse to start and report missing files in the system’s logfile.
D.    When a user creates a user specific crontab the system administrator must approve it explicitly.

Answer: A

QUESTION 23
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

A.    *
B.    –
C.    s
D.    x

Answer: D

QUESTION 24
Which command can be used to delete a group from a Linux system?

A.    groupdel
B.    groupmod
C.    groups
D.    groupedit

Answer: A

QUESTION 25
Which of the following files assigns a user to its primary group?

A.    /etc/pgroup
B.    /etc/shadow
C.    /etc/group
D.    /etc/passwd
E.    /etc/gshadow

Answer: D

QUESTION 26
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Answer:
/etc/cron.allow

QUESTION 27
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable’s scope? (Specify the variable name only.)

Answer:
TZ

QUESTION 28
What is true regarding the command userdel –force –remove bob? (Select TWO.)

A.    The user bob is removed from the system’s user database.
B.    The user bob’s home directory is removed.
C.    The locate database is updated to drop files owned by bob.
D.    All files owned by bob are remove from all mounted filesystems.
E.    In case bob was the last member of a group, that group is deleted.

Answer: AB

QUESTION 29
The system’s timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information.)

Answer:
/usr/share/zoneinfo/

QUESTION 30
To prevent a specific user from scheduling tasks with at, what 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