Configure and Verify Network Connections Flashcards

1
Q

Which commands will show you the network interfaces’s IP address information?

A

ifconfig

ip add

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

What are some commands that will query the DNS server on the localhost (127.0.0.1) for the IP address of google.com?

A

nslookup google.com 127.0.0.1
dig @127.0.0.1 google.com
host google.com 127.0.0.1

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

Which directive in the “hosts:” section of /etc/nsswitch.conf tells the system to check /etc/hosts for DNS resolution first?

A

files

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

Older Debian and Ubuntu use what configuration method?

A

Older Debian and Ubuntu use /etc/network/interfaces

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

Newer Debian and Ubuntu use what configuration method?

A

Newer Debian and Ubuntu versions use /etc/netplan/*

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

Any version of Debian or Ubuntu use what configuration method?

A

Any version of Debian or Ubuntu use the Network Manager method

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

In CentOS, where are the network configuration files stored?

A

In CentOS the network configuration files are stored in /etc/sysconfig/network-scripts

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

Mode 0 (balance-rr)

A

Mode 0 Needs switch support unless directly connected between two computers

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

Mode 1 (active backup), Mode 5 (balance-tlb), Mode 6 (balance-alb)

A

Mode 1,5,6 does not require switch support

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

Mode 2 (balance-xor), Mode 3 (broadcast), Mode 4 (802.3ad)

A

Mode 2,3,4 Requires switch support

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

Which file is created to set up a bond interface in CentOS?

A

To setup a bond interface in CentOS you have to access the file ifcfg-bond0

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