
102-500 Certification Exam Dumps Questions in here [Jul-2024]
Updated 102-500 Exam Practice Test Questions
NEW QUESTION # 49
FILL BLANK
Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTA's mail queue? (Specify only the command without any path or parameters.)
Answer:
Explanation:
mailq
NEW QUESTION # 50
What is true about the file /etc/localtime?
- A. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
- B. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/ Europe/Berlin.
- C. After changing this file, newtzconfig has to be run to make the changes effective.
- D. It is a plain text file containing a string such as Europe/Berlin
- E. It is created and maintained by the NTP service based on the location of the system's IP address.
Answer: B
NEW QUESTION # 51
Which of the following can the chage command NOT change?
- A. The maximum number of days during which a password is valid.
- B. The number of days since January 1, 1970 after which the password can change.
- C. The number of days since January 1, 1970 since the password was last changed.
- D. The number of days since January 1, 1970 after which the user's account will no longer be accessible.
- E. The number of days of inactivity after a password has expired before the account is locked.
Answer: B
NEW QUESTION # 52
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 the tags <Section name="SectionName"> and </Section>
- C. It is placed between a line containing Section "SectionName" and a line containing EndSection.
- D. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.
- E. It is placed after the row [SectionName].
Answer: C
NEW QUESTION # 53
FILL BLANK
What command, depending on its options, can display the open TCP connections, the routing tables, as well as network interface statistics? (Specify only the command without any path or parameters.)
Answer:
Explanation:
netstat
NEW QUESTION # 54
What is the purpose of the Sticky Keys feature in X?
- A. To ignore brief keystrokes according to a specified time limit
- B. To repeat the input of a single character
- C. To assist users who have difficulty holding down multiple keys at once
- D. To prevent repeated input of a single character if the key is held down
Answer: C
NEW QUESTION # 55
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
NEW QUESTION # 56
Which of the following steps prevents a user from obtaining an interactive login session?
- A. Removing the user from the group staff.
- B. Running the command chsh -s /bin/false with the user name.
- C. Creating a .nologin file in the user's home directory.
- D. Setting the UID for the user to 0.
- E. Adding the user to /etc/noaccess.
Answer: B
NEW QUESTION # 57
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. zoneinfo
- B. dig
- C. dnslookup
- D. dnsq
- E. hostname
Answer: B
NEW QUESTION # 58
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)
Answer:
Explanation:
server
NEW QUESTION # 59
Which command makes the shell variable named VARIABLE visible to subshells?
- A. set VARIABLE
- B. export $VARIABLE
- C. env VARIABLE
- D. set $VARIABLE
- E. export VARIABLE
Answer: E
NEW QUESTION # 60
Which of the following statements is true regarding systemd timer units?
- A. The command executed by the timer is specified in the timer unit's [Cmd] section.
- B. Timer units can only be defined within a service unit's file.
- C. Each systemd timer unit controls a specific systemd service unit.
- D. A dedicated system service, systemd-cron, handles the execution of timer units.
- E. Timer units only exist in the system scope and are not available for users.
Answer: C
NEW QUESTION # 61
Which crontab entry could be used to set the system time at regular intervals?
- A. 1 0 * * * runcron date ntp1.digex.net
- B. 1 0 * * * ntpdate ntp1.digex.net
- C. 1 0 * * * date ntp1.digex.net
- D. 1 0 * * * settime $d $t $24
- E. 1 0 * * * date $d $t $24
Answer: B
NEW QUESTION # 62
Which of the following configuration files should be modified to globally set shell variables for all users?
- A. /etc/profile
- B. /etc/shellenv
- C. /etc/bashrc
- D. ~/.bash_profile
- E. /etc/.bashrc
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION # 63
What benefit does an alias in bash provide?
- A. It provides faster lookups for commands in the system directory.
- B. It hides what command you are running from others.
- C. It creates a local copy of a file from another directory.
- D. It allows a string to be substituted for the first word of a simple command.
Answer: D
NEW QUESTION # 64
......
Verified 102-500 dumps Q&As 100% Pass in First Attempt Guaranteed Updated Dump: https://drive.google.com/open?id=1_TfeBxPE05h0dZwz0ZmbzxMcUBg0zmE9
Pass LPIC Level1 102-500 Exam With 199 Questions: https://www.lead2passexam.com/Lpi/valid-102-500-exam-dumps.html