
Answer-first summary for fast verification
Answer: Generate a public SSH key from a private SSH key. Then, import the key into each of your AWS Regions
Overall explanation Correct option: Generate a public SSH key from a private SSH key. Then, import the key into each of your AWS Regions Here is the correct way of reusing SSH keys in your AWS Regions: Generate a public SSH key (.pub) file from the private SSH key (.pem) file. Set the AWS Region you wish to import to. Import the public SSH key into the new Region. Incorrect options: It is not possible to reuse SSH key pairs across AWS Regions - As explained above, it is possible to reuse with manual import. Store the public and private SSH key pair in AWS Trusted Advisor and access it across AWS Regions - AWS Trusted Advisor is an application that draws upon best practices learned from AWS' aggregated operational history of serving hundreds of thousands of AWS customers. Trusted Advisor inspects your AWS environment and makes recommendations for saving money, improving system performance, or closing security gaps. It does not store key pair credentials. Encrypt the private SSH key and store it in the S3 bucket to be accessed from any AWS Region - Storing private key to Amazon S3 is possible. But, this will not make the key accessible for all AWS Regions, as is the need in the current use case.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company hosts its main application on a group of Amazon EC2 instances. After losing a few private keys from their SSH key pairs, the company has decided to reassign their existing SSH key pairs to different instances across various AWS Regions.
As a Developer Associate, what would you recommend to resolve this situation?
A
It is not possible to reuse SSH key pairs across AWS Regions
B
Encrypt the private SSH key and store it in the S3 bucket to be accessed from any AWS Region
C
Generate a public SSH key from a private SSH key. Then, import the key into each of your AWS Regions
D
Store the public and private SSH key pair in AWS Trusted Advisor and access it across AWS Regions
No comments yet.