DVA-C02 · Question #536
A developer is building a three-tier application with an Application Load Balancer (ALB), Amazon EC2 instances, and Amazon RDS. There is an alias record in Amazon Route 53 that points to the ALB. When
The correct answer is A. VPC Flow Logs. VPC Flow Logs capture information about IP traffic going to and from network interfaces in a VPC, allowing verification that requests are reaching the AWS network layer.
Question
A developer is building a three-tier application with an Application Load Balancer (ALB), Amazon EC2 instances, and Amazon RDS. There is an alias record in Amazon Route 53 that points to the ALB. When the developer tries to access the ALB from a laptop, the request times out. Which logs should the developer investigate to verify that the request is reaching the AWS network?
Options
- AVPC Flow Logs
- BAmazon Route 53 logs
- CAWS Systems Manager Agent logs
- DAmazon CloudWatch agent logs
How the community answered
(29 responses)- A72% (21)
- B7% (2)
- C17% (5)
- D3% (1)
Why each option
VPC Flow Logs capture information about IP traffic going to and from network interfaces in a VPC, allowing verification that requests are reaching the AWS network layer.
VPC Flow Logs record accepted and rejected traffic at the network interface level within the VPC, including traffic directed at the ALB. By inspecting these logs, a developer can determine whether the timed-out request ever entered the AWS network, identify if a security group or network ACL is blocking traffic, and pinpoint the exact network hop where the failure occurs.
Route 53 query logs record DNS resolution requests and responses but do not capture whether subsequent TCP/HTTP traffic reaches the ALB or AWS network.
AWS Systems Manager Agent logs relate to SSM agent operations on EC2 instances and do not capture inbound network traffic to the load balancer.
CloudWatch agent logs collect OS-level and application metrics from EC2 instances but do not capture network-level traffic flow between the client and the ALB.
Concept tested: VPC Flow Logs for network traffic troubleshooting
Source: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html
Community Discussion
No community discussion yet for this question.