The development team has provided you with a Kubernetes Deployment file. You have no infrastructure yet and need to deploy the application. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Use gcloud to create a Kubernetes cluster. Use kubectl to create the deployment..
Why this is the answer
To deploy a Kubernetes application on Google Cloud, you first need a Kubernetes cluster. The gcloud command-line tool is the standard way to interact with Google Cloud services, including creating and managing Google Kubernetes Engine (GKE) clusters. Once the cluster is provisioned, kubectl is the native Kubernetes command-line tool used to interact with the cluster, including applying Deployment manifests. The other options are incorrect because: You cannot use Deployment Manager to create a Kubernetes deployment directly; Deployment Manager is for provisioning and managing Google Cloud resources, not for deploying applications within a Kubernetes cluster. You cannot use kubectl to create a Kubernetes cluster itself; kubectl interacts with an existing cluster.
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