ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 409 - SCS-C01 discussion

Report
Export

You have an EC2 instance with the following security configured: a. ICMP inbound allowed on Security Group b. ICMP outbound not configured on Security Group c. ICMP inbound allowed on Network ACL d. ICMP outbound denied on Network ACL If Flow logs is enabled for the instance, which of the following flow records will be recorded? Choose 3 answers from the options give below Please select:

A.
An ACCEPT record for the request based on the Security Group
Answers
A.
An ACCEPT record for the request based on the Security Group
B.
An ACCEPT record for the request based on the NACL
Answers
B.
An ACCEPT record for the request based on the NACL
C.
A REJECT record for the response based on the Security Group
Answers
C.
A REJECT record for the response based on the Security Group
D.
A REJECT record for the response based on the NACL
Answers
D.
A REJECT record for the response based on the NACL
Suggested answer: A, B, D

Explanation:

This example is given in the AWS documentation as well

For example, you use the ping command from your home computer (IP address is 203.0.113.12) to your instance (the network interface's private IP address is 172.31.16.139). Your security group's inbound rules allow ICMP traffic and the outbound rules do not allow ICMP traffic however, because security groups are stateful, the response ping from your instance is allowed. Your network ACL permits inbound ICMP traffic but does not permit outbound ICMP traffic. Because network ACLs are stateless, the response ping is dropped and will not reach your home computer. In a flow log, this is displayed as 2 flow log records:

An ACCEPT record for the originating ping that was allowed by both the network ACL and the security group, and therefore was allowed to reach your instance. A REJECT record for the response ping that the network ACL denied.

Option C is invalid because the REJECT record would not be present For more information on Flow Logs, please refer to the below URL: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-loes.html The correct answers are: An ACCEPT record for the request based on the Security Group, An ACCEPT record for the request based on the NACL, A REJECT record for the response based on the NACL Submit your Feedback/Queries to our Experts

asked 16/09/2024
Andrej Mišura
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first