0
0
AWScloud~20 mins

Default security group behavior in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Default Security Group Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Default Security Group Inbound Rules

What is the default behavior of the inbound rules in a newly created AWS default security group?

ABlocks all inbound traffic by default.
BAllows all inbound traffic from any IP address.
CAllows inbound traffic only on port 22 (SSH) from any IP.
DAllows inbound traffic only from instances associated with the same security group.
Attempts:
2 left
💡 Hint

Think about how AWS isolates instances by default within the same security group.

service_behavior
intermediate
2:00remaining
Default Security Group Outbound Rules

What is the default behavior of the outbound rules in a newly created AWS default security group?

AAllows all outbound traffic to any destination.
BAllows outbound traffic only to instances in the same security group.
CAllows outbound traffic only on port 80 (HTTP) to any IP.
DBlocks all outbound traffic by default.
Attempts:
2 left
💡 Hint

Consider how AWS enables instances to reach outside resources by default.

Architecture
advanced
2:30remaining
Impact of Removing Default Security Group Rules

If you remove all inbound and outbound rules from the AWS default security group, what will be the effect on instances associated with it?

AInstances will still have full internet access but no internal communication.
BInstances will be able to communicate with each other but not access the internet.
CInstances will be isolated and cannot send or receive any traffic.
DInstances will only be able to receive inbound traffic but not send outbound traffic.
Attempts:
2 left
💡 Hint

Think about what happens when no rules allow traffic in or out.

security
advanced
2:30remaining
Security Risks of Using Default Security Group

Which of the following is a potential security risk when using the AWS default security group without modification?

AIt allows unrestricted outbound traffic which could lead to data exfiltration.
BIt allows inbound traffic from any IP address on all ports.
CIt blocks all inbound traffic, causing service downtime.
DIt restricts communication between instances in the same group.
Attempts:
2 left
💡 Hint

Consider what unrestricted outbound traffic means for security.

Best Practice
expert
3:00remaining
Best Practice for Managing Default Security Group

What is the best practice regarding the AWS default security group in a production environment?

AUse the default security group as is for all instances to simplify management.
BCreate custom security groups with specific rules and avoid using the default group for critical workloads.
CDelete the default security group to prevent accidental use.
DModify the default security group to allow all inbound traffic for easier access.
Attempts:
2 left
💡 Hint

Think about security and control in production environments.