TestOut Linux Pro 12.5.5 Practice Questions

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following configuration files holds the name of the host? /etc/hosts /etc/hostname .rhosts /etc/networks

/etc/hostname

What is the full path and filename of the file you should edit to determine the order in which name resolution is completed?

/etc/nsswitch.conf

Which of the following files contain information that enables a Linux system to resolve IP addresses to FQDN/host names? (Choose ALL that apply.) /etc/resolv.conf /etc/hosts /etc/services /etc/sysconfig/network-scripts/ifup

/etc/resolv.conf /etc/hosts

You are the administrator for a small network of Linux hosts. Your network does not communicate with the internet and does not use DNS. When you add a new host named ENERGY7 to the network, which entry should be added to the /etc/hosts files? 192.168.0.34 #ENERGY7 (Reception Area) ENERGY7 #192.168.0.34 #Reception Area 192.168.0.34 ENERGY7 #Reception Area 192.168.0.34:ENERGY7:Reception Area

192.168.0.34 ENERGY7 #Reception Area

Which network service would you use to get the IP address from the Fully Qualified Domain Name (FQDN) hostname? DHCP NAT DNS FTP

DNS

You want to implement a protocol on your network that allows computers to find the IP address of a host from a logical name. Which of the following protocols should you implement? DNS DHCP Telnet ARP

DNS

You are the system administrator of a test lab that uses the Linux operating system. For security reasons, your lab is not connected to the corporate network. Therefore, you are not able to resolve host names via the corporate DNS server. You want to be able to connect to the lab computers using hostnames, but you do not have the resources to bring up your own DNS server. Which of the following solutions would satisfy your requirements? Enter the IP addresses and hostnames for all of the lab computers in the /etc/hosts file on each of the machines in the lab. Enter the IP addresses and hostnames for all of the lab computers in the /etc/lmhosts file on each of the machines in the lab. Use a DNS relay agent to forward your DNS requests to the outside world. Configure the lab machines to use broadcast name resolution.

Enter the IP addresses and hostnames for all of the lab computers in the /etc/hosts file on each of the machines in the lab.

Your ISP has changed the IP addresses of their DNS servers. What would you need to do on your Linux system to still be able to continue resolving host and fully qualified domain names if you use statically assigned IP address information? Update the DNS entries listed in the /etc/sysconfig/network file. Update the DNS entries listed in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. Enter the IP addresses of the new DNS servers into the /etc/hosts file. Enter the IP addresses of the new DNS servers into the /etc/resolv.conf file.

Enter the IP addresses of the new DNS servers into the /etc/resolv.conf file.

You open the /etc/nsswitch.conf file and observe the following line: hosts: files dns What is the result of this configuration? The /etc/hosts file sends configured IP information to the local DNS server. The /etc/resolv.conf file is populated by the local files on the system. The /etc/hosts file takes precedence over information obtained from a DNS server when resolving domain names. DNS server information takes precedence over the configuration in the information/etc/hosts file.

The /etc/hosts file takes precedence over information obtained from a DNS server when resolving domain names.

You are asked to troubleshoot a problem on a user's computer. When the user types the name of any website he recives a message stating, "The page cannot be displayed." You determine that nothing has changed on the computer. What is MOST LIKELY the problem? The Apache server is down. The computer has a virus. The web browser needs to be upgraded. The DNS server is down or not reachable.

The DNS server is down or not reachable.

What will be the result of the following command? host www.somedom.com The hostname of the local machine isset to www.somedom.com. The hostname www.somedom.com isentered into the /etc/hosts file. A remote console session is initiated with www.somedom.com. The IP address of the computer www.somedom.com isdisplayed.

The IP address of the computer www.somedom.com isdisplayed.

What would you enter at the command prompt to find the IP address for the xyzcomp.com domain?

host xyzcomp.com


Kaugnay na mga set ng pag-aaral

Phlebotomy Technician Practice Exam

View Set

Java Programming - Chapter 1 Quiz

View Set

.Neuro-Antipsychotics & Anti-seizure

View Set

The Lion, the Witch, and the Wardrobe Vocabulary Words

View Set

Abeka 5th Grade Science Test 3 Study Guide

View Set

Advanced Bio Chapter 21 (pg. 455-463)

View Set

(Feist) Chapter 2: Conducting Research in Psychology

View Set