Which of the following nmcli subcommands exist? (Choose two.)
Correct Answer: B,E
The nmcli command is a command-line interface for NetworkManager, which is a tool for configuring and managing network settings on Linux systems. The nmcli command consists of different subcommands that correspond to different aspects of network configuration and management. The subcommands are: * nmcli general: shows status and permissions of NetworkManager, as well as system hostname and logging level and domains. * nmcli connection: enables you to create, modify, activate, deactivate, delete, and show network connections. * nmcli device: enables you to show, modify, and control network devices, such as interfaces, bonds, teams, bridges, etc. * nmcli monitor: monitors activity of NetworkManager and watches for changes in the state of connectivity and devices. * nmcli networking: enables or disables overall networking. * nmcli radio: enables or disables radio transmitters for Wi-Fi, Bluetooth, and WWAN devices. * nmcli agent: registers as a secret agent that provides and caches network credentials. The other options listed are not valid nmcli subcommands. There is no nmcli ethernet, nmcli wifi, or nmcli address subcommand. However, nmcli device and nmcli connection can be used to configure and manage Ethernet and Wi-Fi connections and addresses. References: * NetworkManager configuration and usage | SLE Micro 5.3 * nmcli: NetworkManager Reference Manual - GNOME * nmcli: command not found - The Geek Diary
Question 127
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
Correct Answer: A
Question 128
Which of the following commands finds all files owned by root that have the SetUID bit set?
Correct Answer: E
Question 129
What is the purpose of TCP wrapper?
Correct Answer: E
TCP wrapper is a security tool that allows you to restrict the access to a network service based on the source IP address or hostname of the client. TCP wrapper works by intercepting the incoming connection requests to a service and checking them against a set of rules defined in the /etc/hosts.allow and /etc/hosts.deny files. If the client is allowed, the connection is passed to the service. If the client is denied, the connection is rejected and an error message is logged. References: * LPI Linux Essentials: 1.5 Security and File Permissions: 1.5.3 Network Security * LPIC-1: System Administrator: 102.5 Implement basic network security: 102.5.1 TCP Wrappers
Question 130
Which of the following SQL statements will select the fields name and address from the contacts table?