Amazon Web Services AWS Certified Security - Specialty SCS-C02 Question # 56 Topic 6 Discussion

Amazon Web Services AWS Certified Security - Specialty SCS-C02 Question # 56 Topic 6 Discussion

SCS-C02 Exam Topic 6 Question 56 Discussion:
Question #: 56
Topic #: 6

A company is evaluating the use of AWS Systems Manager Session Manager to gam access to the company's Amazon EC2 instances. However, until the company implements the change, the company must protect the key file for the EC2 instances from read and write operations by any other users.

When a security administrator tries to connect to a critical EC2 Linux instance during an emergency, the security administrator receives the following error. "Error Unprotected private key file - Permissions for' ssh/my_private_key pern' are too open".

Which command should the security administrator use to modify the private key Me permissions to resolve this error?


A.

chmod 0040 ssh/my_private_key pern


B.

chmod 0400 ssh/my_private_key pern


C.

chmod 0004 ssh/my_private_key pern


D.

chmod 0777 ssh/my_private_key pern


Get Premium SCS-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.