sample ccna questions

35
What is the normal configuration register for a Cisco router? 0x2132 0x2102 0x2112 0x2142 Question 2: On which OSI layer does a hub operate? 1 2 3 4 Question 3: How many collision domains exist on an 8 port hub? 1 5 8 12 Question 4: How many collision domains exist on a 24 port switch? 1 12 24 48 Question 5:

Upload: nagavardhanreddy

Post on 07-Apr-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 1/35

What is the normal configuration register for a Cisco router?

0x2132

0x2102

0x2112

0x2142

Question 2:

On which OSI layer does a hub operate?

1

23

4

Question 3:

How many collision domains exist on an 8 port hub?

1

5

8

12

Question 4:

How many collision domains exist on a 24 port switch?

1

12

24

48

Question 5:

Page 2: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 2/35

Which one of these IP addresses is a network address?

10.5.103.45/8

192.168.90.87/2910.255.0.32/24

172.18.13.164/30

Question 6:

Which one of these IP addresses is a host address?

172.24.0.0/16

10.128.15.66/26

192.168.15.128/25

10.18.24.32/28

Question 7:

Which 3 are choices for the "duplex" interface configuration mode command?

auto

onoff 

half 

full

semi

Page 3: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 3/35

Question 8:

Which 2 are possible choices for the "speed" interface configuration mode command?

1

on

10

full

max

100

Question 9:

How many broadcast domains exist on a 48 port switch with 7 VLANs?

48

24

1

7

Page 4: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 4/35

Question 10:

What command is used to see the root bridge for VLAN 22 only?

show ip interface brief 

show spanning-tree

show spanning-tree vlan 22 summary

show spanning-tree vlan 22

Question 11:

Which trunking protocol encapsulates the whole frame?

VTP

ISL

DTP

802.1q

Question 12:

Page 5: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 5/35

Which feature allows a port to start forwarding when plugged in?

Portfast

STPBPDU Guard

Root guard

Question 13:

What protocol(s) does DNS use?

UDP and ICMP

TCP and UDP

TCP and HTTP

ICMP

Question 14:

Users from 192.168.11.128 network have started complaining that they have lost

connectivity to the 192.168.11.0 network. After kicking a Jr. Network Associate off thenetwork and sending him out to get you coffee, you isolate the network outage down to

Router 3. Using the diagram and output below, determine which set of commands will

allow R3 to re-converge with the rest of the network.

Page 6: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 6/35

Code:

R1#debug ip ripRIP protocol debugging is on

R1#

*Mar 1 00:27:03.143: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (222.16.2.6)

*Mar 1 00:27:03.147: RIP: build update entries*Mar 1 00:27:03.147: 222.16.2.8/30 via 0.0.0.0, metric 1, tag 0

*Mar 1 00:27:03.263: RIP: sending v2 update to 224.0.0.9 via Serial0/1 (222.16.2.9)

*Mar 1 00:27:03.267: RIP: build update entries*Mar 1 00:27:03.267: 192.16.11.128/25 via 0.0.0.0, metric 2, tag 0

*Mar 1 00:27:03.271: 222.16.2.4/30 via 0.0.0.0, metric 1, tag 0

R1#*Mar 1 00:27:08.827: RIP: ignored v1 packet from 222.16.2.10 (illegal version)

Code:

R3#debug ip rip

RIP protocol debugging is onR3#

*Mar 1 00:09:11.623: RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0

(192.168.11.1)

*Mar 1 00:09:11.627: RIP: build update entries*Mar 1 00:09:11.627: network 222.16.2.0 metric 1

R3#*Mar 1 00:09:12.775: RIP: sending v1 update to 255.255.255.255 via Serial0/0

(222.16.2.10)

*Mar 1 00:09:12.775: RIP: build update entries*Mar 1 00:09:12.775: network 192.168.11.0 metric 1

R3#do s

Page 7: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 7/35

*Mar 1 00:09:33.131: RIP: ignored v2 packet from 222.16.2.9 (illegal version)

R3#show ip protoCode:

R3#show ip protocols

Routing Protocol is "rip"

Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not set

Sending updates every 30 seconds, next due in 20 seconds

Invalid after 180 seconds, hold down 180, flushed after 240Redistributing: rip

Default version control: send version 1, receive any version

Interface Send Recv Triggered RIP Key-chain

FastEthernet0/0 1 1Serial0/0 1 1

Automatic network summarization is in effect

Maximum path: 4

Routing for Networks:192.16.11.0

222.16.2.0Routing Information Sources:

Gateway Distance Last Update

222.16.2.9 120 00:00:16

Distance: (default is 120)R3(config)#interface s0/0

R3(config-if)#ip rip send version 2

R3(config-if)#ip rip receive version 2

R3(config-if)#router ripR3(config-router)#version 2

R3(config-router)#default version

R3(config-router)#network 192.168.11.0

R3(config-router)#network 222.16.2.0

R3(config)#interface fastEthernet 0/0

R3(config-if)#ip address 192.168.11.1 255.255.255.252

R3(config-if)#no shutdown

Page 8: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 8/35

Question 15:

Sales has lost connectivity to Accounting. Which commands need to be entered to allow

Sales to communicate with Accounting?

Code:

R2#show ip interface brief 

Interface IP-Address OK? Method Status Protocol

FastEthernet0/1 192.168.11.130 YES NVRAM up upSerial0/0 10.22.128.129 YES NVRAM administratively down down

Serial0/1 unassigned YES NVRAM administratively down down

R2(config)#interface s0/0R2(config-if)#ip address 10.22.128.132 255.255.255.252

R2(config-if)#no shutdown

R1(config)#interface s0/0R1(config-if)#ip address 10.22.128.131 255.255.255.252

R1(config-if)#no shutdown

R2(config)#interface s0/0R2(config-if)#ip add 10.22.128.134 255.255.255.252

R2(config-if)#no shutdown

R1(config)#interface s0/1

R1(config-if)#ip address 10.22.128.130 255.255.255.252

Page 9: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 9/35

R1(config-if)#no shutdown

Question 1:

On which OSI layer do MAC addresses reside?

1

2

3

4

Question 2:

Match the routing protocol to its respective class?

1 - ISIS2 - EIGRP

3 - OSPF

4 - RIP

X - Distance Vector 

Y - Link State

1-X, 2-Y, 3-Y, 4-X

1-Y, 2-X, 3-Y, 4-X

1-Y, 2-X, 3-Y, 4-Y

1-X, 2-Y, 3-X, 4-X

Page 10: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 10/35

Question 3:

Which ACL will block access to Telnet?

access-list 10 deny ip any any eq 23

access-list 100 deny tcp any any eq 22

access-list 10 deny telnet

access-list 100 deny tcp any any eq 23

Question 4:

What is the default encapsulation type on a serial port?

HDLC

PPP

WAN

Frame Relay

Question 5:

Page 11: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 11/35

Page 12: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 12/35

10.12.8.255

10.15.255.255

Question 8:

Which one of these IP addresses is a broadcast address?

10.255.0.0/8

192.168.15.67/24

10.65.87.70/29

172.17.31.255/20

Question 9:

Which two of these MAC addresses is a broadcast/multicast address?

ffff.ffff.ffff 

0022.0ca4.3562

6c42.15fa.f32d

0100.5e0f.0001

faff.fc00.00aa

Page 13: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 13/35

Question 10:

What type of technology is Port Address Translation?

1 to 1

static

many to 1

 point to point

Question 11:

Which two of these MAC addresses is a unicast address?

6c42.15fa.f32d

0022.0ca4.3562

0100.5e0f.0001

ffff.ffff.ffff 

0007.b400.010a

Page 14: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 14/35

Question 12:

Which of these IP addresses is a private IP adddress according to RFC1918?

172.32.189.56

192.16.85.1

172.1.99.103

10.172.16.192

Question 13:

Which of these IP addresses is a public IP address according to RFC1918?

