ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 8 - NSE7_PBC-7.2 discussion

Report
Export

You must allow an SSH traffic rule in an Amazon Web Services (AWS) network access list (NACL) to allow SSH traffic to travel to a subnet for temporary testing purposes. When you review the current inbound network ACL rules, you notice that rule number 5 demes SSH and telnet traffic to the subnet

What can you do to allow SSH traffic?

A.
You must create a new allow SSH rule below rule number 5
Answers
A.
You must create a new allow SSH rule below rule number 5
B.
You must create a new allow SSH rule above rule number 5-
Answers
B.
You must create a new allow SSH rule above rule number 5-
C.
You must create a new allow SSH rule anywhere in the network ACL rule base to allow SSH traffic.
Answers
C.
You must create a new allow SSH rule anywhere in the network ACL rule base to allow SSH traffic.
D.
You do not have to create any NACL rules because the default security group rule automatically allows SSH traffic to the subnet.
Answers
D.
You do not have to create any NACL rules because the default security group rule automatically allows SSH traffic to the subnet.
Suggested answer: B

Explanation:

Network ACLs are stateless, and they evaluate each packet separately based on the rules that you define.The rules are processed in order, starting with the lowest numbered rule1.If the traffic matches a rule, the rule is applied and no further rules are evaluated1. Therefore, if you want to allow SSH traffic to a subnet, you must create a new allow SSH rule above rule number 5, which denies SSH and telnet traffic. Otherwise, the deny rule will take precedence and block the SSH traffic.

The other options are incorrect because:

Creating a new allow SSH rule below rule number 5 will not allow SSH traffic, because the deny rule will be evaluated first and block the traffic.

Creating a new allow SSH rule anywhere in the network ACL rule base will not guarantee that SSH traffic will be allowed, because it depends on the order of the rules. If the allow SSH rule is below the deny rule, it will not be effective.

You cannot rely on the default security group rule to allow SSH traffic to the subnet, because network ACLs act as an additional layer of security for your VPC. Even if your security group allows SSH traffic, your network ACL must also allow it. Otherwise, the traffic will be blocked at the subnet level.

asked 18/09/2024
Riaan Cilliers
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first