informatica:certificaciones:lpic:lpic-1:tests_examen
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 19:52] – tempwin | informatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 20:07] (actual) – tempwin | ||
|---|---|---|---|
| Línea 1455: | Línea 1455: | ||
| * '' | * '' | ||
| - | **Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt? | + | **161. Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt? |
| * '' | * '' | ||
| Línea 1467: | Línea 1467: | ||
| </ | </ | ||
| - | **Given the following input stream:** | + | **162. Given the following input stream:** |
| < | < | ||
| txt1.txt | txt1.txt | ||
| Línea 1486: | Línea 1486: | ||
| * '' | * '' | ||
| - | **Which command must be entered before exiting vi to save the current file as filea.txt? | + | **163. Which command must be entered before exiting vi to save the current file as filea.txt? |
| * %s filea.txt | * %s filea.txt | ||
| Línea 1494: | Línea 1494: | ||
| * :save filea.txt | * :save filea.txt | ||
| - | **Which of the following commands displays the output of the foo command on the screen and also writes it to a file called / | + | **164. Which of the following commands displays the output of the foo command on the screen and also writes it to a file called / |
| * '' | * '' | ||
| Línea 1502: | Línea 1502: | ||
| * '' | * '' | ||
| - | **What output will be displayed when the user fred executes the following command? '' | + | **165. What output will be displayed when the user fred executes the following command? '' |
| * '' | * '' | ||
| Línea 1510: | Línea 1510: | ||
| * '' | * '' | ||
| - | **Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?** | + | **166. Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?** |
| * '' | * '' | ||
| Línea 1518: | Línea 1518: | ||
| * '' | * '' | ||
| - | **Which program runs a command in specific intervals and refreshes the display of the program’s output? | + | **167. Which program runs a command in specific intervals and refreshes the display of the program’s output? |
| * '' | * '' | ||
| - | **Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)** | + | **168. Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)** |
| * '' | * '' | ||
| - | **How can the existing environment variable '' | + | **169. How can the existing environment variable '' |
| * '' | * '' | ||
| Línea 1537: | Línea 1537: | ||
| </ | </ | ||
| - | **What output will the following command produce? '' | + | **170. What output will the following command produce? '' |
| * 1 6 11 16 (**Solución**) | * 1 6 11 16 (**Solución**) | ||
| Línea 1548: | Línea 1548: | ||
| </ | </ | ||
| - | **When the command '' | + | **171. When the command '' |
| * It is the process ID of the echo command. | * It is the process ID of the echo command. | ||
| Línea 1555: | Línea 1555: | ||
| * It is the exit value of the echo command. | * It is the exit value of the echo command. | ||
| - | **When the command '' | + | **172. When the command '' |
| * It is the process ID of the echo command. | * It is the process ID of the echo command. | ||
| Línea 1566: | Línea 1566: | ||
| </ | </ | ||
| - | **Which of the following commands lists all defined variables and functions within Bash?** | + | **173. Which of the following commands lists all defined variables and functions within Bash?** |
| * '' | * '' | ||
| Línea 1577: | Línea 1577: | ||
| </ | </ | ||
| - | **Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)** | + | **174. Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)** |
| * '' | * '' | ||
| Línea 1585: | Línea 1585: | ||
| * '' | * '' | ||
| - | **Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?** | + | **175. Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?** |
| * CASE | * CASE | ||
| Línea 1596: | Línea 1596: | ||
| </ | </ | ||
| - | **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.)** | + | **176. 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.)** |
| * ''/ | * ''/ | ||
| - | **What command displays all aliases defined in the current shell? (Specify the command without any path information)** | + | **177. What command displays all aliases defined in the current shell? (Specify the command without any path information)** |
| * '' | * '' | ||
| - | **What word is missing from the following SQL statement? '' | + | **178. What word is missing from the following SQL statement? '' |
| count(*) from tablename'' | count(*) from tablename'' | ||
| Línea 1613: | Línea 1613: | ||
| </ | </ | ||
| - | **For accessibility assistance, which of the following programs is an on-screen keyboard?** | + | **179. For accessibility assistance, which of the following programs is an on-screen keyboard?** |
| * xkb | * xkb | ||
| Línea 1624: | Línea 1624: | ||
| </ | </ | ||
| - | **How is a display manager started?** | + | **180. How is a display manager started?** |
| * It is started by a user using the command startx. | * It is started by a user using the command startx. | ||
| Línea 1635: | Línea 1635: | ||
| </ | </ | ||
| - | **The X11 configuration file '' | + | **181. The X11 configuration file '' |
| * It is placed between a line containing Section " | * It is placed between a line containing Section " | ||
| Línea 1643: | Línea 1643: | ||
| * It is placed after the row [SectionName]. | * It is placed after the row [SectionName]. | ||
| - | **What is the purpose of a screen reader?** | + | **182. What is the purpose of a screen reader?** |
| * It reads text displayed on the screen to blind or visually impaired people. (**Solución**) | * It reads text displayed on the screen to blind or visually impaired people. (**Solución**) | ||
| Línea 1650: | Línea 1650: | ||
| * It manages and displays files that contain e-books | * It manages and displays files that contain e-books | ||
| - | **Which file used by XDM specifies the default wallpaper? | + | **183. Which file used by XDM specifies the default wallpaper? |
| * ''/ | * ''/ | ||
| Línea 1661: | Línea 1661: | ||
| </ | </ | ||
| - | **Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)** | + | **184. Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)** |
| * Start and prepare the desktop environment for the user. (**Solución**) | * Start and prepare the desktop environment for the user. (**Solución**) | ||
| Línea 1669: | Línea 1669: | ||
| * Create an X11 configuration file for the current graphic devices and monitors. | * Create an X11 configuration file for the current graphic devices and monitors. | ||
| - | **Which of the following commands shows the current color depth of the X Server?** | + | **185. Which of the following commands shows the current color depth of the X Server?** |
| * '' | * '' | ||
| Línea 1680: | Línea 1680: | ||
| </ | </ | ||
| - | **What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)** | + | **186. What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)** |
| * '' | * '' | ||
| - | **What is the name of the simple graphical login manager that comes with a vanilla X11 installation? | + | **187. What is the name of the simple graphical login manager that comes with a vanilla X11 installation? |
| * xdm | * xdm | ||
| Línea 1692: | Línea 1692: | ||
| </ | </ | ||
| - | **Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)** | + | **188. Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)** |
| * '' | * '' | ||
| Línea 1700: | Línea 1700: | ||
| </ | </ | ||
| - | **What is the purpose of the '' | + | **189. What is the purpose of the '' |
| * It converts bitmap images from one format to another such as PNG to JPEG | * It converts bitmap images from one format to another such as PNG to JPEG | ||
| Línea 1708: | Línea 1708: | ||
| * It converts files from one character encoding to another (**Solución**) | * It converts files from one character encoding to another (**Solución**) | ||
| - | **What is true about the file ''/ | + | **190. What is true about the file ''/ |
| * It is a plain text file containing a string such as Europe/ | * It is a plain text file containing a string such as Europe/ | ||
| Línea 1716: | Línea 1716: | ||
| ''/ | ''/ | ||
| - | **What is true regarding the command '' | + | **191. What is true regarding the command '' |
| * The user bob is removed from the system' | * The user bob is removed from the system' | ||
| Línea 1724: | Línea 1724: | ||
| * In case bob was the last member of a group, that group is deleted | * In case bob was the last member of a group, that group is deleted | ||
| - | **Which commands can be used to change a user's account aging information? | + | **192. Which commands can be used to change a user's account aging information? |
| * '' | * '' | ||
| Línea 1732: | Línea 1732: | ||
| * '' | * '' | ||
| - | **Which of the following fields can be found in the ''/ | + | **193. Which of the following fields can be found in the ''/ |
| * The list of users that belong to the group. (**Solución**) | * The list of users that belong to the group. (**Solución**) | ||
| Línea 1740: | Línea 1740: | ||
| * The password of the group. (**Solución**) | * The password of the group. (**Solución**) | ||
| - | **Each entry in a crontab must end with what character? | + | **194. Each entry in a crontab must end with what character? |
| * Tab | * Tab | ||
| Línea 1747: | Línea 1747: | ||
| * Newline (**Solución**) | * Newline (**Solución**) | ||
| - | **To prevent a specific user from scheduling tasks with at, what should the administrator do?** | + | **195. To prevent a specific user from scheduling tasks with at, what should the administrator do?** |
| * Add the specific user to ''/ | * Add the specific user to ''/ | ||
| Línea 1759: | Línea 1759: | ||
| </ | </ | ||
| - | **What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?** | + | **196. What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?** |
| * '' | * '' | ||
| Línea 1771: | Línea 1771: | ||
| </ | </ | ||
| - | **What is NOT contained in the locale setting of the operating system?** | + | **197. What is NOT contained in the locale setting of the operating system?** |
| * currency symbol | * currency symbol | ||
| Línea 1782: | Línea 1782: | ||
| </ | </ | ||
| - | **What is the purpose of the command '' | + | **198. What is the purpose of the command '' |
| * It fetches new emails from a remote server using POP3 or IMAP. | * It fetches new emails from a remote server using POP3 or IMAP. | ||
| Línea 1794: | Línea 1794: | ||
| </ | </ | ||
| - | **What is true about the '' | + | **199. What is true about the '' |
| * It is the primary management command for the NTP time server. | * It is the primary management command for the NTP time server. | ||
| Línea 1802: | Línea 1802: | ||
| * It can be used by any user to set the user clock independently of the system clock. | * It can be used by any user to set the user clock independently of the system clock. | ||
| - | **What is true regarding the command '' | + | **200. What is true regarding the command '' |
| * With any MTA, the sendmail command must be run periodically by the cron daemon. | * With any MTA, the sendmail command must be run periodically by the cron daemon. | ||
| Línea 1813: | Línea 1813: | ||
| </ | </ | ||
| - | **Which file inside the CUPS configuration directory contains the definition of the printers?** | + | **201. Which file inside the CUPS configuration directory contains the definition of the printers?** |
| * '' | * '' | ||
| Línea 1825: | Línea 1825: | ||
| </ | </ | ||
| - | **Which of the following are commonly used Mail Transfer Agent (MTA) applications? | + | **202. Which of the following are commonly used Mail Transfer Agent (MTA) applications? |
| * Postfix (**Solución**) | * Postfix (**Solución**) | ||
| Línea 1833: | Línea 1833: | ||
| * SMTPd | * SMTPd | ||
| - | **Which of the following are syslog facilities? (Choose TWO correct answers.)** | + | **203. Which of the following are syslog facilities? (Choose TWO correct answers.)** |
| * local7 (**Solución**) | * local7 (**Solución**) | ||
| Línea 1841: | Línea 1841: | ||
| * remote | * remote | ||
| - | **Which of the following commands should be added to / | + | **204. Which of the following commands should be added to / |
| * '' | * '' | ||
| Línea 1853: | Línea 1853: | ||
| </ | </ | ||
| - | **Which of the following files assigns a user to its primary group?** | + | **205. Which of the following files assigns a user to its primary group?** |
| * ''/ | * ''/ | ||
| Línea 1861: | Línea 1861: | ||
| * ''/ | * ''/ | ||
| - | **Which of the following is observed and corrected by a NTP client?** | + | **206. Which of the following is observed and corrected by a NTP client?** |
| * The skew in time between the system clock and the hardware clock. | * The skew in time between the system clock and the hardware clock. | ||
| Línea 1868: | Línea 1868: | ||
| * Adjustments needed to support Daylight Saving Time. | * Adjustments needed to support Daylight Saving Time. | ||
| - | **Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)** | + | **207. Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)** |
| * '' | * '' | ||
| Línea 1876: | Línea 1876: | ||
| * '' | * '' | ||
| - | **Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)** | + | **208. Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)** |
| * Synchronize the hardware and system clocks. | * Synchronize the hardware and system clocks. | ||
| Línea 1884: | Línea 1884: | ||
| * Update the time via NTP. | * Update the time via NTP. | ||
| - | **Given the following routing table:** | + | **209. Given the following routing table:** |
| < | < | ||
| Kernel IP routing table | Kernel IP routing table | ||
| Línea 1901: | Línea 1901: | ||
| * It would be passed to the router 192.168.1.1 on eth0 (**Solución**) | * It would be passed to the router 192.168.1.1 on eth0 (**Solución**) | ||
| - | **What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)** | + | **210. What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)** |
| * '' | * '' | ||
| Línea 1909: | Línea 1909: | ||
| * '' | * '' | ||
| - | **What is true regarding a default route?** | + | **211. What is true regarding a default route?** |
| * The default route is always used first. When the default route is not available more specific routes are tried. | * The default route is always used first. When the default route is not available more specific routes are tried. | ||
| Línea 1916: | Línea 1916: | ||
| * Without a default route, no network communication even in directly attached networks is possible. | * Without a default route, no network communication even in directly attached networks is possible. | ||
| - | **What of the following can be done by the command ifconfig? (Choose TWO correct answers.)** | + | **212. What of the following can be done by the command ifconfig? (Choose TWO correct answers.)** |
| * Set a network interface active or inactive (**Solución**) | * Set a network interface active or inactive (**Solución**) | ||
| Línea 1924: | Línea 1924: | ||
| * Specify which network services are available on a network interface | * Specify which network services are available on a network interface | ||
| - | **Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)** | + | **213. Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)** |
| * 127.0.0.0/ | * 127.0.0.0/ | ||
| Línea 1932: | Línea 1932: | ||
| * 192.168.0.0/ | * 192.168.0.0/ | ||
| - | **Which of the following is a valid IPv6 address?** | + | **214. Which of the following is a valid IPv6 address?** |
| * '' | * '' | ||
| Línea 1940: | Línea 1940: | ||
| * '' | * '' | ||
| - | **Which of the following keywords can be used in the file / | + | **215. Which of the following keywords can be used in the file / |
| * substitute | * substitute | ||
| Línea 1948: | Línea 1948: | ||
| * method | * method | ||
| - | **Which of the following programs can be used to determine the routing path to a given destination? | + | **216. Which of the following programs can be used to determine the routing path to a given destination? |
| * '' | * '' | ||
| Línea 1956: | Línea 1956: | ||
| * '' | * '' | ||
| - | **Which of the following statements is valid in the file ''/ | + | **217. Which of the following statements is valid in the file ''/ |
| * multi on | * multi on | ||
| Línea 1963: | Línea 1963: | ||
| * include / | * include / | ||
| - | **What is a purpose of an SSH host key?** | + | **218. What is a purpose of an SSH host key?** |
| * It must be sent by any SSH client in addition to a user key in order to identify the client' | * It must be sent by any SSH client in addition to a user key in order to identify the client' | ||
| Línea 1975: | Línea 1975: | ||
| </ | </ | ||
| - | **When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?** | + | **219. When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?** |
| * debug | * debug | ||
| Línea 1983: | Línea 1983: | ||
| * traceroute | * traceroute | ||
| - | **Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?** | + | **220. Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?** |
| * core | * core | ||
| Línea 1994: | Línea 1994: | ||
| </ | </ | ||
| - | **Which configuration file would be edited to change default options for the OpenSSH server?** | + | **221. Which configuration file would be edited to change default options for the OpenSSH server?** |
| * ''/ | * ''/ | ||
| Línea 2002: | Línea 2002: | ||
| * ''/ | * ''/ | ||
| - | **Which configuration file would be edited to change the default options for outbound SSH sessions?** | + | **222. Which configuration file would be edited to change the default options for outbound SSH sessions?** |
| * ''/ | * ''/ | ||
| Línea 2010: | Línea 2010: | ||
| * ''/ | * ''/ | ||
| - | **Which of the following commands can be used to limit the amount of memory a user may use?** | + | **223. Which of the following commands can be used to limit the amount of memory a user may use?** |
| * umask | * umask | ||
| Línea 2022: | Línea 2022: | ||
| </ | </ | ||
| - | **Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)** | + | **224. Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)** |
| * '' | * '' | ||
| Línea 2030: | Línea 2030: | ||
| * '' | * '' | ||
| - | **Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?** | + | **225. Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?** |
| * sshd | * sshd | ||
| Línea 2037: | Línea 2037: | ||
| * ssh-add | * ssh-add | ||
| - | **Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?** | + | **226. Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?** |
| * '' | * '' | ||
| Línea 2045: | Línea 2045: | ||
| * '' | * '' | ||
| - | **On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)** | + | **227. On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)** |
| * ''/ | * ''/ | ||
| - | **Which of the following nmcli subcommands exist? (Choose two.)** | + | **228. Which of the following nmcli subcommands exist? (Choose two.)** |
| * '' | * '' | ||
| Línea 2057: | Línea 2057: | ||
| * '' | * '' | ||
| - | **Which of the following changes may occur as a consequence of using the command '' | + | **229. Which of the following changes may occur as a consequence of using the command '' |
| * Network interfaces may become active or inactive. (**Solución**) | * Network interfaces may become active or inactive. (**Solución**) | ||
| Línea 2065: | Línea 2065: | ||
| * The routing table may change. | * The routing table may change. | ||
| - | **How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/ | + | **230. How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/ |
| * 14 | * 14 | ||
| Línea 2073: | Línea 2073: | ||
| * 62 (**Solución**) | * 62 (**Solución**) | ||
| - | **Which of the following commands configure network interfaces based on the system’s existing distributionspecific configuration files? (Choose two.)** | + | **231. Which of the following commands configure network interfaces based on the system’s existing distributionspecific configuration files? (Choose two.)** |
| * '' | * '' | ||
| Línea 2081: | Línea 2081: | ||
| * '' | * '' | ||
| - | **Which of the following statements is true if the UID of a regular user is identical to the GID of a group?** | + | **232. Which of the following statements is true if the UID of a regular user is identical to the GID of a group?** |
| * UIDs and GIDs are independent of each other, therefore the user as well as the group are still available. (**Solución**) | * UIDs and GIDs are independent of each other, therefore the user as well as the group are still available. (**Solución**) | ||
| Línea 2093: | Línea 2093: | ||
| </ | </ | ||
| - | **Which of the following information is stored in /etc/shadow for each user?** | + | **233. Which of the following information is stored in /etc/shadow for each user?** |
| * The numerical user ID (UID) | * The numerical user ID (UID) | ||
| Línea 2101: | Línea 2101: | ||
| * The hashed password of the user (**Solución**) | * The hashed password of the user (**Solución**) | ||
| - | **Which of the following commands shows all active systemd timers?** | + | **234. Which of the following commands shows all active systemd timers?** |
| * '' | * '' | ||
| Línea 2113: | Línea 2113: | ||
| </ | </ | ||
| - | **What can be specified with useradd? (Choose two.)** | + | **235. What can be specified with useradd? (Choose two.)** |
| * The absolute path to the user’s home directory. (**Solución**) | * The absolute path to the user’s home directory. (**Solución**) | ||
| Línea 2121: | Línea 2121: | ||
| * Commands the user can run using sudo. | * Commands the user can run using sudo. | ||
| - | **Which if the following tools, used for DNS debugging, reports not only the response from the name sever | + | **236. Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?** |
| - | but also details about the query?** | + | |
| * '' | * '' | ||
| Línea 2130: | Línea 2129: | ||
| * '' | * '' | ||
| - | **Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? | + | **237. Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? |
| * ipv6 | * ipv6 | ||
| Línea 2142: | Línea 2141: | ||
| </ | </ | ||
| - | **On a Linux workstation, | + | **238. On a Linux workstation, |
| * The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit. | * The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit. | ||
| Línea 2154: | Línea 2153: | ||
| </ | </ | ||
| - | **What is true about the Hop Limit field in the IPv6 header?** | + | **239. What is true about the Hop Limit field in the IPv6 header?** |
| * The field is transmitted within a hop-by-hop extension header. | * The field is transmitted within a hop-by-hop extension header. | ||
| Línea 2166: | Línea 2165: | ||
| </ | </ | ||
| - | **Which command is used to set the hostname of the local system? (Specify only the command without any | + | **240. Which command is used to set the hostname of the local system? (Specify only the command without any |
| path or parameters.)** | path or parameters.)** | ||
| * '' | * '' | ||
| - | **Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)** | + | **241. Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)** |
| * ''/ | * ''/ | ||
| - | **What command, depending on its options, can display the open TCP connections, | + | **242. What command, depending on its options, can display the open TCP connections, |
| * '' | * '' | ||
| - | **Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)** | + | **243. Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)** |
| * '' | * '' | ||
| Línea 2187: | Línea 2186: | ||
| </ | </ | ||
| - | **Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization? | + | **244. Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization? |
| * fsync | * fsync | ||
| Línea 2195: | Línea 2194: | ||
| * flood | * flood | ||
| - | **Which of the following commands is used to rotate, compress, and mail system logs?** | + | **245. Which of the following commands is used to rotate, compress, and mail system logs?** |
| * '' | * '' | ||
| Línea 2203: | Línea 2202: | ||
| * '' | * '' | ||
| - | **Why is the correct configuration of a system’s time zone important? | + | **246. Why is the correct configuration of a system’s time zone important? |
| * Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone. | * Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone. | ||
| Línea 2215: | Línea 2214: | ||
| </ | </ | ||
| - | **Which of the following commands lists all queued print jobs?** | + | **247. Which of the following commands lists all queued print jobs?** |
| * '' | * '' | ||
| Línea 2223: | Línea 2222: | ||
| * '' | * '' | ||
| - | **Which of the following entries in ''/ | + | **248. Which of the following entries in ''/ |
| < | < | ||
| Línea 2251: | Línea 2250: | ||
| </ | </ | ||
| - | **Which of the following protocols is related to the term open relay?** | + | **249. Which of the following protocols is related to the term open relay?** |
| * NTP | * NTP | ||
| Línea 2263: | Línea 2262: | ||
| </ | </ | ||
| - | **Which of the following commands displays all environment and shell variables? | + | **250. Which of the following commands displays all environment and shell variables? |
| * '' | * '' | ||
| Línea 2271: | Línea 2270: | ||
| * '' | * '' | ||
| - | **Which of the following statements is true regarding systemd timer units?** | + | **251. Which of the following statements is true regarding systemd timer units?** |
| * A dedicated system service, systemd-cron, | * A dedicated system service, systemd-cron, | ||
| Línea 2283: | Línea 2282: | ||
| </ | </ | ||
| - | **Which of the following comparison operators for test work on elements in the file system? (Choose two.)** | + | **252. Which of the following comparison operators for test work on elements in the file system? (Choose two.)** |
| * '' | * '' | ||
| Línea 2291: | Línea 2290: | ||
| * '' | * '' | ||
| - | **Which of the following fields are available in the standard format of both the global / | + | **253. Which of the following fields are available in the standard format of both the global / |
| * Username | * Username | ||
| Línea 2303: | Línea 2302: | ||
| </ | </ | ||
| - | **Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?** | + | **254. Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?** |
| * export UI_MESSAGES=“pt” | * export UI_MESSAGES=“pt” | ||
| Línea 2311: | Línea 2310: | ||
| * export LC_MESSAGES=“pt” (**Solución**) ¿? | * export LC_MESSAGES=“pt” (**Solución**) ¿? | ||
| - | **Which of the following steps prevents a user from obtaining an interactive login session?** | + | **255. Which of the following steps prevents a user from obtaining an interactive login session?** |
| * Removing the user from the group staff. | * Removing the user from the group staff. | ||
| Línea 2323: | Línea 2322: | ||
| </ | </ | ||
| - | **Which of the following statements about systemd-journald are true? (Choose three.)** | + | **256. Which of the following statements about systemd-journald are true? (Choose three.)** |
| * It is incompatible with syslog and cannot be installed on a system using regular syslog. | * It is incompatible with syslog and cannot be installed on a system using regular syslog. | ||
| Línea 2331: | Línea 2330: | ||
| * It maintains metadata such as _UID or _PID for each message. (**Solución**) | * It maintains metadata such as _UID or _PID for each message. (**Solución**) | ||
| - | **What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)** | + | **257. What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)** |
| * ''/ | * ''/ | ||
| - | **Which option in the ''/ | + | **258. Which option in the ''/ |
| * server | * server | ||
| - | **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.)** | + | **259. 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.)** |
| * '' | * '' | ||
| - | **Which command must be run after adding a new email alias to the configuration in order to make this change effective? (Specify the command without any path but including all required parameters.)** | + | **260. Which command must be run after adding a new email alias to the configuration in order to make this change effective? (Specify the command without any path but including all required parameters.)** |
| * '' | * '' | ||
| Línea 2352: | Línea 2351: | ||
| </ | </ | ||
| - | **Given the following excerpt of the sudo configuration: | + | **261. Given the following excerpt of the sudo configuration: |
| < | < | ||
| jane ANY=NOPASSWD: | jane ANY=NOPASSWD: | ||
| Línea 2364: | Línea 2363: | ||
| * Jane can run /bin/id without specifying her password. (**Solución**) | * Jane can run /bin/id without specifying her password. (**Solución**) | ||
| - | **Depending on a system’s configuration, | + | **262. Depending on a system’s configuration, |
| * ''/ | * ''/ | ||
| Línea 2376: | Línea 2375: | ||
| </ | </ | ||
| - | **Which of the following commands can identify the PID of a process which opened a TCP port?** | + | **263. Which of the following commands can identify the PID of a process which opened a TCP port?** |
| * '' | * '' | ||
| Línea 2384: | Línea 2383: | ||
| * '' | * '' | ||
| - | **On a machine running several X servers, how do programs identify the different instances of the X11 server?** | + | **264. On a machine running several X servers, how do programs identify the different instances of the X11 server?** |
| * By the name of the user that runs the X server like x11:bob. | * By the name of the user that runs the X server like x11:bob. | ||
| Línea 2392: | Línea 2391: | ||
| * By a unique IPv6 address from the fe80::/64 subnet. | * By a unique IPv6 address from the fe80::/64 subnet. | ||
| - | **Which command makes the shell variable named VARIABLE visible to subshells? | + | **265. Which command makes the shell variable named VARIABLE visible to subshells? |
| * '' | * '' | ||
| Línea 2400: | Línea 2399: | ||
| * '' | * '' | ||
| - | **Which of the following features are provided by SPICE? (Choose two.)** | + | **266. Which of the following features are provided by SPICE? (Choose two.)** |
| * Uploading and running a binary program on a remote machine. | * Uploading and running a binary program on a remote machine. | ||
| Línea 2412: | Línea 2411: | ||
| </ | </ | ||
| - | **What output is produced by the following command sequence?** | + | **267. What output is produced by the following command sequence?** |
| < | < | ||
| echo ‘1 2 3 4 5 6’ | while read a b c; do | echo ‘1 2 3 4 5 6’ | while read a b c; do | ||
| Línea 2425: | Línea 2424: | ||
| * result: 3 4 5 6 2 1 (**Solución**) | * result: 3 4 5 6 2 1 (**Solución**) | ||
| - | **Which of the following configuration files should be modified to globally set shell variables for all users?** | + | **268. Which of the following configuration files should be modified to globally set shell variables for all users?** |
| * ''/ | * ''/ | ||
| Línea 2433: | Línea 2432: | ||
| * '' | * '' | ||
| - | **What output does the command seq 10 produce?** | + | **269. What output does the command seq 10 produce?** |
| * It creates no output because a second parameter is missing. | * It creates no output because a second parameter is missing. | ||
| Línea 2441: | Línea 2440: | ||
| * The number 0 through 9 with one number per line. | * The number 0 through 9 with one number per line. | ||
| - | **What is the purpose of TCP wrapper?** | + | **270. What is the purpose of TCP wrapper?** |
| * Bind a network service to a TCP port. | * Bind a network service to a TCP port. | ||
| Línea 2449: | Línea 2448: | ||
| * Encapsulate TCP messages in IP packets. | * Encapsulate TCP messages in IP packets. | ||
| - | **When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in | + | **271. When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)** |
| - | order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)** | + | |
| * '' | * '' | ||
| - | **The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)** | + | **272. The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)** |
| * ''/ | * ''/ | ||
| Línea 2462: | Línea 2460: | ||
| </ | </ | ||
| - | **Where is the systemd journal stored?** | + | **273. Where is the systemd journal stored?** |
| * ''/ | * ''/ | ||
| Línea 2470: | Línea 2468: | ||
| * ''/ | * ''/ | ||
| - | **Which of the following options in the chrony configuration file define remote time sources? (Choose two.)** | + | **274. Which of the following options in the chrony configuration file define remote time sources? (Choose two.)** |
| * clock | * clock | ||
| Línea 2478: | Línea 2476: | ||
| * pool (**Solución**) | * pool (**Solución**) | ||
| - | **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?** | + | **275. 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?** |
| * '' | * '' | ||
| Línea 2486: | Línea 2484: | ||
| * '' | * '' | ||
| - | **Which of the following commands puts the output of the command date into the shell variable '' | + | **276. Which of the following commands puts the output of the command date into the shell variable '' |
| * '' | * '' | ||
| Línea 2494: | Línea 2492: | ||
| * '' | * '' | ||
| - | **Which of the following files is not read directly by a Bash login shell?** | + | **277. Which of the following files is not read directly by a Bash login shell?** |
| * '' | * '' | ||
| Línea 2506: | Línea 2504: | ||
| </ | </ | ||
| - | **What is true about the file '' | + | **278. What is true about the file '' |
| * It must use a valid shell script syntax. | * It must use a valid shell script syntax. | ||
| Línea 2518: | Línea 2516: | ||
| </ | </ | ||
| - | **What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)** | + | **279. What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)** |
| * It is a comment that is ignored by the script interpreter. | * It is a comment that is ignored by the script interpreter. | ||
| Línea 2530: | Línea 2528: | ||
| </ | </ | ||
| - | **What is true regarding the file ~/ | + | **280. What is true regarding the file ~/ |
| * As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command. | * As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command. | ||
| Línea 2542: | Línea 2540: | ||
| </ | </ | ||
| - | **Which of the following commands display a list of jobs in the print queue? (Choose two.)** | + | **281. Which of the following commands display a list of jobs in the print queue? (Choose two.)** |
| * '' | * '' | ||
| Línea 2550: | Línea 2548: | ||
| * '' | * '' | ||
| - | **On a system using systemd-journald, | + | **282. On a system using systemd-journald, |
| * '' | * '' | ||
| Línea 2558: | Línea 2556: | ||
| * '' | * '' | ||
| - | **Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)** | + | **283. Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)** |
| * '' | * '' | ||
| - | **Which file is processed by newaliases? (Specify the full name of the file, including path.)** | + | **284. Which file is processed by newaliases? (Specify the full name of the file, including path.)** |
| * ''/ | * ''/ | ||
| Línea 2570: | Línea 2568: | ||
| </ | </ | ||
| - | **What information related to a user account is modified using the chage command?** | + | **285. What information related to a user account is modified using the chage command?** |
| * Group membership | * Group membership | ||
| Línea 2578: | Línea 2576: | ||
| * Set of commands available to the user | * Set of commands available to the user | ||
| - | **Which of the following is true about IPv6?** | + | **286. Which of the following is true about IPv6?** |
| * IPv6 no longer supports multicast addresses. | * IPv6 no longer supports multicast addresses. | ||
| Línea 2590: | Línea 2588: | ||
| </ | </ | ||
| - | **What is true about the following command?** | + | **287. What is true about the following command?** |
| < | < | ||
| nmcli device wifi connect WIFIoI | nmcli device wifi connect WIFIoI | ||
| Línea 2601: | Línea 2599: | ||
| * NetworkManager opens a new public hotspot with the SSID WIFIoI. | * NetworkManager opens a new public hotspot with the SSID WIFIoI. | ||
| - | **Which of the commands below might have produced the following output?** | + | **288. Which of the commands below might have produced the following output?** |
| < | < | ||
| ;; global options: +cmd | ;; global options: +cmd | ||
| Línea 2628: | Línea 2626: | ||
| * '' | * '' | ||
| - | **Which of the following states can NetworkManager show regarding the system’s network connectivity? | + | **289. Which of the following states can NetworkManager show regarding the system’s network connectivity? |
| * full (**Solución**) | * full (**Solución**) | ||
| Línea 2636: | Línea 2634: | ||
| * firewalled | * firewalled | ||
| - | **Which of the following are valid host addresses for the subnet 203.0.113.64/ | + | **290. Which of the following are valid host addresses for the subnet 203.0.113.64/ |
| * 203.0.113.65 (**Solución**) | * 203.0.113.65 (**Solución**) | ||
| Línea 2644: | Línea 2642: | ||
| * 203.0.113.80 | * 203.0.113.80 | ||
| - | **How does the ping command work by default? | + | **219. How does the ping command work by default? |
| * It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return. | * It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return. | ||
| Línea 2652: | Línea 2650: | ||
| * Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return. (**Solución**) | * Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return. (**Solución**) | ||
| - | **Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)** | + | **292. Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)** |
| * '' | * '' | ||
| Línea 2664: | Línea 2662: | ||
| </ | </ | ||
| - | **How do shadow passwords improve the password security in comparison to standard no-shadow password?** | + | **293. How do shadow passwords improve the password security in comparison to standard no-shadow password?** |
| * The system’s host key is used to encrypt all shadow passwords. | * The system’s host key is used to encrypt all shadow passwords. | ||
| Línea 2672: | Línea 2670: | ||
| * Shadow passwords are always combined with a public key that has to match the user’s private key. | * Shadow passwords are always combined with a public key that has to match the user’s private key. | ||
| - | **After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective? | + | **294. After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective? |
| * The new configuration becomes effective after restarting the tcpd service. | * The new configuration becomes effective after restarting the tcpd service. | ||
| Línea 2680: | Línea 2678: | ||
| * The new configuration becomes effective when the last established connection to the service is closed. | * The new configuration becomes effective when the last established connection to the service is closed. | ||
| - | **What is true regarding public and private SSH keys? (Choose two.)** | + | **295. What is true regarding public and private SSH keys? (Choose two.)** |
| * To maintain the private key’s confidentiality, | * To maintain the private key’s confidentiality, | ||
| Línea 2688: | Línea 2686: | ||
| * To allow remote logins, the user’s private key must be copied to the remote server. | * To allow remote logins, the user’s private key must be copied to the remote server. | ||
| - | **Which mechanism does ssh use to interact with the SSH agent?** | + | **296. Which mechanism does ssh use to interact with the SSH agent?** |
| * Starting ssh-agent as a child process for each ssh invocation. | * Starting ssh-agent as a child process for each ssh invocation. | ||
| Línea 2700: | Línea 2698: | ||
| </ | </ | ||
| - | **Which of the following commands finds all files owned by root that have the SetUID bit set?** | + | **297. Which of the following commands finds all files owned by root that have the SetUID bit set?** |
| * '' | * '' | ||
| Línea 2708: | Línea 2706: | ||
| * '' | * '' | ||
| - | **Which parameter of the ssh command specifies the location of the private key used for login attempts? | + | **298. Which parameter of the ssh command specifies the location of the private key used for login attempts? |
| * '' | * '' | ||
| - | **Which parameter is missing in the command '' | + | **299. Which parameter is missing in the command '' |
| * '' | * '' | ||
| - | **What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)** | + | **300. What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)** |
| * '' | * '' | ||
| - | **Which directory holds configuration files for xinetd services? (Specify the full path to the directory.)** | + | **301. Which directory holds configuration files for xinetd services? (Specify the full path to the directory.)** |
| * ''/ | * ''/ | ||
| - | **Which of the following sections exists in a systemd timer unit?** | + | **302. Which of the following sections exists in a systemd timer unit?** |
| * [cron] | * [cron] | ||
| Línea 2732: | Línea 2730: | ||
| * [Timer] (**Solución**) | * [Timer] (**Solución**) | ||
| - | **Which of the following getent invocations lists all existing users?** | + | **303. Which of the following getent invocations lists all existing users?** |
| * '' | * '' | ||
| Línea 2744: | Línea 2742: | ||
| </ | </ | ||
| - | **Given the following user’s crontab entry:** | + | **304. Given the following user’s crontab entry:** |
| < | < | ||
| 15 14 * * 1-5 / | 15 14 * * 1-5 / | ||
| Línea 2756: | Línea 2754: | ||
| * At 14:15 local time, February till June. | * At 14:15 local time, February till June. | ||
| - | **If neither '' | + | **305. If neither '' |
| * When a user creates a user specific crontab the system administrator must approve it explicitly. | * When a user creates a user specific crontab the system administrator must approve it explicitly. | ||
| Línea 2768: | Línea 2766: | ||
| </ | </ | ||
| - | **Which character in the password field of ''/ | + | **306. Which character in the password field of ''/ |
| * s | * s | ||
| Línea 2776: | Línea 2774: | ||
| * # | * # | ||
| - | **Which of the following protocols is designed to access the video card output of a virtual machine?** | + | **307. Which of the following protocols is designed to access the video card output of a virtual machine?** |
| * XDMCP | * XDMCP | ||
| Línea 2788: | Línea 2786: | ||
| </ | </ | ||
| - | **What is true about NetworkManager on a Linux system that uses its distribution’s mechanisms to configure network interfaces? (Choose two.)** | + | **308. What is true about NetworkManager on a Linux system that uses its distribution’s mechanisms to configure network interfaces? (Choose two.)** |
| * NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by NetworkManager. | * NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by NetworkManager. | ||
| Línea 2800: | Línea 2798: | ||
| </ | </ | ||
| - | **Which standardized TCP port is used by HTTPS services?** | + | **309. Which standardized TCP port is used by HTTPS services?** |
| * 80 | * 80 | ||
| Línea 2808: | Línea 2806: | ||
| * 8080 | * 8080 | ||
| - | **Which of the following environment variables can be defined in locale.conf? | + | **310. Which of the following environment variables can be defined in locale.conf? |
| * LC_GEOGRAPHY | * LC_GEOGRAPHY | ||
| Línea 2816: | Línea 2814: | ||
| * LC_UTF8 | * LC_UTF8 | ||
| - | **Which of the following commands sets the system’s time zone to the Canadian Eastern Time?** | + | **311. Which of the following commands sets the system’s time zone to the Canadian Eastern Time?** |
| * '' | * '' | ||
| Línea 2824: | Línea 2822: | ||
| * '' | * '' | ||
| - | **Which file contains the data of the last change of a user’s password?** | + | **312. Which file contains the data of the last change of a user’s password?** |
| * ''/ | * ''/ | ||
| Línea 2832: | Línea 2830: | ||
| * ''/ | * ''/ | ||
| - | **What option to useradd creates a new user’s home directory and provisions it with a set of standard files?** | + | **313. What option to useradd creates a new user’s home directory and provisions it with a set of standard files?** |
| * '' | * '' | ||
informatica/certificaciones/lpic/lpic-1/tests_examen.1652896349.txt.gz · Última modificación: por tempwin
