Practice COMP Tia networking exam:

Question 286

A network technician wants to allow HTTP traffic through a stateless frewall. The company uses the network. Which of the following ACL should the technician configure? (Select TWO)


Aoswers B

OK, the question says to pick two answers. In addition, the spacing differences in answers C and D were copied verbatim from the pdf and am not sure if these are typos or are part of the question as a syntax problem. Is a second answer needed? Would answer B suffice? Answer A and E seem redundant, C and D seem insecure by allowing a source IP of Any?

closed as off-topic by harrymc, grawity, robinCTS, n8te, Mokubai Aug 29 '18 at 6:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – harrymc, grawity, robinCTS, n8te, Mokubai
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Hey, guy, this is the second time you ask for us to explain the questions you don't understand when preparing for the exam. This isn't a support site for students, you know. – harrymc Aug 28 '18 at 16:03
  • 2
    This is the second time you have asked for help on a question, you don't even have the most basic understanding of which is a problem, because you will never pass the Network+ if that doesn't change. You cannot learn the material on the CompTIA Network+ exam by doing practice exams without first understanding the material. As for the usefulness of this question, I have been burned once from one of your questions, turns out your practice exam is full of errors. So I personally don't find "yet another give me the answer" question to be helpful to the community. – Ramhound Aug 28 '18 at 17:12
  • 2
    When an actual CompTIA exam question, requires you to select two answers, it means you need to select two answers. If you only select one answer you get the question incorrect. – Ramhound Aug 28 '18 at 17:19
  • These questions are not regarding "personal or home computer networking" as defined in the on topic page of the help centre. Professional and corporate IT questions should be asked at Server Fault, but I would first ask if these exam practise questions are acceptable there by posting at their meta site. – Mokubai Aug 29 '18 at 7:26
  1. Since the question does not specify which syntax should be expected for ACLs (i.e. you don't have any reference to validate it against), you can assume the syntax was just made up on the spot and all typos might as well be accidental (possibly after several rounds of printing, retyping, photocopying, and/or OCR'ing).

  2. If you're securing a web server hosting public websites, naturally you will want to accept clients from anywhere (i.e. any source). And vice versa, if you have some clients behind this firewall, usually they will want to access the whole internet (i.e. any destination). In either case, at least one side being "ANY" is inevitable.

  3. TCP connections generally have a well-known port on the 'server' end, but a transient port (random and high-numbered) on the 'client' end. This allows distinguishing between multiple connections from the same client to the same service on the same server.

    This means that you will practically never1 see port 80 on both the "sport" and "dport" at the same time. Therefore you can skip those ACLs as incorrect.

  4. As mentioned, the well-known port (80 for HTTP) is on the 'server' side. The server will be receiving packets with DPORT:80, and sending packets with SPORT:80.

    This means that ACLs with DPORT:80 must have SRCIP that'll match clients (browsers), and/or DSTIP matching the web servers. The reverse applies for SPORT:80.

  5. As mentioned, packets flow in two directions. Since the firewall is stateless, it needs two ACLs, one for each direction.

1 It should be clarified that identical source & destination ports are allowed per protocol, just incredibly rare in general TCP usage. (There are exceptions, e.g. BGP sometimes uses 179 to 179.)

  • For my own curiosity. What is the correct answer(s)? – Ramhound Aug 28 '18 at 17:21
  • Conveniently, "identical source and destination ports" will already rule out everything except B and C. These are also exactly opposite of each other, so they'd be correct (as far as the question needs). – grawity Aug 28 '18 at 17:24
  • I thought that was the case, but that statement does not appear in your answer. – Ramhound Aug 28 '18 at 17:29
  • -1: Down-voting because the question is clearly someone asking us to “do their homework” when they glibly state, “Practice COMP Tia networking exam:” These questions should not be encouraged and the Stack Exchange sites should not be such a direct cheat sheet for technical skills like this. – JakeGould Aug 29 '18 at 17:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.