AWS - VPC FundamentalsYou want to host a web server accessible from the internet and a database only accessible internally. How should you design your subnets?APlace both web server and database in private subnets and use a VPN for access.BPlace both web server and database in a public subnet with security groups restricting access.CPlace the web server in a private subnet and the database in a public subnet.DPlace the web server in a public subnet and the database in a private subnet.Check Answer
Step-by-Step SolutionSolution:Step 1: Identify subnet roles for internet accessThe web server needs internet access, so it belongs in a public subnet with a route to the internet gateway.Step 2: Secure the database internallyThe database should be in a private subnet without direct internet access to keep it secure.Final Answer:Place the web server in a public subnet and the database in a private subnet. -> Option DQuick Check:Internet-facing resources in public, internal in private [OK]Quick Trick: Web server public, database private subnet [OK]Common Mistakes:Putting database in public subnetPutting web server in private subnetRelying only on security groups without subnet design
Master "VPC Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - AWS Cost Explorer basics - Quiz 1easy AWS CLI - Installing AWS CLI - Quiz 4medium AWS CLI - CLI output formats (json, table, text) - Quiz 10hard Cloud Computing Fundamentals - What is cloud computing - Quiz 15hard Cloud Computing Fundamentals - AWS free tier overview - Quiz 2easy Cloud Computing Fundamentals - AWS global infrastructure (regions, AZs) - Quiz 5medium Cloud Computing Fundamentals - What is cloud computing - Quiz 13medium S3 Fundamentals - Why S3 matters for object storage - Quiz 15hard Security Groups and Network ACLs - Security groups vs NACLs decision - Quiz 3easy Security Groups and Network ACLs - Network ACLs overview - Quiz 4medium