PROFESSIONAL-CLOUD-ARCHITECT · Question #120
PROFESSIONAL-CLOUD-ARCHITECT Question #120: Real Exam Question with Answer & Explanation
The correct answer is B: Use gcloud to create a Kubernetes cluster. Use kubectl to create the deployment.. Deployment Manager is used to automate the process of provisioning infrastructure. Therefore, gcloud and Deployment Manager do the same thing. Meanwhile, kubectl is used to run commands against an already created cluster.
Question
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?
Options
- AUse gcloud to create a Kubernetes cluster. Use Deployment Manager to create the deployment.
- BUse gcloud to create a Kubernetes cluster. Use kubectl to create the deployment.
- CUse kubectl to create a Kubernetes cluster. Use Deployment Manager to create the deployment.
- DUse kubectl to create a Kubernetes cluster. Use kubectl to create the deployment.
Explanation
Deployment Manager is used to automate the process of provisioning infrastructure. Therefore, gcloud and Deployment Manager do the same thing. Meanwhile, kubectl is used to run commands against an already created cluster.
Community Discussion
No community discussion yet for this question.