Revised - Pt2 Routing and Switching v5.02 + v5.03 2016 Flashcards

1
Q

A college marketing department has a networked storage device that uses the IP address 10.18.7.5, TCP port 443 for encryption, and UDP port 4365 for video streaming. The college already uses PAT on the router that connects to the Internet. The router interface has the public IP address of 209.165.200.225/30. The IP NAT pool currently uses the IP addresses ranging from 209.165.200.228-236. Which configuration would the network administrator add to allow this device to be accessed by the marketing personnel from home?

ip nat pool mktv 10.18.7.5 10.18.7.5

ip nat inside source static tcp 10.18.7.5 443 209.165.200.225 443
ip nat inside source static udp 10.18.7.5 4365 209.165.200.225 4365

ip nat inside source static tcp 209.165.200.225 443 10.18.7.5 443
ip nat inside source static udp 209.165.200.225 4365 10.18.7.5 4365

No additional configuration is necessary.

ip nat outside source static 10.18.7.5 209.165.200.225

A

ip nat inside source static tcp 10.18.7.5 443 209.165.200.225 443
ip nat inside source static udp 10.18.7.5 4365 209.165.200.225 4365

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which statement describes a route that has been learned dynamically?

It is automatically updated and maintained by routing protocols.
It is unaffected by changes in the topology of the network.
It has an administrative distance of 1.
It is identified by the prefix C in the routing table.

A

It is automatically updated and maintained by routing protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A network administrator is explaining to a junior colleague the use of the lt and gt keywords when filtering packets using an extended ACL. Where would the lt or gt keywords be used?

in an IPv6 extended ACL that stops packets going to one specific destination VLAN
in an IPv4 extended ACL that allows packets from a range of TCP ports destined for a specific network device
in an IPv4 named standard ACL that has specific UDP protocols that are allowed to be used on a specific server
in an IPv6 named ACL that permits FTP traffic from one particular LAN getting to another LAN

A

in an IPv4 extended ACL that allows packets from a range of TCP ports destined for a specific network device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Refer to the exhibit. How did the router obtain the last route that is shown?

The ip address interface configuration mode command was used in addition to the network routing protocol configuration mode command.
The ipv6 route command was used.
the ip route command was used.
Another router in the same organization provided the default route by using a dynamic routing protocol.

A

Another router in the same organization provided the default route by using a dynamic routing protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Refer to the exhibit. A Layer 3 switch routes for three VLANs and connects to a router for Internet connectivity. Which two configurations would be applied to the switch? (Choose two.)

(config)# interface gigabitethernet 1/1
(config-if)# no switchport

(config-if)# ip address 192.168.1.2 255.255.255.252
(config)# interface vlan 1
(config-if)# ip address 192.168.1.2 255.255.255.0
(config-if)# no shutdown

(config)# interface gigabitethernet1/1
(config-if)# switchport mode trunk

(config)# interface fastethernet0/4
(config-if)# switchport mode trunk

(config)# ip routing

A

(config)# interface gigabitethernet 1/1
(config-if)# no switchport*

(config)# ip routing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A network administrator is adding ACLs to a new IPv6 multirouter environment. Which IPv6 ACE is automatically added implicitly at the end of an ACL so that two adjacent routers can discover each other?

permit ip any host ip_address
permit icmp any any nd-na
permit ip any any
deny ip any any

A

permit icmp any any nd-na

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A network administrator is using the router-on-a-stick method to configure inter-VLAN routing. Switch port Gi1/1 is used to connect to the router. Which command should be entered to prepare this port for the task?

Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# spanning-tree vlan 1

Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# spanning-tree portfast

Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# switchport mode trunk

Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# switchport access vlan 1

A

Switch(config)# interface gigabitethernet 1/1

Switch(config-if)# switchport mode trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which command will create a static route on R2 in order to reach PC B?

R1(config)# ip route 172.16.2.0 255.255.255.0 172.16.2.254
R1(config)# ip route 172.16.2.0 255.255.255.0 172.16.3.1
R1(config)# ip route 172.16.2.1 255.255.255.0 172.16.3.1
R1(config)# ip route 172.16.3.0 255.255.255.0 172.16.2.254

A

R1(config)# ip route 172.16.2.0 255.255.255.0 172.16.3.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A network administrator is designing an ACL. The networks 192.168.1.0/25, 192.168.0.0/25, 192.168.0.128/25, 192.168.1.128/26, and 192.168.1.192/26 are affected by the ACL. Which wildcard mask, if any, is the most efficient to use when specifying all of these networks in a single ACL permit entry?

  1. 0.0.127
  2. 0.0.255
  3. 0.1.255
  4. 0.255.255
