Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 286 discussion

Actual exam question from Cisco's 350-401
Question #: 286
Topic #: 1
[All 350-401 Questions]

A client with IP address 209.165.201.25 must access a web server on port 80 at 209.165.200.225. To allow this traffic, an engineer must add a statement to an access control list that is applied in the inbound direction on the port connecting to the web server.
Which statement allows this traffic?

  • A. permit tcp host 209.165.200.225 lt 80 host 209.165.201.25
  • B. permit tcp host 209.165.201.25 host 209.165.200.225 eq 80
  • C. permit tcp host 209.165.200.225 eq 80 host 209.165.201.25
  • D. permit tcp host 209.165.200.225 host 209.165.201.25 eq 80
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sleep
Highly Voted 4 years, 5 months ago
inbound direction - C
upvoted 70 times
...
Saqib79
Highly Voted 4 years, 6 months ago
Correct Option is B.
upvoted 31 times
Carl1999
3 years ago
"on the port connecting to the web server" -> C
upvoted 4 times
...
bk989
1 year, 6 months ago
it says "inbound"
upvoted 1 times
...
...
Kan3184
Most Recent 4 months, 1 week ago
So, in this scenario: The destination port must be equal to 80 in the initial request from the client to the server. The source port must be equal to 80 in the response from the server to the client. Here's a summary: Client (host) -> Server (HTTP): Source port (random): >1024 Destination port: 80 Server (HTTP) -> Client (host): Source port: 80 Destination port (matches client's source port): >1024. Therefore, answer C is correct, not D. D is wrong because source TCP port must be 80 in server's response, not destination port.
upvoted 1 times
...
a197cbf
5 months, 1 week ago
Selected Answer: C
C is the correct answer. Because it's traffic INcoming on the port FROM the Webserver, then the ACL would be configured with that same source/destination orientation, as follows: permit tcp host <FROM_WEBSERVER_IP> eq 80 host <TO_CLIENT_IP> we put the "eq 80" with the webserver since that's the port it listens on, and that's the port it will use to return the data to the client. Admins, please fix the correct answer, it should be C but is showing as D.
upvoted 2 times
...
[Removed]
6 months, 1 week ago
Selected Answer: C
forget to vote :D
upvoted 1 times
...
[Removed]
6 months, 1 week ago
C is correct tricky question, you just need to read it twice, the question is talking about traffic returning from the server to the host
upvoted 1 times
...
eearmani
11 months, 1 week ago
Transport Control Protocol (TCP) access-list access-list-number [dynamic dynamic-name [timeout minutes]] {deny | permit} tcp source source-wildcard [operator [port]] destination destination-wildcard [operator [port]] [established] [precedence precedence] [tos tos] [log | log-input] [time-range time-range-name][fragments]
upvoted 2 times
...
Sacuxipo
12 months ago
D the ACL must be applied in the inbound direction of the R
upvoted 1 times
...
Chuckzero
1 year, 2 months ago
Correct answer is B. Option C is a wrong syntax for an extended access-list which is based in terms of the source and destination IPs.
upvoted 1 times
Chuckzero
1 year, 2 months ago
My bad. it is actually source and destination port that we are considering here, so C has the right syntax for source and destination port.
upvoted 1 times
...
...
danman32
1 year, 4 months ago
I don't care what interface or direction you try to apply ACL for answer D, it isn't going to work. Why? Because port 80 can only be associated with the webserver host IP. Answer D assumes that port 80 would be associated with the client IP, which would never be the case. Not in the real world anyway.
upvoted 3 times
...
XBfoundX
1 year, 9 months ago
The correct answer here is C: Remember that the the interface with the ACL applied is the server interface. so the flow at first will be client ==> server Here there is not any acl applied inbound and outbound. Then the traffic flow must return like this: server ==> client In the server port the acl is applied, so in this case because is return traffic the source ip address and tcp port will be of the server and the destination will be the client. So the statement of the ACL is: permit tcp host 209.165.200.225 eq 80 host 209.165.201.25 (permit the traffic sourced by the server to reach the destination) So the answer is for sure C
upvoted 9 times
...
Brand
1 year, 9 months ago
Selected Answer: C
the inbound traffic coming from the port connected to the server will contain the server's IP address therefore the ACL statement must have the source IP as the server's IP. The client will reach the server using TCP 80 as the destination so the return traffic sourced by the server will have port 80 as the source TCP. Which in this case I'd go with C.
upvoted 3 times
...
Dataset
1 year, 9 months ago
Selected Answer: C
Its C , inbound direction on port connecting the host regards
upvoted 3 times
...
rafaelinho88
1 year, 9 months ago
Selected Answer: B
i asked chatgpt and it came with this answer. permit tcp host 209.165.201.25 host 209.165.200.225 eq 80 so, according to chatgpt, it is B
upvoted 1 times
well123
1 year, 9 months ago
no, this will only work if the ACL is applied on the inbound for port facing the client. the question is "inbound port facing web server"
upvoted 1 times
...
...
TSKARAN
1 year, 10 months ago
Selected Answer: C
NOTE: applied in the inbound direction on the port connecting to the web server.
upvoted 3 times
...
Nickplayany
1 year, 10 months ago
C. permit tcp host 209.165.200.225 eq 80 host 209.165.201.25 Most Voted permit tcp host ---- THE SOURCE - THE PORT --- THE DESTINATION. The exact same question - answer can be found at question 272
upvoted 2 times
...
Rose66
1 year, 10 months ago
Selected Answer: C
Inbound on server side >> C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...