Bird
0
0

You attempt to SSH into your EC2 instance but the connection times out. Which of the following is the MOST probable reason?

medium📝 Debug Q6 of 15
AWS - EC2 Fundamentals
You attempt to SSH into your EC2 instance but the connection times out. Which of the following is the MOST probable reason?
AThe instance is running an unsupported operating system
BThe private key file has incorrect permissions
CThe username used is incorrect
DThe security group does not allow inbound SSH traffic on port 22
Step-by-Step Solution
Solution:
  1. Step 1: Analyze timeout causes

    A timeout usually indicates network connectivity issues, often due to firewall or security group rules.
  2. Step 2: Evaluate options

    Incorrect private key permissions or username cause authentication errors, not timeouts.
  3. Step 3: Unsupported OS does not cause timeout

    It would cause login failures, not network timeouts.
  4. Final Answer:

    Security group blocking inbound SSH on port 22 -> Option D
  5. Quick Check:

    Timeouts usually mean blocked network ports [OK]
Quick Trick: Timeout means port 22 likely blocked in security group [OK]
Common Mistakes:
MISTAKES
  • Confusing authentication errors with timeouts
  • Assuming OS incompatibility causes timeouts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes