1) Which of the following information can be viewed using "ifconfig" command in the Linux operating system?
- IP address
- Mac address
- MTU
- All of the above
Options:
- A
- A and B
- A and C
- D
Correct answer: 4
D
We can view IP address, MAC address, and MTU using ifconfig command I the Linux operating system.
2) What is the full form of MTU?
- Maximum Transmission Unit
- Minimum Transmission Unit
- Multiple Transmission Unit
- Minimum Transactional Unit
Correct answer: 1
Maximum Transmission Unit
The MTU stands for Maximum Transmission Unit.
3) What is the default size of MTU in the Linux operating system?
- cat
- file
- help
- man
Options:
- 1000
- 1500
- 2000
- 2600
Correct answer: 2
1500
The default size of MTU is 1500.
4) Which exact command is used to change the size of MTU?
- ifconfig <interface> mtu <size>
- ifconfig mtu <size> <interface>
- ifconfig mtu <size>
- ifconfig <interface> -m <size>
Correct answer: 1
ifconfig <interface> mtu <size>
The 1st command is correct, here interface can be eth0 or eth1 and size will be an integer number.
5) Which exact command is used to down interface eth0 in the Linux operating system?
- ifconfig down eth0
- ifdown eth0
- down eth0
- ifconfig -d eth0
Correct answer: 2
ifdown eth0
The ifdown eth0 command is used to down the eth0 interface port.
6) Which exact command is used to set subnet mask in the Linux operating system?
- ifconfig <ip address> subnet <subnet mask> <interface>
- ifconfig <interface> <ip address> subnet <subnet mask>
- ifconfig <interface> <ip address> netmask <subnet mask>
- ifconfig <ip address> netmask <subnet mask> <interface>
Correct answer: 3
ifconfig <interface> <ip address> netmask <subnet mask>
The 3rd command is used to set subnet mask in the Linux operating system.
7) Which exact command is used to show information about specified interface?
- ip show <interface>
- ip a show <interface>
- ip b show <interface>
- ip <interface> show
Correct answer: 2
ip a show <interface>
The 2nd command is used to show information about specified interface.
8) There are the following statements that are given below which of them are correct about "traceroute" in the Linux operating system?
- It is a network troubleshooting command which is used to trace the number of hops is required for packets to reach the destination.
- This command requires root privileges.
- By default, it is not installed in the Linux system
- All of the above
Options:
- A and B
- B and C
- A and C
- D
Correct answer: 4
D
All given statements are correct about "traceroute" in the Linux system
9) There are the following statements that are given below which of them are correct about the "tracepath" command in the Linux operating system?
- It is also used for network troubleshooting.
- This command requires root privileges.
- By default, it is installed in the Linux system
- All of the above
Options:
- A and B
- B and C
- A and C
- D
Correct answer: 3
A and C
Statements A and C are correct about the "tracepath" command.
10) Can we use the ping command with domain name instead of IP address?
- Yes
- No
Correct answer: 1
Yes
Yes, we can use the ping command with domain name instead of IP address.
11) Which of the following information can be displayed using the "netstat" command?
- Information about programs related to open socket.
- Information about routing tables.
- Statistics about all ports
- All of the above
Options:
- A and B
- B and C
- A and C
- D
Correct answer: 4
D
All given information can be displayed using the netstat command.
12) Which exact command is used to get information about routing tables?
- netstat -p
- netstat -s
- netstat -r
- None of the above
Correct answer: 3
netstat -r
The netstat -r command is used to get information about routing tables.
13) Which command is used to querying DNS to get mapping information about the domain name and IP address?
- netstate
- nslookup
- netinfo
- domainlookup
Correct answer: 2
nslookup
The nslookup command is used to get mapping information about the domain name and IP address.
14) nslookup stands for?
- Network System lookup
- Network Server lookup
- Name Server lookup
- Next Server lookup
Correct answer: 3
Name Server lookup
The nslookup stands for "Name Server lookup".
15) dig stands for?
- Domain Information Groper
- Domain Instruction Gist
- Double Instruction Groper
- Double Information Groper
Correct answer: 1
Domain Information Groper
The "dig" stands for "Domain Information Groper", it is commonly used Linux command for DNS lookup.
16) There are the following statements that are given below which of them are correct about the "ss" command in the Linux operating system?
- The ss command is the replacement for the netstat command.
- It is faster than the netstat command.
- We can display all UDP and TCP socket connections using ss command.
- The ss can display all TCP socket connections only.
Options:
- A and B
- A and C
- A, B, and C
- A, B, and D
Correct answer: 3
A, B, and C
Statements A, B, and C are correct about ss command in the Linux operating system.
17) Which of the following command is used to display and manipulate routing tables in the Linux operating system?
- routepath
- routetable
- route
- alterroute
Correct answer: 3
route
The route command is used to display and manipulate routing tables in the Linux operating system.
18) Which of the following is not the correct option used with route command?
- add
- delete
- -net
- -host
Correct answer: 2
delete
The delete option is not used with route command; here we use the del option to delete a route.
19) There are the following statements that are given below which of them are correct about the "host" command in the Linux operating system?
- This command is used to display domain name for specified IP address.
- This command is used to display an IP address for the specified domain name.
- Both of the above
- None of the above
Correct answer: 3
Both of the above
The host command is used to display the domain name for a specified IP address and vice versa.
20) Which of the following commands are used to download files from a specified URL?
- curl
- wget
- filedownload
- All of the above
Options:
- A and B
- A and C
- B and C
- D
Correct answer: 1
A and B
The curl and wget commands are used to download files from the specified URL.
21) Which of the following Linux command is used to configure a wireless network interface in the Linux operating system?
- wirelessconfig
- wconfiguration
- iwconfig
- wwconig
Correct answer: 3
iwconfig
The iwconfig command is used to configure the wireless network interface.
22) How can we view and add content in the kernel ARP table?
- arpmod
- arpalter
- arptable
- arp
Correct answer: 4
arp
The arp command is used to view and add content into the kernel ARP table?
25) Which command is used to check network cable is plugged or not?
- ifplugstatus
- ifcableplug
- ifcablestatus
- isplugstatus
Correct answer: 1
ifplugstatus
The ifplugstatus command is used to check network cable is plugged or not.