Networking - Security Question and Answer

Networking - Security Question and Answer
11. You configure the following access list:

access-list 110 deny tcp 10.1.1.128 0.0.0.63 any eq smtp
access-list 110 deny tcp any eq 23
int ethernet 0
ip access-group 110 out

What will the result of this access list be?
  • Email and Telnet will be allowed out E0.
  • Email and Telnet will be allowed in E0.
  • Everything but email and Telnet will be allowed out E0.
  • No IP traffic will be allowed out E0.
Show Answer
12. You want to create a standard access list that denies the subnet of the following host: 172.16.198.94/19. Which of the following would you start your list with?
  • access-list 10 deny 172.16.192.0 0.0.31.255
  • access-list 10 deny 172.16.0.0 0.0.255.255
  • access-list 10 deny 172.16.172.0 0.0.31.255
  • access-list 10 deny 172.16.188.0 0.0.15.255
Show Answer
13. If you wanted to deny all Telnet connections to only network 192.168.10.0, which command could you use?
  • access-list 100 deny tcp 192.168.10.0 255.255.255.0 eq telnet
  • access-list 100 deny tcp 192.168.10.0 0.255.255.255 eq telnet
  • access-list 100 deny tcp any 192.168.10.0 0.0.0.255 eq 23
  • access-list 100 deny 192.168.10.0 0.0.0.255 any eq 23
Show Answer
14. Which router command allows you to view the entire contents of all access lists?
  • Router# show interface
  • Router> show ip interface
  • Router# show access-lists
  • Router> show all access-lists
Show Answer
15. Which of the following access lists will allow only HTTP traffic into network 196.15.7.0?
  • access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www
  • access-list 10 deny tcp any 196.15.7.0 eq www
  • access-list 100 permit 196.15.7.0 0.0.0.255 eq www
  • access-list 110 permit ip any 196.15.7.0 0.0.0.255
Show Answer
16. Which of the following are valid ways to refer only to host 172.16.30.55 in an IP access list?

    172.16.30.55 0.0.0.255
    172.16.30.55 0.0.0.0
    any 172.16.30.55
    host 172.16.30.55
    0.0.0.0 172.16.30.55
    ip any 172.16.30.55
  • 1 and 4
  • 2 and 4
  • 1, 4 and 6
  • 3 and 5
Show Answer
17. If you wanted to deny FTP access from network 200.200.10.0 to network 200.199.11.0 but allow everything else, which of the following command strings is valid?
  • access-list 110 deny 200.200.10.0 to network 200.199.11.0 eq ftp access-list 111 permit ip any 0.0.0.0 255.255.255.255
  • access-list 1 deny ftp 200.200.10.0 200.199.11.0 any any
  • access-list 100 deny tcp 200.200.10.0 0.0.0.255 200.199.11.0 0.0.0.255 eq ftp
  • access-list 198 deny tcp 200.200.10.0 0.0.0.255 200.199.11.0 0.0.0.255 eq ftp access-list 198 permit ip any 0.0.0.0 255.255.255.255
Show Answer
18. Which of the following series of commands will restrict Telnet access to the router?
  • Lab_A(config)#access-list 10 permit 172.16.1.1 Lab_A(config)#line con 0 Lab_A(config-line)#ip access-group 10 in
  • Lab_A(config)#access-list 10 permit 172.16.1.1 Lab_A(config)#line vty 0 4 Lab_A(config-line)#access-class 10 out
  • Lab_A(config)#access-list 10 permit 172.16.1.1 Lab_A(config)#line vty 0 4 Lab_A(config-line)#access-class 10 in
  • Lab_A(config)#access-list 10 permit 172.16.1.1 Lab_A(config)#line vty 0 4 Lab_A(config-line)#ip access-group 10 in
Show Answer
19. Which of the following commands connect access list 110 inbound to interface ethernet0?
  • Router(config)# ip access-group 110 in
  • Router(config)# ip access-list 110 in
  • Router(config-if)# ip access-group 110 in
  • Router(config-if)# ip access-list 110 in
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test