CCNA Interview Questions

Ratings:
(4.3)
Views: 1783
Banner-Img
Share this blog:

 

CCNA Interview Questions

1Q) Which layer of the OSI model is responsible for reliable connections?

Ans: The Transport layer of the OSI model is responsible for reliable connections.

2Q) What is the difference between acknowledgments and handshaking?

Ans: Handshaking is used to negotiate the properties of a connection that is being established. Acknowledgments are used to tell the sender that data has been successfully received by the destination during the use of a connection.  

3Q) How many VTP modes are there and what are they?

Ans: Three: Server, Client, and Transparent

4Q) What are the two types of Trunk encapsulation protocols?

Ans: IEEE 802.1Q and Cisco’s ISL

5Q) What are the four primary no routable protocols?

Ans: SNA, NetBIOS, DEC LAT, DEC MOP

Interested in mastering CCNA? Learn more about "CCNA Training" in this blog post.

6Q) What is the difference between TCP and UDP?

Ans: The primary difference between TCP and UDP is that TCP is a connection-oriented protocol and UDP is a connection-less protocol.

7Q) What is HSRP?

Ans: HSRP, or the Hot Standby Routing Protocol, is a Cisco proprietary protocol that brings routing functionality to end devices that would otherwise not be capable of taking advantage of redundant network connections. HSRP enables a pair of Cisco routers to work together to present the appearance of a single virtual default-gateway to end devices on a LAN segment.

8Q) What is the difference between a Public IP address and a Private IP address?

Ans: Public address space is a unique address that is assigned to a company. Private address space is not recognized by the Internet and can be used by anyone within their private network.

9Q) What does AAA stand for?

Ans: Authentication, authorization, and accounting

10Q) The H.323 protocol is used for what?

Ans: H.323 is used for multi service (multimedia) applications, usually in a Voice Over IP environment.

11Q)What type of routing protocol maintains neighbors?

Ans: Link State

12Q) what is the range of values for administrative distance?

Ans: 0-255  

13Q) Describe the difference between uni cast, multi cast, and broadcast traffic?

Ans: Unicast traffic flows from a single source to a single destination MAC address. Multicast traffic flows from a single source MAC address to many destinations and uses a functional MAC address. Broadcast traffic is from a single source to all devices on the Ethernet segment. This is specified by a destination MAC address of all ones.

14Q) What are the four different Ethernet encapsulation types?

Ans: From the Cisco IPX encapsulation command, they are ARPA, NOVEL-ETHER, SAP and SNAP

15Q) What are the three main tasks of a transparent bridge?

Ans: Learning, Forwarding, Filtering

16Q) What type of routing protocol is EIGRP?

Ans: Hybrid

17Q) While troubleshooting a connectivity problem on the network, you issue the ping command from your PC command prompt, but the output shows “request times out.” At which OSI layer is this problem associated with?

Ans: The Network Layer

18Q) What algorithm does OSPF use to compute its route table?

Ans: OSPF uses the shortest path first (SPF) algorithm, which is also known as the Dijkstra algorithm.

19Q) What is a stub area?

Ans: A stub area is an area that does not accept routing updates from outside its autonomous system.

20Q) What does the TTL field of an IP packet header do?

Ans: The TTL field indicates the maximum time that a packet can be on the network. Each router that processes this packet decrements the TTL value by 1. If the value reaches zero, the packet is discarded from the network. The purpose of this field is to eliminate the possibility of a packet endlessly traversing the network.

CCNA Certification Questions and Answers

21Q) What is the primary purpose of a LAN?

Ans: The primary purpose of a local-area network is to allow resource sharing. The resources may be devices, applications, or information. Examples of shared resources are files, databases, e-mail, modems, and printers.

22Q) What is the protocol?

Ans: A protocol is an agreed-upon set of rules. In data communications, the rules usually govern a procedure or a format.

23Q) What is the purpose of a MAC protocol?

Ans: A Media Access Control protocol defines how a given LAN medium is shared, how LAN devices connected to the medium are identified, and how frames transmitted onto the medium are

24Q) What is the frame?

Ans: A frame is a digital “envelope” that provides the information necessary for the delivery of data across a data link. Typical components of a frame are identifiers (addresses) of the source and destination devices on the data link, an indicator of the type of data enclosed in the frame, and error-checking information.

25Q) What feature is common to all frame types?

Ans: A feature common to all frame types is a format for identifying devices on the data link.

26Q) What is a MAC address or MAC identifier?

Ans: A Media Access Control address or identifier is a means by which individual devices connected to a data link are uniquely identified for the purpose of delivering data.

27Q) Why is a MAC address not a true address?

Ans: An address specifies a location. A MAC address is not a true address because it is permanently associated with the interface of a specific device and moves whenever the device moves. A MAC identifies the device, not the location of the device.

28Q) What are the three sources of signal degradation on a data link?

Ans: The three sources of signal degradation on a data link are attenuation, interference, and distortion. Attenuation is a function of the resistance of the medium. Interference is a function of noise entering the medium. Distortion is a function of the reactive characteristics of the medium, which react differently to different frequency components of the signal.

29Q) What is the purpose of a repeater?

Ans: A repeater is a device that extends the useful range of a physical medium by reading a degraded signal and producing a “clean” copy of the signal.

30Q) What is the purpose of a bridge?

Ans: A bridge is a device that increases the capacity of a LAN. A bridge divides the data link into segments, forwarding only traffic that is generated on one segment and is destined for another segment. By controlling and limiting the traffic on a data link, more devices may be attached to the LAN.

31Q) What makes a transparent bridge transparent?

Ans: A transparent bridge “listens promiscuously” on each of its ports. That is, it examines all frames on all media to which it is attached. It records the source MAC identifiers of the frames, and the ports on which it learns the identifiers, in a bridging table. It can then refer to the table when deciding whether to filter or forward a frame. The bridge is transparent because it performs this learning function independently of the devices that originate the frames. The end devices themselves have no knowledge of the bridge.

32Q) Name three fundamental differences between LANs and WANs?

Ans: Three fundamental differences between local-area and wide-area networks are: LANs are limited to a small geographic area, such as a single building or small campus. WANs cover a large geographic area, from citywide to worldwide. LANs usually consist entirely of privately owned components. Some components of a WAN, such as a packet switching network or point-to-point serial links, are usually leased from a service provider. A LAN provides high bandwidth at a relatively cheap price. The bandwidth across a WAN is significantly more expensive.

33Q) What is the purpose of a broadcast MAC identifier? What is the broadcast MAC identifier, in hex and in binary?

Ans: A broadcast MAC identifier, when used as the destination address of a frame, signifies that the data is for all devices attached to the data link. In binary, the broadcast MAC identifier is all one. In hex, it is ffff.ffff.ffff.

34Q) What is the primary similarity between a bridge and a router? What is the primary difference between a bridge and a router?

Ans: The primary similarity between a bridge and a router is that both devices increase the number of hosts that may be interconnected into a common communications network. The difference is that a bridge works by interconnecting separate segments of a single network, whereas a router interconnects separate networks.

35Q) What is a packet? What is the primary similarity between a frame and a packet? What is the primary difference between a frame and a packet?

Ans: A packet is the means by which data is transported from one network to another. The similarity between a frame and a packet is that they both encapsulate data and provide an addressing scheme for delivering the data. The difference between a frame and a packet is that the frame delivers data between two devices sharing a common data link, whereas a packet delivers data across a logical pathway, or route, spanning multiple data links.

36Q) As a packet progresses across an internetwork, does the source address change?

Ans: Neither the source nor the destination address of a packet changes as it progresses from the source of the packet to the destination.

37Q) What is a network address? What is the purpose of each part of a network address?

Ans: Network addresses are the addresses used in packets. Each network address has a network port, which identifies a particular data link, and a host or node part, which identifies a specific device on the data link identified by the network part.

38Q) What is the primary difference between a network address and a data link identifier?

Ans: A packet identifies a device from the perspective of the entire internetwork. A-frame identifies a device from the perspective of a single data link. Because the connection between two devices across an internetwork is a logical path, a network address is a logical address. Because the connection between two devices across a data link is a physical path, a data link identifier is a physical address.

39Q) What are the five layers of the TCP/IP protocol suite? What is the purpose of each layer?

Ans: The five layers of the TCP/IP protocol suite are the following:

-Physical layer

-Datalink layer

-Internet (or IP) layer

-Host-to-host layer

-Application layer

40Q) What is the most common IP version presently in use?

Ans: The most common IP version now in use is version 4.

41Q) What is fragmentation? What fields of the IP header are used for fragmentation?

Ans: Routers perform fragmentation when a packet is longer than the maximum packet length (Maximum Transmission Unit, or MTU) supported by a data link onto which the packet must be transmitted. The data within the packet will be broken into fragments, and each fragment will be encapsulated in its own packet. The receiver uses the Identifier and Fragment Offset fields and the MF bit of the Flags field to reassemble the fragments.

42Q) What is the purpose of the TTL field in the IP header? How does the TTL process work?

Ans: The Time to Live (TTL) field prevents “lost” packets from being passed endlessly through the IP internetwork. The field contains an 8-bit integer that is set by the originator of the packet. Each router through which the packet passes will decrement the integer by one. If a router decrements the TTL to zero, it will discard the packet and send an ICMP “time exceeded” error message to the packet’s source address.

43Q) What is the first octet rule?

Ans: The first octet rule determines the class of an IP address as follows: Class A: The first bit of the first octet is always 0. Class B: The first two bits of the first octet are always 10. Class C: The first three bits of the first octet is always 110. Class D: The first four bits of the first octet are always 1110. Class E: The first four bits of the first octet are always 1111.

44Q) How are class A, B, and C IP addresses recognized in dotted decimal? How are they recognized in binary?

Ans: The A, B, C IP addresses are recognized in dotted decimal and binary as follows: Class Binary Range of First Octet Decimal Range of First Octet A 0000000 – 01111110 1 – 126 B 10000000 – 10111111 128 – 191 C 11000000 – 11011111 192- 223

45Q) What is an address mask, and how does it work?

Ans: An IP address mask identifies the network part of an IP address. Each one in the 32-bit mask marks the corresponding bit in the IP address as a network bit. A zero in the mask marks the Corresponding bit in the IP address as a host bit. A Boolean AND is performed in all 32 bits of the address and the mask; in the result, all network bits of the mask will be repeated, and all host bits will be changed to zero.

46Q) What is a subnet? Why are subnets used in IP environments?

Ans: A subnet is a sub-grouping of class A, B, or C IP address. Without subletting, the network part of a major class A, B, or C IP address can only identify a single data link. Subnetting uses some of the host bits of a major IP address as network bits, allowing the single major address to be “Subdivided” into multiple network addresses.

47Q) Why can’t a subnet of all zeros or all ones be used in a classful routing environment?

Ans: A classful routing protocol has no way to differentiate between the all-zeroes subnet and the major IP address, and between the all-ones subnet and the all-hosts, the all-subnets broadcast address of the major IP address.

48Q) What is ARP?

Ans: ARP, or Address Resolution Protocol, is a function that maps the IP addresses of interfaces on a data link to their corresponding MAC identifiers.

49Q) What is proxy ARP?

Ans: Proxy ARP is a function of an IP router. If the router hears an ARP request, and The destination network or subnet is in the router’s routing table, and The table indicates that the destination is reachable via a different router interface than the one on which the ARP request was received, The router will respond to the ARP request with its own MAC address.

50Q) What is a redirect?

Ans: A redirect is an IP router function. If a device has sent a packet to the router and the router must forward the packet to a next-hop router on the same data link, the router will send a redirect to the originating device. The redirect will inform the device that it can reach the next-hop router directly.

CCNA Interview Questions for Experienced

51Q) What is the essential difference between TCP and UDP?

Ans: TCP, or Transmission Control Protocol, provides a connection-oriented service over the Connectionless internet layer. UDP, or User Datagram Service, provides connectionless service.

52Q) What mechanisms does TCP use to provide connection-oriented service?

Ans: Correct sequencing is accomplished with sequence numbers. Reliability is accomplished by using checksums, acknowledgments, timers, and retransmissions. Flow control is accomplished by windowing.

53Q) Instead of ARP, Novel Net Ware uses a network address that includes a device’s MAC address as the host portion. Why can’t IP do this?

Ans: A MAC identifier is a fixed-length binary integer. If IP used MAC identifiers as the host part of the IP address, subnetting would not be possible because there would be no flexibility in using some of the host bits as network bits. NetWare has a transport layer service similar to TCP called Sequenced Packet Exchange (SPX), but no service similar to UDP. Applications requiring connectionless service directly access the connectionless IPX at the network layer. What purpose does UDP serve by providing a connectionless service on top of what is already a connectionless service? Answer: The only purpose of the UDP header is to add fields for the source and destination port numbers.

54Q) What information must be stored in the route table?

Ans: At a minimum, each entry of the routing table must include a destination address and the address of a next-hop router or an indication that the destination address is directly connected.

55Q) What does it mean when a route table says that an address is variably subnetted?

Ans: Variably subnetted means that the router knows of more than one subnet mask for subnets of the same major IP address.

56Q) What are discontiguous subnets?