172.31.54.98

10.10.53.80

192.169.91.5

10.23.42.19

Question 14:

Page 15: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 15/35

Sales has lost connectivity to Accounting. Which commands need to be entered to allow

Sales to communicate with Accounting?

Code:

R3#show ip protocols

Routing Protocol is "rip"Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Sending updates every 30 seconds, next due in 13 secondsInvalid after 180 seconds, hold down 180, flushed after 240

Redistributing: rip

Default version control: send version 2, receive version 2Interface Send Recv Triggered RIP Key-chain

FastEthernet0/0 2 2

Serial0/0 2 2

Automatic network summarization is not in effectMaximum path: 4

Routing for Networks:

192.16.11.0

222.16.2.0Routing Information Sources:

Gateway Distance Last Update222.16.2.9 120 00:00:22

Distance: (default is 120)

R3(config)#interface fa0/0R3(config-if)#no shutdown

Page 16: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 16/35

R3(config-if)#interface s0/0

R3(config-if)#clock rate 64000

R3(config-if)#no shutdown

R3(config-router)#no network 192.16.11.0

R3(config-router)#network 192.168.11.0

R3(config-if)#router rip

R3(config-router)#version 2

R3(config-router)#no autoR3(config-router)#no auto-summary

R2(config)#interface fa0/0

R2(config-if)#no shutdownR2(config-if)#interface s0/0

R2(config-if)#clock rate 64000

R2(config-if)#no shutdown

Question 15:

Which 2 static routes must be entered on R1 to allow Accounting and Sales to reach each

other?

Page 17: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 17/35

Code:

R2#show ip routeGateway of last resort is 0.0.0.0 to network 0.0.0.0

222.16.2.0/30 is subnetted, 1 subnets

C 222.16.2.4 is directly connected, Serial0/0192.168.11.0/25 is subnetted, 1 subnets

C 192.168.11.128 is directly connected, FastEthernet0/1

S* 0.0.0.0/0 is directly connected, Serial0/0Code:

R3#show ip route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

222.16.2.0/30 is subnetted, 1 subnets

C 222.16.2.8 is directly connected, Serial0/0

192.168.11.0/25 is subnetted, 1 subnetsC 192.168.11.0 is directly connected, FastEthernet0/0

S* 0.0.0.0/0 is directly connected, Serial0/0

R1(config)#ip route 0.0.0.0 0.0.0.0 Serial0/0

R1(config)#ip route 0.0.0.0 0.0.0.0 Serial0/1

R1(config)#ip route 222.16.2.10 255.255.255.252 s0/1

R1(config)#ip route 222.16.2.5 255.255.255.252 s0/0

R1(config)#ip route 222.16.2.10 255.255.255.252 s0/1

R1(config)#ip route 222.16.2.5 255.255.255.252 s0/0

Page 18: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 18/35

R1(config)#ip route 192.168.11.128 255.255.255.128 s0/0

R1(config)#ip route 192.168.11.0 255.255.255.128 s0/1

R1(config)#ip route 192.168.11.128 0.0.0.128 s0/1

R1(config)#ip route 192.168.11.0 0.0.0.0 128 s0/0

Question 1:

Which is the correct statement for configuring PAT?

ip nat inside source list NAT interface fa0/1

ip nat inside source static tcp 1.1.1.1 22 interface fa0/1 22ip nat inside source static 1.1.1.1 2.2.2.2

ip nat inside source list NAT interface fa0/1 overload

Question 2:

Two routers are having issues bringing up an EIGRP neighbor relationship. Examine the

exhibit to determine the cause.

Code:

R1

interface s0/1description To R2

encapsulation ppp

ip address 192.168.25.66 255.255.255.252no shutdown

!

router eigrp 10

network 192.168.25.64 0.0.0.3Code:

Page 19: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 19/35

R2

interface s0/1

description To R1encapsulation ppp

ip address 192.168.25.65 255.255.255.252

no shutdown!

router eigrp 20

network 192.168.25.64 0.0.0.3

