ANS-C01 practice question 20 of 35
A company is using a NAT gateway to allow internet connectivity for private subnets in a VPC in the us-west-2 Region. After a security audit, the…
Full set: 291 questionsAfter removing the NAT gateway, the CloudWatch agent can communicate privately by using interface VPC endpoints.
1. Ensure VPC DNS hostnames/support are enabled so that endpoints are resolved (A).
2. Create interface endpoints com.amazonaws.us-west-2.logs and com.amazonaws.us-west-2.monitoring and attach a security group that allows inbound TCP 443 from the private-subnet CIDR ranges (D, C). No route-table updates are needed for interface endpoints.
B – Outbound rules on a new security group are not required; instances already initiate traffic. E – Service name com.amazonaws.region.cloudwatch does not exist; Logs and Monitoring endpoints are required. F – Interface endpoints do not require route-table association; routing is through the local subnet.
1. Amazon CloudWatch User Guide – “Interface VPC endpoints (AWS PrivateLink)” → Table 1: Required endpoints (logs, monitoring).
2. VPC User Guide – “Gateway and interface endpoints” → “Interface endpoint routing”.
3. VPC User Guide – “VPC DNS attributes enableDnsHostnames and enableDnsSupport” (2024-03-12).
4. AWS Security Blog, “Securing CloudWatch agent traffic with VPC interface endpoints”, 2022-08-18, steps 1-3.
Keep practicing
Take the free ANS-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ANS-C01 practice questions
- Question 1A company is planning to migrate to AWS and use multiple VPCs in multiple AWS Regions. A …
- Question 2A company wants to improve visibility into its AWS environment. The AWS environment consi…
- Question 3Your company runs an application for the US market in the us-east-1 AWS region. This appl…
- Question 4An IoT company sells hardware sensor modules that periodically send out temperature, humi…
- Question 5A company is deploying a non-web application on an AWS load balancer. All targets are ser…
- Question 6A company has created three VPCs: a production VPC, a nonproduction VPC, and a shared ser…
