exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 67 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 67
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

Your company is developing applications that are deployed on Google Kubernetes Engine (GKE). Each team manages a different application. You need to create the development and production environments for each team, while minimizing costs. Different teams should not be able to access other teams' environments.
What should you do?

  • A. Create one GCP Project per team. In each project, create a cluster for Development and one for Production. Grant the teams IAM access to their respective clusters.
  • B. Create one GCP Project per team. In each project, create a cluster with a Kubernetes namespace for Development and one for Production. Grant the teams IAM access to their respective clusters.
  • C. Create a Development and a Production GKE cluster in separate projects. In each cluster, create a Kubernetes namespace per team, and then configure Identity Aware Proxy so that each team can only access its own namespace.
  • D. Create a Development and a Production GKE cluster in separate projects. In each cluster, create a Kubernetes namespace per team, and then configure Kubernetes Role-based access control (RBAC) so that each team can only access its own namespace.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TNT87
Highly Voted 2 years, 6 months ago
https://cloud.google.com/architecture/prep-kubernetes-engine-for-prod#roles_and_groups Ans D
upvoted 16 times
mburuian6
1 year, 3 months ago
I think the en version is missing for some reason, translate page: https://cloud.google.com/architecture/prep-kubernetes-engine-for-prod?hl=fr#roles_and_groups
upvoted 1 times
...
...
jomonkp
Most Recent 4 months, 4 weeks ago
Selected Answer: D
Option D
upvoted 2 times
...
CloudKida
7 months, 3 weeks ago
Selected Answer: D
GKE has two access control systems: Identity and Access Management (IAM) and role-based access control (RBAC). IAM is Google Cloud's access control system for managing authentication and authorization for Google Cloud resources. You use IAM to grant users access to GKE and Kubernetes resources. RBAC is built into Kubernetes and grants granular permissions for specific resources and operations within your clusters.
upvoted 3 times
...
jacknguyen
7 months, 4 weeks ago
D is correct
upvoted 1 times
...
JonathanSJ
1 year, 3 months ago
Selected Answer: D
Option D is a good approach for creating the development and production environments for each team while minimizing costs and ensuring that different teams cannot access other teams' environments. This approach involves creating a Development and Production GKE cluster in separate GCP projects. In each cluster, a Kubernetes namespace is created per team. Then, Kubernetes Role-based access control (RBAC) is configured so that each team can only access its own namespace. This ensures that the teams are isolated from each other and can only access the resources they need, while minimizing costs by using the same clusters for different teams.
upvoted 1 times
...
mudot
1 year, 5 months ago
Selected Answer: D
Appeard in 7/11/2022 exam keys : least no of clusters + separation
upvoted 1 times
...
AzureDP900
1 year, 6 months ago
D is correct
upvoted 1 times
...
zellck
1 year, 6 months ago
Selected Answer: D
D is the answer.
upvoted 2 times
...
ssmb
1 year, 6 months ago
I vote for D as the correct answer, considering cost reduction is stated in the question.
upvoted 1 times
...
PhilipKoku
2 years, 2 months ago
Selected Answer: D
D - Different project for Prod and UAT. RBAC to access each app team GKE area.
upvoted 3 times
...
Sekierer
2 years, 3 months ago
D is correct
upvoted 2 times
...
guid1984
2 years, 4 months ago
The answer is D (enterprise multi-tenancy using GKE, reduce costs and control access by RBAC)
upvoted 2 times
...
muk5658
2 years, 5 months ago
D -100%
upvoted 2 times
...
Manh
2 years, 5 months ago
Sound like B is good ans B. Create one GCP Project per team. In each project, create a cluster with a Kubernetes namespace for Development and one for Production. Grant the teams IAM access to their respective clusters. 1 project and 1 cluster per team with 2 namespace
upvoted 2 times
PJ_2021
2 years, 5 months ago
Mate you have one project per app per environment. You explaination clearly violates this basic principle
upvoted 2 times
...
TNT87
2 years, 5 months ago
Re-read the question again....and we cant mix development and production project NO!
upvoted 1 times
...
...
NXD
2 years, 6 months ago
I go with A.
upvoted 2 times
Biden
2 years, 5 months ago
I will go with A since PROD and DEV/TEST environments need to kept separate always. Having them in the same cluster, may impact the resources for PROD when there is a need to do a load testing spinning off multiple PODs and nodes
upvoted 2 times
TNT87
2 years, 4 months ago
https://www.google.com/search?q=For+almost+all+cases%2C+Kubernetes+RBAC+can+be+used+instead+of+IAM.+GKE+users+require+at+minimum%2C+the+container.clusters.get+IAM+permission+in+the+project+...&oq=For+almost+all+cases%2C+Kubernetes+RBAC+can+be+used+instead+of+IAM.+GKE+users+require+at+minimum%2C+the+container.clusters.get+IAM+permission+in+the+project+...&aqs=chrome..69i57.479j0j7&sourceid=chrome&ie=UTF-8
upvoted 1 times
...
...
gcpz
2 years, 3 months ago
wrong.
upvoted 1 times
...
giammydell
2 years, 5 months ago
but you have to minimize the cost
upvoted 1 times
...
...
Alaaelanwr
2 years, 6 months ago
Ans: D
upvoted 3 times
...
Nik22
2 years, 6 months ago
Will go with D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago