EX280 Security And SCC Practice Question
An administrator needs to troubleshoot an image pull failure caused by missing credentials. Which TWO locations or methods can be used to associate an image pull secret with a workload in OpenShift? (Choose TWO)
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
✓
Linking the image pull secret to the ServiceAccount referenced by the deployment's pod spec via oc secrets link
Image pull secrets can be referenced directly in the pod template spec under imagePullSecrets, or linked directly to the ServiceAccount used by the pods.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Defining the secret inside the cluster Ingress controller custom resource spec
Why it's wrong here
Ingress controllers handle external traffic routing, not internal image pulling credentials.
- ✗
Placing the pull secret in the global openshift-config ConfigMap
Why it's wrong here
Global cluster image registries and pull secrets are managed via global cluster configurations like image.config.openshift.io, not arbitrary ConfigMaps.
- ✗
Annotating the Namespace with openshift.io/image-pull-secret-ref
Why it's wrong here
Namespaces do not support this specific annotation for automated image pulling.
- ✓
Linking the image pull secret to the ServiceAccount referenced by the deployment's pod spec via oc secrets link
Why this is correct
Linking a secret to a ServiceAccount automatically populates imagePullSecrets for any pods using that ServiceAccount.
- ✓
Adding the secret to the imagePullSecrets array within the pod template specification of a Deployment
Why this is correct
Workloads can explicitly declare image pull secrets in their pod templates.
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.