AWS Certified SysOps Administrator – Associate (legacy) — Question 311

A user is trying to connect to a running EC2 instance using SSH. However, the user gets a Host key not found error. Which of the below mentioned options is a possible reason for rejection?

Answer options

Correct answer: A

Explanation

Providing an incorrect OS username during an SSH attempt to an EC2 instance typically results in authentication failure errors. Incorrect security group configurations would cause a connection timeout rather than an authentication rejection, while AWS access keys are used for API/CLI access rather than direct SSH OS login.