final exam Flashcards

1
Q
  1. A subnet mask is used to differentiate the host portion from the network portion in a TCP/IP address. True or False?
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Which file stores the TCP/IP addresses of the DNS servers used to resolve host names if no DNS servers are specified within the network configuration file for the NIC?
    a. /etc/hosts
    b. /etc/host.conf
    c. /etc/resolve
    d. /etc/resolv.conf
A

d. /etc/resolv.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What are two means available to resolve a host name to the appropriate TCP/IP address? (Choose two answers.)
    a. DHCP
    b. DNS
    c. /etc/hosts
    d. /etc/resolve.conf
A

b. DNS
c. /etc/hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What devices are used to transfer information from one network to another?
    a. routers
    b. LANs
    c. DNS servers
    d. DHCP servers
A

a. routers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. The TCP/IP address of 127.0.0.1 is also referred to as the .
    a. local address
    b. lookup address
    c. local host
    d. loopback address
A

d. loopback address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. The line that configures the host name for the computer at boot time can be found in /etc/sysconfig/network. True or False?
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Before a computer can use a router, what configuration information must it be provided?
    a. routing table
    b. subnet mask
    c. default gateway
    d. default router
A

c. default gateway

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.)

a. ifconfig
b. ipconfig
c. ping
d. netstat –i

A

a. ifconfig
d. netstat –i

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Which DNS resource record is an alias to other records?
    a. A
    b. AAAA
    c. CNAME
    d. NS
A

c. CNAME

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. What must you do in order to become a DNS server? (Choose all that apply.)
    a. Create zone files.
    b. Create resource records for DNS lookups.
    c. Create NIS maps.
    d. Run the name daemon (named).
A

a. Create zone files.
d. Run the name daemon (named).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Which of the following types of information is returned by typing ifconfig eth0? (Choose all that apply.)

a. The names of programs that are using eth0
b. The IP address assigned to eth0
c. The hardware address of eth0
d. The hostname associated with eth0

A

b. The IP address assigned to eth0
c. The hardware address of eth0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. The ping utility responds normally when you use it with an IP address but not when you use it with a hostname that you ’ re positive corresponds to this IP address. What might cause this problem? (Select all that apply.)

a. The target computer may be configured to ignore packets from ping .
b. Your computer ’ s DNS configuration may be broken.
c. The DNS configuration on the target system may be broken.
d. The route between your computer and its DNS server may be incorrect.

A

b. Your computer ’ s DNS configuration may be broken
d. The route between your computer and its DNS server may be incorrect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. What is the purpose of /etc/hostname , if it ’ s present on the system?

a. It holds the computer ’ s default hostname.
b. It holds a list of servers that resolve hostnames.
c. It holds a list of IP addresses and associated hostnames.
d. It holds the hostname of the local gateway computer

A

a. It holds the computer ’ s default hostname.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Which of the following programs can be used to perform a DNS lookup?

a. host
b. dnslookup
c. pump
d. ifconfig

A

a. host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. What is the effect of the following /etc/named.conf lines? listen-on port 53 { 127.0.0.1; };
    listen-on-v6 port 53 { ::1; };
    a. The server can be accessed only from the computer on which it ’ s running.
    b. The server will run using a firewall on port 53.
    c. The server will be available to remote computers via both IPv4 and IPv6.
    d. The server will be available to remote computers via IPv6 only.
A

a. The server can be accessed only from the computer on which it ’ s running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. What is the purpose of the following lines in /etc/named.conf ? zone “1.168.192.in-addr.arpa” {
    type master;
    file “named.192.168.1”;
    };

a. It tells the DNS server to use the file named.192.168.1 to look up IP addresses for names in the in - addr.arpa domain.
b. It tells the DNS server to use the file named.192.168.1 to look up hostnames when given IP addresses.
c. It tells the DNS server to ignore ( “ zone out ” ) requests in the 192.168.1. x IP address block.
d. It tells the DNS server to retrieve the file named.192.168.1 from the master server for the domain in question.

A

b. It tells the DNS server to use the file named.192.168.1 to look up hostnames when given IP addresses.

17
Q
  1. Which of the following are legal record types in a DNS zone file? (Choose all that apply.)

a. MX
b. DNS
c. ZF
d. CNAME

A

a. MX

d. CNAME

18
Q
  1. Which of the following options is true of the following DNS zone file entry? example.net. IN SOA dns.pangaea.edu. fred.example.com. (
    7 ; serial

3600 ; refresh
600 ; retry
604800 ; expire
86400 ; default_ttl
)
a. The serial number ( 7 ) is invalid; this number must be a date - based code, such as 2011071101 .
b. The primary DNS server entry ( dns.pangaea.edu ) is invalid; this server must exist within the main ( example.net ) domain.
c. You should send email to fred@example.com concerning any DNS - related problems with the example.net domain.
d. This domain has precisely two DNS servers: dns.pangaea.edu and fred.example.com .

A

c. You should send email to fred@example.com concerning any DNS - related problems with the example.net domain.

19
Q
  1. Assuming it ’ s properly configured, what can you say about a BIND server that has the following line in its /etc/named.conf file?
    allow-transfer {10.23.98.102; 10.202.79.121;);
    a. It ’ s a slave that transfers data from two other computers.
    b. It ’ s a master or slave that allows zone transfers to two other computers.
    c. It ’ s a slave that transfers data to two other computers.
    d. It ’ s a master that transfers data on two Ethernet interfaces.
A

b. It ’ s a master or slave that allows zone transfers to two other computers.

20
Q
  1. What vsftpd.conf option would you set to allow anonymous users to access the FTP server?

a. anon=YES
b. anonymous_enable=YES
c. anonymous=YES
d. noanonymous=NO

A

b. anonymous_enable=YES