Ethical Hacking | NPTEL 2023 | Week 3 Assignment Solutions

This set of MCQ(multiple choice questions) focuses on Ethical Hacking NPTEL week 3 Assignment Solutions

Course layout

Answers COMING SOON! Kindly Wait!

Week 1: Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers
Week 9: Assignment answers
Week 10: Assignment answers
Week 11: Assignment answers
Week 12: Assignment answers

NOTE: You can check your answer immediately by clicking show answer button. This set of “Ethical Hacking NPTEL 2023 Week 3 Assignment Solution” contains 10 questions.

Now, start attempting the quiz.

Ethical Hacking NPTEL 2023 Week 3 Assignment Solutions

Q1. Consider the following statements:
(i) In connection-oriented approach, network layer first makes a connection.
(ii) IP protocol uses connection-oriented routing.

a) Only (i) is true
b) Only (ii) is true
c) Both (i) and (ii) are true
d) Both (i) and (ii) are false

Answer: a)

Q2. Which of the following is/are true for default route?

a) Default route is used when no specific address for next hop is available
b) In routing table default route is specified by an address 0.0.0.0.
c) In routing table default route is specified by an address 255.255.255.255.
d) In routing table default route is specified by an address 127.0.0.1.

Answer: a), b)

Q3. Which of the following is/are true for static routing?

a) In static routing routes are user defined
b) In static routing, routing table updates periodically depending on the network condition
c) Static routing is easy to configure
d) None of these

Answer: a)

Q4. Which of the following routing flags indicates that the router is up and running?

a) U
b) G
c) H
d) D
e) M

Answer: a)

Q5. Which of the following statement(s) is/are true for interior routing protocol?

a) All the participating routers are present in the same autonomous system.
b) The participating routers are present in different autonomous systems.
c) Routers in different autonomous systems exchange messages to update their routing tables.
d) Routers in the same autonomous system exchange messages to update their routing tables.

Answer: a), d)

Ethical Hacking NPTEL week 3 Assignment Solutions

Q6. Which of the following statement(s) is/are false for Routing Information Protocol(RIP)?

a) RIP is an example of interior routing protocol
b) RIP maintains timers to detect failed links
c) RIP converges faster for large networks
d) RIP consumes high bandwidth to update routes
e) None of these

Answer: c)

Q7. Which of the following is/are false for Border Gateway Protocol (BGP)?

a) BGP allows routers belonging to different autonomous systems to exchange routing information
b) BGP uses TCP connection to send routing messages
c) BGP can also be used by routers within the same autonomous systems
d) BGP sends keepalive messages periodically to ensure that the connection between the BGP peers is alive
e) None of these

Answer: e)

Ethical Hacking NPTEL week 3 Assignment Solutions

Q8. If a packet is to be delivered to a specific host 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: a)

Ethical Hacking NPTEL week 3 Assignment Solutions

Q9. Which of the following is not true for IPv6?

a) It uses 32-bit IP addresses
b) IPv6 address does not have any defined classes
c) It uses 128-bit IP addresses
d) None of these

Answer: a)

Q10. Consider the following routing table in a router. On which interface will an IP packet with destination address 161.44.64.120 be forwarded?

a) Interface a
b) Interface b
c) Interface c
d) Interface d

Answer: b)

Ethical Hacking NPTEL week 3 Assignment Solutions

Ethical Hacking NPTEL 2023 Week 3 Assignment Solutions

Q1. Which of the following statement(s) is/are true?

a. IP protocol uses connection-oriented routing.
b. IP protocol uses connection-less routing
c.1P protocol is a host-to-host layer.
d. In connection-less routing, each packet is treated as an independent packet.
e. None of these.

Answer: b,d

Q2. Which of the following is/are false for direct and indirect packet delivery option?

a. Direct delivery occurs when the destin ation host and deliverer are not present
on same network.
b. Indirect delivery occurs when the destination host and deliverer are present on
same network.
c. In direct delivery, hosts of same network can exchange packets without
interference of router.
d. In direct delivery, an incoming packet to the router is forwarded to the
destination host present in the network.
e. In an indirect delivery, the packet goes from router to router until it reaches the
one connected to the same physical network as its final destination.
f. None of these.

Answer: a,b

Q3. Which of the following routing flags can indicate route to a single host (and not to a network) in the routing table?

a. U
b. G
C. H
d. D
e. M

Answer: c

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

a. Autonomous systems are set of routers and networks managed by a single
organization.
b. In exterior routing protocol, all the participating routers are present in the same
autonomous system.
c. In interior routing protocol, the participating routers can be present in different
autonomous systems.
d. None of these.