A

0.0.1.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens immediately after two OSPF routers have exchanged hello packets and have formed a neighbor adjacency?

They request more information about their databases.
They negotiate the election process if they are on a multiaccess network.
They exchange DBD packets in order to advertise parameters such as hello and dead intervals.
They exchange abbreviated lists of their LSDBs

A

They exchange abbreviated lists of their LSDBs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of setting the native VLAN separate from data VLANs?

The native VLAN is for routers and switches to exchange their management information, so it should be different from data VLANs.
A separate VLAN should be used to carry uncommon untagged frames to avoid bandwidth contention on data VLANs.
The native VLAN is for carrying VLAN management traffic only.
The security of management frames that are carried in the native VLAN can be enhanced

A

A separate VLAN should be used to carry uncommon untagged frames to avoid bandwidth contention on data VLANs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which command, when issued in the interface configuration mode of a router, enables the interface to acquire an IPv4 address automatically from an ISP, when that link to the ISP is enabled?

ip helper-address
ip address dhcp
ip dhcp pool
service dhcp

A

ip address dhcp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which two commands can be used to verify the content and placement of access control lists? (Choose two.)

  show processes
  show cdp neighbor
  show access-lists
  show ip route
  show running-config
A

show access-lists

show running-config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which value represents the “trustworthiness” of a route and is used to determine which route to install into the routing table when there are multiple routes toward the same destination?

routing protocol
outgoing interface
metric
administrative distance

A

administrative distance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
Which type of router memory temporarily stores the running configuration file and ARP table?
  flash
  NVRAM
  RAM
  ROM
A

RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of an access list that is created as part of configuring IP address translation?

The access list permits or denies specific addresses from entering the device doing the translation.
The access list defines the private IP addresses that are to be translated.
The access list prevents external devices from being a part of the address translation.
The access list defines the valid public addresses for the NAT or PAT pool.

A

The access list defines the private IP addresses that are to be translated.

17
Q

Which two characteristics describe the native VLAN? (Choose two.)

This VLAN is necessary for remote management of a switch.
Designed to carry traffic that is generated by users, this type of VLAN is also known as the default VLAN.
The native VLAN provides a common identifier to both ends of a trunk.
The native VLAN traffic will be untagged across the trunk link.
High priority traffic, such as voice traffic, uses the native VLAN.

A

The native VLAN provides a common identifier to both ends of a trunk.
The native VLAN traffic will be untagged across the trunk link.

18
Q

A new network policy requires an ACL to deny HTTP access from all guests to a web server at the main office. All guests use addressing from the IPv6 subnet 2001:DB8:19:C::/64. The web server is configured with the address 2001:DB8:19:A::105/64. Implementing the NoWeb ACL on the interface for the guest LAN requires which three commands? (Choose two.)
permit tcp any host 2001:DB8:19:A::105 eq 80
deny tcp host 2001:DB8:19:A::105 any eq 80
deny tcp any host 2001:DB8:19:A::105 eq 80
permit ipv6 any any
deny ipv6 any any
ipv6 traffic-filter NoWeb in
ip access-group NoWeb in

A

deny tcp any host 2001:DB8:19:A::105 eq 80

permit ipv6 any any

19
Q

Which subnet mask would be used as the classful mask for the IP address 192.135.250.27?

  1. 0.0.0
  2. 255.0.0
  3. 255.255.0
  4. 255.255.224
A

255.255.255.0

20
Q

What address will summarize the LANs attached to routers 2-A and 3-A and can be configured in a summary static route to advertise them to an upstream neighbor?

  1. 0.0.0/24
  2. 0.0.0/23
  3. 0.0.0/22
  4. 0.0.0/21
A

10.0.0.0/21

21
Q

A security specialist designs an ACL to deny access to a web server from all sales staff. The sales staff are assigned addressing from the IPv6 subnet 2001:db8:48:2c::/64. The web server is assigned the address 2001:db8:48:1c::50/64. Configuring the WebFilter ACL on the LAN interface for the sales staff will require which three commands? (Choose three.)

permit tcp any host 2001:db8:48:1c::50 eq 80
deny tcp host 2001:db8:48:1c::50 any eq 80
deny tcp any host 2001:db8:48:1c::50 eq 80
permit ipv6 any any
deny ipv6 any any
ip access-group WebFilter in
ipv6 traffic-filter WebFilter in

A

deny tcp host 2001:db8:48:1c::50 any eq 80
deny tcp any host 2001:db8:48:1c::50 eq 80
deny ipv6 any any

