v1
v2
v3
100

You have a computer that is connected to the internet through a NAT router. You want to use a private addressing scheme for your computer.

Which of the following IP addresses could you assign to the computer? (Select THREE).

a. 127.0.0.1 

b. 32.188.99.10 

c. 10.0.12.15 

d. 172.18.188.67 

e. 192.168.12.253 

what is 

c. 10.0.12.15 

d. 172.18.188.67 

e. 192.168.12.253 

Of the addresses listed here, the following are in the private IP address ranges:

  • 10.0.12.15 (private range = 10.0.0.0 to 10.255.255.255)

  • 172.18.188.67 (private range = 172.16.0.0 to 172.31.255.255)

  • 192.168.12.253 (private range = 192.168.0.0 to 192.168.255.255)

100

What is an integrated Ethernet interface?

A) A network interface card that is installed externally

B) A type of wireless adapter for connecting to the internet

C) A network interface that is built into the motherboard

D) A type of modem used for dial-up internet connections

Answer: C) A network interface that is built into the motherboard.


Explanation: An integrated Ethernet interface, also known as an onboard Ethernet interface, is a network interface that is built into the motherboard of a computer or other device. This interface provides a connection to a local area network (LAN) using an Ethernet cable. Most modern computer systems include an integrated Ethernet interface, which eliminates the need for an external network interface card (NIC). This makes it easier and more convenient to connect to a LAN, as there is no need to install any additional hardware.

100

What is the purpose of the ifdown command in Linux?

A. To enable a network interface 

B. To disable a network interface 

C. To view the current networking configuration 

D. To assign an IP address to a network interface

Correct Answer: B. To disable a network interface

Explanation: The ifdown command is used to disable a network interface on a Linux system. This can be useful for troubleshooting or for temporarily taking a network interface offline. When you run the command "ifdown <interface>", the specified interface is taken offline, which means it is no longer available for network communication.

200

Which TCP/IP configuration parameter identifies the router that is used to reach hosts on remote networks? 

a. IP address 

b. Host name 

c. Default gateway 

d. Subnet mask 

what is the 

c. default gateway

The default gateway identifies the router to which packets for remote networks are sent.

The subnet mask identifies which portion of the IP address is the network address. The IP address identifies both the logical host and logical network addresses. The hostname identifies the logical name of the local system.

200

What happens when a modern Ethernet board is installed in a Linux system?

A) The operating system will not detect it and it needs to be manually configured

B) The operating system will detect it during boot-up and automatically load necessary kernel modules

C) The Ethernet board will need to be manually loaded into the system

Answer: B) The operating system will detect it during boot-up and automatically load necessary kernel modules.


Explanation: When a modern Ethernet board is installed in a Linux system, the operating system will typically detect it during the boot-up process and load any necessary kernel modules. This means that the new Ethernet board should be ready to use without requiring any additional manual configuration. However, in some cases, it may be necessary to manually configure the network settings to use the new Ethernet interface.

200

What command enables a network interface in Linux?

A) ifdown 

B) ip addr show 

C) ifup 

D) ifconfig

Answer: C) ifup

Explanation: In Linux, the ifup command is used to enable a network interface. When a network interface is down, it cannot communicate with other systems on the network. To bring the interface back up, the ifup command is used followed by the name of the interface, for example 'ifup ens32'. This command will configure and activate the network interface, allowing it to send and receive network traffic.

300

Which of the following are not valid IP addresses? (Select THREE). 

a. 257.0.122.55

b. 145.8.260.7

c. 45.22.156.256

d. 1.55.254.3

e. 116.0.0.116

f. 132.64.32.8

what is 

a. 257.0.122.55

b. 145.8.260.7

c. 45.22.156.256

IP addresses have a value between 0 and 255 within each octet. In this list, 45.22.156.256, 145.8.260.7, and 257.0.122.55 are not valid IP addresses.

300

What are the four parameters that need to be configured on a network interface in a Linux system to participate on an IP-based computer network?

A) MAC address, IP address, subnet Mask, default gateway router address

B) IP address, subnet Mask, default gateway router address, DNS server address

C) Subnet Mask, default gateway router address, DNS server address, Ethernet board version

D) IP address, subnet Mask, Ethernet board version, DNS server address

Answer: B) IP address, subnet Mask, default gateway router address, DNS server address.

Explanation: After installing a network interface in a Linux system, four different parameters need to be configured on that interface to participate in an IP-based computer network. These parameters are IP address, subnet Mask, default gateway router address, and DNS server address. The IP address is a unique identifier assigned to the interface, the subnet Mask defines the range of IP addresses that are on the same network, the default gateway router address defines the address of the router used to communicate with other networks, and the DNS server address is used to convert domain names to IP addresses.

300

Where is the default gateway router address typically stored on most Linux distributions?

A) /etc/network/interfaces 

B) /etc/sysconfig/network-scripts/ifcfg-eth0 

C) /etc/sysconfig/network/routes 

D) /etc/resolv.conf

Answer: C) /etc/sysconfig/network/routes

Explanation: The default gateway router address, which is the IP address of the router that packets should be sent to if they are not addressed to a host on the local network, is typically stored in the /etc/sysconfig/network/routes file on most Linux distributions. This file specifies the default route, or gateway, for the system. Other configuration files, such as /etc/network/interfaces or /etc/sysconfig/network-scripts/ifcfg-eth0, may also be used to configure networking on some distributions, but the default gateway is usually specified in the routes file. The /etc/resolv.conf file, on the other hand, contains information about the DNS servers that the system should use to resolve domain names to IP addresses.

400

Which port does Telnet use? 

a. 23

b. 80

c. 34

d. 35

what is 

a. 23

Telnet is a protocol used to provide remote access to networking devices such as routers, switches, and servers. Telnet is an old protocol and has been largely replaced by more secure protocols like SSH (Secure Shell), but it is still sometimes used for legacy systems.

Now, when a client wants to establish a Telnet session with a server, it needs to connect to a specific port on the server. In the case of Telnet, that port is port number 23. So, when you use a Telnet client to connect to a device, the client establishes a connection to port 23 on the device.

In the early days of the internet, a well-known standard was developed to assign different applications specific port numbers to use. This allows different applications to communicate with each other over the internet without interference. Port 23 was designated for Telnet, and this has remained the standard for Telnet connections ever since.

400

What command can be used to configure an IP address statically on a Linux system?

A) ipconfig

B) ifconfig

C) netconfig

D) configip

Answer: B) ifconfig


Explanation: To configure an IP address statically on a Linux system, the ifconfig command can be used. This command allows you to set the IP address, subnet mask, and other parameters of a network interface. When typing "ifconfig" without any options, it displays the current status of all network interfaces on the system. By specifying the interface name and the desired IP address, netmask, gateway, and DNS server address, you can configure the interface to use a static IP address.

400

Which routing component is used to forward packets to remote networks?

Host name

Subnet mask

IP address

Default gateway


The default gateway identifies the router to which packets for remote networks are sent.

The subnet mask identifies which portion of the IP address is the network address. The IP address identifies both the logical host and logical network addresses. The host name identifies the logical name of the local system.

500

Out of concern for security, you convinced your boss to stop allowing Telnet access to the network. Now, remote connections are only made through ssh.

Which port must you allow through the firewall for ssh access?

a. 22

b. 23

c. 24

d. 25

what is 

a. 22

ssh uses port 22 by default. 

SSH (Secure Shell) is a network protocol used to securely connect to a remote computer over an unsecured network, such as the internet. It encrypts data that is transmitted between the client and the server, making it much more difficult for anyone to eavesdrop on the communication.

The SSH protocol uses port 22 by default, which is a well-known port reserved specifically for SSH. This means that when an SSH connection is established, the client and server communicate using port 22. By using a well-known port, it makes it easier for the client to identify the correct service to connect to on the server.

In summary, SSH uses port 22 because it is the standard port reserved for the protocol, and it ensures that the client and server can correctly identify and communicate with each other.

500

Which command can be used to view the networking configuration of a Linux system?

A) ifconfig

B) ping

C) ssh

D) nslookup

Answer: A) ifconfig


Explanation: The ifconfig command can be used to view the current networking configuration on a Linux system, including IP addresses, network interfaces, and more. The ip command is also commonly used for this purpose. In the given example, the ip command is used to view the networking configuration by typing 'ip addr show'. This displays the current configuration for the loopback interface and the ens32 interface on the system.

500

You have replaced the default gateway on your network. The gateway had used the IP address of 201.12.3.4, and you must remove it from the routing table.

Which command would you use to accomplish this task?

a. route del default gw 201.12.3.4

b. route remove 201.12.3.4

c. remove route 201.12.3.4

d. del route gw 201.12.3.4

what is

a. route del default gw 201.12.3.4

Use the route utility to add and remove entries. Use the del parameter to remove a route. The syntax for removing a default gateway with the IP address given is route del default gw 201.12.3.4.