
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has hundreds of Amazon EC2 Linux-based instances in the AWS Cloud. Systems administrators have used shared SSH keys to manage the instances. After a recent audit, the company's security team is mandating the removal of all shared keys. A solutions architect must design a solution that provides secure access to the EC2 instances.
Which solution will meet this requirement with the LEAST amount of administrative overhead?
A
Use AWS Systems Manager Session Manager to connect to the EC2 instances.
B
Use AWS Security Token Service (AWS STS) to generate one-time SSH keys on demand.
C
Allow shared SSH access to a set of bastion instances. Configure all other instances to allow only SSH access from the bastion instances.
D
Use an Amazon Cognito custom authorizer to authenticate users. Invoke an AWS Lambda function to generate a temporary SSH key.
Explanation:
Correct Answer: A - Use AWS Systems Manager Session Manager to connect to the EC2 instances.
Why this is the correct answer:
Eliminates SSH keys entirely: AWS Systems Manager Session Manager provides a secure way to connect to EC2 instances without using SSH keys. It uses AWS Identity and Access Management (IAM) for authentication and authorization, completely eliminating the need for SSH key management.
Least administrative overhead: Session Manager requires minimal setup:
Security benefits:
Why other options are incorrect:
B. Use AWS Security Token Service (AWS STS) to generate one-time SSH keys on demand.
C. Allow shared SSH access to a set of bastion instances. Configure all other instances to allow only SSH access from the bastion instances.
D. Use an Amazon Cognito custom authorizer to authenticate users. Invoke an AWS Lambda function to generate a temporary SSH key.
Key AWS Services Used:
This solution aligns with AWS best practices for secure instance management while minimizing administrative overhead.