Approved of 102-500 free draindumps materials and keys for LPI certification for IT specialist, Real Success Guaranteed with Updated 102-500 pdf dumps vce Materials. 100% PASS LPIC-1 Exam 102 - Part 2 of 2 - version 5.0 exam Today!
LPI 102-500 Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
- A. 2001:db8::15 www.example.com www
- B. www.example.com www 203.0.13.15
- C. 203.0.113.15 www.example.com www
- D. www.example.com,www 203.0.13.15,2001:db8::15
- E. 2003.0.113.15,2001:db8::15 www.example.com www
Answer: AC
NEW QUESTION 2
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
NEW QUESTION 3
Each entry in a crontab must end with what character?
- A. Tab
- B. Space
- C. Backslash
- D. Newline
Answer: D
NEW QUESTION 4
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
- A. substitute
- B. nameserver
- C. search
- D. lookup
- E. method
Answer: BC
NEW QUESTION 5
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
NEW QUESTION 6
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
xorg.conf
NEW QUESTION 7
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
NEW QUESTION 8
You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, "hello". Which command will do this?
- A. cupsreject -c -r hello HPLaserjet4
- B. cupsreject -p -m hello HPLaserjet4
- C. cupsdisable -c -r hello HPLaserjet4
- D. cupsdisable -p -m hello HPLaserjet4
Answer: C
NEW QUESTION 9
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
NEW QUESTION 10
Why is the correct configuration of a system's time zone important?
- A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
- B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
- C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
- D. Because NTP chooses servers nearby based on the configured time zone.
Answer: A
NEW QUESTION 11
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
groupadd, /usr/sbin/groupadd
NEW QUESTION 12
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--r--, -r--r--r--
- C. -rw-r--r--, -r--------
- D. -rw-r--rw-, -r-----r--
- E. -rw-------, -r--------
Answer: C
NEW QUESTION 13
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 14
On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?
- A. The local routing information may be corrupted and must be re-validated using a routing protocol.
- B. One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.
- C. There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.
- D. DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.
Answer: D
NEW QUESTION 15
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
- 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
NEW QUESTION 16
What command displays all aliases defined in the current shell? (Specify the command without any path information)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
alias, alias -p
NEW QUESTION 17
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
- A. sshd
- B. ssh-agent
- C. ssh-keygen
- D. ssh-add
Answer: B
NEW QUESTION 18
Which configuration file would be edited to change the default options for outbound SSH sessions?
- A. /etc/ssh/sshd_config
- B. /etc/ssh/ssh
- C. /etc/ssh/client
- D. /etc/ssh/ssh_config
- E. /etc/ssh/ssh_client
Answer: D
NEW QUESTION 19
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
NEW QUESTION 20
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
NEW QUESTION 21
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.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
/etc/skel
NEW QUESTION 22
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.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
server
NEW QUESTION 23
......
Recommend!! Get the Full 102-500 dumps in VCE and PDF From 2passeasy, Welcome to Download: https://www.2passeasy.com/dumps/102-500/ (New 194 Q&As Version)