ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

115 / 310

Question 115:

You’ve accidentally deleted the private key for an EBS-backed Amazon Linux EC2 instance. You want to regain access to your instance. What steps must you perform to resolve this issue (Select TWO)?

Answer options:

A.Generate new key pair.
B.Attach root volume to another instance. Update the authorized_keys file on the mounted volume with the new public key.
C.Use curl http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key command to retrieve the EC2 key.
D.Open the Amazon EC2 console. Under NETWORK & SECURITY, choose Key Pairs. Choose Import Key Pair to perform the import key action.
E.Open the Amazon EC2 console. Select the instance, choose Actions, select Instance State, and then choose Recovery Mode.