Ch14 Network Configuration Exam

  1. The system administrator tries to assign the value host*2014@SNG using the hostname command. What is the result of executing this command?

    • This value cannot be assigned since special characters other than – and . are not allowed in the hostname 
    • The special characters will be deleted and the value assigned to the hostname 
    • The command will complete successfully
    • The command will complete with a warning
  2. Which file is referred to on systems where DNS is not set up?

    • /etc/network-hosts 
    • /etc/host-config 
    • /etc/hosts 
    • /etc/resolv.conf
  3. The _____ command is used to view the fully qualified domain name of the host.

    • hostname 
    • cat /etc/hosts 
    • hostname -f
    • uname
  4. Which configuration file is referred to for DNS resolution?

    • /etc/dns.conf 
    • /etc/names.conf 
    • /etc/resolv.conf 
    • /etc/hosts
  5. Which of the configuration directives given below is not found in the /etc/resolv.conf file?

    • parameters
    • nameserver 
    • domain 
    • sortlist
  6. Which file is referred to by the Name Service Switch (NSS) resolver? 

    • /etc/nssconfig.conf 
    • /etc/hosts 
    • /etc/resolv.conf 
    • /etc/nsswitch.conf
  7. The /etc/nsswitch.conf file defines the order in which DNS and the /etc/hosts file are queried for host name information.

    True or False?

    • True 
    • False
  8. What type of interface is a network interface card?

    • Software interface 
    • Proxy interface 
    • Hardware interface 
    • Physical interface
  9. Which file contains host and routing details of all configured network interfaces for Red Hat based systems?

    • /etc/sys/network 
    • /etc/sysconfig/network 
    • /etc/sysconfig 
    • /etc/network
  10. The ifconfig will accept an interface name as an argument.

    True or False?

    • True 
    • False
  11. Which command is used to assign a netmask to the eth1 interface?

    • ifconfig eth1 submask 255.255.255.224 
    • ifconfig eth1 netmask 255.255.255.224
    • ifconfig eth1 -net-mask 255.255.255.224
    • ifconfig eth1 netmask 255.255.255.*
  12. Which command is used to find the netmask of the eth0 interface?

    • ifconfig -eth0 
    • ifconfig -A
    • ifconfig eth0 
    • ifconfig -netmask eth0
  13. The kernel’s routing table contains static and dynamic routes.

    True or False?

    • True 
    • False
  14. The routing table shows an entry with genmask 0.0.0.0, this indicates the _____.

    • Default Name Server 
    • Default Host 
    • Default Subnet Mask 
    • Default Route
  15. Which command is used to delete entries from the routing table?

    • route down 
    • route del 
    • route --del
    • route rm
  16. Which of the following is not shown in the output of the ifconfig command?

    • Packets dropped 
    • Packets received 
    • TTL 
    • Packets transmitted
  17. The IP address of your host is 192.168.10.16. In order to connect to another host with the IP address of 192.86.74.16, your router will have to be connected to the subnets:

    • 255.255.255.0 and 192.86.74.0 
    • 192.168.10.0 and 255.255.255.0 
    • 192.168.10.0 and 192.86.74.0
    • 192.168.1.1 and 192.86.74.0
  18. Which command is used to setup broadcast addresses for a network interface?

    • route
    • ifconfig 
    • ip broadcast 
    • host
  19. Which file will be used to enable DHCP based configuration on Red Hat based systems?

    • /etc/sysconfig/network-scripts/ifconfig-eth0 
    • /etc/sysconfig/network-scripts/ifcfg-eth0 
    • /etc/sysconfig/network-scripts/eth0 
    • /etc/network-scripts/ifcfg-eth0
  20. Which command can be used to verify the connectivity to a network after adding a new route?

    • resolvctl 
    • ping 
    • ifconfig 
    • ip up
  21. The ____ file is read at boot time on Red Hat based systems to set the host name.

    • /etc/sys/network 
    • /etc/sysconfig/network 
    • /etc/network/sysconfig 
    • /etc/sys/config
  22. Which API is used to query address information from the Name Service Switch (NSS) resolver?

    • getaddrinfo()
    • getaddrent()
    • getaddrfields()
    • gethostinfo()
  23. Which command can you use to block packets to a specific host?

    • route reject 
    • route del 
    • route block
    • route add with reject option
  24. How is the DNS configuration file /etc/resolv.conf setup?

    • Downloaded from Internet 
    • By the ifconfig utility 
    • Default values provided during installation 
    • By network initialization scripts
  25. The network​manager service works on wired interfaces only.

    True or False?

    • True 
    • False
  26. Which of the following is false about networkmanager

    • Supports Virtual Private Network (VPN) connections 
    • Provides a graphical utility for configuring network interfaces 
    • Requires root access to display device information 
    • Was originally developed by Red Hat
  27. Which command will display easily readable information on the eth0 interface?

    • nmcli -h sho eth0 
    • cat nmcli eth0 | eth0 -p
    • nmcli -p > eth0 show 
    • nmcli -p con show eth0
  28. The nmcli command can be used to create a new network connection.

    True or False?

    • True 
    • False
  29. Systemd-networkd cannot be used for _____________________.

    • Creating virtual network devices for cloud computing 
    • Automatically detecting and configuring a USB Ethernet connector 
    • Changing usernames on remote systems 
    • Resolving domain names with /etc/resolv.conf.
  30. Which of these is not a systemd-networkd configuration file?

    • /usr/lib/network/
    • /etc/systemd/network
    • /run/systemd/network
    • /etc/network/system.d
  31. The resolvectl tool is part of the ifconfig command.

    True or False?

    • True 
    • False
  32. The iproute2 equivalent for the arp command is _________. 

    • ip neighbor 
    • ip -arp 
    • ip route a -rp 
    • netstat -a
  33. Which of the following commands can be used to set the hostname to netlab01 on a systemd system?

    • sudo hostnamectl set-hostname netlab01 
    • hostnamectl status change hostname netlab01 
    • Edit the /etc/systemd/hosts.cfg file
    • hostname netlab01
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments