Which of the following are likely to be the cause of this problem?
(Choose two.)
A custom of third-party solution for logs is being used.
The IAM role attached to the EC2 instance does not have the proper permissions.
The CloudWatch agent does not support the operating system used.
A billing constraint is limiting the number of CloudWatch Logs within this account.
The EC2 instance is in a private subnet, and the VPC does not have a NAT gateway.
Explanations:
A third-party solution could interfere with CloudWatch Logs, but this is not the most common cause of the issue.
The IAM role attached to the EC2 instance must have appropriate permissions to send logs to CloudWatch Logs. If the permissions are incorrect or missing, logs won’t be delivered.
The CloudWatch agent supports a wide range of operating systems, including Linux and Windows, so this is unlikely to be the cause of the issue.
CloudWatch Logs does not have typical billing constraints like this, and there are no known limits that would prevent logs from being received due to billing issues.
If the EC2 instance is in a private subnet without a NAT gateway or internet access, it may not be able to send data to CloudWatch Logs, as the agent needs internet connectivity to transmit logs.