Courseiva

EX280 · topic practice

Security And SCC practice questions

This domain covers OpenShift security primitives: SCCs, service accounts, RBAC, identity providers, secrets, and TLS-secured Routes. On EX280 you perform hands-on tasks with oc and YAML manifests, such as creating SCCs, binding roles, configuring htpasswd or OIDC identity providers, and applying certificates to Routes.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Security And SCC

What the exam tests

What to know about Security And SCC

Be able to create SCCs, bind them to ServiceAccounts with oc adm policy, configure OAuth identity providers, and secure Routes with custom TLS certificates. The critical thing is attaching SCCs and pull secrets to the correct ServiceAccount, not to users or Deployments directly.

Creating and applying custom SCCs, then binding them to ServiceAccounts via oc adm policy add-scc-to-user

Configuring identity providers such as htpasswd or OIDC in the OAuth custom resource

Securing Routes with edge, passthrough, or reencrypt TLS termination and custom certificates

Managing Secrets for image pull credentials and referencing them in ServiceAccounts or Pod specs

Watch out for

Common Security And SCC exam traps

  • ▸Binding a custom SCC directly to a user instead of to the ServiceAccount the pod actually runs as
  • ▸Placing TLS certificate and key in the wrong Route field, such as spec.tls instead of the correct termination stanza
  • ▸Forgetting that OIDC requires issuer URL, client ID, and client secret, and omitting the required claims or secret reference

Practice set

Security And SCC questions

20 questions · select your answer, then reveal the explanation

An administrator has created a custom SCC named restricted-custom. During testing, pods using this SCC still fail because they are assigned the non-root UID range automatically, but the application container requires writing to a specific directory owned by UID 1000. How should the administrator configure the SCC to ensure the container runs consistently as UID 1000?

A pod fails to start in a restricted namespace because it attempts to bind to a privileged host port (port 80). The administrator wants to create a custom SCC that permits binding to privileged ports only for this specific application workload, without granting full root privileges. Which custom SCC configuration field should be explicitly set?

An administrator is auditing Pod Security Standards compliance across several namespaces in an OpenShift cluster. Which namespace label must be applied to enforce the restricted Pod Security standard while logging violations?

Question 4mediummultiple choice
Read the full Security And SCC explanation →

An administrator needs to configure a new project so that pods deployed within it run with the restricted-v2 Security Context Constraint by default. Which action should the administrator perform?

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?

Question 6mediummultiple choice
Read the full Security And SCC explanation →

An administrator wants to prevent developers from creating pods that run as the root user across the entire cluster. Which OpenShift resource or admission mechanism is best suited to enforce this restriction globally?

Question 7hardmultiple choice
Review the full routing breakdown →

An administrator is troubleshooting an Ingress routing issue where external clients receive a 503 error when trying to access a secure application through a Route configured with passthrough TLS termination. What is the most likely cause of this issue?

Question 8mediummultiple choice
Read the full Security And SCC explanation →

An administrator needs to ensure that a newly created ServiceAccount automatically receives a long-lived API token when created in OpenShift 4.14+. What is the correct procedure?

Question 9mediummultiple choice
Read the full Security And SCC explanation →

An auditor requests a report of all security context constraints currently assigned to a specific user named alice in the cluster. Which OpenShift CLI command should the administrator run?

Question 10mediummultiple choice
Read the full Security And SCC explanation →

An administrator is configuring an OAuth identity provider and needs to map claims from an external provider to OpenShift usernames. Which field in the OAuth configuration specifies the claim to use as the username?

A security engineer needs to configure the cluster-wide OAuth identity provider to use an existing LDAP server. The administrator creates an LDAP identity provider object in the cluster OAuth configuration resource (cluster). Which configuration property specifies the attribute mapping to map the LDAP entry's unique identifier to the OpenShift user name?

An application pod needs to run with a specific user ID (UID 10005000) that falls outside the restricted-v2 SCC default allocated range for the namespace. The administrator decides to create a custom SCC. Which SCC security context strategy parameter must be adjusted to allow this specific UID?

Question 13easymultiple choice
Review the full routing breakdown →

An administrator needs to secure a Route using a custom wildcard certificate. The certificate and private key are stored in a TLS Secret named wildcard-tls-secret in the same namespace as the Route. Which section of the Route manifest should reference this Secret?

Which command checks if a specific service account can use a restricted SCC?

Which THREE restrictions or behaviors are enforced by the default restricted-v2 Security Context Constraint in OpenShift Container Platform?

Question 16mediummultiple choice
Read the full Security And SCC explanation →

A pod fails to start with 'container has runAsNonRoot and image will run as root'. Which SCC field needs to be adjusted in a custom SCC to allow this image to run?

Question 17mediummultiple choice
Read the full Security And SCC explanation →

You have a private image registry that requires credentials. Where should you place the 'imagePullSecret' so that it is automatically injected into all pods created by a specific service account?

Question 18mediummultiple choice
Read the full Security And SCC explanation →

You want to ensure that all pods in a namespace are denied access to the host network. Which policy mechanism is most effective for this?

You are hardening a cluster. Which Pod Security Standard level is the default in OpenShift 4.14 for new projects?

Question 20mediummultiple choice
Read the full Security And SCC explanation →

A pod requires access to the hostPath volume. Which SCC field must be configured to allow this?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Security And SCC sessions

Start a Security And SCC only practice session

Every question in these sessions is drawn from the Security And SCC domain — nothing else.

Related practice questions

Related EX280 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX280 exam test about Security And SCC?
Be able to create SCCs, bind them to ServiceAccounts with oc adm policy, configure OAuth identity providers, and secure Routes with custom TLS certificates. The critical thing is attaching SCCs and pull secrets to the correct ServiceAccount, not to users or Deployments directly.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Security And SCC questions in a focused session?
Yes — the session launcher on this page draws every question from the Security And SCC domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX280 topics?
Use the topic links above to move to related areas, or go back to the EX280 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX280 exam covers. They are not copied from any real exam or dump site.