CloudWatch agents in isolated subnets time out when sending logs; their configurations and IAM permissions are valid, and VPC DNS support and DNS hostnames are enabled. With internet egress prohibited and no existing endpoints, which changes establish private connectivity to CloudWatch Logs? (Choose two.)
Choose 2 answers
Show the answer
Correct answersB. Allow inbound TCP 443 from the instances on the endpoint security group.C. Create a CloudWatch Logs interface VPC endpoint with private DNS enabled.
AWhy not this: Agents initiate the connections; stateful security groups permit response traffic without an instance inbound rule.
BWhy this is right: Agents initiate HTTPS connections, so the endpoint security group must accept their traffic on TCP 443.
CWhy this is right: The Logs interface endpoint supplies private connectivity, and private DNS directs standard service names to it.
DWhy not this: The monitoring endpoint serves metrics APIs rather than the CloudWatch Logs ingestion APIs.
A CloudWatch Logs interface endpoint with private DNS provides the private destination, and its security group must accept HTTPS from the agents. The monitoring endpoint serves CloudWatch metrics APIs, not CloudWatch Logs.