Question 1
Topic: Domain 1: Deploy Applications to the Cloud
Skill tested: Selects an ECS access design that avoids exposing administrative ports publicly.
A company runs a customer-facing service on an ECS instance in a VPC. Administrators currently connect to the instance through SSH, but its public IP and open SSH port violate a new security policy. The application must remain reachable by customers, while administrators need occasional remote access. The team can deploy additional Alibaba Cloud components but wants to avoid assigning a public IP to the ECS instance. Which approach best meets these requirements?
A bastion host provides a controlled administrative entry point to private ECS instances, allowing the application instance to remain without a public IP and avoiding direct public SSH exposure. The customer-facing service can be exposed separately through the appropriate application network path. Restricting SSH to an office CIDR still leaves the instance publicly addressed, contrary to the stated policy. Allowing SSH from 0.0.0.0/0 is less secure, and an ECS image packages a system state rather than providing remote access.