Firewall Rules Solution

Posted by in Security+ | 19 comments

The table in this post shows the firewall rules solution to meet the requirements in the “Firewall Rules” post. Additionally, the following list provides explanations for each of these requirements. For clarity, the rules are restated right before the explanation:

  1. Allow all HTTP traffic to a web server with an IP of 192.168.1.25.
    Note that while HTTP traffic typically uses TCP, it can also use UDP. Because of this IP is used instead of TCP or UDP.
  2. Allow all HTTP and HTTPS traffic to a web server with an IP of 192.168.1.25.
    This requires two rules. One rule allows HTTP traffic by allowing port 80, and the second rule allows HTTPS traffic by allowing port 443.
  3. Allow DNS queries from any source to a computer with an IP of 192.168.1.10.
    DNS name resolution queries use UDP port 53.
  4. Block DNS zone transfer traffic from any source to any destination.
    DNS zone transfers use TCP port 53.
  5. Block all DNS traffic from any source to any destination.
    Using IP blocks both DNS name resolution queries on UDP port 53 and DNS zone transfers on TCP port 53. You could also implement this was two separate rules with one for UDP and one for TCP.
  6. Implement implicit deny.
    The implicit deny rule is always placed last and it blocks any type of traffic from any source to any destination using any port. Note that you could also have omitted rules 4 and 5 and placed the implicit deny rule after rule 3. It would still have met the requirements but wouldn’t have stressed the difference between TCP port 53 and UDP port 53.

Firewall Rules Solution

Table: Firewall rules

Get Certified Get Ahead

… Previous page

Page 1 of 3 ACLs and Security+

Page 2 Firewall Rules and Security+

Page 3 Firewall Rules Solution (this page)

Security+ Study Packages

Security+ Practice Test Questions

SYO-501 Practice Test Questions Now Available

SYO-401 Practice Test Questions

Over 440 realistic Security+ practice test questions

All questions include explanations so you'll know why the correct answers are correct,

and why the incorrect answers are incorrect.

Pass the Security+ Exam

the First Time You Take It

Multiple quiz formats to let you use these questions based on the way you learn.
  • Learn mode - randomized. View each of the questions in random order. Learn mode allows you to keep selecting answers until you select the correct answer. Once you select the correct answer, you'll see the explanation. Click here to see how learn mode works.
  • Learn mode - not randomized. View each of the questions in the same order. Use this if you want to make sure that you see all of the questions. Learn mode allows you to keep selecting answers until you select the correct answer. Once you select the correct answer, you'll see the explanation. Click here to see how learn mode works.
  • Test mode - randomized. View each of the questions in random order. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.
  • Test mode - not randomized. View each of the questions in the same order. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.
  • Test mode - 100 random questions. View 100 random questions from the full test bank similar to how the Security+ exam has a potential maximum of 100 multiple choice questions. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.

Get the full bank of Security+ (SYO-401) Practice Test Questions Here

 SYO-401 Practice Test Questions


INCLUDES QUESTIONS TO HELP YOU PREPARE

FOR THE NEW PERFORMANCE BASED QUESTIONS 

Bonus - Performance Based Questions

Additional Security+ questions to help you prepare for the new performance based questions. These are included with the full bank of Security+ practice test questions and are divided into different sections. For example, you'll have access to the following links:

- Performance Based Question - Set 1

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of security to mobile devices and servers in a data center. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 2

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 3

You'll see a graphic showing a network with computers and servers separated by a firewall. The firewall is used to control traffic between the computers and users using rules within an access control list (ACL).  You'll have three questions that test your knowledge and ability to correctly identify the relevant components of the rule. The incorrect answers and explanation provide you with insight into how to correctly answer this type of question on the actual exam.

- Performance Based Question - Set 4

You'll see a graphic explaining what you might be required to do on the actual exam related to what a forensic analyst would do during an investigation. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 5

You'll see a graphic explaining what you might be required to do on the actual exam to match protocols and ports. You'll then have seven questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 6

