Vidyalelo
Networking · Q15

Network Security

Programming · Networking · question 15

Q15

Which of the following access lists will allow only HTTP traffic into network 196.15.7.0?

A.
access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www
Answer
B.
access-list 10 deny tcp any 196.15.7.0 eq www
C.
access-list 100 permit 196.15.7.0 0.0.0.255 eq www
D.
access-list 110 permit ip any 196.15.7.0 0.0.0.255

Answer: Option A

Solution

Answer: Option A
Solution:
The first thing to check in a question like this is the access-list number. Right away, you can see that the second option is wrong because it is using a standard IP access-list number. The second thing to check is the protocol. If you are filtering by upper-layer protocol, then you must be using either UDP or TCP; this eliminates the fourth option. The third and last answers have the wrong syntax.