Ethical Hacking MCQs [6]

Advertisements

1) Which of the following corresponds to direct packet delivery option in a router?

a. An incoming packet is forwarded to another router.
b. An incoming packet is forwarded to the destination host present in the same network.
c. An incoming packet is forwarded via the default router.
d. None of these.


Answer: b


Solution: Direct packet delivery means that a packet can be delivered to a host directly without going through any other intermediate router. This is possible only when the destination host is present in the same network. Hence, option (b) is correct.


Advertisements

2) The default route is specified in a routing table by using the host address:

a. 0.0.0.0
b. 255.255.255.255
c. 127.0.0.1
d. None of these


Answer: a


Solution: In the routing table entry of a router, the all-zero combination (0.0.0.0) is typically used to specify the default route. Hence, option (a) is correct.


Advertisements

3) What does the G flag in a routing table signify?

a. The destination is in the same network.
b. The destination is in a different network.
c. The interface is up and running.
d. None of these.


Answer: b


Solution: If in a routing table entry, G = 0, it indicates that the destination is in the same network. However, if G = 1, it indicates that the destination is in a different network. In other words, the G flag indicates that the destination is in a different network. Hence, the correct option is (b).


Advertisements

4) Which of the following statement(s) is/are false?

a. In interior routing protocol, the participating routers are present in the same autonomous system.
b. In interior routing protocol, the participating routers are present in different autonomous systems.
c. In exterior routing protocol, the participating routers are present in the same autonomous system.
d. In exterior routing protocol, the participating routers are present in different autonomous systems.


Answer: b, c


Solution: Follows from the definitions of interior and exterior routing protocols.


Advertisements

5) If a packet is to be delivered to all the hosts in a network, what kind of address should be used to specify the destination?


a. Unicast address
b. Broadcast address
c. Anycast address
d. None of these


Answer: b


Solution: Unicast address is used if a packet is to be delivered to a specific host. Broadcast address is used if a packet has to be delivered to all the hosts within a network or subnetwork. Anycast address is used if a packet has to be delivered to exactly one of the hosts in a network or subnetwork. Hence, the correct option is (b).

Advertisements

One thought on “Ethical Hacking MCQs [6]

Add yours

Leave a Reply

Up ↑

%d bloggers like this: