A SysOps Administrator is configuring private connectivity between application servers in a consumer VPC and a third-party database service hosted in a provider VPC. The administrator creates an Interface VPC Endpoint (AWS PrivateLink) in the consumer VPC for the database service and enables the Private DNS option. However, the application servers in the private subnet are experiencing connection timeouts when attempting to reach the database service. Which combination of actions should the SysOps Administrator take to resolve this connectivity issue? (Select TWO.)
- Configure the security group attached to the Interface VPC Endpoint to allow inbound traffic on the database port from the security group of the application servers.Cevap
- Verify that both DNS resolution and DNS hostnames are enabled as attributes for the consumer VPC.Cevap
- CAdd a route to the private subnet's route table that targets the Interface VPC Endpoint ID (vpce-xxxxxx) for the destination CIDR of the database service.
- DAssociate the Interface VPC Endpoint with the route table of the private subnet containing the application servers.
- EConfigure the application servers to route database traffic through a NAT Gateway to access the PrivateLink service.
Cevap
Configure the security group attached to the Interface VPC Endpoint to allow inbound traffic on the database port from the security group of the application servers, and verify that both DNS resolution and DNS hostnames are enabled as attributes for the consumer VPC.
The correct options target the two mandatory components of configuring an Interface VPC Endpoint: opening the security group of the endpoint's network interface to permit inbound connections from the client instances, and enabling DNS hostnames and DNS support in the consumer VPC attributes so that Private DNS can resolve to the endpoint's private IP addresses.
Adım Adım Çözüm
Anahtar Kavram
Interface VPC Endpoints utilize Elastic Network Interfaces (ENIs) inside the customer's subnets and rely on VPC DNS resolution settings and security group rules rather than route table modifications to steer and authorize traffic.