
Explanation:
To publish VPC Flow Logs to CloudWatch Logs, the IAM role assigned to the flow log must have sufficient permissions. Specifically, it needs logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents. If the Log Group does not already exist and the role lacks logs:CreateLogGroup, the flow log will fail to start publishing.
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.
E
VPC Flow Logs cannot be sent to CloudWatch Logs.
F
The CloudWatch Logs agent is not installed on the VPC.
No comments yet.