100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 340
A Kubernetes application uses one manually created Pod, and it disappears permanently during node maintenance instead of being restored to the required replica count. Which safeguard MUST remain in place during and after the correction?
- Deleting one managed Pod causes the controller to recreate sufficient healthy replicas
- Distinguish controller-managed desired state from an unmanaged standalone Pod
- Recreate a single Pod by hand after every node maintenance event
- Avoid selector mistakes that overlap another workload's Pods
Explanation
Correct Answer
D:This preserves the essential security or operating boundary: Avoid selector mistakes that overlap another workload's Pods. The reason is: Kubernetes controllers reconcile actual workloads toward declared desired state.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Avoid selector mistakes that overlap another workload's Pods.
B:This states a comparison, not the enduring safeguard: Avoid selector mistakes that overlap another workload's Pods.
C:Recreating a single Pod by hand after every node maintenance event would not address the problem because kubernetes controllers reconcile actual workloads toward declared desired state. The more relevant step is: Avoid selector mistakes that overlap another workload's Pods. Here, a Kubernetes application uses one manually created Pod, and it disappears permanently during node maintenance instead of being restored to the required replica count.
Question 341
A GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. Which observation should the engineer obtain FIRST to identify the technical condition?
- A warming Pod remains alive but receives traffic only once its readiness condition passes
- Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health
- Turn every probe into a liveness check with an immediate timeout
- Inspect probe endpoints, initial delays, warmup time, and Pod restart events
Explanation
Correct Answer
D:Inspecting probe endpoints, initial delays, warmup time, and pod restart events is appropriate because kubernetes readiness and liveness probes address different operational failure modes. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop.
Incorrect Answers
A:A warming Pod remains alive but receives traffic only once its readiness condition passes does not establish the cause or baseline. Kubernetes readiness and liveness probes address different operational failure modes.
B:Using readiness to gate traffic during startup and suitable startup/liveness checks for actual health is a potential later step, not the cause or baseline requested here. Inspect probe endpoints, initial delays, warmup time, and Pod restart events.
C:Turning every probe into a liveness check with an immediate timeout would not address the problem because kubernetes readiness and liveness probes address different operational failure modes. The more relevant step is: Inspect probe endpoints, initial delays, warmup time, and Pod restart events. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop.
Question 342
A GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health
- Turn every probe into a liveness check with an immediate timeout
- Inspect probe endpoints, initial delays, warmup time, and Pod restart events
- Do not route production traffic to unready Pods merely to hide probe failures
Explanation
Correct Answer
A:Using readiness to gate traffic during startup and suitable startup/liveness checks for actual health is appropriate because it addresses the observed problem because kubernetes readiness and liveness probes address different operational failure modes.
Incorrect Answers
B:Turning every probe into a liveness check with an immediate timeout would not address the problem because it addresses the observed problem because kubernetes readiness and liveness probes address different operational failure modes.
C:This is the diagnostic investigation, not the corrective intervention: Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health.
D:This preserves a boundary but does not implement the main remedy: Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health.
Question 343
A GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. Which measurement or test BEST shows that the proposed correction works?
- Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health
- A warming Pod remains alive but receives traffic only once its readiness condition passes
- Turn every probe into a liveness check with an immediate timeout
- Distinguish readiness for receiving traffic from liveness for container restart decisions
Explanation
Correct Answer
B:A warming Pod remains alive but receives traffic only once its readiness condition passes is appropriate because it conflicts with the technical condition because kubernetes readiness and liveness probes address different operational failure modes.
Incorrect Answers
A:This describes an implementation step, not independent evidence of success: A warming Pod remains alive but receives traffic only once its readiness condition passes.
C:Turning every probe into a liveness check with an immediate timeout would not address the problem because it conflicts with the technical condition because kubernetes readiness and liveness probes address different operational failure modes.
D:This separates two concepts but does not measure the outcome: A warming Pod remains alive but receives traffic only once its readiness condition passes.
Question 344
A GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Do not route production traffic to unready Pods merely to hide probe failures
- Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health
- Turn every probe into a liveness check with an immediate timeout
- Inspect probe endpoints, initial delays, warmup time, and Pod restart events
- A warming Pod remains alive but receives traffic only once its readiness condition passes
Explanation
Correct Answers
A:Not route production traffic to unready pods merely to hide probe failures is appropriate because kubernetes readiness and liveness probes address different operational failure modes. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. The combined response also requires inspecting probe endpoints, initial delays, warmup time, and pod restart events.
D:Inspecting probe endpoints, initial delays, warmup time, and pod restart events is appropriate because kubernetes readiness and liveness probes address different operational failure modes. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. The combined response also requires not route production traffic to unready pods merely to hide probe failures.
Incorrect Answers
B:Using readiness to gate traffic during startup and suitable startup/liveness checks for actual health does not establish the starting evidence. Kubernetes readiness and liveness probes address different operational failure modes.
C:Turning every probe into a liveness check with an immediate timeout would not address the problem because kubernetes readiness and liveness probes address different operational failure modes. The more relevant step is: Do not route production traffic to unready Pods merely to hide probe failures. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. The combined response also includes not route production traffic to unready pods merely to hide probe failures and inspecting probe endpoints, initial delays, warmup time, and pod restart events.
E:A warming Pod remains alive but receives traffic only once its readiness condition passes does not establish the starting evidence. Kubernetes readiness and liveness probes address different operational failure modes.
Question 345
A GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Distinguish readiness for receiving traffic from liveness for container restart decisions
- Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health
- Turn every probe into a liveness check with an immediate timeout
- Inspect probe endpoints, initial delays, warmup time, and Pod restart events
- A warming Pod remains alive but receives traffic only once its readiness condition passes
- Do not route production traffic to unready Pods merely to hide probe failures
Explanation
Correct Answers
B:Using readiness to gate traffic during startup and suitable startup/liveness checks for actual health is appropriate because kubernetes readiness and liveness probes address different operational failure modes.
E:A warming Pod remains alive but receives traffic only once its readiness condition passes is appropriate because kubernetes readiness and liveness probes address different operational failure modes.
F:Not route production traffic to unready pods merely to hide probe failures is appropriate because kubernetes readiness and liveness probes address different operational failure modes. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. The combined response also includes using readiness to gate traffic during startup and suitable startup/liveness checks for actual health and a warming Pod remains alive but receives traffic only once its readiness condition passes.
Incorrect Answers
A:Distinguishing readiness for receiving traffic from liveness for container restart decisions does not establish the specific decision in the question. Kubernetes readiness and liveness probes address different operational failure modes.
C:Turning every probe into a liveness check with an immediate timeout would not address the problem because kubernetes readiness and liveness probes address different operational failure modes. The more relevant step is: Use readiness to gate traffic during startup and suitable startup/liveness checks for actual health. Here, a GKE app needs time to warm its cache, but a liveness probe returns failure until the cache is ready, causing a constant restart loop. The combined response also includes using readiness to gate traffic during startup and suitable startup/liveness checks for actual health and a warming Pod remains alive but receives traffic only once its readiness condition passes.
D:Inspecting probe endpoints, initial delays, warmup time, and pod restart events does not establish the specific decision in the question. Kubernetes readiness and liveness probes address different operational failure modes.
Question 346
A Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy. Which observation should the engineer obtain FIRST to identify the technical condition?
- Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts
- Increase restart count manually without changing the probe deadline
- Compare measured cold-start time, startup probe budget and liveness failure thresholds
- Pods complete startup once and then respond correctly to normal liveness failures
Explanation
Correct Answer
C:Comparing measured cold-start time, startup probe budget and liveness failure thresholds is appropriate because startup probes allow slow initialization without discarding ongoing health monitoring.
Incorrect Answers
A:Configuring a suitable startup probe that protects initialization before normal liveness checks govern restarts is a potential later step, not the cause or baseline requested here. Compare measured cold-start time, startup probe budget and liveness failure thresholds.
B:Increasing restart count manually without changing the probe deadline would not address the problem because startup probes allow slow initialization without discarding ongoing health monitoring. The more relevant step is: Compare measured cold-start time, startup probe budget and liveness failure thresholds. Here, a Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy.
D:Podsing complete startup once and then respond correctly to normal liveness failures does not establish the cause or baseline. Startup probes allow slow initialization without discarding ongoing health monitoring.
Question 347
A Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts
- Retain eventual failure detection rather than disabling liveness indefinitely
- Compare measured cold-start time, startup probe budget and liveness failure thresholds
- Increase restart count manually without changing the probe deadline
Explanation
Correct Answer
A:This implements the fix: Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts. It addresses the observed problem because startup probes allow slow initialization without discarding ongoing health monitoring.
Incorrect Answers
B:This preserves a boundary but does not implement the main remedy: Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts.
C:This is the diagnostic investigation, not the corrective intervention: Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts.
D:Increasing restart count manually without changing the probe deadline would not address the problem because it addresses the observed problem because startup probes allow slow initialization without discarding ongoing health monitoring.
Question 348
A Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy. Which measurement or test BEST shows that the proposed correction works?
- Differentiate an initialization grace period from permanent liveness suppression
- Pods complete startup once and then respond correctly to normal liveness failures
- Increase restart count manually without changing the probe deadline
- Configure a suitable startup probe that protects initialization before normal liveness checks govern restarts
Explanation
Correct Answer
B:Podsing complete startup once and then respond correctly to normal liveness failures is appropriate because it conflicts with the technical condition because startup probes allow slow initialization without discarding ongoing health monitoring.
Incorrect Answers
A:This separates two concepts but does not measure the outcome: Pods complete startup once and then respond correctly to normal liveness failures.
C:Increasing restart count manually without changing the probe deadline would not address the problem because it conflicts with the technical condition because startup probes allow slow initialization without discarding ongoing health monitoring.
D:This describes an implementation step, not independent evidence of success: Pods complete startup once and then respond correctly to normal liveness failures.
Question 349
A Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy. Which comparison BEST identifies the technical distinction behind this failure?
- Compare measured cold-start time, startup probe budget and liveness failure thresholds
- Differentiate an initialization grace period from permanent liveness suppression
- Retain eventual failure detection rather than disabling liveness indefinitely
- Increase restart count manually without changing the probe deadline
Explanation
Correct Answer
B:This separates the mechanisms that matter here: Differentiate an initialization grace period from permanent liveness suppression. The underlying distinction is: Startup probes allow slow initialization without discarding ongoing health monitoring.
Incorrect Answers
A:Comparing measured cold-start time, startup probe budget and liveness failure thresholds does not establish the failure mechanism. The underlying distinction is: Startup probes allow slow initialization without discarding ongoing health monitoring.
C:Retaining eventual failure detection rather than disabling liveness indefinitely does not establish the failure mechanism. The underlying distinction is: Startup probes allow slow initialization without discarding ongoing health monitoring.
D:Increasing restart count manually without changing the probe deadline would not address the problem because the underlying distinction is: Startup probes allow slow initialization without discarding ongoing health monitoring.
Question 350
A Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy. Which safeguard MUST remain in place during and after the correction?
- Retain eventual failure detection rather than disabling liveness indefinitely
- Pods complete startup once and then respond correctly to normal liveness failures
- Differentiate an initialization grace period from permanent liveness suppression
- Increase restart count manually without changing the probe deadline
Explanation
Correct Answer
A:This preserves the essential security or operating boundary: Retain eventual failure detection rather than disabling liveness indefinitely. The reason is: Startup probes allow slow initialization without discarding ongoing health monitoring.
Incorrect Answers
B:This measures whether the fix works rather than specifying the ongoing constraint: Retain eventual failure detection rather than disabling liveness indefinitely.
C:This states a comparison, not the enduring safeguard: Retain eventual failure detection rather than disabling liveness indefinitely.
D:Increasing restart count manually without changing the probe deadline would not address the problem because startup probes allow slow initialization without discarding ongoing health monitoring. The more relevant step is: Retain eventual failure detection rather than disabling liveness indefinitely. Here, a Java service requires two minutes to initialize, but its liveness probe restarts it after 30 seconds although it would become healthy.
Professional Cloud Developer Practice Tests