Answer: b,c

Q5. 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?

a. Link State Request.
b. Link Request Update.
C. Link State Acknowledgement.
d. Using TCP 3-way handshake protocol.
e. None of these.

Answer: e

Ethical Hacking NPTEL week 3 Assignment Solutions

Q6. 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

Q7. Which of How many bits are used to represent IPv4 and IPv6 addresses respectively?

a. 4, 24
b. 24, 32
c. 32, 64
d. 32, 128
e. 255, 255

Answer: d

Ethical Hacking NPTEL week 3 Assignment Solutions

Q8. When an entire IPv6 packet is included as payload inside an IPv4 packet, it is called_____________

a. Encapsulation
b. Tunneling
c. Decapsulation
d. None of these

Answer: b

Ethical Hacking NPTEL week 3 Assignment Solutions

Q9. The size of base header in IPv6 datagram packet is ____________ bytes.

Answer: 40

Q10.

Answer: c

Ethical Hacking NPTEL week 3 Assignment Solutions

Ethical Hacking NPTEL 2022 Week 3 Assignment Solutions

Q1. Which of the following is/are true for direct packet delivery option in a routing table?

a) Based on the destination IP address, the packet will be forwarded for processing to another router.
b) Based on the destination IP address, the packet will be forwarded for processing to the default router.
c) Based on the destination IP address, the packet is forwarded to the destination host present in the same network.
d) None of these

Answer: c)

Q2. Which of the following host address represents the default route in a routing table?

a) 0.0.0.1
b) 255.255.255.255
c) 127.0.0.1
d) None of these

Answer: d) None of these

Q3. What does the value 1 in the G flag of a routing table signify?

a) The hop count of the packet has expired.
b) The destination is in the same network.
c) The destination is in a different network.
d) The destination is under the default router.
e) None of these.

Answer: c) The destination is in a different network.

Q4. Which of the following statement(s) is/are true for interior routing protocol?

a) All the participating routers are present in the same autonomous system.
b) The participating routers are present in different autonomous systems.
c) Routers in different autonomous systems exchange messages to update their routing tables.
d) Routers in the same autonomous system exchange messages to update their routing tables.

Answer: a), d)

Q5. If a packet is to be delivered to exactly one within a given set of 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: c) Anycast address

Ethical Hacking NPTEL week 3 Assignment Solutions

Q6. How is the destination network address determined while finding a match in the routing table?

a) Perform bitwise-AND of the destination IP address of the packet with subnet mask entry in the routing table.
b) Perform bitwise-AND of the destination IP address of the packet with network address entry in the routing table.
c) Destination network address can be obtained directly from the information present in the packet.
d) None of these.

Answer: a)

Q7. How are the links between neighbor routers kept alive in the OSPF protocol?

a) By sending PING request.
b) By initiating a TCP 3-way handshake protocol.
c) By periodically sending link-state information.
d) By periodically sending HELLO packets.

Answer: d) By periodically sending HELLO packets.

Ethical Hacking NPTEL week 3 Assignment Solutions

Q8. Which of the following represents tunneling?

a) An entire IPv6 packet is included as payload inside an IPv4 packet.
b) A packet is sent from an IPv4 network to an IPv6 network.
c) A packet is sent from an IPv6 network to an IPv4 network.
d) None of these.

Answer: a)

Ethical Hacking NPTEL week 3 Assignment Solutions

Q9. Consider the following routing table in a router. On which interface will an IP packet with destination address 161.44.64.120 be forwarded?

a) Interface a
b) Interface b
c) Interface c
d) Interface d
e) Interface e

Answer: b) Interface b

Q10. An entry in the routing table has 155.86.56.0 as the destination, and /22 as the subnet mask. What will be the network address?

a) 155.86.56.0
b) 155.86.0.0
c) 155.86.48.0
d) None of these

Answer: a) 155.86.56.0

Ethical Hacking NPTEL week 3 Assignment Solutions

<< Prev- Ethical Hacking Week 2 Assignment Solutions

>> Next- Ethical Hacking Week 4 Assignment Solutions


NPTEL answers: Problem solving through programming in C

Programming in Java NPTEL week 1 quiz answers

NPTEL – Python for Data Science assignment solutions

Nptel – Deep Learning assignment solutions

The above question set contains all the correct answers. But in any case, you find any typographical, grammatical or any other error in our site then kindly inform us. Don’t forget to provide the appropriate URL along with error description. So that we can easily correct it.

Thanks in advance.

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Leave a Comment

Your email address will not be published. Required fields are marked *