Herramientas de usuario

Herramientas del sitio


informatica:certificaciones:lpic:lpic-1:tests_examen

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
informatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 19:59] tempwininformatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 20:07] (actual) tempwin
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.)**
  
   * ''ifpause''   * ''ifpause''
Línea 2081: Línea 2081:
   * ''ifstart''   * ''ifstart''
  
-**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:
 </WRAP> </WRAP>
  
-**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?**
  
   * ''systemctl list-timers'' (**Solución**)   * ''systemctl list-timers'' (**Solución**)
Línea 2113: Línea 2113:
 </WRAP> </WRAP>
  
-**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?**+
  
   * ''zoneinfo''   * ''zoneinfo''
Línea 2130: Línea 2129:
   * ''hostname''   * ''hostname''
  
-**Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)**+**237. Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)**
  
   * ipv6   * ipv6
Línea 2142: Línea 2141:
 </WRAP> </WRAP>
  
-**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?**+**238. 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?**
  
   * 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:
 </WRAP> </WRAP>
  
-**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:
 </WRAP> </WRAP>
  
-**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.)**
  
   * ''hostnamectl''   * ''hostnamectl''
  
-**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.)**
  
   * ''/etc/cron.allow''   * ''/etc/cron.allow''
  
-**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.)**+**242. 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.)**
  
   * ''netstat''   * ''netstat''
  
-**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.)**
  
   * ''nmtui''   * ''nmtui''
Línea 2187: Línea 2186:
 </WRAP> </WRAP>
  
-**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?**
  
   * ''syslogd –-rotate''   * ''syslogd –-rotate''
Línea 2203: Línea 2202:
   * ''logger''   * ''logger''
  
-**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:
 </WRAP> </WRAP>
  
-**Which of the following commands lists all queued print jobs?**+**247. Which of the following commands lists all queued print jobs?**
  
   * ''lp''   * ''lp''
Línea 2223: Línea 2222:
   * ''lpr''   * ''lpr''
  
-**Which of the following entries in ''/etc/syslog.conf'' writes all mail related events to the file ''/var/log/maillog'' and sends all critical events to the remote server logger.example.com?**+**248. Which of the following entries in ''/etc/syslog.conf'' writes all mail related events to the file ''/var/log/maillog'' and sends all critical events to the remote server logger.example.com?**
  
 <code> <code>
Línea 2251: Línea 2250:
 </code> </code>
  
-**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:
 </WRAP> </WRAP>
  
-**Which of the following commands displays all environment and shell variables?**+**250. Which of the following commands displays all environment and shell variables?**
  
   * ''lsshell''   * ''lsshell''
Línea 2271: Línea 2270:
   * ''getargs''   * ''getargs''
  
-**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, handles the execution of timer units.   * A dedicated system service, systemd-cron, handles the execution of timer units.
Línea 2283: Línea 2282:
 </WRAP> </WRAP>
  
-**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.)**
  
   * ''–lt''   * ''–lt''
Línea 2291: Línea 2290:
   * ''–eq''   * ''–eq''
  
-**Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)**+**253. Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)**
  
   * Username   * Username
Línea 2303: Línea 2302:
 </WRAP> </WRAP>
  
-**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:
 </WRAP> </WRAP>
  
-**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.)**
  
   * ''/etc/cups''   * ''/etc/cups''
  
  
-**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.)**+**258. 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.)**
  
   * 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.)**
  
   * ''journalctl''   * ''journalctl''
  
-**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.)**
  
   * ''newaliases''   * ''newaliases''
Línea 2352: Línea 2351:
 </WRAP> </WRAP>
  
-**Given the following excerpt of the sudo configuration:**+**261. Given the following excerpt of the sudo configuration:**
 <code> <code>
 jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
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, which of the following files can be used to enable and disable network services running on this host?**+**262. Depending on a system’s configuration, which of the following files can be used to enable and disable network services running on this host?**
  
   * ''/etc/host.conf''   * ''/etc/host.conf''
