Basic Linux Practice Multiple Choice Questions – 17

81. Question:_____ command provides an overview of the current resource usage of the system, including CPU, RAM, and swap space.

Option 1: top

Option 2: ps

Option 3: ls

Option 4: sysstat

Correct Answer: 1

Explanation: The top command provides an overview of the current resource usage of the system, including CPU, RAM, and swap space. It offers real-time monitoring of processes and their resource consumption.

82. Question: Which command in Linux is primarily used to view the routing table?

Option 1: route

Option 2: netstat

Option 3: ifconfig

Option 4: ping

Correct Answer: 1

Explanation: The route command is primarily used to view the routing table in Linux. The routing table contains information about how network packets are forwarded through the network. It displays the target networks and their associated gateways or interfaces.

83. Question: What does the ifconfig command primarily display?

Option 1: Network interface information

Option 2: System uptime

Option 3: List of installed packages

Option 4: CPU usage statistics

Correct Answer: 1

Explanation: The ifconfig command is primarily used to display network interface information. It shows detailed information about all network interfaces on the system, such as IP addresses, MAC addresses, and network configuration settings. This command is an important tool for managing and configuring network interfaces in Linux.

84. Question: What service in Linux is responsible for resolving domain names to IP addresses?

Option 1: DNS (Domain Name System)

Option 2: DHCP (Dynamic Host Configuration Protocol)

Option 3: SNMP (Simple Network Management Protocol)

Option 4: SMTP (Simple Mail Transfer Protocol)

Correct Answer: 1

Explanation: The service responsible for resolving domain names to IP addresses in Linux is DNS (Domain Name System). DNS servers maintain a database of mappings from domain names to IP addresses, helping translate human-readable domain names into numerical IP addresses for network communication.

85. Question: Which daemon in Linux is responsible for network interface configuration and automatic network switching?

Option 1: NetworkManager

Option 2: SystemD

Option 3: ifconfig

Option 4: Apache

Correct Answer: 1

Explanation: NetworkManager is responsible for network interface configuration and automatic network switching in Linux. It simplifies network setup and management, allowing users to seamlessly connect to different networks.

Leave a Comment