auto-summary is enabled

The AS numbers do not match

The routers' serial interfaces are in different subnets

EIGRP does not support PPP encapsulation

Question 3:

Which layer of the OSI model uses port numbers to differentiate between sessions?

Transport

 Network 

Data Link 

Physical

Question 4:

Page 20: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 20/35

What is the term used to describe what happens to information as it travels down through

the OSI layers?

Sheath

Encapsulate

Enclose

Cover 

Question 5:

Which protocol resolves hostnames to IP addresses?

DNS

DHCP

SSH

FTP

BOOTP

Question 6:

Which protocol automatically provides IP addressing and other options to workstationsfrom a centralized server?

Page 21: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 21/35

FTP

DNS

DHCP

TelnetHTTP

Question 7:

Which two of these choices are types of entries in a routing table?

Constant

Push

Dynamic

Stalled

Static

Pull

Question 8:

Which protocol is the prefered secure choice for remotely accessing the command line of 

a Cisco network device?

Page 22: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 22/35

Telnet

HTTP

TFTP

SSHFTP

Question 9:

What is the name of the mode that is accessed with the "enable" command?

Privileged Exec

Global Configuration

User Exec

Line Configuration

Question 10:

What protocol is used by a workstation to retrieve an unknown Layer 2 address if theworkstation already has the Layer 3 address?

UDP

TCP

Page 23: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 23/35

IP

ICMP

ARP

Question 11:

What global configuration command is used to weakly encrypt plain-text passwords insome IOS commands?

service encrypt-password

service password-encryption

service password-recovery

encrypt-password service

Question 12:

What command can be used to test if a device is up by sending ICMP echo-requests and

receiving back ICMP echo-replies?

CDP

FTP

Telnet

Page 24: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 24/35

PING

Question 13:

When no other explicit route to a network exists in a route table which of the choices

 below becomes the gateway of last resort?

Automatic route

Alternative route

Final route

Obligated route

Default route

Question 14:

What type of network it this?

Page 25: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 25/35

 Non-broadcast multiaccess

Broadcast Multiaccess

Point-to-Point

LAN

Point-to_Multipoint

Question 15:

If all routers were running OSPF and were powered on at the same time. Which would be

the DR, BDR and DROther?

Page 26: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 26/35

R1 DR R2 BDR 

R3 DROther 

R1 BDR 

R2 DR 

R3 DROther 

R1 DROther 

R2 BDR 

R3 DR 

R1 DROther 

R2 DR R3 BDR 

Question 1:

Page 27: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 27/35

Which command will prevent OSPF from sending updates out only serial0/0?

R1# passive-interface s0/0

R1(config)# passive-interface s0/0R1(config-router)# passive-interface s0/0

R1(config-if)# passive-interface s0/0

Question 2:

Which multicast address does EIGRP use to send route updates?

224.0.0.10

244.0.0.10

224.0.0.5

224.0.0.6

225.0.0.6

255.255.255.255

Question 3:

Which multicast address does OSPF use to send updates to DR and BDRs in a multi-access segment?

Page 28: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 28/35

224.0.0.10

244.0.0.10

224.0.0.5

224.0.0.6

225.0.0.6

255.255.255.255

Question 4:

Which OSPF multicast destination address do domain routers use to send route updates to

DROther routers in a multi-access segment?

224.0.0.10

244.0.0.10

224.0.0.5

224.0.0.6

225.0.0.6

255.255.255.255

Question 5:

Page 29: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 29/35

Which of the following conditions must be agreed upon for OSPF routers to become

neighbors? (choose 3)

area ID

authentication

router IDs

multicast addressing

DR and BDR 

hello and dead intervals

Question 6:

Which of the following conditions must be agreed upon for EIGRP routers to become

neighbors? (choose 3)

common subnet

AS numbers

hello and dead intervals

router IDs

K values

link bandwidth percent

Question 7:

Page 30: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 30/35

Which of the following are valid OSPF adjacency states? (choose 3)

init

startexchange

full

done

 passive

