A security team is investigating why an EC2 instance in a private subnet cannot reach a KMS key endpoint. They can ping internal resources but not the KMS service. The VPC uses only private subnets, and there is no route to the public internet. Which is the most likely fix?
Answer
Add a VPC endpoint for KMS (interface endpoint) and update the security group rules
Explanation
Without public internet egress, services like KMS must be reached via a VPC endpoint configured for private connectivity.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A workload in a VPC must send logs to an S3 bucket in another account. What is the most appropriate control to ensure only your workload can write those logs?
View question →
Read the scenario and choose the best security control.
View question →
A company wants to allow workloads to access multiple AWS services without long-term credentials. Which approach is the best fit?
View question →
When designing an intrusion detection strategy, which combination best supports monitoring for anomalous behavior across the AWS environment?
View question →
You need centralized visibility into security events across accounts. Which option best aligns with AWS Security Hub and a multi-account setup?
View question →
A team uses AWS Organizations and wants all member accounts to automatically comply with selected security standards. Which service capability most directly helps?
View question →