CS407 – Routing and Switching: Midterm Important MCQs (150 Solved Questions)
Computer Science • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS407 Course Page · CS407 Subjective Pack (36 Q&As)
-
Hosts that have software installed enabling them to provide information, such as email or web pages, to other hosts on the network are called:
Topic: Network Fundamentals
- End devices
- Intermediary devices
- Servers ✓ Correct answer
- Clients
-
Which of the following is an intermediary network device?
Topic: Network Fundamentals
- Network printer
- VoIP phone
- Laptop
- Router ✓ Correct answer
-
Firewalls belong to which category of intermediary network devices?
Topic: Network Fundamentals
- Security devices ✓ Correct answer
- Internetworking devices
- Network access devices
- Media devices
-
The network infrastructure contains three categories of network components:
Topic: Network Fundamentals
- Hosts, cables and protocols
- Clients, servers and routers
- Devices, media and services ✓ Correct answer
- LANs, WANs and MANs
-
A Network Interface Card (NIC) provides:
Topic: Network Fundamentals
- Wireless security for the network
- The physical connection to the network at the PC or other host device ✓ Correct answer
- The routing path through an internetwork
- The IP addressing scheme of the network
-
A connector or outlet on a networking device where the media is connected to a host or other networking device is called a:
Topic: Network Fundamentals
- Physical port ✓ Correct answer
- Interface
- NIC
- Topology
-
A Local Area Network (LAN) provides access to users and end devices in:
Topic: Network Fundamentals
- A city-wide area
- Multiple countries
- A small geographical area ✓ Correct answer
- A wide geographical area
-
A Storage Area Network (SAN) is a network infrastructure designed to:
Topic: Network Fundamentals
- Interconnect LANs over a wide area
- Connect home users to the Internet
- Provide wireless access in a small area
- Support file servers and provide data storage, retrieval and replication ✓ Correct answer
-
The Internet is owned by:
Topic: Network Fundamentals
- ICANN
- The IETF
- No individual or group ✓ Correct answer
- A group of service providers
-
Which standards organization produces Request for Comments (RFC) documents?
Topic: Network Fundamentals
- IAB
- IETF ✓ Correct answer
- ISOC
- IRTF
-
In a DSL connection, the telephone line is split into how many channels?
Topic: Network Fundamentals
- Two
- Four
- Five
- Three ✓ Correct answer
-
A disadvantage of a peer-to-peer network is that it has:
Topic: Network Fundamentals
- No centralized administration ✓ Correct answer
- Dedicated servers
- High installation cost
- Centralized administration
-
Encoding is the process of:
Topic: Rules of Communication and Protocol Suites
- Breaking a message into smaller parts
- Determining when a message can be sent
- Removing headers from a message
- Converting information into another, acceptable form, for transmission ✓ Correct answer
-
In network communication, flow control is used by source and destination hosts to negotiate:
Topic: Rules of Communication and Protocol Suites
- The correct timing for successful communication ✓ Correct answer
- The format of the frame
- The addressing scheme
- The access method for the network
-
The TCP/IP protocol suite is an open standard, which means its protocols are:
Topic: Rules of Communication and Protocol Suites
- Kept secret by standards organizations
- Owned by a single vendor
- Freely available to the public ✓ Correct answer
- Available only on Cisco devices
-
The OSI model was initially designed by:
Topic: Rules of Communication and Protocol Suites
- The IETF
- The IEEE
- The ISO ✓ Correct answer
- Cisco Systems
-
The protocol data unit (PDU) at the data link layer is called a:
Topic: Rules of Communication and Protocol Suites
- Bit
- Segment
- Packet
- Frame ✓ Correct answer
-
The protocol data unit (PDU) at the network layer is called a:
Topic: Rules of Communication and Protocol Suites
- Data
- Packet ✓ Correct answer
- Segment
- Frame
-
The protocol data unit (PDU) at the transport layer is called a:
Topic: Rules of Communication and Protocol Suites
- Segment ✓ Correct answer
- Frame
- Packet
- Bit
-
The portion of the operating system code that interacts directly with the computer hardware is known as the:
Topic: Cisco IOS and the CLI
- CLI
- Kernel ✓ Correct answer
- Shell
- Firmware
-
The operating system on home routers is usually called:
Topic: Cisco IOS and the CLI
- Firmware ✓ Correct answer
- Shell
- Kernel
- IOS
-
Access through the console port is an example of:
Topic: Cisco IOS and the CLI
- Out-of-band access ✓ Correct answer
- Virtual access
- Remote access
- In-band access
-
Which remote access method provides encryption when transporting session data?
Topic: Cisco IOS and the CLI
- Console
- SSH ✓ Correct answer
- AUX
- Telnet
-
Which of the following is a terminal emulation program?
Topic: Cisco IOS and the CLI
- Packet Tracer
- IOS Navigator
- PuTTY ✓ Correct answer
- WinZip
-
The user EXEC mode is identified by a CLI prompt that ends with the symbol:
Topic: Cisco IOS and the CLI
- #
- > ✓ Correct answer
- (config)#
- $
-
The privileged EXEC mode is identified by a CLI prompt that ends with the symbol:
Topic: Cisco IOS and the CLI
- # ✓ Correct answer
- >
- (config)>
- !
-
Which command is used to move from user EXEC mode to privileged EXEC mode?
Topic: Cisco IOS and the CLI
- enable ✓ Correct answer
- exit
- disable
- configure terminal
-
Which command takes the device from privileged EXEC mode into global configuration mode?
Topic: Cisco IOS and the CLI
- line console 0
- interface
- enable
- configure terminal ✓ Correct answer
-
The default prompt for global configuration mode on a switch is:
Topic: Cisco IOS and the CLI
- Switch#
- Switch>
- Switch(config-if)#
- Switch(config)# ✓ Correct answer
-
Context-sensitive help in the IOS CLI is accessed by entering:
Topic: Cisco IOS and the CLI
- ? ✓ Correct answer
- Tab
- Ctrl-Z
- help command
-
In the IOS CLI, the Tab key is used to:
Topic: Cisco IOS and the CLI
- Move to the beginning of the line
- Complete the remainder of a partially typed command or keyword ✓ Correct answer
- Abort the current command
- Scroll through former commands
-
Which command displays information about the currently loaded IOS version along with hardware and device information?
Topic: Cisco IOS and the CLI
- show ip route
- show version ✓ Correct answer
- show interfaces
- show running-config
-
Which command displays the configuration currently active in the device's RAM?
Topic: Cisco IOS and the CLI
- show startup-config
- show history
- show running-config ✓ Correct answer
- show flash
-
The default name for a Cisco IOS switch is:
Topic: Cisco IOS and the CLI
- Switch ✓ Correct answer
- Router
- Cisco
- Host
-
The enable secret command is preferred over enable password because it:
Topic: Cisco IOS and the CLI
- Provides greater security because the password is encrypted ✓ Correct answer
- Works only on routers
- Is shorter to type
- Does not require a password
-
According to hostname naming guidelines, a hostname should:
Topic: Cisco IOS and the CLI
- Start with a letter and be less than 64 characters in length ✓ Correct answer
- Start with a digit
- Contain spaces for readability
- End with a dash
-
Digital bandwidth is typically measured in:
Topic: Physical and Data Link Layers
- Hertz per second
- Bytes per file
- Kilobits or megabits per second ✓ Correct answer
- Packets per hop
-
Goodput is the measure of usable data transferred, calculated as:
Topic: Physical and Data Link Layers
- Throughput divided by the number of hops
- Throughput minus traffic overhead for sessions, acknowledgements and encapsulation ✓ Correct answer
- Bandwidth plus throughput
- Latency multiplied by bandwidth
-
In an internetwork, the throughput of a path cannot be faster than:
Topic: Physical and Data Link Layers
- The bandwidth of the first link
- The average bandwidth of all links
- The fastest link in the path
- The slowest link in the path ✓ Correct answer
-
Which of the following factors influences throughput?
Topic: Physical and Data Link Layers
- The hostname of the destination device
- The color of the cable jacket
- The amount and type of traffic and the latency created by network devices ✓ Correct answer
- The version of the operating system
-
UTP cabling used in LANs is terminated with which connector?
Topic: Physical and Data Link Layers
- BNC
- SC
- ST
- RJ-45 ✓ Correct answer
-
Compared with UTP cabling, STP cabling:
Topic: Physical and Data Link Layers
- Cannot use RJ-45 connectors
- Is cheaper and easier to install
- Uses light instead of electrical signals
- Provides better noise protection but is more expensive and difficult to install ✓ Correct answer
-
Coaxial cable gets its name from the fact that:
Topic: Physical and Data Link Layers
- It carries two separate signals
- Its two conductors share the same axis ✓ Correct answer
- It contains four twisted pairs
- It is made of glass fibers
-
Fiber-optic cable is completely immune to:
Topic: Physical and Data Link Layers
- Attenuation
- Physical damage
- Signal loss over distance
- EMI and RFI ✓ Correct answer
-
The Logical Link Control (LLC) sublayer of the data link layer:
Topic: Physical and Data Link Layers
- Encrypts the frame contents
- Defines the media access processes performed by hardware
- Places information in the frame that identifies which network layer protocol is being used ✓ Correct answer
- Performs routing between networks
-
The Media Access Control (MAC) sublayer provides:
Topic: Physical and Data Link Layers
- Transport layer segmentation
- Application layer services
- Data link layer addressing and delimiting of data ✓ Correct answer
- Network layer routing
-
The Frame Check Sequence (FCS) field of a frame contains:
Topic: Physical and Data Link Layers
- The source MAC address
- The frame priority value
- The CRC value ✓ Correct answer
- The upper layer protocol type
-
If the CRC value calculated by the receiving node differs from the value in the FCS field, the frame is:
Topic: Physical and Data Link Layers
- Forwarded anyway
- Discarded ✓ Correct answer
- Corrected automatically
- Returned to the sender
-
Which process does the network layer use to add IP header information to the transport layer PDU?
Topic: Network Layer and IPv4 Addressing
- Segmentation
- De-encapsulation
- Routing
- Encapsulation ✓ Correct answer
-
Each route that a packet takes to reach the destination host is called a:
Topic: Network Layer and IPv4 Addressing
- Segment
- Session
- Gateway
- Hop ✓ Correct answer
-
IP was designed as a protocol with low overhead; its basic characteristics are:
Topic: Network Layer and IPv4 Addressing
- Connection-oriented, best effort and media independent
- Connectionless, reliable and media dependent
- Connectionless, best effort and media independent ✓ Correct answer
- Connection-oriented, reliable and media dependent
-
In an IPv4 packet header, the Version field for IPv4 packets is always set to:
Topic: Network Layer and IPv4 Addressing
- 0100 ✓ Correct answer
- 1000
- 0110
- 0001
-
The Time-to-Live (TTL) field of an IPv4 packet is:
Topic: Network Layer and IPv4 Addressing
- Measured in hops only and never changes
- Increased by one at each router
- Set by the destination host
- Decreased by one each time the packet is processed by a router ✓ Correct answer
-
In the IPv4 header Protocol field, the value 6 (0x06) indicates that the packet is carrying:
Topic: Network Layer and IPv4 Addressing
- TCP ✓ Correct answer
- OSPF
- UDP
- ICMP
-
A prefix length of /24 corresponds to the subnet mask:
Topic: Network Layer and IPv4 Addressing
- 255.255.255.128
- 255.255.0.0
- 255.255.255.0 ✓ Correct answer
- 255.0.0.0
-
In a subnet mask, the binary 1s represent:
Topic: Network Layer and IPv4 Addressing
- The host portion of the address
- The multicast portion of the address
- The network portion of the address ✓ Correct answer
- The broadcast portion of the address
-
What is the first host address on the 10.1.1.0/24 network?
Topic: Network Layer and IPv4 Addressing
- 10.1.1.0
- 10.1.1.1 ✓ Correct answer
- 10.1.1.255
- 10.1.1.254
-
What is the last host address on the 10.1.1.0/24 network?
Topic: Network Layer and IPv4 Addressing
- 10.1.1.255
- 10.1.1.254 ✓ Correct answer
- 10.1.1.1
- 10.1.1.0
-
IPv4 multicast addresses are in the range:
Topic: Network Layer and IPv4 Addressing
- 127.0.0.0 to 127.255.255.255
- 169.254.0.0 to 169.254.255.255
- 224.0.0.0 to 239.255.255.255 ✓ Correct answer
- 240.0.0.0 to 255.255.255.255
-
The limited broadcast address used on the local network is:
Topic: Network Layer and IPv4 Addressing
- 0.0.0.0
- 127.0.0.1
- 255.255.255.255 ✓ Correct answer
- 224.0.0.5
-
Which of the following is a private IPv4 address block?
Topic: Network Layer and IPv4 Addressing
- 172.32.0.0 to 172.47.255.255
- 172.16.0.0 to 172.31.255.255 ✓ Correct answer
- 11.0.0.0 to 11.255.255.255
- 192.169.0.0 to 192.169.255.255
-
The IPv4 loopback address is:
Topic: Network Layer and IPv4 Addressing
- 0.0.0.0
- 127.0.0.1 ✓ Correct answer
- 169.254.0.1
- 192.0.2.1
-
Link-local IPv4 addresses are in the block:
Topic: Network Layer and IPv4 Addressing
- 127.0.0.0/8
- 192.0.2.0/24
- 240.0.0.0/4
- 169.254.0.0/16 ✓ Correct answer
-
The TEST-NET address block set aside for teaching and learning purposes is:
Topic: Network Layer and IPv4 Addressing
- 198.51.100.0/24
- 203.0.113.0/24
- 169.254.0.0/16
- 192.0.2.0/24 ✓ Correct answer
-
Private IPv4 addresses are defined in:
Topic: Network Layer and IPv4 Addressing
- RFC 2328
- RFC 1918 ✓ Correct answer
- RFC 5340
- RFC 1131
-
In classful addressing, how many bits make up the network portion of a Class C address?
Topic: Network Layer and IPv4 Addressing
- 8 bits
- 16 bits
- 24 bits ✓ Correct answer
- 32 bits
-
How many usable host addresses are available in a /24 network?
Topic: Network Layer and IPv4 Addressing
- 255
- 256
- 252
- 254 ✓ Correct answer
-
What is the network address of the host 192.168.10.77 with a /26 mask?
Topic: Network Layer and IPv4 Addressing
- 192.168.10.64 ✓ Correct answer
- 192.168.10.0
- 192.168.10.77
- 192.168.10.128
-
Subnetting a network creates smaller broadcast domains and helps to:
Topic: Subnetting and VLSM
- Increase the amount of broadcast traffic
- Reduce overall network traffic and improve network performance ✓ Correct answer
- Merge multiple networks into one
- Remove the need for routers
-
If 3 bits are borrowed from the host portion of an address, how many subnets can be created?
Topic: Subnetting and VLSM
- 8 ✓ Correct answer
- 9
- 6
- 3
-
As more host bits are borrowed for subnetting:
Topic: Subnetting and VLSM
- More host addresses become available per subnet
- The number of subnets decreases
- Fewer host addresses are available per subnet ✓ Correct answer
- The network portion becomes shorter
-
Variable Length Subnet Masking (VLSM) allows a network space to be:
Topic: Subnetting and VLSM
- Divided into unequal parts ✓ Correct answer
- Divided into equal-sized parts only
- Used without a subnet mask
- Extended beyond 32 bits
-
If 2 bits are borrowed from a /24 network, how many subnets are created?
Topic: Subnetting and VLSM
- 4 ✓ Correct answer
- 64
- 6
- 2
-
A /24 network subnetted to /26 provides how many usable hosts per subnet?
Topic: Subnetting and VLSM
- 30
- 126
- 64
- 62 ✓ Correct answer
-
Bitwise ANDing of an IPv4 address and its subnet mask is used to calculate the:
Topic: Subnetting and VLSM
- Network address ✓ Correct answer
- MAC address
- Default gateway address
- Broadcast address
-
Which type of router memory is used as permanent storage for the startup configuration file?
Topic: Router Basics and Packet Forwarding
- Flash
- RAM
- NVRAM ✓ Correct answer
- ROM
-
The Cisco IOS image is stored permanently in which memory?
Topic: Router Basics and Packet Forwarding
- NVRAM
- ROM
- RAM
- Flash ✓ Correct answer
-
The running configuration file and the IP routing table are stored in:
Topic: Router Basics and Packet Forwarding
- NVRAM
- Flash
- RAM ✓ Correct answer
- ROM
-
Which router memory stores the bootup instructions and performs the power-on self-test (POST)?
Topic: Router Basics and Packet Forwarding
- ROM ✓ Correct answer
- RAM
- Flash
- NVRAM
-
During the bootup process, the IOS is copied from:
Topic: Router Basics and Packet Forwarding
- RAM into flash
- NVRAM into ROM
- ROM into NVRAM
- Flash into RAM ✓ Correct answer
-
A router loads two files into RAM when it is booted: the IOS image file and the:
Topic: Router Basics and Packet Forwarding
- Startup configuration file ✓ Correct answer
- Packet buffer
- Running configuration file
- ARP cache
-
Management ports (console and auxiliary) on a router are NOT used for:
Topic: Router Basics and Packet Forwarding
- Troubleshooting the router
- Managing the router
- Configuring the router
- Packet forwarding ✓ Correct answer
-
Which command must be used to activate a router interface that is shut down by default?
Topic: Router Basics and Packet Forwarding
- shutdown
- enable
- no shutdown ✓ Correct answer
- activate
-
Which command displays the contents of the IPv4 routing table stored in RAM?
Topic: Router Basics and Packet Forwarding
- show ip route ✓ Correct answer
- show running-config
- show version
- show ip interface brief
-
In Cisco IOS 15, the two routing table entries for an active interface are identified by the codes:
Topic: Router Basics and Packet Forwarding
- C (Connected) and L (Local) ✓ Correct answer
- A and B
- O and R
- S and D
-
As a packet travels from source to final destination, the Layer 2 data link addresses:
Topic: Router Basics and Packet Forwarding
- Change only at the destination
- Are replaced by IP addresses
- Never change
- Change at every hop as the packet is de-encapsulated and re-encapsulated by each router ✓ Correct answer
-
A metric is best described as:
Topic: Router Basics and Packet Forwarding
- The speed of an interface
- The trustworthiness of a route source
- The number of routers on a network
- The quantitative value used to measure the distance to a given network ✓ Correct answer
-
Which metric does RIP use to select the best path?
Topic: Router Basics and Packet Forwarding
- Bandwidth
- Cost
- Delay
- Hop count ✓ Correct answer
-
OSPF selects the best path based on:
Topic: Router Basics and Packet Forwarding
- Cost based on cumulative bandwidth from source to destination ✓ Correct answer
- Hop count
- Number of areas
- Delay and load only
-
When a routing table has two or more paths with identical metrics to the same destination, the router performs:
Topic: Router Basics and Packet Forwarding
- Split horizon
- Route summarization
- Equal cost load balancing ✓ Correct answer
- Floating static routing
-
Which routing protocol is the only one that supports unequal cost load balancing?
Topic: Router Basics and Packet Forwarding
- IS-IS
- RIP
- EIGRP ✓ Correct answer
- OSPF
-
A Gateway of Last Resort is set on a router when:
Topic: Router Basics and Packet Forwarding
- A default route is configured ✓ Correct answer
- An interface is activated
- A dynamic routing protocol is enabled
- The router is restarted
-
If a packet's destination matches no connected or remote network and no default route exists, the router:
Topic: Router Basics and Packet Forwarding
- Broadcasts the packet
- Discards the packet and sends an ICMP unreachable message to the source ✓ Correct answer
- Forwards it to a neighboring router at random
- Stores the packet in NVRAM
-
The ping utility tests connectivity between hosts using:
Topic: ICMP, Ping and Traceroute
- DNS queries
- ARP requests and replies
- ICMP echo request and echo reply messages ✓ Correct answer
- TCP handshake messages
-
In ICMPv4, the Destination Unreachable code 3 indicates:
Topic: ICMP, Ping and Traceroute
- Net unreachable
- Port unreachable ✓ Correct answer
- Host unreachable
- Protocol unreachable
-
The traceroute utility provides:
Topic: ICMP, Ping and Traceroute
- The bandwidth of each link
- The MAC addresses of all hosts
- A list of hops that were successfully reached along the path ✓ Correct answer
- The routing table of every router
-
In traceroute output, an asterisk (*) is used to indicate:
Topic: ICMP, Ping and Traceroute
- A lost or unreplied packet ✓ Correct answer
- A fast hop
- A router running OSPF
- The destination host
-
A default static route is a static route with which destination address?
Topic: Static Routing
- 255.255.255.255/32
- 0.0.0.0/0 ✓ Correct answer
- 127.0.0.0/8
- 224.0.0.0/4
-
Which command configures an IPv4 default static route via a next-hop address?
Topic: Static Routing
- ip route 0.0.0.0 0.0.0.0 {next-hop-ip} ✓ Correct answer
- ip default-route 0.0.0.0 {next-hop-ip}
- ip route default {next-hop-ip}
- ip gateway 0.0.0.0 {next-hop-ip}
-
A floating static route is configured with an administrative distance that is:
Topic: Static Routing
- Equal to the primary route
- Higher than the primary route ✓ Correct answer
- Lower than the primary route
- Always zero
-
By default, a static route has an administrative distance of:
Topic: Static Routing
- 110
- 1 ✓ Correct answer
- 90
- 0
-
The default administrative distance of RIP is:
Topic: Static Routing
- 110
- 100
- 90
- 120 ✓ Correct answer
-
A stub network is a network that:
Topic: Static Routing
- Contains many routers
- Is accessed by a single route and the router has only one neighbor ✓ Correct answer
- Connects two autonomous systems
- Uses only dynamic routing
-
Multiple static routes can be summarized into a single summary static route if the destination networks are contiguous and:
Topic: Static Routing
- They use different exit interfaces
- They are all default routes
- They all use the same exit interface or next-hop IP address ✓ Correct answer
- They belong to different classes
-
The networks 172.20.0.0/16, 172.21.0.0/16, 172.22.0.0/16 and 172.23.0.0/16 can be summarized into the single address:
Topic: Static Routing
- 172.16.0.0/12
- 172.20.0.0/14 ✓ Correct answer
- 172.20.0.0/16
- 172.20.0.0/18
-
In a fully specified static route, the administrator specifies:
Topic: Static Routing
- Both the output interface and the next-hop IP address ✓ Correct answer
- Only the administrative distance
- Only the next-hop IP address
- Only the exit interface
-
A network has converged when:
Topic: Dynamic Routing, RIP and Link-State Protocols
- All routers have complete and accurate information about the entire network ✓ Correct answer
- All static routes are removed
- The first routing update has been sent
- All routers have been restarted
-
Split horizon is a loop prevention technique that prevents:
Topic: Dynamic Routing, RIP and Link-State Protocols
- Information from being sent out the same interface from which it was received ✓ Correct answer
- A router from receiving updates
- The use of default routes
- Routers from exchanging Hello packets
-
Interior Gateway Protocols (IGPs) are used for routing:
Topic: Dynamic Routing, RIP and Link-State Protocols
- Only on the Internet backbone
- Within an autonomous system ✓ Correct answer
- Only between ISPs
- Between autonomous systems
-
The Border Gateway Protocol (BGP) is classified as:
Topic: Dynamic Routing, RIP and Link-State Protocols
- An IGP using link-state
- An IGP using distance vector
- An EGP using path-vector ✓ Correct answer
- A classful protocol
-
Classful routing protocols such as RIPv1 and IGRP do not send which information in their routing updates?
Topic: Dynamic Routing, RIP and Link-State Protocols
- Next-hop addresses
- Subnet mask information ✓ Correct answer
- Network addresses
- Hop counts
-
RIPv1 sends its periodic updates to which address?
Topic: Dynamic Routing, RIP and Link-State Protocols
- 224.0.0.9
- 224.0.0.5
- 127.0.0.1
- 255.255.255.255 (broadcast) ✓ Correct answer
-
RIP sends a periodic update to all of its neighbors every:
Topic: Dynamic Routing, RIP and Link-State Protocols
- 30 seconds ✓ Correct answer
- 180 seconds
- 10 seconds
- 90 seconds
-
The maximum hop count limit in RIP is:
Topic: Dynamic Routing, RIP and Link-State Protocols
- 15 ✓ Correct answer
- 10
- 16
- 255
-
Instead of broadcast updates, RIPv2 and EIGRP use:
Topic: Dynamic Routing, RIP and Link-State Protocols
- Multicast addresses ✓ Correct answer
- Loopback addresses
- Anycast addresses
- Unicast addresses only
-
EIGRP maintains all routes received from its neighbors, not only the best paths, in its:
Topic: Dynamic Routing, RIP and Link-State Protocols
- Adjacency database
- Topology table ✓ Correct answer
- ARP cache
- Routing table
-
Link-state routing protocols are built around which algorithm?
Topic: Dynamic Routing, RIP and Link-State Protocols
- Dijkstra's shortest path first (SPF) algorithm ✓ Correct answer
- Spanning tree algorithm
- Distance vector algorithm
- Bellman-Ford algorithm
-
A link-state packet (LSP) needs to be sent:
Topic: Dynamic Routing, RIP and Link-State Protocols
- Only during initial startup or whenever there is a change in the topology ✓ Correct answer
- Every time a packet is forwarded
- Only when the router is shut down
- Every 30 seconds
-
A router using a distance vector protocol knows about a remote network only:
Topic: Dynamic Routing, RIP and Link-State Protocols
- The full topology of the network
- The complete path to the destination
- The distance (metric) to reach it and which path or interface to use ✓ Correct answer
- The MAC addresses of all routers on the path
-
OSPF stands for:
Topic: OSPF
- Open System Path First
- Open Standard Protocol Framework
- Optimal Shortest Packet Forwarding
- Open Shortest Path First ✓ Correct answer
-
The current OSPFv2 specification is defined in:
Topic: OSPF
- RFC 2328 ✓ Correct answer
- RFC 1131
- RFC 5340
- RFC 1247
-
OSPF creates and maintains three databases: the adjacency database, the link-state database (LSDB) and the:
Topic: OSPF
- Topology database
- Forwarding database ✓ Correct answer
- ARP database
- MAC database
-
Which OSPF packet type is the Hello packet?
Topic: OSPF
- Type 4
- Type 3
- Type 1 ✓ Correct answer
- Type 2
-
OSPF Hello packets are transmitted to the multicast address:
Topic: OSPF
- 224.0.0.9
- 239.0.0.1
- 224.0.0.10
- 224.0.0.5 ✓ Correct answer
-
The default OSPF Hello interval on multiaccess and point-to-point networks is:
Topic: OSPF
- 30 seconds
- 5 seconds
- 10 seconds ✓ Correct answer
- 40 seconds
-
By default, the OSPF Dead interval on multiaccess networks is:
Topic: OSPF
- 40 seconds ✓ Correct answer
- 30 seconds
- 10 seconds
- 120 seconds
-
A Designated Router (DR) and Backup Designated Router (BDR) are elected on:
Topic: OSPF
- Loopback interfaces
- Serial WAN links only
- Point-to-point links
- Multiaccess networks such as Ethernet ✓ Correct answer
-
A DROTHER is a router that is:
Topic: OSPF
- The designated router
- Neither the DR nor the BDR ✓ Correct answer
- The area border router
- Not running OSPF
-
If an OSPF router ID is not explicitly configured and loopback interfaces exist, the router ID is chosen as:
Topic: OSPF
- The lowest IP address of any interface
- A random 32-bit value
- The highest IPv4 address of any configured loopback interface ✓ Correct answer
- The IP address of the first serial interface
-
In single-area OSPF, all routers are placed in the backbone area, which is:
Topic: OSPF
- Area 100
- Area 1
- Area 0 ✓ Correct answer
- Area 255
-
Routers that interconnect OSPF areas are referred to as:
Topic: OSPF
- Autonomous System Boundary Routers
- Area Border Routers (ABRs) ✓ Correct answer
- Designated Routers
- DROTHERs
-
The OSPF cost of an interface is calculated using the formula:
Topic: OSPF
- Reference bandwidth / interface bandwidth ✓ Correct answer
- Bandwidth / reference bandwidth
- Delay + bandwidth
- Hop count x bandwidth
-
Using the default reference bandwidth of 10^8 bps, the OSPF cost of a FastEthernet (100 Mbps) link is:
Topic: OSPF
- 1 ✓ Correct answer
- 0
- 100
- 10
-
In the IP packet header, an OSPF packet is identified by the protocol field value:
Topic: OSPF
- 6
- 17
- 1
- 89 ✓ Correct answer
-
OSPF supports which type of authentication to secure routing updates?
Topic: OSPF
- WEP encryption
- PAP authentication
- MD5 authentication ✓ Correct answer
- No authentication is supported
-
The individual permit or deny statements that make up an ACL are known as:
Topic: Access Control Lists (ACLs)
- Filter rulesets
- Inspection points
- Access control entries (ACEs) ✓ Correct answer
- Wildcard masks
-
The last statement of every ACL is always:
Topic: Access Control Lists (ACLs)
- A permit any statement
- A remark
- An implicit deny ✓ Correct answer
- A log statement
-
A standard IPv4 ACL filters traffic based on:
Topic: Access Control Lists (ACLs)
- Source and destination addresses
- Source IPv4 address only ✓ Correct answer
- Destination port numbers
- Protocol type only
-
An extended IPv4 ACL can filter packets based on:
Topic: Access Control Lists (ACLs)
- MAC addresses only
- The packet's TTL value
- Protocol type, source and destination addresses, and source and destination ports ✓ Correct answer
- Source address only
-
Numbered standard ACLs use the number range:
Topic: Access Control Lists (ACLs)
- 1300 to 1999 only
- 100 to 199
- 2000 to 2699
- 1 to 99 ✓ Correct answer
-
Numbered extended ACLs use the number range:
Topic: Access Control Lists (ACLs)
- 100 to 199 ✓ Correct answer
- 300 to 399
- 1300 to 1999
- 1 to 99
-
In a wildcard mask, a binary 1 bit means:
Topic: Access Control Lists (ACLs)
- The bit must be zero
- Ignore the corresponding bit value in the address ✓ Correct answer
- Match the corresponding bit value in the address
- The bit belongs to the network portion
-
In an ACL statement, the keyword 'any' substitutes for the IP address and which wildcard mask?
Topic: Access Control Lists (ACLs)
- 0.0.0.0
- 255.255.255.0
- 0.0.0.255
- 255.255.255.255 ✓ Correct answer
-
The keyword 'host' in an ACL statement substitutes for which wildcard mask?
Topic: Access Control Lists (ACLs)
- 0.0.0.0 ✓ Correct answer
- 0.0.0.255
- 255.255.255.255
- 127.0.0.1
-
The 'three Ps' rule for applying ACLs states that you can configure one ACL per:
Topic: Access Control Lists (ACLs)
- Protocol, direction and interface ✓ Correct answer
- Router, network and subnet
- User, host and server
- Packet, protocol and port
-
Extended ACLs should be placed:
Topic: Access Control Lists (ACLs)
- As close as possible to the source of the traffic to be filtered ✓ Correct answer
- As close as possible to the destination
- Only on stub routers
- On every router in the path
-
Standard ACLs should be placed:
Topic: Access Control Lists (ACLs)
- As close as possible to the source
- Only on the edge router
- On the host itself
- As close as possible to the destination ✓ Correct answer
-
Which command applies an ACL to an interface?
Topic: Access Control Lists (ACLs)
- ip access-group ✓ Correct answer
- access-group apply
- ip access-list
- access-list
-
Inbound ACLs process incoming packets:
Topic: Access Control Lists (ACLs)
- After they are routed to the outbound interface
- Only if they are broadcast packets
- After they exit the router
- Before they are routed to the outbound interface ✓ Correct answer
-
An ACL that does not contain at least one permit statement will:
Topic: Access Control Lists (ACLs)
- Block all traffic because of the implicit deny ✓ Correct answer
- Permit all traffic by default
- Be rejected by the IOS
- Act as a standard ACL