NOS 120 final Questions and Answers
The line that configures the host name for the computer at boot time can be
found in /etc/sysconfig/network. True or False? ✔✔True
To test DNS configuration by resolving a host name to IP address which command
or commands can you use? (Choose all that apply.) ✔✔host hostname
dig hostname
nslookup hostname
What are two means available to resolve a host name to the appropriate TCP/IP
address? (Choose two answers.) ✔✔/etc/hosts
DNS
Which command would be used to activate the NIC aliased as eth0? ✔✔ifup eth0
Which file holds the methods to be used and the order in which they will be
applied for host name resolution? ✔✔/etc/nsswitch.conf
,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? ✔✔/etc/resolv.conf
Which file would you modify to permanently change the TCP/IP address of the
first wired NIC on a Fedora 20 system? ✔✔/etc/sysconfig/network-scripts/ifcfg-
eth0
Which of the following utilities can be used to check TCP/IP configuration and test
network connectivity? (Choose all that apply.) ✔✔ifconfig
ping
netstat -i
What yum command below can display a list of package group names? ✔✔yum
grouplist
What option can be added to the rpm command to upgrade a specified package
only if an older version exists on the system? ✔✔-F
What option can be added to the dpkg command to remove a specified package
from the system including any configuration files used by the package? ✔✔-P
RPM packages that require other RPM packages to be installed on a system prior
to being installed creates a relationship known as? ✔✔package dependency
, What command looks for a Makefile and uses the information within to compile
the source code into binary programs using the appropriate compiler program for
the local hardware architecture? ✔✔Make
Because the Makefile often includes some documented items it is good form to
read the Makefile after running the configure script. ✔✔True
In order to download DPM packages what command should be used below?
✔✔apt-get
Files with what two file extensions are commonly known as tarballs? ✔✔.tar.gz
.tgz
What option can be added to the rpm command in order to query packages? ✔✔-
q
Most Linux distributions make use of what package manager? ✔✔RPM
What command can be used to search for DPM package information? ✔✔dpkg-
query
The line that configures the host name for the computer at boot time can be
found in /etc/sysconfig/network. True or False? ✔✔True
To test DNS configuration by resolving a host name to IP address which command
or commands can you use? (Choose all that apply.) ✔✔host hostname
dig hostname
nslookup hostname
What are two means available to resolve a host name to the appropriate TCP/IP
address? (Choose two answers.) ✔✔/etc/hosts
DNS
Which command would be used to activate the NIC aliased as eth0? ✔✔ifup eth0
Which file holds the methods to be used and the order in which they will be
applied for host name resolution? ✔✔/etc/nsswitch.conf
,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? ✔✔/etc/resolv.conf
Which file would you modify to permanently change the TCP/IP address of the
first wired NIC on a Fedora 20 system? ✔✔/etc/sysconfig/network-scripts/ifcfg-
eth0
Which of the following utilities can be used to check TCP/IP configuration and test
network connectivity? (Choose all that apply.) ✔✔ifconfig
ping
netstat -i
What yum command below can display a list of package group names? ✔✔yum
grouplist
What option can be added to the rpm command to upgrade a specified package
only if an older version exists on the system? ✔✔-F
What option can be added to the dpkg command to remove a specified package
from the system including any configuration files used by the package? ✔✔-P
RPM packages that require other RPM packages to be installed on a system prior
to being installed creates a relationship known as? ✔✔package dependency
, What command looks for a Makefile and uses the information within to compile
the source code into binary programs using the appropriate compiler program for
the local hardware architecture? ✔✔Make
Because the Makefile often includes some documented items it is good form to
read the Makefile after running the configure script. ✔✔True
In order to download DPM packages what command should be used below?
✔✔apt-get
Files with what two file extensions are commonly known as tarballs? ✔✔.tar.gz
.tgz
What option can be added to the rpm command in order to query packages? ✔✔-
q
Most Linux distributions make use of what package manager? ✔✔RPM
What command can be used to search for DPM package information? ✔✔dpkg-
query