AWS - Security Groups and Network ACLsA NACL has inbound ALLOW rule for TCP port 22 and outbound DENY rule for all traffic. What is the effect on SSH sessions?ASSH connections fail because outbound traffic is denied.BSSH connections succeed because inbound is allowed.CSSH connections succeed if security groups allow outbound.DSSH connections fail because inbound rule is DENY.Check Answer
Step-by-Step SolutionSolution:Step 1: Analyze inbound ruleInbound TCP port 22 is allowed, so initial SSH requests can reach the instance.Step 2: Analyze outbound ruleOutbound DENY all blocks return SSH traffic, breaking the session.Final Answer:SSH connections fail because outbound traffic is denied. -> Option AQuick Check:Outbound DENY blocks return traffic = SSH fails [OK]Quick Trick: Outbound DENY blocks return traffic, breaking sessions [OK]Common Mistakes:Ignoring outbound DENY effectAssuming inbound ALLOW is enoughConfusing security group with NACL rules
Master "Security Groups and Network ACLs" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - Resource tagging for cost tracking - Quiz 8hard AWS CLI - CLI output formats (json, table, text) - Quiz 13medium EC2 Fundamentals - Launching an EC2 instance - Quiz 11easy Identity and Access Management - IAM users and groups - Quiz 13medium Identity and Access Management - IAM policies (JSON structure) - Quiz 2easy Identity and Access Management - IAM users and groups - Quiz 6medium S3 Fundamentals - S3 storage classes (Standard, IA, Glacier) - Quiz 10hard Security Groups and Network ACLs - Security groups vs NACLs decision - Quiz 6medium VPC Fundamentals - VPC peering concept - Quiz 15hard VPC Fundamentals - Route tables configuration - Quiz 5medium