active

Question 8:

Where can you add summary routes on OSPF routers? (choose 2)

Autonomous System Boundary Routers (ASBRs)

Area Border Routers (ABRs)

area 0 routers

Designated Routers (DRs)

Backup Designated Routers (BDRs)

any OSPF router 

Question 9:

Page 31: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 31/35

Where can you add summary routes on EIGRP routers?

only on Autonomous System Boundary Routers (ASBRs)

only on Area Border Routers (ABRs)only on area 0 routers

only on Designated Routers (DRs)

only on Backup Designated Routers (BDRs)

any EIGRP router 

Question 10:

Which OSPF statement could be used for enabling OSPF on interfaces with IPs within

only the 222.12.12.1/26 network?

network 222.12.12.1 255.255.255.192 area 0

network 222.12.0.0 0.0.255.255 area 0

network 222.12.12.0 0.0.0.255 area 0

network 222.12.12.0 0.0.0.63 area 0

network 222.12.12.0 0.0.0.64 area 0

Question 11:

Page 32: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 32/35

Select the broadcast address for 192.168.43.19/28.

192.168.43.255

192.168.43.15192.168.43.31

192.168.43.16

192.168.43.32

Question 12:

Select the network ID for 192.168.43.19/28.

192.168.43.255

192.168.43.15

192.168.43.31

192.168.43.16

192.168.43.32

Question 13:

Which VTP mode forwards VTP messages but will not act on or originate them?

Page 33: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 33/35

client

server 

transparent

Question 14:

Which of the following commands have been entered on R1? (choose 2)

Code:

R1#show ip ospf interface fa0/0FastEthernet0/0 is up, line protocol is up

Internet Address 172.16.1.1/29, Area 0

Page 34: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 34/35

Process ID 1, Router ID 10.10.10.10, Network Type BROADCAST, Cost: 10

Transmit Delay is 1 sec, State DR, Priority 2

Designated Router (ID) 10.10.10.10, Interface address 172.16.1.1Backup Designated router (ID) 3.3.3.3, Interface address 172.16.1.3

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

oob-resync timeout 40Hello due in 00:00:03

Supports Link-local Signaling (LLS)

Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

 Neighbor Count is 2, Adjacent neighbor count is 2Adjacent with neighbor 2.2.2.2

Adjacent with neighbor 3.3.3.3 (Backup Designated Router)

Suppress hello for 0 neighbor(s)

R1(config-if)# ip ospf hello-interval 10

R1(config-router)# router-id 10.10.10.10

R1(config-if)# ip ospf dead-interval 40

R1(config-if)# ip ospf priority 2

Question 15:

What possible reason could you derive from seeing this output from the debug serial 

interface command?

Code:

R2#show ip interface br 

Interface IP-Address OK? Method Status Protocol

Page 35: Sample Ccna Questions

8/4/2019 Sample Ccna Questions

http://slidepdf.com/reader/full/sample-ccna-questions 35/35

FastEthernet0/0 unassigned YES unset administratively down down

Serial0/0 172.16.1.1 YES manual up down

Code:

R2(config-if)#do debug serial interface

*Mar 1 00:02:32.803: Illegal HDLC serial type code 49185, PC=0x604B0DB4*Mar 1 00:01:42.215: Serial0/0: HDLC myseq 1, mineseen 0, yourseen 0, line up

*Mar 1 00:01:52.219: Serial0/0: HDLC myseq 2, mineseen 0, yourseen 0, line down

*Mar 1 00:02:02.215: Serial0/0: HDLC myseq 3, mineseen 0, yourseen 0, line down*Mar 1 00:02:12.215: Serial0/0: HDLC myseq 4, mineseen 0, yourseen 0, line down

*Mar 1 00:02:22.215: Serial0/0: HDLC myseq 5, mineseen 0, yourseen 0, line down

*Mar 1 00:02:32.803: Illegal HDLC serial type code 49185, PC=0x604B0DB4

 bad cable

line physically down

faulty hardware

encapsulation mismatch