NOS 120 FINAL QUESTIONS WITH VERIFIED
ACCURATE ANSWERS
The line that configures the host name for the computer at boot time can be found in
/etc/sysconfig/network. True or False? - Answers -True
To test DNS configuration by resolving a host name to IP address which command or
commands can you use? (Choose all that apply.) - Answers -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.) - Answers -/etc/hosts
DNS
Which command would be used to activate the NIC aliased as eth0? - Answers -ifup
eth0
Which file holds the methods to be used and the order in which they will be applied for
host name resolution? - Answers -/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? -
Answers -/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? - Answers -/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.) - Answers -ifconfig
ping
netstat -i
What yum command below can display a list of package group names? - Answers -
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? - Answers --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? - Answers --P
, RPM packages that require other RPM packages to be installed on a system prior to
being installed creates a relationship known as? - Answers -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? - Answers -Make
Because the Makefile often includes some documented items it is good form to read the
Makefile after running the configure script. - Answers -True
In order to download DPM packages what command should be used below? - Answers
-apt-get
Files with what two file extensions are commonly known as tarballs? - Answers -.tar.gz
.tgz
What option can be added to the rpm command in order to query packages? - Answers
--q
Most Linux distributions make use of what package manager? - Answers -RPM
What command can be used to search for DPM package information? - Answers -
dpkg-query
Most source code is available on the Internet in tarball format. True or False? -
Answers -True
The Debian Package Manager (DPM) is the default package manager used by Fedora
20. True or False? - Answers -False
To install a new program from RPM software repositories on the Internet you can use
the yum update program name command. True or False? - Answers -False
When compiling source code into a binary program which command does the compiling
using the GNU C Compiler? - Answers -Make
When compiling source code into a binary program which command performs a system
check and creates the Makefile? - Answers -./configure
Which command can be used to remove the RPM package file ? - Answers -rpm -e
packagename
Which command can be used to remove the test DPM package including any test
configuration files? - Answers -apt-get purge test
ACCURATE ANSWERS
The line that configures the host name for the computer at boot time can be found in
/etc/sysconfig/network. True or False? - Answers -True
To test DNS configuration by resolving a host name to IP address which command or
commands can you use? (Choose all that apply.) - Answers -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.) - Answers -/etc/hosts
DNS
Which command would be used to activate the NIC aliased as eth0? - Answers -ifup
eth0
Which file holds the methods to be used and the order in which they will be applied for
host name resolution? - Answers -/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? -
Answers -/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? - Answers -/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.) - Answers -ifconfig
ping
netstat -i
What yum command below can display a list of package group names? - Answers -
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? - Answers --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? - Answers --P
, RPM packages that require other RPM packages to be installed on a system prior to
being installed creates a relationship known as? - Answers -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? - Answers -Make
Because the Makefile often includes some documented items it is good form to read the
Makefile after running the configure script. - Answers -True
In order to download DPM packages what command should be used below? - Answers
-apt-get
Files with what two file extensions are commonly known as tarballs? - Answers -.tar.gz
.tgz
What option can be added to the rpm command in order to query packages? - Answers
--q
Most Linux distributions make use of what package manager? - Answers -RPM
What command can be used to search for DPM package information? - Answers -
dpkg-query
Most source code is available on the Internet in tarball format. True or False? -
Answers -True
The Debian Package Manager (DPM) is the default package manager used by Fedora
20. True or False? - Answers -False
To install a new program from RPM software repositories on the Internet you can use
the yum update program name command. True or False? - Answers -False
When compiling source code into a binary program which command does the compiling
using the GNU C Compiler? - Answers -Make
When compiling source code into a binary program which command performs a system
check and creates the Makefile? - Answers -./configure
Which command can be used to remove the RPM package file ? - Answers -rpm -e
packagename
Which command can be used to remove the test DPM package including any test
configuration files? - Answers -apt-get purge test