22
Q

Refer to the exhibit. An ACL preventing FTP and HTTP access to the interval web server from all teaching assistants has been implemented in the Board Office. The address of the web server is 172.20.1.100 and all teaching assistants are assigned addresses in the 172.21.1.0/24 network. After implement the ACL, access to all servers is denied. What is the problem?

inbound ACLs must be routed before they are processed
the ACL is implicitly denying access to all the servers
named ACLs requite the use of port numbers
the ACL is applied to the interface using the wrong direction

A

named ACLs requite the use of port numbers

23
Q

Which two commands should be implemented to return a Cisco 3560 trunk port to its default configuration? (Choose two.)

S1(config-if)# no switchport trunk allowed vlan
S1(config-if)# no switchport trunk native vlan
S1(config-if)# switchport mode dynamic desirable
S1(config-if)# switchport mode access
S1(config-if)# switchport access vlan 1

A

S1(config-if)# no switchport trunk allowed vlan

S1(config-if)# no switchport trunk native vlan

24
Q

A router learns of multiple routes toward the same destination. Which value in a routing table represents the trustworthiness of learned routes and is used by the router to determine which route to install into the routing table for this specific situation?

routing protocol
outgoing interface
metric
administrative distance

A

administrative distance

25
Q

A router needs to be configured to route within OSPF area 0. Which two commands are required to accomplish this? (Choose two.)

RouterA(config-router)# network 192.168.2.0 255.255.255.0 0
RouterA(config-router)# network 192.168.2.0 0.0.0.255 0
RouterA(config)# router ospf 1
RouterA(config-router)# network 192.168.2.0 0.0.0.255 area 0
RouterA(config)# router ospf 0

A

RouterA(config)# router ospf 1*

RouterA(config-router)# network 192.168.2.0 0.0.0.255 area 0*

26
Q

Which three requirements are necessary for two OSPFv2 routers to form an adjacency? (Choose three.)

The link interface subnet masks must match.
The two routers must include the inter-router link network in an OSPFv2 network command.
The OSPFv2 process ID must be the same on each router.
The OSPF hello or dead timers on each router must match.
The OSPFv2 process is enabled on the interface by entering the ospf process area-id command.
The link interface on each router must be configured with a link-local address.

A

The link interface subnet masks must match.

The two routers must include the inter-router link network in an OSPFv2 network command.

The OSPF hello or dead timers on each router must match.

27
Q

Which three pieces of information does a link-state routing protocol use initially as link-state information for locally connected links? (Choose three.)

  the cost of that link
  the type of network link
  the link bandwidth
  the link next-hop IP address
  the link router interface IP address and subnet mask
A

the cost of that link
the type of network link
the link router interface IP address and subnet mask

28
Q

A router has used the OSPF protocol to learn a route to the 172.16.32.0/19 network. Which command will implement a backup floating static route to this network?

ip route 172.16.32.0 255.255.0.0 S0/0/0 100
ip route 172.16.32.0 255.255.224.0 S0/0/0 200
ip route 172.16.0.0 255.255.240.0 S0/0/0 200
ip route 172.16.0.0 255.255.224.0 S0/0/0 100

A

ip route 172.16.32.0 255.255.224.0 S0/0/0 200

29
Q

What summary static address would be configured on R1 to advertise to R3?

  1. 168.0.0/24
  2. 168.0.0/23
  3. 168.0.0/22
  4. 168.0.0/21
A

192.168.0.0/22

30
Q

An OSPF router has three directly connected networks; 172.16.0.0/16, 172.16.1.0/16, and 172.16.2.0/16. Which OSPF network command would advertise only the 172.16.1.0 network to neighbors?
router(config-router)# network 172.16.1.0 0.0.255.255 area 0
router(config-router)# network 172.16.0.0 0.0.15.255 area 0
router(config-router)# network 172.16.1.0 255.255.255.0 area 0
router(config-router)# network 172.16.1.0 0.0.0.0 area 0

A

router(config-router)# network 172.16.1.0 0.0.255.255 area 0

31
Q

Which subnet mask would be used as the classful mask for the IP address 128.107.52.27?

  1. 0.0.0
  2. 255.0.0
  3. 255.255.0
  4. 255.255.224
A

255.255.0.0

32
Q

What best describes the operation of distance vector routing protocols?

They use hop count as their only metric.
They send their routing tables to directly connected neighbors.
They flood the entire network with routing updates.
They only send out updates when a new network is added.

A

They send their routing tables to directly connected neighbors.