exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 176 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 176
Topic #: 1
[All AWS Certified Security - Specialty Questions]

Two Amazon EC2 instances in different subnets should be able to connect to each other but cannot. It has been confirmed that other hosts in the same subnets are able to communicate successfully, and that security groups have valid ALLOW rules in place to permit this traffic.
Which of the following troubleshooting steps should be performed?

  • A. Check inbound and outbound security groups, looking for DENY rules
  • B. Check inbound and outbound Network ACL rules, looking for DENY rules
  • C. Review the rejected packet reason codes in the VPC Flow Logs
  • D. Use AWS X-Ray to trace the end-to-end application flow
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PeppaPig
Highly Voted 3 years, 7 months ago
B is correct for sure. Always check NACL when traffics are across subnets
upvoted 27 times
...
sanc
Highly Voted 3 years, 7 months ago
my take is C, in question its mentioned that system in other subnet can communicate, so issue is not with nacl
upvoted 11 times
isley89
3 years, 7 months ago
it said "should be able to communicate.." read it carefully. my take is B
upvoted 1 times
...
Scunningham99
3 years ago
NO its B, the EC2 in the same subnets can talk to each other but separate cant
upvoted 1 times
...
Ghostbusters
3 years, 7 months ago
Even if other instances in the subnet-s can communicate, it can still be NACL. The NACL might have a DENY for the specific IP addresses of the affected instances
upvoted 4 times
...
Ghostbusters
3 years, 7 months ago
Even if other instances in the subnet-s can communicate, it can still be NACL. The NACL might have a DENY for the specific IP addresses of the affected instances
upvoted 11 times
...
...
Arad
Most Recent 11 months, 3 weeks ago
Selected Answer: B
Correct answer is B.
upvoted 1 times
...
Raphaello
1 year, 2 months ago
Selected Answer: B
B is the best answer here. As silly as it may sound, having instances in the same subnets can communicate does not rule out DENY rules or insufficient port config for these 2 specific instances causing the issue. Single IP rules can cause this. Don't think it is always subnet/range to subnet/range.
upvoted 2 times
...
Senthil_SPM
1 year, 7 months ago
Selected Answer: C
the catch here is that "other servers are able to connect" so this cannot be due to NACL (NACLs can apply for the whole VPC). A & D is a straight forward No. So, the answer should be C.
upvoted 2 times
...
Shenannigan
1 year, 8 months ago
Selected Answer: C
VPC Flowlogs to gain understanding of where it was blocked
upvoted 1 times
...
Anto1973
1 year, 8 months ago
Selected Answer: C
Easiest way is to check dropped packets, and for that you've got the Flowlogs: C
upvoted 1 times
...
addy_prepare
1 year, 8 months ago
Selected Answer: B
Pay attention on "It has been confirmed that other hosts in the SAME subnets". I think this is B.
upvoted 2 times
...
TECHNOWARRIOR
1 year, 10 months ago
The correct answer is C. Review the rejected packet reason codes in the VPC Flow Logs. VPC Flow Logs are a great way to troubleshoot network connectivity issues. They can be used to see which packets were sent and received, as well as the reason for any rejections. In this case, the troubleshooting steps should be: Check the inbound and outbound security groups, looking for DENY rules. If there are no DENY rules, then the security groups are not the issue. Check the inbound and outbound Network ACL rules, looking for DENY rules. If there are no DENY rules, then the Network ACLs are not the issue. Review the rejected packet reason codes in the VPC Flow Logs. This will show which packets were rejected and the reason for the rejection. This information can be used to determine the next steps in troubleshooting the issue.
upvoted 1 times
...
michele_scar
1 year, 11 months ago
Selected Answer: C
Depends on how read the questions: - host communicate between "same" subnet (so only in sub1 and only in sub2) it's B - host communicate cross "same" subnet (from sub1 to 2 and viceversa) it's C
upvoted 2 times
...
swolfgang
2 years, 1 month ago
there is a no information in vpcflowlog about reason.Vpc flow log so basic log type just src dest IPs and Ports,interface id and action.
upvoted 2 times
...
sapien45
2 years, 10 months ago
Selected Answer: B
I real world, I would use B then C right after that
upvoted 2 times
...
lotfi50
2 years, 11 months ago
Selected Answer: B
Correct Answer is B
upvoted 2 times
...
roger8978
3 years, 4 months ago
The other hosts on these subnets are talking to each other so the problem is not with SG & NACL. That leaves option C. VPC flow logs will tell what's causing the issue. D is irrelevant here
upvoted 1 times
...
TollaMS
3 years, 6 months ago
A cant be the answer so it is B Security group rules are implicit deny, which means all traffic is denied unless an inbound or outbound rule explicitly allows it. You can only add or remove "allow" rules—you can't add or remove "deny" rules, and there's no need to.
upvoted 1 times
...
skipbaylessfor3
3 years, 6 months ago
First of all why does the question say that security groups have valid ALLOW rules in place? Security groups don't have ALLOW or DENY rules. Question is worded wierdly imo. Anyways I guess its probably B or C.
upvoted 3 times
wahlbergusa
3 years, 6 months ago
Security Groups allow ONLY Allow rules. Outbound Rules for a security group by default allow all outbound traffic.
upvoted 2 times
...
...
kely
3 years, 7 months ago
B is correct. EC2 in diferent subnet
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago