D. Security groups can be used to control inbound and outbound traffic on an Amazon EC2 instance.
Security groups act as a virtual firewall for your EC2 instances, allowing you to control inbound and outbound traffic at the instance level. You can specify the inbound and outbound traffic rules by defining security group rules, which act as virtual firewall rules that filter traffic based on protocols, ports, and source/destination IP addresses.
Internet Gateways are used to enable communication between instances in your VPC and the internet. AWS Identity and Access Management (IAM) is used for managing user access and permissions to AWS resources. Network ACLs can be used to control traffic at the subnet level in your VPC.
The AWS service or feature that can be used to control inbound and outbound traffic on an Amazon EC2 instance is Security groups.
A security group acts as a virtual firewall that controls the inbound and outbound traffic for one or more EC2 instances. It allows you to define rules that permit or deny traffic based on IP protocol, port number, and source or destination IP address. You can create and configure security groups through the Amazon EC2 console, AWS CLI, or AWS SDKs.
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.
Pranava_GCP
1 year, 12 months agoMadbo
2 years, 2 months agoGuru4Cloud
2 years, 3 months ago