MODULE 14- Network configuration Flashcards

1
Q

Which term describes any device that communicates with another device via a network?

A

→ A Host is any device that communicates with another device via a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which term refers to a collection of two or more hosts that can communicate with each other, either wired or wirelessly?

A

→ Network refers to a collection of two or more hosts that can communicate with each other, either wired or wirelessly?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the term for the publicly accessible network that connects millions of hosts around the world?

A

→ Internet is the term for the publicly accessible network that connects millions of hosts around the world?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which term is commonly used to describe wireless networking technology?

A

→ Wi-Fi is commonly used to describe wireless networking technology?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which type of host provides resources or services such as web pages or email to other hosts?

A

→ Server is a type of host provides resources or services such as web pages or email to other hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do we call a feature or functionality offered by a host, such as hosting web pages?

A

→ Service is the feature or functionality offered by a host, such as hosting web pages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which device connects different networks and forwards data from one network to another, often referred to as a gateway?

A

→ Router is a device connecting different networks and forwards data from one network to another, often referred to as a gateway?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of a host that accesses a server to use a service?

A

→ Client is the role of a host that accesses a server to use a service?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which networking term refers to a small chunk of data used to efficiently send communication between hosts?

A

→ Packet is a small chunk of data used to efficiently send communication between hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which identifier is a unique number assigned to a host on a network and is used for addressing communication?

A

An IP Address is a unique number assigned to a host on a network and is used for addressing communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which value defines which IP addresses are considered to be in the same network?

A

Subnet Mask defines which IP addresses are considered to be in the same network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What name-based identifier is assigned to a host to make it easier for humans to remember than an IP address?

A

A Hostname is assigned to a host to make it easier for humans to remember than an IP address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the term for the full web address used to access an online resource, often including the protocol and hostname?

A

A URL (Uniform Resource Locator) is the full web address used to access an online resource, often including the protocol and hostname.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which server assigns IP addresses, hostnames, and other network configuration details to client hosts using a defined protocol?

A

A DHCP server assigns hostnames, IP addresses, and other network-related information to client hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which system translates domain names into IP addresses so that packets can be properly routed to the right host?

A

The DNS (Domain Name System) translates domain names into IP addresses so that packets can be properly routed to the right host.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which technology is the most common method of physically connecting hosts in a wired network?

A

Ethernet technology is the most common method of physically connecting hosts in a wired network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which protocol collection defines how network communication occurs between hosts and includes IP and subnet mask usage?

A

TCP/IP (Transmission Control Protocol/Internet Protocol) defines how network communication occurs between hosts and includes IP and subnet mask usage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which networking term describes the structure that lets users type in names like www.example.com instead of IP numbers?

A

Hostnames lets users type in names like www.example.com instead of IP numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What term refers to the rules that govern network communication and define formats for data exchange between hosts?

A

Protocols are the rules that govern network communication and define formats for data exchange between hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What range of communication speeds is supported by Ethernet technology?

A

From 10 Mbps to 100 Gbps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Which two most common Ethernet speeds are seen in typical wired networks?

A

100 Mbps and 1 Gbps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Which type of IP address uses four 8-bit numbers to represent a 32-bit address?

A

IPv4 uses four 8-bit numbers (called octets) to represent a 32-bit address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What size is an IPv6 address in bits?

A

IPv6 address is 128 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What’s the term for the process of transitioning from IPv4 to IPv6?

A