Línea 2376: Línea 2375:
 </WRAP> </WRAP>
  
-**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?**
  
   * ''lsof'' (**Solución**)   * ''lsof'' (**Solución**)
Línea 2384: Línea 2383:
   * ''debug''   * ''debug''
  
-**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?**
  
   * ''set VARIABLE''   * ''set VARIABLE''
Línea 2400: Línea 2399:
   * ''export VARIABLE'' (**Solución**)   * ''export VARIABLE'' (**Solución**)
  
-**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:
 </WRAP> </WRAP>
  
-**What output is produced by the following command sequence?**+**267. What output is produced by the following command sequence?**
 <code> <code>
 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?**
  
   * ''/etc/bashrc''   * ''/etc/bashrc''
Línea 2433: Línea 2432:
   * ''~/.bash_profile''   * ''~/.bash_profile''
  
-**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.)**+
  
   * ''DISPLAY''   * ''DISPLAY''
  
-**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.)**
  
   * ''/etc/nologin''   * ''/etc/nologin''
Línea 2462: Línea 2460:
 </WRAP> </WRAP>
  
-**Where is the systemd journal stored?**+**273. Where is the systemd journal stored?**
  
   * ''/proc/log/'' and ''/proc/klog/''   * ''/proc/log/'' and ''/proc/klog/''
Línea 2470: Línea 2468:
   * ''/var/log/syslog.bin'' or ''/var/log/syslog.jrn''   * ''/var/log/syslog.bin'' or ''/var/log/syslog.jrn''
  
-**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?**
  
   * ''realias ls=’ls -l’''   * ''realias ls=’ls -l’''
Línea 2486: Línea 2484:
   * ''alias ls=’ls -l’''  (**Solución**)   * ''alias ls=’ls -l’''  (**Solución**)
  
-**Which of the following commands puts the output of the command date into the shell variable ''mydate''?**+**276. Which of the following commands puts the output of the command date into the shell variable ''mydate''?**
  
   * ''mydate=%%"%%$(%%(%%date%%)%%)%%"%%''   * ''mydate=%%"%%$(%%(%%date%%)%%)%%"%%''
Línea 2494: Línea 2492:
   * ''mydate=%%"%%${date}%%"%%''   * ''mydate=%%"%%${date}%%"%%''
  
-**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?**
  
   * ''~/.profile''    * ''~/.profile'' 
Línea 2506: Línea 2504:
 </WRAP> </WRAP>
  
-**What is true about the file ''.profile'' in a user’s home directory?**+**278. What is true about the file ''.profile'' in a user’s home directory?**
  
   * It must use a valid shell script syntax.    * It must use a valid shell script syntax. 
Línea 2518: Línea 2516:
 </WRAP> </WRAP>
  
-**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:
 </WRAP> </WRAP>
  
-**What is true regarding the file ~/.forward?**+**280. What is true regarding the file ~/.forward?**
  
   * 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:
 </WRAP> </WRAP>
  
-**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.)**
  
   * ''lpq'' (**Solución**)   * ''lpq'' (**Solución**)
Línea 2550: Línea 2548:
   * ''lpstat'' (**Solución**)   * ''lpstat'' (**Solución**)
  
-**On a system using systemd-journald, which of the following commands add the message Howdy to the system log?**+**282. On a system using systemd-journald, which of the following commands add the message Howdy to the system log?**
  
   * ''echo Howdy > /dev/journal''   * ''echo Howdy > /dev/journal''
Línea 2558: Línea 2556:
   * ''systemd-cat echo Howdy'' (**Solución**)   * ''systemd-cat echo Howdy'' (**Solución**)
  
-**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.)**
  
   * ''hwclock''   * ''hwclock''
  
-**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.)**
  
   * ''/etc/aliases''   * ''/etc/aliases''
Línea 2570: Línea 2568:
 </WRAP> </WRAP>
  
-**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:
 </WRAP> </WRAP>
  