Ans: Discontiguous subnets are two or more subnets of a major IP network address that are separated by a different major IP address.

57Q) What command is used to examine the route table in a Cisco router?

Ans: show ip route is used to examine the routing table of a Cisco router.

58Q) What are the two bracketed numbers associated with the non-directly connected routes in the route table?

Ans: The first bracketed number is the administrative distance of the routing protocol by which the route was learned. The second number is the metric of the route.

59Q) When static routes are configured to reference an exit interface instead of a next-hop address, in what way will the route table be different?

Ans: When a static route is configured to reference an exit interface instead of a next-hop address, the destination address will be entered into the routing table as directly connected.

60Q) What is a summary route? In the context of static routing, how are summary routes useful?

Ans: A summary route is a single route entry that points to multiple subnets or major IP addresses. In the context of static routes, summary routes can reduce the number of static routes that must be configured.

61Q) What is the administrative distance?

Ans: An administrative distance is a rating of preference for a routing protocol or a static route. Every routing protocol and every static route has an administrative distance associated with it. When a router learns of a destination via more than one routing protocol or static route, it will use the route with the lowest administrative distance.

62Q) What is a floating static route?

Ans: A floating static route is an alternative route to a destination. The administrative distance is set high enough that the floating static route is used only if a more-preferred route becomes unavailable.

63Q) What is the difference between equal-cost and unequal-cost load sharing?

Ans: Equal-cost load sharing distributes traffic equally among multiple paths with equal metrics. Unequal-cost load sharing distributes packets among multiple paths with different metrics. The traffic will be distributed inversely proportional to the cost of the routes.

64Q) How does the switching mode at an interface affect load sharing?

Ans: If an interface is fast switched, per-destination load sharing is performed. If an interface is process switched, per-packet load sharing is performed.

65Q) What is a recursive table lookup?

Ans: A recursive routing table lookup occurs when a router cannot acquire all the information it needs to forward a packet with a single routing table lookup. For example, the router may perform one lookup to find the route to a destination and then perform another lookup to find a route to the next hop router of the first route.

66Q) What is a routing protocol?

Ans: A routing protocol is a “language” that routers speak to each other to share information about network destinations.

67Q) What basic procedures should a routing algorithm perform?

Ans: At a minimum, a routing protocol should define procedures for:

-Passing reachability information about networks to other routers

-Receiving reachability information from other routers

-Determining optimal routes based on the reachability information it has and for recording this information in a route table

-Reacting to, compensating for, and advertising topology changes in an internetwork

68Q) Why do routing protocols use metrics?

Ans: A route metric, also called a route cost or a route distance, is used to determine the best path to a destination. Best is defined by the type of metric used.

69Q) What is convergence time?

Ans: Convergence time is the time a group of routers take to complete the exchange of routing

70Q) What is load balancing? Name four different types of load balancing?

Ans: Load balancing is the process of sending packets over multiple paths to the same destination. Four types of load balancing are: Equal cost, per-packet Equal cost, per destination Unequal cost, per-packet Unequal cost, per destination

71Q) What is a distance vector routing protocol?

Ans: A distance vector protocol is a routing protocol in which each router calculates routes based on the routes of its neighbors and then passes its routes to other neighbors.

72Q) Name several problems associated with distance vector protocols?

Ans: Several problems associated with distance vector protocols are: A susceptibility to incorrect routing information because of its dependence on neighbors for correct information Slow convergence Route loops Counting to infinity

73Q) What are neighbors?

Ans: Neighbors are routers connected to the same data link.

74Q) What is the purpose of route invalidation timers?

Route invalidation timers delete routes from a route table if they exceed a certain age.

75Q) Explain the difference between the simple split horizon and split horizon with the poisoned reverse?

Ans: A simple split horizon does not send route information back to the source of the route information. Split horizon with poisoned reverse sends the information back to the source but sets the metric to unreachable.

76Q) What is the counting-to-infinity problem, and how can it be controlled?

Ans: Counting to infinity occurs when routes update a route over a loop; each router increases the metric of the route until the metric reaches infinity. The effects of counting to infinity are controlled by defining infinity as a fairly low metric so that infinity is reached fairly quickly and the route is declared unreachable.

77Q) What are hold down timers, and how do they work?

Hold down timers help prevent routing loops. If a route is declared unreachable or if the metric increases beyond a certain threshold, a router will not accept any other information about that route until the hold-down timer expires. This approach prevents the router from accepting possibly bad routing information while the internetwork is re converging.

