
Get Lpi 102-500 Dumps Questions [2021] To Gain Brilliant Result
102-500 dumps - Exam4Labs - 100% Passing Guarantee
NEW QUESTION 40
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. Create a .nologin file in the user's home directory.
- C. Remove the user from the group staff.
- D. Set the UID for the user to 0.
- E. Add the user to /etc/noaccess.
Answer: A
NEW QUESTION 41
Which of the following protocols is related to the term open relay?
- A. SMTP
- B. NTP
- C. POP3
- D. LDAP
- E. IMAP
Answer: A
NEW QUESTION 42
What is true regarding the file ~/.forward?
- A. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
- B. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
- C. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
- D. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
Answer: C
NEW QUESTION 43
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?
Answer:
Explanation:
bind, interface
NEW QUESTION 44
Which crontab entry could be used to set the system time at regular intervals?
- A. 1 0 * * * ntpdate ntp1.digex.net
- B. 1 0 * * * settime $d $t $24
- C. 1 0 * * * date $d $t $24
- D. 1 0 * * * runcron date ntp1.digex.net
- E. 1 0 * * * date ntp1.digex.net
Answer: A
NEW QUESTION 45
On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.
- A. -rw-r-----, -r--------
- B. -rw-------, -r--------
- C. -rw-r--r--, -r--------
- D. -rw-r--r--, -r--r--r--
- E. -rw-r--rw-, -r-----r--
Answer: C
NEW QUESTION 46
FILL BLANK
Which file is processed by newaliases? (Specify the full name of the file, including path.)
Answer:
Explanation:
/etc/mail/aliases
NEW QUESTION 47
If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias's current target?
- A. alias --force ls='ls -l'
- B. alias ls='ls -l'
- C. alias --update ls ls='ls -l'
- D. set ls='ls -l'
- E. realias ls='ls -l'
Answer: B
NEW QUESTION 48
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
- A. The home directory of the group.
- B. The password of the group.
- C. The name of the group.
- D. The description of the group.
- E. The list of users that belong to the group.
Answer: B,C,E
NEW QUESTION 49
What benefit does an alias in bash provide?
- A. It creates a local copy of a file from another directory.
- B. It allows a string to be substituted for the first word of a simple command.
- C. It hides what command you are running from others.
- D. It provides faster lookups for commands in the system directory.
Answer: B
NEW QUESTION 50
On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?
- A. When X is restarted
- B. When X crashes
- C. When KDM crashes
- D. When KDM starts
- E. When a user's X session exits
Answer: E
NEW QUESTION 51
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
- A. The script file must be found in the $PATH.
- B. The file system on which the script resides must be mounted with the option scripts.
- C. The script must begin with a shebang-line (#!) that points to the correct interpreter.
- D. The script file must have the executable permission bit set.
- E. The user issuing the command must be in the group script.
Answer: A,C,D
NEW QUESTION 52
What is a purpose of an SSH host key?
- A. It authenticates any user that logs into a remote machine from the key's host.
- B. It is the root key by which all user SSH keys must be signed.
- C. It provides the server's identity information to connecting SSH clients.
- D. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
- E. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
Answer: C
NEW QUESTION 53
Why is the correct configuration of a system's time zone important?
- A. Because NTP chooses servers nearby based on the configured time zone.
- B. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
- C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
- D. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
Answer: B
NEW QUESTION 54
Which command can be used to delete a group from a Linux system?
- A. groups
- B. groupedit
- C. groupdel
- D. groupmod
Answer: C
NEW QUESTION 55
Which of the following situations is observed and corrected by an NTP client?
- A. The physical location and the timezone configuration.
- B. The skew in time between the system clock and the reference clock.
- C. Changes in the time zone of the current computer's location.
- D. Adjustment needed to support Daylight Saving Time.
- E. The skew in time between the system clock and the computer's hardware clock.
Answer: B
NEW QUESTION 56
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
- A. Synchronize the hardware and system clocks.
- B. Set the hardware clock.
- C. Set the system clock.
- D. Output date and time in different formats.
- E. Update the time via NTP.
Answer: C,D
NEW QUESTION 57
Why is the correct configuration of a system's time zone important?
- A. Because NTP chooses servers nearby based on the configured time zone.
- B. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
- C. Because the timezone is included in checksum calculations and timezone changes invalidate existing checksums.
- D. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
- E. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
Answer: B
NEW QUESTION 58
To exclude all log messages of a given logging facility, you should use a logging priority of _____ .
Answer:
Explanation:
none
NEW QUESTION 59
Why is the xhost program considered dangerous to use?
- A. It makes your computer share network resources without any authentication.
- B. It is a graphical DNS tool with known exploits.
- C. It logs sensitive information to syslog.
- D. It allows easy access to your X server by other users.
- E. It makes it difficult to uniquely identify a computer on the network.
Answer: D
NEW QUESTION 60
Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?
- A. hostname
- B. dnsq
- C. zoneinfo
- D. dnslookup
- E. dig
Answer: E
NEW QUESTION 61
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
- A. hostname
- B. dnsq
- C. zoneinfo
- D. dnslookup
- E. dig
Answer: E
NEW QUESTION 62
X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?
- A. cat /etc/X11
- B. xwininfo
- C. xcd
- D. xcolordepth
- E. xcdepth
Answer: B
NEW QUESTION 63
......
Get 100% Passing Success With True 102-500 Exam: https://www.exam4labs.com/102-500-practice-torrent.html
Premium Quality Lpi 102-500 Online dumps: https://drive.google.com/open?id=19rCrF35mYg81BnGBSCwRSZws0tkOLAj9