350-401 Exam QuestionsBrowse all questions from this exam

350-401 Exam - Question 286


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?

Show Answer
Correct Answer: C

To allow the client with IP address 209.165.201.25 to access the web server on port 80 at 209.165.200.225, we need to permit traffic with a source IP of the web server and destination IP of the client. Since the traffic is being permitted inbound on the port connecting to the web server, the access control list statement should match traffic coming from the web server's IP with a source port of 80 to the client's IP. Therefore, the correct ACL statement is 'permit tcp host 209.165.200.225 eq 80 host 209.165.201.25'.

Discussion

17 comments
Sign in to comment
sleepOption: C
Jun 1, 2020

inbound direction - C

Saqib79Option: B
May 11, 2020

Correct Option is B.

Carl1999
Nov 17, 2021

"on the port connecting to the web server" -> C

bk989
May 17, 2023

it says "inbound"

XBfoundXOption: C
Feb 25, 2023

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

TSKARANOption: C
Jan 28, 2023

NOTE: applied in the inbound direction on the port connecting to the web server.

DatasetOption: C
Feb 23, 2023

Its C , inbound direction on port connecting the host regards

BrandOption: C
Feb 23, 2023

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.

danman32Option: B
Jul 27, 2023

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.

Rose66Option: C
Jan 9, 2023

Inbound on server side >> C

NickplayanyOption: C
Jan 21, 2023

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

eearmaniOption: B
Dec 20, 2023

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]

a197cbfOption: C
Jun 20, 2024

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.

rafaelinho88Option: B
Feb 3, 2023

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

well123
Feb 18, 2023

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"

ChuckzeroOption: B
Aug 30, 2023

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.

Chuckzero
Aug 31, 2023

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.

SacuxipoOption: D
Nov 30, 2023

D the ACL must be applied in the inbound direction of the R

SeMo0o0oOption: C
May 22, 2024

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

SeMo0o0oOption: C
May 22, 2024

forget to vote :D

Kan3184Option: C
Jul 19, 2024

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.