Exams / SOA-C03 / Systems Manager for fleet operations / Question 2
SOA-C03 practice question: Systems Manager for fleet operations (2 of 3)
Deployment, Provisioning, and Automation A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A regional bank wants to remove its SSH bastion hosts. Its EC2 instances run in private subnets with no NAT gateway, and their security groups must not allow any inbound traffic. Engineers must still get interactive shell access, with each session logged to Amazon S3. The SSM Agent is already installed on the instances. Which TWO actions should a CloudOps engineer take? (Choose two.)
Choose two answers.
- AA. Create interface VPC endpoints for ssm, ssmmessages and ec2messages in the VPC, with private DNS turned on.
- BB. Allow inbound TCP port 443 from the VPC's CIDR range in the instances' security groups so that Session Manager can connect.
- CC. Create an EC2 Instance Connect Endpoint in the private subnets and allow SSH from it in the instances' security groups.
- DD. Attach an instance profile whose role includes the AmazonSSMManagedInstanceCore managed policy.
- EE. Create a gateway VPC endpoint for Systems Manager and add it to the private subnets' route tables.
Show the answer and explanation
Answers: A, D
Explanation
Session Manager gives shell access with no open inbound ports, because the SSM Agent connects out to the service. The instance needs a role with AmazonSSMManagedInstanceCore and, without internet access, interface endpoints for the Systems Manager services. Session logging to S3 is then configured in Session Manager preferences, which also uses an S3 endpoint in a private VPC.
Study
Keep practicing
Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.