final exam Flashcards
- A subnet mask is used to differentiate the host portion from the network portion in a TCP/IP address. True or False?
True
- 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
d. /etc/resolv.conf
- 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
b. DNS
c. /etc/hosts
- What devices are used to transfer information from one network to another?
a. routers
b. LANs
c. DNS servers
d. DHCP servers
a. routers
- 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
d. loopback address
- The line that configures the host name for the computer at boot time can be found in /etc/sysconfig/network. True or False?
True
- 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
c. default gateway
- 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. ifconfig
d. netstat –i
- Which DNS resource record is an alias to other records?
a. A
b. AAAA
c. CNAME
d. NS
c. CNAME
- 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. Create zone files.
d. Run the name daemon (named).
- 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
b. The IP address assigned to eth0
c. The hardware address of eth0
- 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.
b. Your computer ’ s DNS configuration may be broken
d. The route between your computer and its DNS server may be incorrect.
- 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. It holds the computer ’ s default hostname.
- Which of the following programs can be used to perform a DNS lookup?
a. host
b. dnslookup
c. pump
d. ifconfig
a. host
- 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. The server can be accessed only from the computer on which it ’ s running.
- 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.
b. It tells the DNS server to use the file named.192.168.1 to look up hostnames when given IP addresses.
- 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. MX
d. CNAME
- 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 .
c. You should send email to fred@example.com concerning any DNS - related problems with the example.net domain.
- 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.
b. It ’ s a master or slave that allows zone transfers to two other computers.
- 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
b. anonymous_enable=YES