-**What is true about the following command?**+**287. What is true about the following command?**
 <code> <code>
 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?**
 <code> <code>
 ;; global options: +cmd ;; global options: +cmd
Línea 2628: Línea 2626:
   * ''dig -t a www.example.org''   * ''dig -t a www.example.org''
  
-**Which of the following states can NetworkManager show regarding the system’s network connectivity?(Choose two.)**+**289. Which of the following states can NetworkManager show regarding the system’s network connectivity?(Choose two.)**
  
   * 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/28? (Choose two.)**+**290. Which of the following are valid host addresses for the subnet 203.0.113.64/28? (Choose two.)**
  
   * 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.)**
  
   * ''ip stats show dev eth0''   * ''ip stats show dev eth0''
Línea 2664: Línea 2662:
 </WRAP> </WRAP>
  
-**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, the SSH key pair must be created by its owner. (**Solución**)   * To maintain the private key’s confidentiality, the SSH key pair must be created by its owner. (**Solución**)
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:
 </WRAP> </WRAP>
  
-**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?**
  
   * ''find / -user root -perm -4000'' (**Solución**)   * ''find / -user root -perm -4000'' (**Solución**)
Línea 2708: Línea 2706:
   * ''find / -owner 0 -permbits 0x100000000''   * ''find / -owner 0 -permbits 0x100000000''
  
-**Which parameter of the ssh command specifies the location of the private key used for login attempts?(Specify only the option name without any values or parameters.)**+**298. Which parameter of the ssh command specifies the location of the private key used for login attempts?(Specify only the option name without any values or parameters.)**
  
   * ''-i''   * ''-i''
  
-**Which parameter is missing in the command ''ip link set XXXXXXXXXX dev eth0'' to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)**+**299. Which parameter is missing in the command ''ip link set XXXXXXXXXX dev eth0'' to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)**
  
   * ''up''   * ''up''
  
-**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.)**
  
   * ''ssh-add''   * ''ssh-add''
  
-**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.)**
  
   * ''/etc/xinetd.d/''   * ''/etc/xinetd.d/''
  
-**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?**
  
   * ''getent passwd'' (**Solución**)   * ''getent passwd'' (**Solución**)
Línea 2744: Línea 2742:
 </WRAP> </WRAP>
  
-**Given the following user’s crontab entry:**+**304. Given the following user’s crontab entry:**
 <code> <code>
 15 14 * * 1-5 /usr/local/bin/example.sh 15 14 * * 1-5 /usr/local/bin/example.sh
Línea 2756: Línea 2754:
   * At 14:15 local time, February till June.   * At 14:15 local time, February till June.
  
-**If neither ''cron.allow'' nor ''cron.deny'' exist in ''/etc'', which of the following is true?**+**305. If neither ''cron.allow'' nor ''cron.deny'' exist in ''/etc'', which of the following is true?**
  
   * 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:
 </WRAP> </WRAP>
  
-**Which character in the password field of ''/etc/passwd'' is used to indicate that the encrypted password is stored in /etc/shadow?**+**306. Which character in the password field of ''/etc/passwd'' is used to indicate that the encrypted password is stored in /etc/shadow?**
  
   * 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:
 </WRAP> </WRAP>
  
-**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:
 </WRAP> </WRAP>
  
-**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? (Choose two.)**+**310. Which of the following environment variables can be defined in locale.conf? (Choose two.)**
  
   * 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?**
  
   * ''sysctl -w clock.tz=’Canada/Eastern’''   * ''sysctl -w clock.tz=’Canada/Eastern’''
Línea 2824: Línea 2822:
   * ''modprobe tz_ca_est''   * ''modprobe tz_ca_est''
  
-**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?**
  
   * ''/etc/passwd''   * ''/etc/passwd''
Línea 2832: Línea 2830:
   * ''/etc/pwdlog''   * ''/etc/pwdlog''
  
-**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?**
  
   * ''-m''   * ''-m''
informatica/certificaciones/lpic/lpic-1/tests_examen.1652896771.txt.gz · Última modificación: por tempwin