Which AWS service or feature is associated with a subnet in a VPC and is used to control inbound and outbound traffic?
Amazon Inspector
Network ACLs
AWS Shield
VPC Flow Logs
Explanations:
Amazon Inspector is a security assessment service that helps improve the security and compliance of applications deployed on AWS. It is not directly associated with controlling traffic in a VPC subnet.
Network ACLs (Access Control Lists) are a feature in AWS that allows you to control inbound and outbound traffic at the subnet level in a VPC. They provide a stateless layer of security, allowing or denying traffic based on rules defined by the user.
AWS Shield is a managed DDoS protection service designed to safeguard applications against distributed denial-of-service attacks. It does not control traffic at the subnet level in a VPC.
VPC Flow Logs is a feature that allows you to capture information about the IP traffic going to and from network interfaces in a VPC. While it provides insights into traffic patterns, it does not control traffic flow like Network ACLs do.