nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #38

PROFESSIONAL-CLOUD-DEVELOPER Question #38: Real Exam Question with Answer & Explanation

The correct answer is C: gcloud compute firewall-rules create allow-lb --network load-balancer -- allow tcp --source-ranges. The source IP ranges for health checks (including legacy health checks if used for HTTP(S) Load Furthermore it should be direction INGRESS since the health-check (ping) is coming into the load balancer/instance. https://cloud.google.com/load-balancing/docs/health-checks

Deploying applications

Question

You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below. 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 ${NAME}-backend-instance-1
  • Bgcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http- server
  • Cgcloud compute firewall-rules create allow-lb --network load-balancer -- allow tcp --source-ranges
  • Dgcloud compute firewall-rules create allow-lb --network load-balancer -- allow tcp --destination-

Explanation

The source IP ranges for health checks (including legacy health checks if used for HTTP(S) Load Furthermore it should be direction INGRESS since the health-check (ping) is coming into the load balancer/instance. https://cloud.google.com/load-balancing/docs/health-checks

Topics

#Firewall Rules#Load Balancer#Health Checks#Google Cloud Networking

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions