Bird
0
0

You deployed a multi-tier app but the application tier in the private subnet cannot connect to the database tier. What is the most likely cause?

medium📝 Debug Q14 of 15
AWS - Architecture Best Practices
You deployed a multi-tier app but the application tier in the private subnet cannot connect to the database tier. What is the most likely cause?
AThe load balancer is not configured
BThe web tier is in a public subnet
CThe application tier has a public IP address
DThe database security group does not allow inbound traffic from the application tier
Step-by-Step Solution
Solution:
  1. Step 1: Analyze connectivity between application and database tiers

    Application tier must be allowed by database security group to connect on required ports.
  2. Step 2: Check common misconfigurations

    If security group blocks inbound traffic, connection fails despite correct subnet placement.
  3. Final Answer:

    The database security group does not allow inbound traffic from the application tier -> Option D
  4. Quick Check:

    Security group rules control traffic between tiers [OK]
Quick Trick: Check security group rules for inter-tier traffic [OK]
Common Mistakes:
  • Blaming web tier subnet for app-db connection
  • Assuming public IP needed for private subnet
  • Ignoring security group inbound rules

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes