BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 6 Question 35 Discussion

Posted by Dulce on May 05, 2022 at 02:10 PM

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?

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.


Get Premium Professional Cloud Developer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
DA
Daren 1 year ago
I’m surprised there’s no mention of timeout settings in these options!
GR
Gregoria 1 year ago
Definitely going with Option D, it’s the most straightforward.
HO
Hobert 1 year ago
Wait, is Option C really valid? Seems off to me.
CL
Cletus 1 year ago
I think Option A is better, it has more checks.
KI
Kip 1 year ago
Option B looks correct for the health check!
RA
Rasheeda 1 year 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.
CA
Caprice 1 year ago
I think Option B looks familiar; it might be the one that specifies the correct path for the health check.
MI
Mirta 1 year 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.
LA
Lashawna 1 year 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.
JO
Johnathon 1 year ago
I think the answer is C. The question specifically mentions creating a new artifact, so `phantom.create_artifact()` seems like the right choice.
DE
Deandrea 1 year 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.
TE
Tesha 1 year 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.
SL
Slyvia 1 year ago
Data compression? That doesn't seem right for IPsec. I'm pretty sure it's more about encryption and authentication.
0/2000 characters

Save Cancel