100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 370
Two development teams share a GKE cluster; one team's deployment automation can delete resources in the other team's namespace. Which safeguard MUST remain in place during and after the correction?
- Cross-namespace deletion fails while the team can manage its own workload
- Distinguish Kubernetes RBAC authorization from Google Cloud IAM roles
- Create only a second namespace and assume existing cluster-admin rights disappear
- Avoid inadvertently binding cluster-admin to CI identities
Explanation
Correct Answer
D:This preserves the essential security or operating boundary: Avoid inadvertently binding cluster-admin to CI identities. The reason is: Namespace isolation requires correctly scoped RBAC bindings.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Avoid inadvertently binding cluster-admin to CI identities.
B:This states a comparison, not the enduring safeguard: Avoid inadvertently binding cluster-admin to CI identities.
C:Creating only a second namespace and assuming existing cluster-admin rights disappear would not address the problem because namespace isolation requires correctly scoped RBAC bindings. The more relevant step is: Avoid inadvertently binding cluster-admin to CI identities. Here, two development teams share a GKE cluster; one team's deployment automation can delete resources in the other team's namespace.
Question 371
A GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. Which observation should the engineer obtain FIRST to identify the technical condition?
- Bake the same long-lived JSON key into each new container layer
- Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions
- Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied
- Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE
Explanation
Correct Answer
B:Inspecting current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container.
Incorrect Answers
A:Baking the same long-lived JSON key into each new container layer would not address the problem because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. The more relevant step is: Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container.
C:Podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied does not establish the cause or baseline. GKE workload identities can obtain scoped Google Cloud API credentials without static keys.
D:Binding the workload to a suitable Google service identity through Workload Identity Federation for GKE is a potential later step, not the cause or baseline requested here. Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions.
Question 372
A GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE
- Keep the Kubernetes-to-Google identity binding as narrow as possible
- Bake the same long-lived JSON key into each new container layer
- Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions
Explanation
Correct Answer
A:Binding the workload to a suitable Google service identity through Workload Identity Federation for GKE is appropriate because it addresses the observed problem because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
Incorrect Answers
B:This preserves a boundary but does not implement the main remedy: Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE.
C:Baking the same long-lived JSON key into each new container layer would not address the problem because it addresses the observed problem because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
D:This is the diagnostic investigation, not the corrective intervention: Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE.
Question 373
A GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. Which measurement or test BEST shows that the proposed correction works?
- Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied
- Distinguish workload identity federation from mounting static credential secrets
- Bake the same long-lived JSON key into each new container layer
- Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE
Explanation
Correct Answer
A:Podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied is appropriate because it conflicts with the technical condition because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
Incorrect Answers
B:This separates two concepts but does not measure the outcome: Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied.
C:Baking the same long-lived JSON key into each new container layer would not address the problem because it conflicts with the technical condition because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
D:This describes an implementation step, not independent evidence of success: Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied.
Question 374
A GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied
- Keep the Kubernetes-to-Google identity binding as narrow as possible
- Bake the same long-lived JSON key into each new container layer
- Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions
- Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE
Explanation
Correct Answers
B:Keeping the Kubernetes-to-Google identity binding as narrow as possible is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. The combined response also requires inspecting current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions.
D:Inspecting current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. The combined response also requires keeping the Kubernetes-to-Google identity binding as narrow as possible.
Incorrect Answers
A:Podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied does not establish the starting evidence. GKE workload identities can obtain scoped Google Cloud API credentials without static keys.
C:Baking the same long-lived JSON key into each new container layer would not address the problem because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. The more relevant step is: Keep the Kubernetes-to-Google identity binding as narrow as possible. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. The combined response also includes keeping the Kubernetes-to-Google identity binding as narrow as possible and inspecting current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions.
E:Binding the workload to a suitable Google service identity through Workload Identity Federation for GKE does not establish the starting evidence. GKE workload identities can obtain scoped Google Cloud API credentials without static keys.
Question 375
A GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied
- Inspect current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions
- Bake the same long-lived JSON key into each new container layer
- Keep the Kubernetes-to-Google identity binding as narrow as possible
- Distinguish workload identity federation from mounting static credential secrets
- Bind the workload to a suitable Google service identity through Workload Identity Federation for GKE
Explanation
Correct Answers
A:Podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
D:Keeping the Kubernetes-to-Google identity binding as narrow as possible is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. The combined response also includes podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied and binding the workload to a suitable Google service identity through Workload Identity Federation for GKE.
F:Binding the workload to a suitable Google service identity through Workload Identity Federation for GKE is appropriate because gKE workload identities can obtain scoped Google Cloud API credentials without static keys.
Incorrect Answers
B:Inspecting current Kubernetes ServiceAccount, workload identity configuration and target bucket permissions does not establish the specific decision in the question. GKE workload identities can obtain scoped Google Cloud API credentials without static keys.
C:Baking the same long-lived JSON key into each new container layer would not address the problem because gKE workload identities can obtain scoped Google Cloud API credentials without static keys. The more relevant step is: Pods write permitted audit objects without any service-account key file and unauthorized buckets remain denied. Here, a GKE workload downloads a JSON service-account key to write audit objects to Cloud Storage, creating a long-lived secret inside the container. The combined response also includes podsing write permitted audit objects without any service-account key file and unauthorized buckets remain denied and keeping the Kubernetes-to-Google identity binding as narrow as possible.
E:Distinguishing workload identity federation from mounting static credential secrets does not establish the specific decision in the question. GKE workload identities can obtain scoped Google Cloud API credentials without static keys.
Question 376
A deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release. Which observation should the engineer obtain FIRST to identify the technical condition?
- Check Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior
- Set maxUnavailable equal to all replicas for a zero-downtime requirement
- Tune RollingUpdate parameters and probes for the required availability budget
- During rollout, enough ready old and new Pods serve traffic and failed updates can roll back
Explanation
Correct Answer
A:Checking Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior is appropriate because rollingUpdate availability depends on surge, unavailability and readiness settings.
Incorrect Answers
B:Setting maxUnavailable equal to all replicas for a zero-downtime requirement would not address the problem because rollingUpdate availability depends on surge, unavailability and readiness settings. The more relevant step is: Check Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior. Here, a deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release.
C:Tuning RollingUpdate parameters and probes for the required availability budget is a potential later step, not the cause or baseline requested here. Check Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior.
D:During rollout, enough ready old and new Pods serve traffic and failed updates can roll back does not establish the cause or baseline. RollingUpdate availability depends on surge, unavailability and readiness settings.
Question 377
A deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Verify schema compatibility during overlap of old and new Pod versions
- Tune RollingUpdate parameters and probes for the required availability budget
- Check Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior
- Set maxUnavailable equal to all replicas for a zero-downtime requirement
Explanation
Correct Answer
B:This implements the fix: Tune RollingUpdate parameters and probes for the required availability budget. It addresses the observed problem because rollingUpdate availability depends on surge, unavailability and readiness settings.
Incorrect Answers
A:This preserves a boundary but does not implement the main remedy: Tune RollingUpdate parameters and probes for the required availability budget.
C:This is the diagnostic investigation, not the corrective intervention: Tune RollingUpdate parameters and probes for the required availability budget.
D:Setting maxUnavailable equal to all replicas for a zero-downtime requirement would not address the problem because it addresses the observed problem because rollingUpdate availability depends on surge, unavailability and readiness settings.
Question 378
A deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release. Which measurement or test BEST shows that the proposed correction works?
- During rollout, enough ready old and new Pods serve traffic and failed updates can roll back
- Distinguish gradual Pod replacement from a stop-all Recreate deployment
- Tune RollingUpdate parameters and probes for the required availability budget
- Set maxUnavailable equal to all replicas for a zero-downtime requirement
Explanation
Correct Answer
A:During rollout, enough ready old and new Pods serve traffic and failed updates can roll back is appropriate because it conflicts with the technical condition because rollingUpdate availability depends on surge, unavailability and readiness settings.
Incorrect Answers
B:This separates two concepts but does not measure the outcome: During rollout, enough ready old and new Pods serve traffic and failed updates can roll back.
C:This describes an implementation step, not independent evidence of success: During rollout, enough ready old and new Pods serve traffic and failed updates can roll back.
D:Setting maxUnavailable equal to all replicas for a zero-downtime requirement would not address the problem because it conflicts with the technical condition because rollingUpdate availability depends on surge, unavailability and readiness settings.
Question 379
A deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release. Which comparison BEST identifies the technical distinction behind this failure?
- Distinguish gradual Pod replacement from a stop-all Recreate deployment
- Verify schema compatibility during overlap of old and new Pod versions
- Set maxUnavailable equal to all replicas for a zero-downtime requirement
- Check Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior
Explanation
Correct Answer
A:This separates the mechanisms that matter here: Distinguish gradual Pod replacement from a stop-all Recreate deployment. The underlying distinction is: RollingUpdate availability depends on surge, unavailability and readiness settings.
Incorrect Answers
B:Verifying schema compatibility during overlap of old and new Pod versions does not establish the failure mechanism. The underlying distinction is: RollingUpdate availability depends on surge, unavailability and readiness settings.
C:Setting maxUnavailable equal to all replicas for a zero-downtime requirement would not address the problem because the underlying distinction is: RollingUpdate availability depends on surge, unavailability and readiness settings.
D:Checking Deployment strategy, maximum unavailable replicas, maximum surge and readiness behavior does not establish the failure mechanism. The underlying distinction is: RollingUpdate availability depends on surge, unavailability and readiness settings.
Question 380
A deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release. Which safeguard MUST remain in place during and after the correction?
- Set maxUnavailable equal to all replicas for a zero-downtime requirement
- Verify schema compatibility during overlap of old and new Pod versions
- During rollout, enough ready old and new Pods serve traffic and failed updates can roll back
- Distinguish gradual Pod replacement from a stop-all Recreate deployment
Explanation
Correct Answer
B:This preserves the essential security or operating boundary: Verify schema compatibility during overlap of old and new Pod versions. The reason is: RollingUpdate availability depends on surge, unavailability and readiness settings.
Incorrect Answers
A:Setting maxUnavailable equal to all replicas for a zero-downtime requirement would not address the problem because rollingUpdate availability depends on surge, unavailability and readiness settings. The more relevant step is: Verify schema compatibility during overlap of old and new Pod versions. Here, a deployment changes the order-processing server and drops too many replicas simultaneously, breaching availability during release.
C:This measures whether the fix works rather than specifying the ongoing constraint: Verify schema compatibility during overlap of old and new Pod versions.
D:This states a comparison, not the enduring safeguard: Verify schema compatibility during overlap of old and new Pod versions.
Professional Cloud Developer Practice Tests