Courseiva
Security And SCChardMultiple ChoiceObjective-mapped

EX280 Security And SCC Practice Question

A developer deploys a custom application pod that requires the hostIPC capability, but the pod creation is rejected by the apiserver. Upon inspecting the cluster SCCs, the administrator determines that the application uses a ServiceAccount named app-sa in the production namespace. How should the administrator grant the restricted SCC privileges safely without compromising cluster security?

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

Create a RoleBinding in the production namespace referencing the system:openshift:scc:hostaccess cluster role and the app-sa ServiceAccount

To grant specific SCC privileges, the administrator must bind the SCC's corresponding cluster role to the target service account.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Add a subject entry referencing system:serviceaccount:production:app-sa to the users list inside the restricted SCC definition

    Why it's wrong here

    Modifying predefined system SCC objects directly is an unsupported anti-pattern and can be overwritten during cluster upgrades.

  • Create a RoleBinding in the production namespace referencing the system:openshift:scc:hostaccess cluster role and the app-sa ServiceAccount

    Why this is correct

    RoleBindings targeting the system:openshift:scc:hostaccess cluster role grant the necessary elevated SCC permissions to the specified ServiceAccount within that namespace.

  • Annotate the app-sa ServiceAccount with openshift.io/scc.constraint: hostaccess

    Why it's wrong here

    Service accounts do not use annotations to bind SCCs; they rely on ClusterRoleBindings or RoleBindings targeting the scc cluster roles.

  • Create a ClusterRoleBinding that binds the system:openshift:scc:restricted cluster role to system:serviceaccount:production:app-sa

    Why it's wrong here

    The restricted SCC does not allow hostIPC. The correct SCC that permits hostIPC is hostaccess or a custom SCC.

About these practice questions

Courseiva writes every EX280 question from scratch — 509 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.