nerdexam
Amazon

SCS-C02 · Question #62

While securing the connection between a company's VPC and its on-premises data center, a security engineer sent a ping command from an on-premises host (IP address 203.0.113.12) to an Amazon EC2…

The correct answer is D. In the VPC's NACL, allow outbound ICMP traffic. NACLs are stateless and do not track the state of a connection, while Security Groups are stateful and allow traffic based on the response to previous traffic. Default rule: NACLs have a default rule that denies all traffic, while Security Groups have a default rule that allows…

Submitted by joshua94· Mar 6, 2026Infrastructure Security

Question

While securing the connection between a company's VPC and its on-premises data center, a security engineer sent a ping command from an on-premises host (IP address 203.0.113.12) to an Amazon EC2 instance (IP address 172.31.16.139). The ping command did not return a response. The flow log in the VPC showed the following:

What action should be performed to allow the ping to work?

Exhibit

SCS-C02 question #62 exhibit

Options

  • AIn the security group of the EC2 instance, allow inbound ICMP traffic.
  • BIn the security group of the EC2 instance, allow outbound ICMP traffic.
  • CIn the VPC's NACL, allow inbound ICMP traffic.
  • DIn the VPC's NACL, allow outbound ICMP traffic.

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    15% (7)
  • C
    4% (2)
  • D
    74% (35)

Explanation

NACLs are stateless and do not track the state of a connection, while Security Groups are stateful and allow traffic based on the response to previous traffic. Default rule: NACLs have a default rule that denies all traffic, while Security Groups have a default rule that allows all traffic.

Topics

#VPC flow logs#NACL configuration#ICMP traffic#network troubleshooting

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice