A GKE data-processing app requires nodes with GPUs, local SSDs, and 8 Gbps network; containers must launch with the latest images. How should you efficiently provision infrastructure and manage deployments?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Cloud Build to schedule a job using Terraform build to provision the infrastructure and launch with the most current container images..
Why this is the answer
The correct answer leverages Cloud Build and Terraform for efficient, automated infrastructure provisioning and deployment. Terraform allows you to define the GKE cluster with specific node pools (including GPUs, local SSDs, and network bandwidth) as infrastructure as code, ensuring consistency and repeatability. Cloud Build can then execute this Terraform configuration, and also build and push the latest container images, ensuring deployments always use the most current versions. Incorrect options: Compute Engine startup scripts are not ideal for managing complex GKE cluster infrastructure and container deployments. gcloud commands are manual and less scalable for infrastructure as code. While GKE autoscaling is useful for managing container resources, it doesn't address the initial provisioning of the specialized GKE cluster with GPUs, SSDs, and specific networking, nor does it handle launching with the latest images. Dataflow is a managed service for executing data processing pipelines, not for provisioning GKE infrastructure or managing container deployments. Cloud Scheduler is for scheduling tasks, but not for infrastructure provisioning itself.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed