Lpi 102-500 Deutsch Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 102-500 Deutsch
  • Exam Name/Title: LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500 Deutsch Version)
  • Certification Provider: Lpi
  • Corresponding Certification: LPIC Level1
  • Exam Questions: 236
  • Updated On: May 30, 2026
Mit welchem ​​Befehl wird dem System eine leere Gruppe hinzugefügt? (Geben Sie NUR den Befehl ohne Pfad oder Parameter an.)
Correct Answer:
groupaddusrsbingroupadd
Explanation:
The groupadd command is used to add an empty group to the system. It takes the name of the group as an argument and creates an entry for it in the /etc/group file. The groupadd command also assigns a unique group ID (GID) to the new group. The groupadd command can take various options to specify the GID, the password, and other attributes of the new group. For example, groupadd -g 1000 mygroup will create a new group named mygroup with a GID of 1000. Reference:
Linux Groups - javatpoint
groupadd(8) - Linux manual page
How to Add and Delete User Groups on Linux
Welche Datei enthält eine Reihe von Diensten und Hosts, die über ein TCP-Wrapper-Programm wie tcpd eine Verbindung zum Server herstellen dürfen? (Geben Sie den vollständigen Namen der Datei einschließlich Pfad an.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAAI/AAAAAAAAAADM/-SXesH19Ido/s46-ck-no/photo.jpg
Correct Answer:
etchostsallow
Explanation:
The /etc/hosts.allow file contains a set of rules that specify which services and hosts are allowed to connect to the server by going through a TCP Wrapper program such as tcpd. TCP Wrappers are a security mechanism that can filter incoming requests based on the source address, destination address, and service name. TCP Wrappers can also perform logging, redirection, and execution of commands based on the rules.
The /etc/hosts.allow file has the following format:
service_list : host_list [ : option_list ]
The service_list is a comma-separated list of service names, such as sshd, telnet, or ftp. The host_list is a comma-separated list of host names, IP addresses, or network masks that are allowed to access the services. The option_list is an optional list of keywords that can modify the behavior of the rule, such as twist, spawn, deny, or allow.
For example, the following rule in /etc/hosts.allow allows ssh access from any host in the 192.168.1.0/24 network, and logs the connection attempt:
sshd : 192.168.1.0/255.255.255.0 : spawn /bin/echo %a from %h attempted to access %d >> /var/log/sshd.log The /etc/hosts.allow file is processed before the /etc/hosts.deny file, which contains the rules for denying access to the server. If a request matches a rule in /etc/hosts.allow, it is granted access and the processing stops. If it does not match any rule in /etc/hosts.allow, it is checked against the rules in /etc/hosts.deny. If it matches a rule in /etc/hosts.deny, it is denied access and the processing stops. If it does not match any rule in either file, it is granted access by default.
Reference:
LPI 102-500 Exam Objectives, Topic 110.3: Implement host security
LPI 102-500 Study Guide, Chapter 10: Securing Your System, Section 10.3: TCP Wrappers hosts.allow man page
Welcher Befehl zeigt alle in der aktuellen Shell definierten Aliase an? (Geben Sie den Befehl ohne Pfadangabe an.)
Correct Answer:
aliasaliasp
Explanation:
The alias command is used to create, list, or remove aliases in the current shell. An alias is a short name that refers to another command, usually with some options or arguments. Aliases are useful for saving typing time, avoiding spelling errors, or customizing the behavior of commands. To list all the aliases defined in the current shell, we can use the alias command without any arguments. This will print the aliases in the format of alias name='command'123. For example:
$ alias alias cp='cp -i' alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias mv='mv -i' alias rm='rm -i' The output shows that some common commands, such as cp, mv, and rm, have aliases that add the -i option, which prompts the user before overwriting or deleting files. The l, la, and ll aliases are shortcuts for different variations of the ls command, which lists files and directories123.
Welcher Befehl wird verwendet, um einer laufenden ssh-agen-Instanz private OpenSSH-Schlüssel hinzuzufügen? (Geben Sie nur den Befehlsnamen ohne Pfad an.)
Correct Answer:
sshadd
Welches der folgenden Felder befindet sich in der Datei / etc / group? (Wähle DREI richtige Antworten.)
Correct Answer: A,C,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Mit welchem ​​crontab-Eintrag kann die Systemzeit in regelmäßigen Abständen eingestellt werden?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Welche Datei muss, falls vorhanden, alle Benutzer enthalten, die das Cron-Planungssystem verwenden dürfen? (Geben Sie den vollständigen Namen der Datei einschließlich Pfad an.)
Correct Answer:
crontab
Explanation:
The file /etc/cron.allow, if present, must contain all users that are allowed to use the cron scheduling system. This file is used to restrict the access to cron for security reasons. Only users listed in this file can create and edit their own crontab files using the crontab command. If the file does not exist, all users can use cron, unless the file /etc/cron.deny exists, which lists the users that are not allowed to use cron12. Reference: 1: Cron and Crontab usage and examples. 2: How to use cron in Linux.
Lückentext
Mit dem Befehl ________ wird dem System eine Gruppe hinzugefügt.
Correct Answer:
groupaddusrsbingroupadd
Explanation:
The groupadd command creates a new group using the options specified on the command line and the default values from the /etc/login.defs file. It adds an entry for the new group to the /etc/group and /etc/gshadow files. Only the root user or a user with sudo privileges can create new groups using this command. The general syntax for the groupadd command is as follows:
groupadd [OPTIONS] GROUPNAME
Some of the common options for the groupadd command are:
-g, --gid GID: Specify the numeric group ID for the new group. If not given, the system will assign the next available GID from the range of group IDs specified in the login.defs file.
-r, --system: Create a system group with a GID chosen from the range of system group IDs specified in the login.defs file. System groups are usually used for some special system operation purposes, like creating backups or doing system maintenance.
-f, --force: Suppress the error message if the group already exists and exit successfully. This option is useful for scripts that need to ensure the existence of a group.
-K, --key KEY=VALUE: Override the default values from the /etc/login.defs file. The valid keys are GROUP_MIN_ID, GROUP_MAX_ID, SYS_GROUP_MIN_ID, SYS_GROUP_MAX_ID, and GID_INCREMENT.
Reference:
https://linuxize.com/post/how-to-create-groups-in-linux/
https://linuxhandbook.com/groupadd-command/
0
0
0
10