PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #84
You are creating an instance group and need to create a new health check for HTTP(s) load balancing. Which two methods can you use to accomplish this? (Choose two.)
The correct answer is A. Create a new health check using the gcloud command line tool. C. Create a new health check, or select an existing one, when you complete the load balancer's. For modern HTTP(S) load balancing in GCP, health checks should be created using the current (non-legacy) health check API. Option A (gcloud command-line tool) supports creating health checks via 'gcloud compute health-checks create http' or 'https', which are the…
Question
Options
- ACreate a new health check using the gcloud command line tool.
- BCreate a new health check using the VPC Network section in the GCP Console.
- CCreate a new health check, or select an existing one, when you complete the load balancer's
- DCreate a new legacy health check using the gcloud command line tool.
- ECreate a new legacy health check using the Health checks section in the GCP Console.
How the community answered
(25 responses)- A80% (20)
- B4% (1)
- D4% (1)
- E12% (3)
Explanation
For modern HTTP(S) load balancing in GCP, health checks should be created using the current (non-legacy) health check API. Option A (gcloud command-line tool) supports creating health checks via 'gcloud compute health-checks create http' or 'https', which are the current-generation health checks compatible with HTTP(S) load balancers. Option C (creating/selecting a health check during load balancer configuration in the console) is a valid integrated workflow. Legacy health checks (options D and E) are the older API type intended for Network Load Balancers and certain older configurations; they are not recommended for HTTP(S) load balancing and lack features like per-host-and-path health checking. Option B (VPC Network section) is incorrect - health checks are not managed under VPC Network in the console.
Topics
Community Discussion
No community discussion yet for this question.