Bird
0
0

You have an EC2 instance running Amazon Linux and another running Ubuntu. Which usernames should you use to connect via SSH respectively?

hard📝 Application Q15 of 15
AWS - EC2 Fundamentals
You have an EC2 instance running Amazon Linux and another running Ubuntu. Which usernames should you use to connect via SSH respectively?
Aec2-user for Amazon Linux, ubuntu for Ubuntu
Broot for Amazon Linux, admin for Ubuntu
Cadmin for Amazon Linux, ec2-user for Ubuntu
Dubuntu for Amazon Linux, ec2-user for Ubuntu
Step-by-Step Solution
Solution:
  1. Step 1: Identify default SSH usernames per OS

    Amazon Linux uses ec2-user and Ubuntu uses ubuntu as default SSH usernames.
  2. Step 2: Match usernames to instances

    Use ec2-user for Amazon Linux and ubuntu for Ubuntu instances.
  3. Final Answer:

    ec2-user for Amazon Linux, ubuntu for Ubuntu -> Option A
  4. Quick Check:

    Amazon Linux = ec2-user, Ubuntu = ubuntu [OK]
Quick Trick: Match username to OS: ec2-user for Amazon Linux [OK]
Common Mistakes:
  • Using root or admin instead of default usernames
  • Mixing usernames between OS types
  • Assuming username is always 'admin'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes