
Google Professional Cloud DevOps Engineer
Get started today
Ultimate access to all questions.
Your company is preparing to deploy a CI pipeline on Google Cloud Platform and needs to ensure the correct syntax for creating a Kubernetes namespace named 'production' to logically isolate the deployment. Which Kubernetes command accomplishes this?
Your company is preparing to deploy a CI pipeline on Google Cloud Platform and needs to ensure the correct syntax for creating a Kubernetes namespace named 'production' to logically isolate the deployment. Which Kubernetes command accomplishes this?
Real Exam
Explanation:
The correct command is kubectl create ns production
(or equivalently, kubectl create namespace production
). This command creates a new namespace in Kubernetes, which is essential for logically isolating deployments. For further learning, exploring Kubernetes Codelabs is highly recommended.