Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

What is the purpose of a Kubernetes namespace versus an OpenShift project, and how does RBAC differ?

Kubernetes namespaces provide isolated environments inside a cluster, giving each group of resources its own boundary for naming, quotas, and access control. OpenShift projects sit on top of that idea: they’re implemented as a namespace in Kubernetes but add governance features of their own, notably per-project quotas and project-scoped RBAC, plus other OpenShift-admin constructs like security context policies. RBAC is the mechanism that governs who can do what. In Kubernetes, you can define roles and bindings at the namespace level or at the cluster level, controlling access either within a specific namespace or across the whole cluster. In OpenShift, the same RBAC mechanics apply, but they’re typically used to grant access within a particular project, tying permissions to that project’s namespace, while still allowing broader cluster roles for cross-cluster needs. So, the statement is best because a namespace isolates resources, an OpenShift project adds project-scoped RBAC and quotas, and RBAC is applicable in both contexts to control access.

Kubernetes namespaces provide isolated environments inside a cluster, giving each group of resources its own boundary for naming, quotas, and access control. OpenShift projects sit on top of that idea: they’re implemented as a namespace in Kubernetes but add governance features of their own, notably per-project quotas and project-scoped RBAC, plus other OpenShift-admin constructs like security context policies.

RBAC is the mechanism that governs who can do what. In Kubernetes, you can define roles and bindings at the namespace level or at the cluster level, controlling access either within a specific namespace or across the whole cluster. In OpenShift, the same RBAC mechanics apply, but they’re typically used to grant access within a particular project, tying permissions to that project’s namespace, while still allowing broader cluster roles for cross-cluster needs.

So, the statement is best because a namespace isolates resources, an OpenShift project adds project-scoped RBAC and quotas, and RBAC is applicable in both contexts to control access.