Google Cloud Professional Cloud Developer — Question 237
Your team manages a large Google Kubernetes Engine (GKE) cluster. Several application teams currently use the same namespace to develop microservices for the cluster. Your organization plans to onboard additional teams to create microservices. You need to configure multiple environments while ensuring the security and optimal performance of each team’s work. You want to minimize cost and follow Google-recommended best practices. What should you do?
Answer options
- A. Create new role-based access controls (RBAC) for each team in the existing cluster, and define resource quotas.
- B. Create a new namespace for each environment in the existing cluster, and define resource quotas.
- C. Create a new GKE cluster for each team.
- D. Create a new namespace for each team in the existing cluster, and define resource quotas.
Correct answer: D
Explanation
Creating a new namespace for each team helps to isolate their resources and manage permissions effectively, which enhances security and performance. This approach allows for the application of resource quotas that can prevent any single team from monopolizing resources. The other options either do not provide sufficient isolation (A and B) or are unnecessarily costly (C).