NPTEL Ethical Hacking Week 3 Assignment Answers 2024 (July-October)
Week 3: Assignment 3 on Ethical Hacking:
1. Which of the following statement(s) is/are false.
- Answer: b. IP protocol uses connection-less routing.
- Reason: IP protocol does indeed use connection-less routing, where each packet is treated independently and can follow different paths through the network. Thus, statement 'b' is true, not false.
2. Which of the following is/are false for direct and indirect packet delivery option?
- Answer: c. In same network, hosts of same network can exchange packets without interference of router.
- Reason: This statement is actually true; in the same network, hosts can communicate directly without the need for packet transfer through a router.
3. Which of the following is/are true for dynamic routing?
- Answer: d. Failure of the link can be resolved easily (re-routing is easy).
- Reason: Dynamic routing allows networks to automatically adjust routes when a network failure occurs, making re-routing relatively easy and effective.
4. Which of the following routing flags can indicate route to a single host (and not to a network) in the routing table?
- Answer: a. U
- Reason: The 'U' flag in routing tables stands for 'up', indicating that the route is available, but does not specifically indicate a route to a single host rather than a network. The correct flag for a route to a host is typically 'H' for host.
5. Which of the following statement(s) is/are false for default route?
- Answer: d. None of these.
- Reason: All provided statements about the default route are true. The default route is used when no specific address is available, and it is often specified by an address of 0.0.0.0 or might be directed to a specific default gateway.
6. Which of the following statements is/are true for Routing Information Protocol (RIP)?
- Answer: a. RIP is an example of interior routing protocol.
- Reason: RIP is indeed an interior routing protocol, used within an autonomous system. It uses timers to detect link failures and has issues with counting to infinity, all of which are true statements.
7. In Open Shortest Path First (OSPF) routing approach, which of the following packets is used to check if the neighbor router is up or not?
- Answer: a. Link State Request.
- Reason: OSPF uses several types of packets for maintaining router information, including the Link State Request, which can be used to request pieces of the state database from neighbor routers.
8. Which of the following is true for IPv6?
- Answer: e. All of these.
- Reason: All listed features are correct for IPv6: it does not use classful address definition, uses 128-bit addresses, has a 20-byte base header size, and is connection-oriented in its nature.
9. If a packet is to be delivered to all the host in a network, what kind of address should be used to specify the destination?
- Answer: c. Broadcast address.
- Reason: A broadcast address allows information to be sent to all devices on a network. This is the correct method for delivering packets to all hosts within a network.
10. Consider the following routing table in a router. On which interface will an IP packet with destination address 144.25.11.20 be forwarded?
- Answer: e. Eth3
- Reason: The IP address 144.25.11.20 falls within the subnet 144.25.11.0 with subnet mask 255.255.240.0, which is associated with interface Eth3 according to the routing table.