Medium1 markMultiple Choice
Domain 3.1: Operational ExcellenceOperational ExcellenceSystems ManagerSecurity

AWS SAP-C02 · Question 47 · Domain 3.1: Operational Excellence

During a major incident, the operations team needs to securely execute a series of diagnostic scripts on EC2 instances without opening inbound SSH ports or managing bastion hosts. How should they achieve this?

Answer options:

A.

Use EC2 Instance Connect with temporary SSH keys.

B.

Use AWS Systems Manager Session Manager to connect to the instances.

C.

Deploy a VPN and connect via SSH.

D.

Use AWS CloudShell to SSH into the instances.

How to approach this question

Identify the service that provides shell access via the SSM agent (outbound only).

Full Answer

B.Use AWS Systems Manager Session Manager to connect to the instances.✓ Correct
Use AWS Systems Manager Session Manager to connect to the instances.
AWS Systems Manager Session Manager allows secure, interactive shell access to EC2 instances. It uses the SSM agent, which makes outbound connections to AWS, eliminating the need for inbound open ports.

Common mistakes

Choosing EC2 Instance Connect, which still relies on port 22 being open.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam