nerdexam
AmazonAmazon

SCS-C02 · Question #60

SCS-C02 Question #60: Real Exam Question with Answer & Explanation

The correct answer is A: Stop the instance. Detach the root volume. Generate a new key pair.. If you lose the private key for an EBS-backed instance, you can regain access to your instance. You must stop the instance, detach its root volume and attach it to another instance as a data volume, modify the authorized_keys file with a new public key, move the volume back to th

Submitted by joshua94· Mar 6, 2026

Question

A company accidentally deleted the private key for an Amazon Elastic Block Store (Amazon EBS)-backed Amazon EC2 instance. A security engineer needs to regain access to the instance. Which combination of steps will meet this requirement? (Choose two.)

Options

  • AStop the instance. Detach the root volume. Generate a new key pair.
  • BKeep the instance running. Detach the root volume. Generate a new key pair.
  • CWhen the volume is detached from the original instance, attach the volume to another instance as
  • DWhen the volume is detached from the original instance, attach the volume to another instance as
  • EWhen the volume is detached from the original instance, attach the volume to another instance as

Explanation

If you lose the private key for an EBS-backed instance, you can regain access to your instance. You must stop the instance, detach its root volume and attach it to another instance as a data volume, modify the authorized_keys file with a new public key, move the volume back to the original instance, and restart the instance. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.h tml#replacing-lost-key-pai

Community Discussion

No community discussion yet for this question.

Full SCS-C02 PracticeBrowse All SCS-C02 Questions