[Dec-2023] Updated and Accurate 102-500 Questions & Answers for passing the exam Quickly
Download Real 102-500 Exam Dumps for candidates. 100% Free Dump Files
NEW QUESTION # 20
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat
NEW QUESTION # 21
Why is the correct configuration of a system's time zone important?
- A. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
- 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 NTP chooses servers nearby based on the configured time zone.
Answer: B
NEW QUESTION # 22
What is true regarding the file ~/.forward?
- A. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
- B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
- C. As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
- D. By default, only ~/.forward files of users in the group mailq are processed while all other user's ~/
.forward files are ignored. - E. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
Answer: A
NEW QUESTION # 23
Which of the following files assigns a user to its primary group?
- A. /etc/pgroup
- B. /etc/group
- C. /etc/passwd
- D. /etc/gshadow
- E. /etc/shadow
Answer: C
NEW QUESTION # 24
Which of the commands below might have produced the following output?
- A. dig www.example.org
- B. dig -t a www.example.org
- C. dig -t ns www.example.org
- D. dig -t mx www.example.org
- E. dig -t soa www.example.org
Answer: A
NEW QUESTION # 25
Which of the following commands can deconfigure a network interface?
- A. ipdown
- B. ifconfig
- C. net
- D. netdown
Answer: B
NEW QUESTION # 26
Which of the following is a valid IPv6 address?
- A. 2001%db8%9990%%1
- B. 2001:db8:0g21::1
- C. 2001:db8:3241::1
- D. 2001::db8:4581::1
- E. 2001.db8.819f..1
Answer: C
NEW QUESTION # 27
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:
Explanation:
I
NEW QUESTION # 28
Which of the following commands lists all defines variables and functions within Bash?
- A. env -a
- B. echo $ENV
- C. export
- D. set
- E. env
Answer: D
NEW QUESTION # 29
FILL BLANK
Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)
Answer:
Explanation:
hwclock
NEW QUESTION # 30
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)
- A. remote
- B. resolv
- C. files
- D. hosts
- E. dns
Answer: C,E
NEW QUESTION # 31
Which of the following are syslog facilities? (Choose two.)
- A. postmaster
- B. remote
- C. mail
- D. accounting
- E. local5
Answer: C,E
NEW QUESTION # 32
Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)
Answer:
Explanation:
/etc/skel/
NEW QUESTION # 33
Which of the following comparison operators for testwork on elements in the file system? (Choose two.)
- A. -z
- B. -eq
- C. -f
- D. -
- E. -lt
Answer: C,D
NEW QUESTION # 34
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in
/usr?
- A. find /usr -suid -perm +4000
- B. find -type suid -username root -d /usr
- C. find -user root +mode +s /usr
- D. find /usr -ls \*s\* -u root
- E. find /usr -uid 0 -perm +4000
Answer: E
NEW QUESTION # 35
Which of the following commands finds all files owned by root that have the SetUID bit set?
- A. find / -owner 0 -permbits 0x100000000
- B. find / -user 0 -mode +s
- C. find / --filter uid=1 --filter pers=u+s
- D. find / -user root -perm -4000
- E. find / -owner root -setuid
Answer: D
NEW QUESTION # 36
Which command, available with all 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, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail, /usr/sbin/sendmail, /usr/lib/sendmail
NEW QUESTION # 37
What does the term Braille Display refer to?
- A. A Linux desktop environment similar to KDE and GNOME.
- B. A standardized high contract graphical theme for desktop applications?
- C. A legacy display technology superseded by LCD.
- D. A physical representation of characters using small dots.
- E. A standard file format for data exchange, similar to XML.
Answer: D
NEW QUESTION # 38
FILL BLANK
Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)
Answer:
Explanation:
journalctl
NEW QUESTION # 39
Which file contains the date of the last change of a user's password?
- A. /etc/passwd
- B. /var/log/shadow
- C. /etc/shadow
- D. /etc/gshadow
- E. /etc/pwdlog
Answer: C
NEW QUESTION # 40
Which configuration file contains the default options for SSH clients?
- A. /etc/ssh/sshd_config
- B. /etc/ssh/ssh_client
- C. /etc/ssh/ssh
- D. /etc/ssh/client
- E. /etc/ssh/ssh_config
Answer: E
NEW QUESTION # 41
On a Linux 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. DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.
- D. 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.
- E. The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit.
Answer: C
NEW QUESTION # 42
......
Prepare Important Exam with 102-500 Exam Dumps: https://www.braindumpsit.com/102-500_real-exam.html
Pass Exam Questions Efficiently With 102-500 Questions: https://drive.google.com/open?id=1rtSTJw-fc-WRkYnnCZvpJEZlEenutXxq