78Q) What are the differences between distance vector and link-state routing protocols?

Ans: A distance-vector router sends its entire route table, but it only sends the table to directly connected neighbors. A link-state router sends only information about its directly connected links, but it floods the information throughout the internetworking area. Distance vector protocols usually use a variant of the Bellman-Ford algorithm to calculate routes, and link-state protocols usually use a variant of the Dijkstra algorithm to calculate routes.

79Q) What is the purpose of a topological database?

Ans: A topological database holds the link state information originated by all routers in the link-state routing domain. Explain the basic steps involved in converging a link-state inter network.? Each router floods a link-state information advertisement describing its links, the states of its links, and any neighboring routers connected to those links, throughout the internetworking area. All routers store all received copies of the link state advertisement in a link-state database. Each router calculates a shortest-path tree from the information in the topological database and enters routes in its routing tables based on the shortest path tree.

80Q) Why are sequence numbers important in link-state protocols?

Ans: Sequence numbers help a router differentiate between multiple copies of the same link state advertisement and also prevent flooded link state advertisements from circulating endlessly throughout the internetwork.

81Q) What purpose does aging serve in a link-state protocol?

Ans: Aging prevents old, possibly obsolete, link-state information from residing in a topological database or from being accepted by a router.

82Q) Explain how an SPF algorithm works?

Ans: A router builds a shortest path tree by first adding itself as the root. Using the information in the topological database, the router creates a list of all of its directly connected neighbors. The lowest cost link to a neighbor becomes a branch of the tree, and that router’s neighbors are added to the list. The list is checked for duplicate paths, and if they exist, the higher-cost paths are removed from the list. The lowest-cost router on the list is added to the tree, that router’s neighbors are added to the list, and the list is again checked for duplicate paths. This process continues until no routers remain on the list.

83Q) How do areas benefit a link-state internetwork?

Ans: Within a routing domain, areas are subdomains. They make link-state routing more efficient by limiting the size of the link-state database of each router in the area.

84Q) What is an autonomous system?

Ans: Depending on the usage, an autonomous system can be defined as an internetwork under a common administrative domain or a single routing domain.

85Q) What is the difference between an IGP and an EGP?

Ans: An Interior Gateway Protocol is a routing protocol that routes within an autonomous system. An Exterior Gateway Protocol is a routing protocol that routes between autonomous systems.

86Q) What port does RIP use?

Ans: RIP uses UDP port 520.

87Q) What metric does RIP use? How is the metric used to indicate an unreachable network?

Ans: RIP uses a hop count metric. An unreachable network is indicated by setting the hop count to 16, which RIP interprets as an infinite distance.

88Q) What is the update period for RIP?

Ans: RIP sends periodic updates every 30 seconds minus a small random variable to prevent the updates of neighboring routers from becoming synchronized.

89Q) How many updates must be missed before a route entry will be marked as unreachable?

Ans: A route entry is marked as unreachable if six updates are missed.

90Q) What is the purpose of the garbage collection timer?

Ans: The garbage-collection timer, or flush timer, is set when a route is declared unreachable. When the timer expires, the route is flushed from the route table. This process allows an unreachable route to remain in the routing table long enough for neighbors to be notified of its status.

91Q) Why is a random timer associated with triggered updates? What is the range of this timer?

Ans: The random timer, whose range is 1 to 5 seconds, prevents a “storm” of triggered updates during a topology change.

92Q) What is the difference between a RIP Request message and a RIP Response message?

Ans: A Request message asks a router for an update. A Response message is an update.

93Q) Which two types of Request messages does RIP use?

Ans: A Request message may either ask for a full update or in some special cases it may ask for specific routes.

94Q) Under what circumstances will a RIP response be sent?

Ans: A Response is sent when the update timer expires, or upon reception of a Request message.

95Q) Why does RIP hide subnets at major network boundaries?

Ans: RIP updates do not include the subnet mask of the destination address, so a RIP router depends on the subnet masks of its own interfaces to determine how an attached major network address is subnetted. If a router does not have an attachment to a particular major network address, it has no way to know how that major network is subnetted. Therefore, no subnets of a major network address can be advertised into another major network.

96Q) Which UDP port number is used to access IGRP?

Ans: IGRP does not use a UDP port. It is accessed directly from the network layer, as protocol number 9.

97Q) What is the maximum IGRP internetwork diameter, in hops?

Ans: The maximum IGRP network diameter is 255 hops.

You liked the article?

Like: 2

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox