Question 1
A financial services firm is deploying a FortiGate-VM High Availability (HA) cluster in Azure using Terraform. To meet compliance requirements, all HA-related traffic, including FGCP heartbeat packets, must be isolated on a dedicated subnet. The lead architect has mandated that the Azure Load Balancer health probe must target a specific, non-standard port on the FortiGate's internal interface to monitor service health. Which Terraform resource and attribute is essential for configuring this custom health probe port?
Answer and explanation
Correct answer: C
The azurerm_lb_probe Terraform resource is specifically designed to define the health probe used by an Azure Load Balancer. The port attribute within this resource allows the administrator to specify the exact TCP or HTTP port that the probe will use to check the health of backend instances, such as the FortiGate-VMs. This is the correct way to configure a custom port for health monitoring in an Azure HA setup.