nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #108

You have deployed an HTTP(s) load balancer, but health checks to port 80 on the Compute Engine virtual machine instance are failing, and no traffic is sent to your instances. You want to resolve the p

The correct answer is C. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges. https://cloud.google.com/load-balancing/docs/health-checks

Submitted by emma.c· Apr 18, 2026Implementing network security

Question

You have deployed an HTTP(s) load balancer, but health checks to port 80 on the Compute Engine virtual machine instance are failing, and no traffic is sent to your instances. You want to resolve the problem. Which commands should you run?

Options

  • Agcloud compute instances add-access-config instance-1
  • Bgcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-
  • Cgcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges
  • Dgcloud compute health-checks update http health-check --unhealthy-threshold 10

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    14% (8)
  • C
    75% (42)
  • D
    7% (4)

Explanation

https://cloud.google.com/load-balancing/docs/health-checks

Topics

#Firewall Rules#Health Checks#Load Balancer#Network Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice