CHAPTER-11:MANAGING REDHAT ENTERPRISE LINUX NETWORKING

 

CHAPTER 11

MANAGING RED HAT ENTER PRISE LINUX NETWORKING

 

 

1.       Ping utility works at ------------ layer.

a. application

b. transport

c. internet

d. link

 

2.       A list of we ll-known and registered ports can be found in the ------------------- file

a.       /etc/services

b.       /etc/service

c.       /etc/config

d.       /etc/netconfig

 

3.       When a packet is sent on the network, the combination of the service port and IP address forms

a.       A connection

b.      a socket

c.       a link

d.       a channel

 

4.       Each packet has a source socket and a destination socket. This information can be used when

a.       monitoring

b.      filtering

c.       controlling

d.       logging

 

5.       ping sends an ICMP ECHO_REQUEST packet. A successful ping receives an ICMP ECHO_REPLY acknowledgment. An unsuccessful ping may receive ICMP error messages

a.       True                               b.  False

 

6.       "destination unreachable" . This message shows due to –

a.       ICMP ECH O_REQUEST

b.       ICMP ECHO_REPLY

c.       ICMP error messages

7.       The netmask indicates how many bits of the IPv4 address belong to the subnet.

a.       True                               b. False

 

8.       /28  means

a.       255.255.255.0

b.      255.255.255.240

c.       255.255.255.224

d.       255.255.240.0

 

9.       255.255.255.252  means

a.       /30                         b. /25                    c.  /27                    d.  /29

 

10.   Calculate the network address for 172.16.181.23/19

a.       172.16.196.0

b.       172.168.160.0

c.       172.16.160.0

d.       172.16.0.160

 

11.   The special address 127.0.0.1 always points to the local system ("local host"), and the network 127.0.0.0/8 belongs to the local system, so that it can talk to itself using network protocols.

a.       True                                       b. False

 

12.   Each host has a routing table, which tells it how to route traffic for particular networks.

a.       True                                       b. False

 

13.   a number  is used in interface name to represent an

a.       Index                    b. ID                       c. Port                   d. All

 

14.   Ip  command is executed from

a.       /bin                        b. /sbin                 c. /etc                   d. /var

 

15.   To see IP Address of your system

a.       Ip address show               b. ifconfig                            c. ip  a  s     d. ip addr      e. All

 

16.   To see IP Address of eth0 interface of your system

a.       Ip address show  eth0    b. ifconfig  eth0                 c. ip  a  s   eth0       d. All

 

17.   ------------ command may also be used to show statistics about network performance

a.       Ip                            b. show                c. ifconfig             d. All

 

18.   The received (RX) and transmitted (TX) packets, errors, and dropped counters can be used to identify network issues caused by congestion, low memory, and overruns

a.       ip      link    show eth0

b.      ip    -s    link    show eth0

c.       ip    -s       show eth0

d.       ip    -s    link     eth0

 

19.   to show routing information.

a.       Ip routing

b.      Ip route

c.       Ip gateway

d.       Ip route show

 

20.   ------------------  command is used to test connectivity.

a.       ping       b. traceroute                     c. tracert              d. ping  -s             e. tracepath

21.   To trace the path to a remote host, use

a.       ping       b. traceroute                     c. tracert              d. ping  -s             e. tracepath

 

22.   Which command is used to display socket statistics

a.       netstat                 b. ss       c. st                        d. sp

 

23.   Command-line and graphical tools talk to NetworkManager and save configuration files in the – directory

a.       /etc/sysconfig/network-scripts

b.       /etc/sysconfig/

c.       /etc/sysconfig/networks- scripts

d.       /etc/sysconfigd/network- scripts

 

24.   To display a list of all connections, use

a.       nmcli  con

b.      nmcli con show

c.       nmcli  device show

d.       nmcli device

 

25.   ------------------- command can also be used to show device status and details

a. nmcli  con

b. nmcli con show

c. nmcli  device show

d. nmcli device

 

26.   Create a new connection named "static" and specify the IP address and gateway. Do not auto connect.

a.       nmcli   con   add   con    -name   "static"     ifname    eth0    autoconnect    no   type  ethernet    ip4    172.25.X.10/24    gw4    172.25.X.254

b.       nmcli   con   add   con    -name   "static"     ifname       autoconnect    no   type  ethernet    ip4    172.25.X.10/24    gw4    172.25.X.254

c.       nmcli   con   add   con    "static"     ifname    eth0    autoconnect    no   type  ethernet    ip4    172.25.X.10/24    gw4    172.25.X.254

27.   An existing connection may be modified with ----------------- arguments

