Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500 Deutsch Version) - 102-500 Deutsch FREE EXAM DUMPS QUESTIONS & ANSWERS
Welche der folgenden Informationen werden für jeden Benutzer in / etc / shadow gespeichert?
Correct Answer: D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)
Correct Answer:
mailqusrbinmailqsendmailbpusrsbinsendmailbpusrlibsendmailbp
Explanation:
The command that is used to list the contents of the MTA's mail queue is mailq12. This command is available with all MTAs, such as sendmail, postfix, exim, etc12. The mailq command prints the mail queue, which is the list of messages that are waiting to be sent12. The output of the mailq command shows the queue ID, size, time, sender, and recipient of each message12. The mailq command can also take various options to modify the output, such as -v for verbose mode, -Ac for mail submission queue, -qL for lost items, and -qQ for quarantined items3.
Explanation:
The command that is used to list the contents of the MTA's mail queue is mailq12. This command is available with all MTAs, such as sendmail, postfix, exim, etc12. The mailq command prints the mail queue, which is the list of messages that are waiting to be sent12. The output of the mailq command shows the queue ID, size, time, sender, and recipient of each message12. The mailq command can also take various options to modify the output, such as -v for verbose mode, -Ac for mail submission queue, -qL for lost items, and -qQ for quarantined items3.
Mit welchem der folgenden Befehle wird die Ausgabe des Befehls date in die Shell-Variable mydate geschrieben?
Correct Answer: A
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Welche der folgenden Situationen wird von einem NTP-Client beobachtet und korrigiert?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Welches Schlüsselwort fehlt in diesem Codebeispiel eines Shell-Skripts?
____ i in *.txt; do
echo $i
done
____ i in *.txt; do
echo $i
done
Correct Answer: A
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Welcher in systemd enthaltene Befehl unterstützt die Auswahl von Nachrichten aus dem systemd-Journal nach Kriterien wie Zeit oder Einheitenname? (Geben Sie nur den Befehl ohne Pfad oder Parameter an.)
Correct Answer:
journalctl
Explanation:
The command journalctl is included in systemd and supports selecting messages from the systemd journal by criteria such as time or unit name. The systemd journal is a binary log file that stores system and service messages. The journalctl command can be used to view, filter, export, and manipulate the journal entries. For example, to show all messages from a specific unit, such as sshd.service, the command would be:
journalctl -u sshd.service
To show all messages from a specific time range, such as yesterday, the command would be:
journalctl --since=yesterday
The journalctl command has many options and arguments that can be used to customize the output and perform various operations on the journal. For more information, see the man page of journalctl or the official documentation1. Reference: [LPI 102-500 Exam Objectives], Topic 106.2: System logging, Weight: 3. [systemd-journald.service(8) - systemd - Debian unstable - Debian Manpages], Section NAME.
Explanation:
The command journalctl is included in systemd and supports selecting messages from the systemd journal by criteria such as time or unit name. The systemd journal is a binary log file that stores system and service messages. The journalctl command can be used to view, filter, export, and manipulate the journal entries. For example, to show all messages from a specific unit, such as sshd.service, the command would be:
journalctl -u sshd.service
To show all messages from a specific time range, such as yesterday, the command would be:
journalctl --since=yesterday
The journalctl command has many options and arguments that can be used to customize the output and perform various operations on the journal. For more information, see the man page of journalctl or the official documentation1. Reference: [LPI 102-500 Exam Objectives], Topic 106.2: System logging, Weight: 3. [systemd-journald.service(8) - systemd - Debian unstable - Debian Manpages], Section NAME.
Welche der folgenden SQL-Abfragen zählt die Anzahl der Vorkommen für jeden Wert des Feldes order_type in den Tabellenreihenfolgen?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Was ist der Zweck von TCP-Wrapper?
Correct Answer: A
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Welcher Parameter muss an ifconfig übergeben werden, um eine zuvor inaktive Netzwerkschnittstelle zu aktivieren? (Geben Sie den Parameter nur ohne Befehl, Pfad oder zusätzliche Optionen an.)
Correct Answer:
up
Explanation:
The parameter that must be passed to ifconfig to activate a previously inactive network interface is up. The up parameter tells the kernel to activate the network interface and allow it to send and receive packets. The opposite of up is down, which deactivates the network interface. The up parameter is part of the topic 109.2: Basic network configuration, which is one of the objectives of the LPI Linux Administrator - 102 exam12. Reference: 1: https://learning.lpi.org/en/learning-materials/102-500/ 2: https://www.lpi.org/our-certifications/exam-102-objectives/
Explanation:
The parameter that must be passed to ifconfig to activate a previously inactive network interface is up. The up parameter tells the kernel to activate the network interface and allow it to send and receive packets. The opposite of up is down, which deactivates the network interface. The up parameter is part of the topic 109.2: Basic network configuration, which is one of the objectives of the LPI Linux Administrator - 102 exam12. Reference: 1: https://learning.lpi.org/en/learning-materials/102-500/ 2: https://www.lpi.org/our-certifications/exam-102-objectives/
Jeder Eintrag in einer Crontab muss mit welchem Zeichen enden?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Was ist der Zweck eines Screenreaders?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Welche Datei gibt die Benutzerkonten an, über die KEINE Aufträge über at oder batch gesendet werden können? (Geben Sie den vollständigen Pfad und den Dateinamen an.)
Correct Answer:
etcatdeny
Explanation:
The /etc/at.deny file specifies the user accounts that can NOT submit jobs via at or batch. The format of the file is a list of usernames, one on each line. Whitespace is not permitted. The superuser may always use at. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked12. The at and batch commands use the files /usr/lib/cron/at.allow and /usr/lib/cron/at.deny to restrict usage on some systems3. Reference:
at.allow(5) - Linux man page
at.deny(5) [linux man page] - The UNIX and Linux Forums
The at.allow and at.deny files - IBM
Explanation:
The /etc/at.deny file specifies the user accounts that can NOT submit jobs via at or batch. The format of the file is a list of usernames, one on each line. Whitespace is not permitted. The superuser may always use at. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked12. The at and batch commands use the files /usr/lib/cron/at.allow and /usr/lib/cron/at.deny to restrict usage on some systems3. Reference:
at.allow(5) - Linux man page
at.deny(5) [linux man page] - The UNIX and Linux Forums
The at.allow and at.deny files - IBM
Wenn in /etc/ weder „cron, allow“ noch „cron, deny“ vorhanden sind, welche der folgenden Aussagen ist dann wahr?
Correct Answer: C
Vote an answer
Welche Ausgabe wird der Befehl seq 10 erzeugen?
Correct Answer: D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).