Bird
0
0

You want to restrict outbound traffic from an EC2 instance assigned to the default security group. What must you do?

hard📝 Application Q15 of 15
AWS - Security Groups and Network ACLs
You want to restrict outbound traffic from an EC2 instance assigned to the default security group. What must you do?
AModify the default security group outbound rules to restrict traffic.
BOutbound traffic cannot be restricted for instances in the default security group.
CDelete the default security group and create a custom one with restrictions.
DCreate a new security group with restricted outbound rules and assign it to the instance.
Step-by-Step Solution
Solution:
  1. Step 1: Understand default security group modification limits

    You can modify rules but cannot delete the default security group; modifying outbound rules is possible but affects all instances assigned.
  2. Step 2: Best practice for restricting outbound traffic

    Creating a new security group with specific outbound restrictions and assigning it to the instance is the recommended approach.
  3. Final Answer:

    Create a new security group with restricted outbound rules and assign it to the instance. -> Option D
  4. Quick Check:

    Use new security group to restrict outbound traffic = B [OK]
Quick Trick: Use a new security group to restrict outbound traffic [OK]
Common Mistakes:
MISTAKES
  • Trying to delete the default security group
  • Modifying default group outbound rules affecting all instances
  • Assuming outbound restrictions are impossible

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes