Google Cloud Professional Cloud Developer — Question 232

You have an application running in a production Google Kubernetes Engine (GKE) cluster. You use Cloud Deploy to automatically deploy your application to your production GKE cluster. As part of your development process, you are planning to make frequent changes to the application’s source code and need to select the tools to test the changes before pushing them to your remote source code repository. Your toolset must meet the following requirements:
• Test frequent local changes automatically.
• Local deployment emulates production deployment.

Which tools should you use to test building and running a container on your laptop using minimal resources?

Answer options

Correct answer: C

Explanation

The correct answer is C, Minikube and Skaffold, as they are specifically designed to facilitate local Kubernetes development and testing, allowing for an environment that closely mirrors production. Option A, Docker Compose and dockerd, is more suited for simpler applications and does not emulate a full Kubernetes environment. Option B, Terraform and kubeadm, are focused on infrastructure management rather than local development and testing. Option D, kaniko and Tekton, are more geared towards CI/CD pipelines than local testing.