[LPIC-102-500] Exam2
![]() |
![]() |
![]() |
Título del Test:![]() [LPIC-102-500] Exam2 Descripción: Test para la certificación LPIC-102 v5 |




Comentarios |
---|
NO HAY REGISTROS |
What is true about the file /etc/localtime?. It is a symlink to /sys/device/clock/ltime and always contains the current local time. After changing this file, newtzconfig has to be run to make the changes effective. It is a plain text file containing a string such as Europe/Berlin. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin. It is created and maintained by the NTP service based on the location of the system’s IP address. 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?. quickstart. flood. iburst. fast. fsync. Which of the following commands is used to rotate, compress, and mail system logs?. logger. striplog. logrotate. rotatelog. syslogd –-rotate. Why is the correct configuration of a system’s time zone important?. Because NTP chooses servers nearby based on the configured time zone. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created. Because the conversion of Unix timestamps to local time relies on the time zone configuration. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone. Because the timezone is included in checksum calculations and timezone changes invalidate existing checksums. Which of the following commands lists all queued print jobs?. lpr. lpq. lp. lsq. lpd. 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?. mail.* /var/log/maillog mail.crit @logger.example.org. mail /var/log/maillog mail.crit @logger.example.org. mail.* /var/log/maillog mail.crit syslog://logger.example.org. mail.* /var/log/maillog mail,crit @logger.example.org. mail * /var/log/maillog mail crit @logger.example.org. Which of the following protocols is related to the term open relay?. SMTP. LDAP. IMAP. POP3. NTP. Which of the following commands displays all environment and shell variables?. env. lsshell. lsenv. getargs. ls. Which of the following statements is true regarding systemd timer units?. Each systemd timer unit controls a specific systemd service unit. Timer units only exist in the system scope and are not available for users. Timer units can only be defined within a service unit’s file. A dedicated system service, systemd-cron, handles the execution of timer units. The command executed by the timer is specied in the timer unit’s [Cmd] section. Which of the following comparison operators for test work on elements in the file system? (Choose TWO correct answers). -z. -d. -f. -lt. -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 correct answers). Effective group ID. Year. Command. Username. Minute. 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 MESSAGE=“pt”. export ALL_MESSAGES=“pt”. export LC_MESSAGES=“pt”. export UI_MESSAGES=“pt”. export LANGUAGE=“pt”. Which of the following files assigns a user to its primary group?. /etc/shadow. /etc/gshadow. /etc/group. /etc/pgroup. /etc/passwd. Which of the following steps prevents a user from obtaining an interactive login session?. Adding the user to /etc/noaccess. Creating a .nologin file in the user’s home directory. Setting the UID for the user to 0. Removing the user from the group staff. Running the command chsh –s /bin/false with the user name. Which of the following statements about systemd-journald are true? (Choose THREE correct answers). It can pass log messages to syslog for further processing. It is incompatible with syslog and cannot be installed on a system using regular syslog. It only processes messages of systemd and not messages of any other tools. It maintains metadata such as _UID or _PID for each message. It supports syslog facilities such as kern, user, and auth. Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTA’s mail queue? (Specify only the command without any path or parameters). What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory). Which option in the /etc/ntp.conf file species an external NTP source to be queried for time information? (Specify only the option without any values or parameters). 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). |