Question 40
Operations staff SSH directly to EC2 instances through inbound port 22 and distribute long-lived private keys, though the instances have Systems Manager connectivity. Which AWS security design change MOST directly meets the stated requirement?
Explanation
Correct Answer
The controlling requirement in this scenario is: Operations staff SSH directly to EC2 instances through inbound port 22 and distribute long-lived private keys, though the instances have Systems Manager connectivity. The technically appropriate control is: Use Systems Manager Session Manager with least-privileged session access, appropriate endpoints and audit logging to avoid open inbound SSH. This choice addresses the actual mechanism: Distributing persistent SSH credentials and opening inbound administrative ports expands access and key-management exposure. Verify implementation by observing: A permitted operator connects without a public inbound SSH rule and produces approved session metadata under the access policy.
Incorrect Answers
Host-level security checks do not establish the vulnerability state of every inherited container-image dependency. The problem described here is that distributing persistent SSH credentials and opening inbound administrative ports expands access and key-management exposure.
Attaching VPCs to the same transit gateway does not automatically enforce the intended isolation boundaries. The problem described here is that distributing persistent SSH credentials and opening inbound administrative ports expands access and key-management exposure.
A calendar reminder alone does not enforce the approved update baseline or prove which instances were patched. The problem described here is that distributing persistent SSH credentials and opening inbound administrative ports expands access and key-management exposure.