You'll see a list of security controls along with a graphic showing devices and locations within an organization, along with instructions on what you might be required to do on the actual exam to match the controls with the devices and locations. You'll then have four questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 7

You'll see a list of authentication methods and authentication factors along with instructions on what you might be required to do on the actual exam to match the authentication methods with the authentication factors. You'll then have six questions that test your knowledge and ability to correctly answer the questions. This set also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 8

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This is similar to Set 2 but expands on the possibilities. The set also includes a link to a page showing the end solution for the overall performance based question simulation.

New - Performance Based Question - Set 9

New questions recently added using a different testing engine. See a demo here. This set includes drag and drop and matching questions on ports.

New - Performance Based Question - Set 10

A random set of 20 performance-based questions using drag and drop, matching, sorting, and fill in-the blank. This set includes performance-based questions on RAID.

Get the full bank of Security+ (SYO-401) Practice Test Questions Here

Get the full bank of Security+ Practice Test Questions

Click here if you're looking for SYO-501 Practice Test Questions

Simulated Performance-based Questions

Bonus - Performance Based Questions

Simulated performance-based questions included with all

packages that include practice test questions.

Additional Security+ questions to help you prepare for the new performance based questions. These are included with the full bank of Security+ practice test questions and are divided into different sections. For example, you'll have access to the following links:

- Performance Based Question - Set 1

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of security to mobile devices and servers in a data center. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 2

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 3

You'll see a graphic showing a network with computers and servers separated by a firewall. The firewall is used to control traffic between the computers and users using rules within an access control list (ACL).  You'll have three questions that test your knowledge and ability to correctly identify the relevant components of the rule. The incorrect answers and explanation provide you with insight into how to correctly answer this type of question on the actual exam.

- Performance Based Question - Set 4

You'll see a graphic explaining what you might be required to do on the actual exam related to what a forensic analyst would do during an investigation. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 5

You'll see a graphic explaining what you might be required to do on the actual exam to match protocols and ports. You'll then have seven questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 6

You'll see a list of security controls along with a graphic showing devices and locations within an organization, along with instructions on what you might be required to do on the actual exam to match the controls with the devices and locations. You'll then have four questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 7

You'll see a list of authentication methods and authentication factors along with instructions on what you might be required to do on the actual exam to match the authentication methods with the authentication factors. You'll then have six questions that test your knowledge and ability to correctly answer the questions. This set also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 8

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This is similar to Set 2 but expands on the possibilities. The set also includes a link to a page showing the end solution for the overall performance based question simulation.

New - Performance Based Question - Set 9

New questions recently added using a different testing engine. See a demo here. This set includes drag and drop and matching questions on ports.

New - Performance Based Question - Set 10

A random set of 20 performance-based questions using drag and drop, matching, sorting, and fill in-the blank. This set includes performance-based questions on RAID.

Get the full bank of Security+ Practice Test Questions Here

Simulated performance-based questions included with

all packages that include practice test questions.

