GCP ACE · Question 23 · Domain 3.2: Deploying and implementing GKE resources
You have successfully created a GKE cluster and authenticated your local kubectl tool to it. You now want to deploy a containerized application using an image named 'nginx:latest'.
Which command should you use to create a deployment named 'my-nginx'?
Answer options:
gcloud container deploy my-nginx --image=nginx:latest
kubectl run my-nginx --image=nginx:latest
kubectl create deployment my-nginx --image=nginx:latest
docker run --name my-nginx nginx:latest
50 questions · hints · full answers · grading