Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam. Engage with interactive quizzes and detailed explanations tailored to help you master key concepts. Ensure you're ready for a successful career in the cloud computing industry!

Practice this question and more.


What is the command to list Kubernetes services?

  1. kubectl get pod

  2. kubectl describe svc

  3. kubectl list services

  4. kubectl get svc

The correct answer is: kubectl get svc

The command to list Kubernetes services is "kubectl get svc". Option A, "kubectl get pod" will list all Kubernetes pods instead of services. Option B, "kubectl describe svc" will provide detailed information on a specific service instance, not a list of services. Option C, "kubectl list services" is an incorrect syntax for a command. Make sure to use "get" to list resources in kubectl.