19 Comments

  1. Hi Darril,

    In the diagram for ACL above, it says HTTP typically uses TCP but “can” use UDP. Now I know this is true but if it mainly uses TCP and so it says on your textbook in the list of protocols (table 3.1) that HTTP is known for TCP 80, would it be wrong to list the protocol as TCP over IP?

    Thank you

    • >… would it be wrong to list the protocol as TCP over IP?

      If you like…

      • Or in other terms, if there was a multiple choice question asking what protocol and port number does HTTP use, would TCP 80 or TCP/UDP 80 be “BEST” answer?

  2. > (listen to me talking here…)
    Huh?

    > BUT, why not just eliminate the 1st part (that is redundant) of Rule 2

    The goal with the answer is to ensure the reader understands how to create each rule to meet each requirement.
    * If someone is looking for the rule to meet requirement 1, they can see it in the table.
    * If someone is looking for the rules to meet requirement 2, they can see them in the table.

    Notice that the first row is labeled Requirement 1 and the next two rows are labeled Requirement 2.

    If the first part of Requirement 2 is omitted, it doesn’t provide a complete solution.

  3. I took the test and failed yesterday due to running out of time after the performance based questions. None of them were as simplified as the examples you have here on your site. I have a strong networking background but the questions weren’t clear about what they were looking for. If they plan to include this type of questions they will need to expand the amount of time available. There were many different screens of data to be reviewed and then go back to provide the answer for each. They need to consider the time limit when developing the performance based questions.

    • Hi Karen,

      Sorry to hear you dropped the test. It’s a tough test and CompTIA is frequently adding in new beta questions for testing, and adding them into the mix once they’ve tested them.

      Two things to consider.

      1) This page includes a list of blog posts related to performance-based questions you might find valuable: http://blogs.getcertifiedgetahead.com/security-blog-links/#Performance
      This post gives valuable tips you can use as a strategy with performance-based questions. Tip 2 – Skip them. In other words, it’s best to do them last if they aren’t clear to you. This is especially useful if it’s a bogus beta question that hasn’t been tested.

      2) This site (http://gcgapremium.com/pass-the-security-sy0-401-exam-the-first-time-you-take-it/) has a wealth of realistic performance-based practice test questions that aren’t possible in the app. As an example, Set 10 has 20 realistic practice test questions with drag and drop, matching, and fill-in-the-blank type questions.

      Last, CompTIA would value your feedback on the lack of clarity with the questions, and the lack of time to do the questions.

      I don’t know, but have begun to suspect that they are beta testing CASP questions within the Security+ exam. If you skip the questions, it’s no big deal. However, if you try to answer them, you have limited time to answer the real questions.

      Hope this helps.

  4. There is a performance based question that…. text deleted

    Note: Please do not post questions on what you understand to be actual questions on the exam.

  5. there is an ACL question on the exam…. text deleted

    Note: Please do not post questions on what you understand to be actual questions on the exam.

  6. took test 9/22/2015, didn’t pass. It was totally different from when I took it 8/6/2015. The performance base is what messing me up (network stuff is where I’m weak). I thought I figure it out enough to retake it. All the performance base questions was new , I just didn’t have a clue

    • Sorry to hear you didn’t pass. I am hearing from people that the questions are different, but still testing the same content. In other words, they tell me that because they understand the content, they are able to identify the correct answers.

      CompTIA does stress the need for a good networking background. Because you recognize this as a week area, I’d suggest you build up your foundation of networking knowledge. You might want to consider pursuing the Network+ cert.

      Good luck.

  7. darril,
    if you buy the apple app, can you use it on the ipad and iphone

  8. Doesn’t the first part of rule 2 include rule 1? So why list both rule 1 at all in the answer? They’re identical.

    • > Doesn’t the first part of rule 2 include rule 1?
      Yes. However, the goal is to ensure the reader understands how to create the rule to meet each requirement.
      If someone is looking for the rule to meet requirement 1, they can see it in the table.
      If someone is looking for the rules to meet requirement 2, they can see them in the table.

      > So why list both rule 1 at all in the answer? They’re identical.
      For clarity.
      Notice that the first row is labeled Requirement 1 and the next two rows are labeled Requirement 2.
      If Requirement 1 was omitted, readers that didn’t get to Requirement 2 won’t have a solution.

      • (listen to me talking here…) BUT, why not just eliminate the 1st part (that is redundant) of Rule 2, and then allow port 443 going to IP 192.168.1.25?

  9. So does the implicit deny rule mean that everything is blocked *except* for the 3 ALLOW items you entered above? The ALLOW entries will still work?

  10. You’re correct Deaven. Thanks for pointing that out. I just fixed it.

  11. Requirement 2 states a destination IP of 192.168.1.25. However, the solution provided for Requirement 2 provides a destination IP of 192.168.1.10

Leave a Comment

CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide

Subscribe To Our Newsletter

Join our mailing list and get a free excerpt of the CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide.  This excerpt includes the introduction and Chapter 1. 

You have Successfully Subscribed!

Get Certified Get Ahead is a participant in the Amazon Services LLC Associates Program,
an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.

Copyright © 2015 Get Certified Get Ahead. All Rights Reserved.