
Explanation:
The correct approach is to first create a Kubernetes cluster using the gcloud command-line tool, as it's the appropriate tool for this task. After the cluster is up and running, you can then use kubectl, the Kubernetes command-line tool, to deploy and manage your applications. This method ensures that you're using the right tool for each part of the process: gcloud for cluster creation and kubectl for application deployment. Options suggesting the use of kubectl for cluster creation or Deployment Manager for application deployment are incorrect because they don't align with the recommended practices for managing Kubernetes clusters and deployments on Google Cloud Platform.
Ultimate access to all questions.
Your development team has handed you a Kubernetes Deployment file, but there's no existing infrastructure to deploy it on. What's your next step?
A
Utilize kubectl to establish a Kubernetes cluster and then use Deployment Manager for the deployment.
B
First, create a Kubernetes cluster with gcloud, then deploy the application using kubectl.
C
Deploy the application directly using kubectl without setting up a Kubernetes cluster first.
D
Set up a Kubernetes cluster using kubectl and manage the deployment with kubectl as well.
No comments yet.