New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 6 Question 35 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 35
Topic #: 6
[All Professional Cloud Developer Questions]

You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster The application

exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer.

Which code snippet should you include in your Pod configuration?

Show Suggested Answer Hide Answer
Suggested Answer: B

For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are scaled to 0, the default health check will apply.


Contribute your Thoughts:

0/2000 characters
Daren
4 months ago
I’m surprised there’s no mention of timeout settings in these options!
upvoted 0 times
...
Gregoria
4 months ago
Definitely going with Option D, it’s the most straightforward.
upvoted 0 times
...
Hobert
4 months ago
Wait, is Option C really valid? Seems off to me.
upvoted 0 times
...
Cletus
4 months ago
I think Option A is better, it has more checks.
upvoted 0 times
...
Kip
5 months ago
Option B looks correct for the health check!
upvoted 0 times
...
Rasheeda
5 months ago
I’m a bit confused about the differences between the options. I wish I had reviewed the specifics of the readiness and liveness probes more.
upvoted 0 times
...
Caprice
5 months ago
I think Option B looks familiar; it might be the one that specifies the correct path for the health check.
upvoted 0 times
...
Mirta
5 months ago
I remember we practiced a question about health checks in GKE, but I’m not sure if it was specifically about the /healthz endpoint.
upvoted 0 times
...
Lashawna
5 months ago
I recall that the health check needs to return a 200 status code, but I can’t remember which option actually does that correctly.
upvoted 0 times
...
Johnathon
5 months ago
I think the answer is C. The question specifically mentions creating a new artifact, so `phantom.create_artifact()` seems like the right choice.
upvoted 0 times
...
Deandrea
5 months ago
I'm feeling pretty confident about this one. Using stored procedures instead of dynamic SQL queries is a well-known security best practice, so that's the option I'm leaning towards.
upvoted 0 times
...
Tesha
5 months ago
Hmm, I'm a bit confused by the different monitoring approaches listed here. I'll need to think through the differences between SPAN, ERSPAN, and RSPAN to figure out which one is closest to the production traffic.
upvoted 0 times
...
Slyvia
5 months ago
Data compression? That doesn't seem right for IPsec. I'm pretty sure it's more about encryption and authentication.
upvoted 0 times
...

Save Cancel