ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 571 - SCS-C01 discussion

Report
Export

A company has a large fleet of Linux Amazon EC2 instances and Windows EC2 instances that run in private subnets. The company wants all remote administration to be performed as securely as possible in the AWS Cloud.

Which solution will meet these requirements?

A.
Do not use SSH-RSA private keys during the launch of new instances. Implement AWS Systems Manager Session Manager.
Answers
A.
Do not use SSH-RSA private keys during the launch of new instances. Implement AWS Systems Manager Session Manager.
B.
Generate new SSH-RSA private keys for existing instances. Implement AWS Systems Manager Session Manager.
Answers
B.
Generate new SSH-RSA private keys for existing instances. Implement AWS Systems Manager Session Manager.
C.
Do not use SSH-RSA private keys during the launch of new instances. Configure EC2 Instance Connect.
Answers
C.
Do not use SSH-RSA private keys during the launch of new instances. Configure EC2 Instance Connect.
D.
Generate new SSH-RSA private keys for existing instances. Configure EC2 Instance Connect.
Answers
D.
Generate new SSH-RSA private keys for existing instances. Configure EC2 Instance Connect.
Suggested answer: A

Explanation:

AWS Systems Manager Session Manager is a fully managed service that allows you to securely and remotely administer your EC2 instances without the need to open inbound ports, maintain bastion hosts, or manage SSH keys. Session Manager provides an interactive browser-based shell or CLI access to your instances, as well as port forwarding and auditing capabilities. Session Manager works with both Linux and Windows instances, and supports hybrid environments and edge devices.

EC2 Instance Connect is a feature that allows you to use SSH to connect to your Linux instances using short-lived keys that are generated on demand and delivered securely through the AWS metadata service. EC2 Instance Connect does not require any additional software installation or configuration on the instance, but it does require you to use SSH-RSA keys during the launch of new instances.

The correct answer is to use Session Manager, as it provides more security and flexibility than EC2 Instance Connect, and does not require SSH-RSA keys or inbound ports. Session Manager also works with Windows instances, while EC2 Instance Connect does not.

Verified

Reference:

https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html

https://repost.aws/questions/QUnV4R9EoeSdW0GT3cKBUR7w/what-is-the-difference-between-ec-2-instance-connect-and-session-manager-ssh-connections

asked 16/09/2024
jonathan siu
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first