
Answer-first summary for fast verification
Answer: The IAM policy that is attached to the IAM role for the flow log is missing the logs:CreateLogGroup permission.
When publishing VPC flow logs to Amazon CloudWatch Logs, the IAM role associated with the flow log must have permissions to publish data to the specified log group. If the log group doesn't exist, it needs the `logs:CreateLogGroup` permission to create it, along with `logs:CreateLogStream` and `logs:PutLogEvents`.
Author: Ritesh Yadav
Ultimate access to all questions.
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?
A
The IAM policy that is attached to the IAM role for the flow log is missing the logs:CreateLogGroup permission.
B
The IAM policy that is attached to the IAM role for the flow log is missing the logs:CreateExportTask permission.
C
The VPC is configured for IPv6 addresses.
D
The VPC is peered with another VPC in the AWS account.
No comments yet.