ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 59 - NSE7_PBC-7.2 discussion

Report
Export

Refer to the exhibit.

What could be the reason that the administrator cannot access the EC2 instance?

A.
You must elevate the permissions to access the EC2 instance
Answers
A.
You must elevate the permissions to access the EC2 instance
B.
You must run the chmod 400 Staging-key.peracommand before accessing the instance.
Answers
B.
You must run the chmod 400 Staging-key.peracommand before accessing the instance.
C.
There is no . pem key created on in Amazon Web Services (AWS)
Answers
C.
There is no . pem key created on in Amazon Web Services (AWS)
D.
The directory location of the . pem file is incorrect.
Answers
D.
The directory location of the . pem file is incorrect.
Suggested answer: D

Explanation:

The reason the administrator cannot access the EC2 instance could be:

D) The directory location of the .pem file is incorrect.

SSH Key Location: When initiating an SSH connection to an AWS EC2 instance, you must specify the private key file (.pem file) location that corresponds to the public key used when the instance was launched. The error 'Warning: Identity file Staging-key.pem not accessible: No such file or directory' indicates that the SSH client cannot find the .pem file at the specified location.

Correct File Path: The administrator needs to ensure that the path to the Staging-key.pem file is correctly specified when running the SSH command. If the file is not in the current directory from which the command is executed, the full or relative path to the file must be provided.

asked 18/09/2024
Angela Rivalta
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first