Associate Cloud Engineer practice question · Planning and implementing a cloud solution
A backend service accepts only HTTPS on port 443. The application exposes a /healthz path that returns HTTP 200 only…
A backend service accepts only HTTPS on port 443. The application exposes a /healthz path that returns HTTP 200 only when the app and its database connection are working. The team wants the load balancer to mark a backend unhealthy whenever /healthz does not return 200, even if the server is still accepting TLS connections. Which health check configuration should they plan?
- AAn HTTPS health check on port 443 with request path /healthz
- BAn SSL health check on port 443
- CA TCP health check on port 443
- DAn HTTP health check on port 443 with request path /healthz
Show the answer and explanation
Correct answer: A) An HTTPS health check on port 443 with request path /healthz
HTTP and HTTPS health checks require an HTTP 200 from the request path, while SSL and TCP checks only confirm that a connection or TLS handshake succeeds. To check application-level health on an HTTPS-only backend, use an HTTPS health check with the /healthz request path.
Why each option is right or wrong
- A) Correct. An HTTPS health check opens a TLS connection, sends an HTTP request to the configured path, and counts only an HTTP 200 response as success. Any other status code marks the probe as failed, which matches the requirement.
- B) Incorrect. An SSL health check succeeds once the TCP connection opens and the TLS handshake completes. It never checks an HTTP response, so a backend whose /healthz is failing would still pass as long as it accepts TLS connections.
- C) Incorrect. A TCP health check succeeds as soon as a TCP connection opens before the timeout. It does not inspect the application's HTTP response, so it cannot detect a failing /healthz endpoint.
- D) Incorrect. An HTTP health check sends plain, unencrypted HTTP. Against a port that accepts only TLS, the request fails, so healthy backends would be marked unhealthy too.
- Exam domain
- Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
- Question type
- Multiple choice (one answer)
Related Associate Cloud Engineer questions
- A third-party SaaS partner runs its service in its own Google Cloud project and has published it through a service…Planning and implementing a cloud solution
- A team of data analysts who are fluent in SQL but don't write Python wants to train and evaluate a classification model…Planning and implementing a cloud solution
- A team plans to run code submitted by external customers in Pods on a GKE Standard cluster.Planning and implementing a cloud solution
- A company is moving an existing Apache Spark application, packaged as a JAR, from its on-premises Hadoop cluster to…Planning and implementing a cloud solution
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
Practise the full Associate Cloud Engineer exam
This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.