EX280 Storage And Persistent Volumes Practice Question
A cluster administrator wants to restrict a specific storage class so that only members of a designated OpenShift project can create PVCs referencing it. How is this typically enforced in OpenShift?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Using admission control policies or validation webhooks to restrict StorageClass usage by namespace.
StorageClasses themselves do not have native namespace RBAC, but admission webhooks or project-level naming conventions combined with ValidatingWebhookConfigurations or ResourceQuotas can restrict usage. Wait, standard OpenShift does not restrict StorageClasses per project natively without admission control or OPA/Gatekeeper, but let's look at the standard approach: OpenShift allows restricting via cluster resource RBAC or custom admission webhooks. Let's verify standard answer: cluster administrators control access via StorageClass availability and default settings, or admission policies.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
By assigning RBAC RoleBindings to the StorageClass object directly.
Why it's wrong here
StorageClasses do not support direct RBAC RoleBindings for namespace isolation.
- ✗
By setting accessMode: Restricted in the StorageClass metadata.
Why it's wrong here
This field does not exist.
- ✓
Using admission control policies or validation webhooks to restrict StorageClass usage by namespace.
Why this is correct
StorageClasses are cluster-scoped and accessible to all namespaces by default; restriction requires admission webhooks or policy engines.
- ✗
By adding a namespaces array directly in the StorageClass spec.
Why it's wrong here
StorageClass spec does not support a namespaces restriction field.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
About these practice questions
This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.