102-500 : LPI Level 1 : Part 01
-
FILL BLANK
Which command is used to set the hostname of the local system? (Specify only the command without any path or parameters.)
-
hostname
-
-
Which of the following is a valid IPv6 address?
-
2001:db8:0g21::1
-
2001::db8:4581::1
-
2001:db8:3241::1
-
2001%db8%9990%%1
-
2001.db8.819f..1
-
-
FILL BLANK
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
-
-
FILL BLANK
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
-
-
Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?
-
dnsq
-
hostname
-
dig
-
dnslookup
-
zoneinfo
-
-
Which of the following statements is valid in the file
/etc/nsswitch.conf?
-
multi on
-
192.168.168.4 dns-server
-
namespaces: net mount procs
-
include /etc/nsswitch.d/
-
hosts: files dns
-
-
Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)
-
tcp
-
ethernet
-
wifi
-
ipv6
-
bridge
-
-
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 local routing information may be corrupted and must be re-validated using a routing protocol.
- One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.
- There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.
- The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit.
- DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.
-
What is true about the Hop Limit field in the IPv6 header?
- The field is not changed during the transport of a package.
- The field is transmitted within a hop-by-hop extension header.
- Each router forwarding the packet increases the field’s value.
- Each router forwarding the packet decreases the field’s value.
- For multicast packages, the field’s value is always 1.
-
Which of the following nmcli subcommands exist? (Choose two.)
-
nmcli ethernet
-
nmcli device
-
nmcli wifi
-
nmcli address
-
nmcli connection
-
-
Which of the following changes may occur as a consequence of using the command ip? (Choose three.)
- Network interfaces may become active or inactive.
- New name servers may be added to the resolver configuration.
- The system’s host name may change.
- IP addresses 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/26?
- 6
- 14
- 30
- 62
- 126
-
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose three.)
-
10.0.0.0/8
-
127.0.0.0/8
-
169.255.0.0/16
-
172.16.0.0/12
-
192.168.0.0/16
-
-
Which of the following commands configure network interfaces based on the system’s existing distribution-specific configuration files? (Choose two.)
-
ifconf
-
ifdown
-
ifpause
-
ifstart
-
ifup
-
-
Which of the following statements is true if the UID of a regular user is identical to the GID of a group?
- UID have precedence over GIDs, therefore the user is available while the group doesn’t.
- The user as well as the group are not available to avoid ambiguity due to the ID conflict.
- UIDs and GIDs are independent of each other, therefore the user as well as the group are still available.
- The user is the only member of the group, even if the group configuration contains other members.
- GIDs have precedence over UIDs, therefore the group is available while the user isn’t.
-
Which of the following information is stored in
/etc/shadow
for each user?- The timestamp of the user’s last login
- The user’s private SSH keys
- The hashed password of the user
- The numerical user ID (UID)
- The path to the user’s home directory
-
Which of the following commands shows all active systemd timers?
-
systemctl-timer show
-
timectl list
-
systemctl –t
-
systemctl list-timers
-
timeq
-
-
Which of the following tasks can the date command accomplish? (Choose two.)
- Set the system’s date and time.
- Set the system’s date but not the time.
- Calculate the time span between two dates.
- Print a calendar for a month or a year.
- Display time in a specific format.
-
FILL BLANK
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.)
-
crontab
-
-
What can be specified with
useradd?
(Choose two.)- Commands the user can run using
sudo.
- The absolute path to the user’s home directory.
- Which printers are available for the new user.
- The SSH keys used to login to the new account.
- The numeric user ID (UID) of the user.
- Commands the user can run using
Subscribe
0 Comments
Newest