Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

A team plans to run code submitted by external customers in Pods on a GKE Standard cluster.

A team plans to run code submitted by external customers in Pods on a GKE Standard cluster. The security team says that if this untrusted code exploits a kernel vulnerability, it must not have direct access to the node's host kernel. Which GKE feature should the team plan to use for these Pods?

  • AGKE Sandbox, which runs the Pods with gVisor on a dedicated node pool
  • BShielded GKE Nodes, which verify node boot integrity with Secure Boot
  • CBinary Authorization, which allows only approved container images to deploy
  • DKubernetes network policies, which restrict traffic to and from the Pods
Show the answer and explanation

Correct answer: A) GKE Sandbox, which runs the Pods with gVisor on a dedicated node pool

GKE Sandbox (gVisor) intercepts and handles system calls in userspace, so untrusted workloads don't have direct access to the node's host kernel. Shielded Nodes, Binary Authorization and network policies solve other security problems.

Why each option is right or wrong

  • A) Correct. GKE Sandbox uses gVisor, a userspace re-implementation of the Linux kernel API. It handles most system calls on behalf of the host kernel, which limits the workload's direct access to that kernel and adds an extra layer of defense for untrusted code.
  • B) Incorrect. Shielded GKE Nodes protect against rootkits and tampering with the node's boot process and identity. They don't put an extra isolation layer between a running container and the host kernel.
  • C) Incorrect. Binary Authorization enforces deploy-time policies about which images can run. Once the untrusted code is running, it still makes system calls directly to the host kernel.
  • D) Incorrect. Network policies control Pod-to-Pod and external network traffic. They don't limit a container's system-call access to the node's kernel.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

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.