For accessibility assistance, which of the following programs is an on-screen keyboard?
Correct Answer: A
Question 122
What is the purpose of the iconv command?
Correct Answer: E
The iconv command is used to convert the encoding of a file from one character set to another. A character set is a collection of characters that are assigned numerical values called code points. Different character sets may use different numbers of bytes to represent each character, and may have different mappings of code points to characters. For example, ASCII is a single-byte character set that encodes 128 characters, while UTF-8 is a variable-length character set that can encode over a million characters. The iconv command can convert between many different character sets, such as ASCII, UTF-8, ISO-8859-1, etc. The basic syntax for using the command is as follows: iconv [options] -f from-encoding -t to-encoding input-file > output-file The -f option specifies the encoding of the input file, and the -t option specifies the encoding of the output file. The input file is read from standard input, and the output file is written to standard output, unless specified otherwise. The iconv command can also list all the supported character sets with the -l option1234. Reference: How To Use the iconv Command on Linux - How-To Geek iconv command in Linux with Examples - GeeksforGeeks iconv - convert file encoding from one character set to another | Linux ... Using iconv to change character encodings - FileFormat.Info
Question 123
What is true regarding TCP port 23?
Correct Answer: A
Port 23 is the well known port for the telnet service, which is a remote connection tool similar to SSH, but without the security of SSH. It uses a client/server model - a telnet client connects to a telnet server using TCP port 23. Due to lack of security, usage of telnet is discouraged in most situations, and firewalls routinely block port 23 to prevent incoming telnet connections. Port 23 is part of the topic 109.1: Fundamentals of internet protocols, which is one of the objectives of the LPI Linux Administrator - 102 exam12. References: 1: https://learning.lpi.org/en/learning-materials/102-500/ 2: https://www.lpi.org/our-certifications/exam-102-objectives/
Question 124
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
Correct Answer: B,D,E
According to the RFC 19181, the Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IPv4 address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) These address blocks are not globally routable and are intended for use within private networks, such as home, office, or campus networks. They can be assigned to any device that does not need to communicate directly with the public internet, or that can use network address translation (NAT) to do so. Private addresses allow for more efficient use of the limited IPv4 address space and reduce the need for public addresses. The other options are not reserved for private use by IANA. Option A, 127.0.0.0/8, is reserved for loopback addresses, which are used to refer to the local host. Option C, 169.255.0.0/16, is a typo and should be 169.254.0.0/16, which is reserved for link-local addresses, which are used for automatic address configuration on a local network segment. Option F, 224.0.0.0/4, is reserved for multicast addresses, which are used for one-to-many communication. Reference: RFC 1918: Address Allocation for Private Internets - RFC Editor IANA IPv4 Special-Purpose Address Registry Private network - Wikipedia
Question 125
Which of the following are syslog facilities? (Choose TWO correct answers.)
Correct Answer: A
The syslog facilities are predefined categories of messages that can be used to classify the source and type of the log events12. The syslog facilities are defined by the syslog protocol and are standardized across different implementations of syslog12. The syslog facilities are: * auth: Security and authorization messages, such as login failures or sudo usage12. * authpriv: Same as auth, but used for private security messages that should not be available to all users12. * cron: Messages from the cron daemon, such as scheduled jobs or errors12. * daemon: Messages from system daemons, such as sshd or ntpd12. * kern: Messages from the kernel, such as boot messages or hardware errors12. * lpr: Messages from the line printer subsystem, such as print jobs or errors12. * mail: Messages from the mail subsystem, such as sendmail or postfix12. * news: Messages from the network news subsystem, such as news servers or clients12. * syslog: Messages generated internally by the syslog daemon, such as configuration errors or restarts12. * user: Messages from user-level processes, such as applications or scripts12. * uucp: Messages from the Unix-to-Unix copy subsystem, such as file transfers or errors12. * local0 to local7: Custom facilities that are not used by any system processes and can be assigned to user applications or scripts123. Therefore, the correct answers are A. local7 and B. mail, as they are both valid syslog facilities. The other options are not syslog facilities and are either made up (C. advanced and E. remote) or refer to a specific process rather than a category of messages (D. postmaster). References: 1: Prepare for LPIC-1 exam 2 - topic 108.2: System logging - IBM Developer Tutorial 2: 108.2 System logging - Linux Professional Institute Certification Programs 3: What is the local6 (and all other local#) facilities in syslog?