0
0
AWScloud~5 mins

Inbound and outbound rules in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are inbound rules in AWS security groups?
Inbound rules control the incoming traffic allowed to reach your resources, like servers or databases.
Click to reveal answer
beginner
What do outbound rules in AWS security groups do?
Outbound rules control the outgoing traffic that your resources can send out to the internet or other resources.
Click to reveal answer
intermediate
Why is it important to configure both inbound and outbound rules?
Configuring both ensures your resources only accept and send traffic you want, improving security and controlling access.
Click to reveal answer
beginner
If you want to allow web traffic to a server, which inbound rule would you add?
Add an inbound rule allowing TCP traffic on port 80 (HTTP) or 443 (HTTPS) from the internet or trusted sources.
Click to reveal answer
intermediate
What happens if you do not set any outbound rules in a security group?
By default, all outbound traffic is allowed, so your resources can send data out to the internet or other resources.
Click to reveal answer
What does an inbound rule in an AWS security group control?
AOutgoing traffic from your resource
BIncoming traffic to your resource
CTraffic between AWS regions
DTraffic inside your local computer
Which port is commonly opened in inbound rules to allow web traffic?
A80
B22
C3306
D25
What is the default behavior of outbound rules in a new AWS security group?
AOnly HTTP traffic is allowed outbound
BNo outbound traffic is allowed
COnly SSH traffic is allowed outbound
DAll outbound traffic is allowed
If you want your server to send emails, which rule should you configure?
AInbound rule for port 25
BInbound rule for port 443
COutbound rule for port 25
DOutbound rule for port 80
Why should you limit inbound rules to specific IP addresses?
ATo improve security by restricting access
BTo increase server storage
CTo allow all users to connect
DTo reduce internet speed
Explain the difference between inbound and outbound rules in AWS security groups.
Think about traffic coming to and leaving your server.
You got /3 concepts.
    Describe a scenario where you would modify inbound and outbound rules for a web server.
    Consider what traffic a web server needs to receive and send.
    You got /3 concepts.