AWS Certified SysOps Administrator – Associate (SOA-C03) — Question 5

A company's CloudOps engineer is troubleshooting communication between the components of an application. The company configured VPC flow logs to be published to Amazon CloudWatch Logs However, there are no logs in CloudWatch Logs.
What could be blocking the VPC flow logs from being published to CloudWatch Logs?

Answer options

Correct answer: A

Explanation

The correct answer is A because if the IAM policy does not include the logs:CreateLogGroup permission, the flow logs cannot create the necessary log group in CloudWatch, preventing logs from being published. Option B is incorrect as the CreateExportTask permission is not required for direct publishing of VPC flow logs to CloudWatch. Options C and D are also irrelevant to the publishing process of flow logs to CloudWatch.