Topic 1 Question 61
2 つ選択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?
Stop the instance. Detach the root volume. Generate a new key pair.
Keep the instance running. Detach the root volume. Generate a new key pair.
When the volume is detached from the original instance, attach the volume 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. Start the instance.
When the volume is detached from the original instance, attach the volume to another instance as a data volume. Modify the authorized_keys file with a new private key. Move the volume back to the original instance. Start the instance.
When the volume is detached from the original instance, attach the volume 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 that is running.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: AC👍 10100fold2024/04/18
- 正解だと思う選択肢: AC
AC are the correct answers. There are other ways to add/replace pub key into "authorized_keys" file without stopping the instance, but within the context of this scenario, AC are good.
Remember, "authorized_keys" file resides on the root volume. You cannot keep the instance running without the root volume.
👍 3Raphaello2024/08/20 Answer AC
👍 2352ae9a2024/05/28
シャッフルモード