a.       nmcli con mod

b.       nmcli con change

c.       nmcli con add

 

28.   To specify a DNS IP in existing  connection   “static”

a.        nmcli   con    mod     "static"     ipv4.dns   8.8.8.8

b.       nmcli   con   add     "static"     ipv4.dns   8.8.8.8

c.       nmcli   con   add     "static"     ipv4    dns   8.8.8.8

d.       nmcli   con   mod     "static"     +ipv4.dns   8.8.8.8

 

29.   To specify a secondary DNS IP in existing  connection   “static”

a.        nmcli   con    mod     "static"     ipv4.dns   8.8.8.8

b.       nmcli   con   add     "static"     ipv4.dns   8.8.8.8

c.       nmcli   con   add     "static"     ipv4    dns   8.8.8.8

d.      nmcli   con   add     "static"     +ipv4.dns   8.8.8.8

 

30.   Add a secondary IP address without a gateway  on existing  interface

a.       nmcli    con     mod     " static"      +ipv4.addresses   10.1.1.1/16

b.       nmcli    con     add    " static"      +ipv4.addresses   10.1.1.1/16

c.       nmcli    con     mod     " static"      ipv4.addresses   10.1.1.1/16

d.       nmcli    con     mod     " static"      +ipv4     addresses   10.1.1.1/16

 

31.   To Activate a connection, have to use –

a.       nmcli    con  up 

b.       nmcli   con   activate

c.       nmcli   con    show

d.       nmcli    device  up

 

32.     The nmcli command also has an interactive edit mode. For a graphical interface, use

a.       nm-connection–edit

b.       nm-connec–editor

c.       nm-connection–editor

d.       nmcli-connection-editor

 

33.   After modifying the configuration files, run ------------------------ to make NetworkManager read the configuration changes. The interface still needs to be restarted for changes to take effect.

a.       nmcli   con    reload

b.       nmcli   con    restart

c.       nm   con    reload

d.       nm   con    restart

 

 

 

34.   As the root user, edit the /etc/sysconfig/network- scripts/ifcfg-eth0   to add an additional address of 10.0.0.1/24

a.       echo    "IPADDR1=10.0.0.1"   >>   /etc/sysconfig/networkscripts/ifcfg-eth0

b.      echo    "PREFIX1=24" >> /etc/sysconfig/network-scripts/ ifcfg-eth0

c.       echo    "IPADDR=10.0.0.1"   >>   /etc/sysconfig/networkscripts/ifcfg-eth0

d.       echo    "PREFIX=24" >> /etc/sysconfig/network-scripts/ ifcfg-eth0

e.       echo    "IPADDR1=10.0.0.1"   >>   /sysconfig/networkscripts/ifcfg-eth0

f.        echo    "PREFIX1=24" >> /sysconfig/network-scripts/ ifcfg-eth0

 

35.   Which command displays or temporarily modifies the system's fully qualified host name.

a.       hostname

b.       hostnamectl

c.       host

d.       hosts

 

36.    A static host name store  in the --------------- name file

a.       /etc/hosts

b.       /etc/host

c.       /etc/host-name

d.      /etc/hostname

 

37.   To set permanently FQDN(mushfiq.itbd.tech), use

a.       hostnamectl    -set-hostname  mushfiq.itbd.tech

b.      hostnamectl    set-hostname  mushfiq.itbd.tech

c.       hostname   -set-hostname  mushfiq.itbd.tech

d.       hostname    set-hostname  mushfiq.itbd.tech

 

38.   The stub resolver is used to convert host names to IP addresses or the reverse. Which file contains this information?

a.       /etc/host

b.      /etc/hosts

c.       /etc/hostname

d.       /etc/host-name

 

39.   Which ---------  command can be used to test host name (itbd)resolution with the /etc/hosts file.

a.       getent    hosts   itbd

b.       getent    host     itbd

c.       getents   hosts   itbd

d.       getent    hosts name   itbd

 

40.   nameserver: the IP address of a nameserver to query. Up to three nameserver directives may be given to provide backups if one is down.

a.       True                       b. False

 

41.   If DHCP is in use, /etc/resolv.conf is automatically rewritten as interfaces are started

a.       True                       b. False

 

42.   nmcli  ->   Manage network devices with command-line utilities

a.       True                       b. False

 

 

 

 

 

 

 


Comments

Popular posts from this blog

Some Questions for MTCNA Exam

ডিপ্লোমা লেভেল এর ইন্ডাস্ট্রিয়াল এটাচমেন্ট এ আসার পূর্বে একটু ভেবে আসার অনুরোধ রইলো