Porting the term for the process of transitioning from IPv4 to IPv6 (or one technology to another).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
What was created to address the shortage of IPv4 addresses by allowing multiple hosts to share a single public IP address?
NAT (Network Address Translation) was created to address the shortage of IPv4 addresses by allowing multiple hosts to share a single public IP address.
25
Which network configuration method requires manual input of IP address and subnet mask?
Static IP addressing, where the user assigns network settings manually rather than relying on a DHCP server.
25
Which operating system uses the /etc/sysconfig/network-scripts/ifcfg-eth0 file for network configuration?
→ CentOS, a Red Hat-based distribution.
25
Which two initial questions must be asked when configuring a network device?
Whether the device is wired or wireless, and whether it uses a DHCP server or a static IP address
26
Which method is commonly used to apply changes to a specific network interface on CentOS?
Bringing the interface down using ifdown eth0, editing the config file, and then bringing it up with ifup eth0
26
Which configuration file stores the IP address of the DNS server on a Linux system?
The /etc/resolv.conf file, which contains nameserver entries for DNS resolution.
26
Which command causes the system to re-read all network configurations and restart every interface?
service network restart, which shuts down and restarts the entire network stack.
27
Which command is used to query DNS and associate a hostname with its IP address?
The host command, which communicates with DNS servers to resolve domain names.
28
Which three files are critical for name resolution on a Linux host?
→ The /etc/hosts, /etc/resolv.conf, and /etc/nsswitch.conf files are all essential for name resolution on a Linux system.
29
Which file contains a table of hostnames to IP addresses, which can be used to resolve names locally, supplementing the DNS server?
The /etc/hosts file contains a table of hostnames to IP addresses, which can be used to resolve names locally, supplementing the DNS server
30
Which file contains the IP addresses of DNS servers and additional configurations for name resolution?
The /etc/resolv.conf file contains the IP addresses of DNS servers and additional configurations for name resolution.
31
Which file controls the order in which name resolution sources (such as files or DNS) are consulted when resolving hostnames?
The /etc/nsswitch.conf file controls the order in which name resolution sources (such as files or DNS) are consulted when resolving hostnames.
32
Which file is always the first file to be accessed?
/etc/nsswitch.conf is always the first file to be accessed because it dictates the order in which name resolution sources are checked.
33
Which command is primarily used to display network configuration information?
The ifconfig command stands for interface configuration and is primarily used to display network configuration information.
34
Which command provides more detailed options for managing routing, addresses, and other network functions, beyond just configuring network interfaces?
The ip command provides more detailed options for managing routing, addresses, and other network functions, beyond just configuring network interfaces.
35
Which command is specifically used to show the address information for a network interface in Linux?
The ip addr show command is specifically used to show the address information for a network interface in Linux.
36
Which command displays a table showing where network packets are sent, and is useful for viewing a host's routing table?
The route command displays the routing table, showing where network packets are sent on a system.
37
Which networking command can be used with the -n option to show routing information using only numeric data?
The route command can be used with the -n option to display routing information in numeric form (e.g., IPs instead of hostnames)
38
Which command replaces the functionality of the route command in modern Linux distributions and provides similar routing information?
The ip route or ip route show command replaces the route command in modern systems for displaying routing information.
39
Which command provides detailed network statistics, connection info, routing tables, and open ports?
The netstat command rovides detailed network statistics, connection info, routing tables, and open ports.
40
Which command displays routing information similar to the route command when used with the -r option?
The netstat -r command shows the system’s routing table in a format similar to what is displayed by the deprecated route command.
41
Which option used with netstat reveals statistics about transmitted and received packets on network interfaces?
The -i option with netstat shows statistics about transmitted and received packets on network interfaces.
42
What does TX-OK and TX-ERR mean when using netsat -i to shows statistics about transmitted and received packets on network interface?
TX-OK (transmitted successfully) and TX-ERR (transmission errors).
43
Which flag in netstat output ensures that only TCP ports are listed ?
The -t option ensures only TCP ports are listed;
44
Which flag in netstat output indicates it must show only listening(up protocols)?
netstat -l for listening
45
Which flag in netstat is for numeric display of protocol numbers instead of name?
netstat -n option is for numeric display of protocol numbers instead of name.
46
Which command is considered a more modern and feature-rich replacement for netstat, ?
The ss command is a modern alternative to netstat, offering deeper insight into socket connections and enhanced performance.
47
Which command is primarily used to view established connections between a local machine and remote systems, including statistics on those connections?
The ss command is primarily used to view established connections between a local machine and remote systems, including statistics on those connections.
48
Which output column in the ss command displays whether a socket is connected or unconnected based on its protocol?
The State column indicates the connection status of the socket—whether it is connected or unconnected.
48
Which option used with the ss command summarizes the number of sockets, their types, and statistics on packets sent and received?
The -s option used with the ss command summarizes the number of sockets, their types, and statistics on packets sent and received.
48
Which command is used to test functionality of a DNS server?
The dig command is used to test functionality of a DNS server.
48
Which authentication feature in SSH is used to verify the identity of a remote machine during the first connection?
The RSA key fingerprint acts as a unique identifier for the remote machine and is presented during the initial SSH connection.
49
Which command is used to get information about a particular particular hostname or IP Address?
The 'host' command is used to get information about a particular particular hostname or IP Address.
50
Which option of the host command is used to see if a host name is just a alias/nickname?
The 'host -t CNAME' option is used to see if a host name is just a alias/nickname.
50
Which command is used to see all DNS information?
host -a command is used to see all DNS information
51
Which command is sued to connect to another machine across the network?
The ssh command is used to connect to another machine across the network.
51
Which command is used to see the main DNS server in charge of a hostname?
host -t SOA command is used to see the main DNS server in charge of a hostname.
52
Which command is used to go back to a previous user?
The exit command is used to go back to a previous user.
53
Which command would you use to send 4 pings to your current machine?
ping -c4 localhost
54
Which command would you use to resolve the IP address of localhost?
dig localhost
55
Which command would you use to resolve 192.168.1.2 into its domain name?
dig -x 192.168.1.2
55
Which command would you use to see if a TCP process is listening?
netstat -tl
56
Which command would you use to see if a TCP process is listening and display its address numerically?
netstat -tln