AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 26
A company wants to improve visibility into its AWS environment. The AWS environment consists of multiple VPCs that are connected to a transit gateway. The transit gateway connects to an on-premises data center through an AWS Direct Connect gateway and a pair of redundant Direct Connect connections that use transit VIFs. The company must receive notification each time a new route is advertised to AWS from on premises over Direct Connect.
What should a network engineer do to meet these requirements?
Answer options
- A. Enable Amazon CloudWatch metrics on Direct Connect to track the received routes. Configure a CloudWatch alarm to send notifications when routes change.
- B. Onboard Transit Gateway Network Manager to Amazon CloudWatch Logs Insights. Use Amazon EventBridge (Amazon CloudWatch Events) to send notifications when routes change.
- C. Configure an AWS Lambda function to periodically check the routes on the Direct Connect gateway and to send notifications when routes change.
- D. Enable Amazon CloudWatch Logs on the transit VIFs to track the received routes. Create a metric filter Set an alarm on the filter to send notifications when routes change.
Correct answer: B
Explanation
The correct answer is B because onboarding Transit Gateway Network Manager to Amazon CloudWatch Logs Insights allows for real-time monitoring and integration with EventBridge for notifications on route changes. Option A is incorrect as it focuses only on metrics without the necessary notification mechanism. Option C is not ideal since periodically checking routes may lead to delays in notifications. Option D is inaccurate because enabling CloudWatch Logs on transit VIFs does not directly provide the required route change notifications.