Practice EX280 Security And SCC questions with full explanations on every answer.
Start practicing
Security And SCC — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
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?
2A 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?
3An administrator wants to pull container images from a private container registry that requires authentication for a specific deployment. Where must the image pull secret be referenced so that the deployment pods can successfully pull the image?
4An 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?
5An 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?
6An administrator needs to secure a Route with edge termination using a custom TLS certificate and private key. Which section of the Route manifest must contain these certificate details?
7An administrator needs to configure an authentication mechanism where users logging into the OpenShift web console are authenticated via an external corporate directory using LDAP. Which resource object should the administrator configure?
8A 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?
9When configuring an OAuth identity provider of type HTPasswd, which object type must be created to store the username and hashed password pairs?
10An administrator needs to configure re-encrypt TLS termination on a Route. In addition to the router certificate, what other certificate component must typically be provided in the route configuration?
11An 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?
12An 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?
13An 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?
14An application deployed in a secured namespace requires access to the Kubernetes API to query pod statuses. The administrator wants to follow the principle of least privilege. How should the administrator configure the ServiceAccount and RBAC?
15An 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?
16An administrator needs to view the current list of active Security Context Constraints installed in an OpenShift cluster. Which command should be executed?
17An administrator is securing routes in an OpenShift cluster. Which THREE TLS termination types are supported natively by OpenShift Routes? (Choose THREE)
18An 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)
19An administrator is configuring authentication in OpenShift. Which TWO of the following identity provider types are natively supported by the OpenShift OAuth server? (Choose TWO)
20An administrator is reviewing the default Security Context Constraints in OpenShift 4.14+. Which THREE of the following SCCs are built-in and provided out-of-the-box by OpenShift? (Choose THREE)
21An administrator is auditing Security Context Constraints and wants to identify which settings can be controlled within a custom SCC definition. Which THREE fields are valid configuration options inside an SCC resource? (Choose THREE)
22An administrator needs to restrict pod creation based on Pod Security Standards namespaces. Which TWO of the following are valid Pod Security Standard levels defined by Kubernetes and supported in OpenShift? (Choose TWO)
23An administrator is managing service accounts and wants to understand how tokens work in OpenShift 4.14+. Which TWO statements are correct regarding ServiceAccount tokens in this version? (Choose TWO)
24An administrator is troubleshooting an OAuth authentication failure where users receive an error indicating invalid credentials against an HTPasswd provider. Which TWO steps or checks are critical for resolving this issue? (Choose TWO)
25A cluster administrator needs to grant a Deployment in the production namespace permission to pull images from a private container registry. The image pull secret is named my-registry-secret. Which step must be performed so that pods created by this Deployment can successfully pull the image?
26An administrator creates a new custom Security Context Constraint (SCC) named restrict-root. After creating the SCC resource, users complain that pods using a ServiceAccount tied to this SCC are still falling back to the restricted-v2 SCC. What is the most likely cause?
27A developer deploys an application using a Route that terminates TLS using the Edge termination strategy. The developer wants to ensure that all insecure HTTP traffic to the route is automatically redirected to HTTPS. Where must this setting be configured?
28A 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?
29A cluster administrator wishes to enforce the restricted Pod Security Standard across an entire namespace named auditing-ns. Which label should the administrator apply to the namespace to enforce this policy while generating audit warnings for non-compliant pods?
30An 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?
31An 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?
32Which command checks if a specific service account can use a restricted SCC?
33Which TWO methods can an administrator use to inspect or troubleshoot Security Context Constraint (SCC) assignments for a specific ServiceAccount in a namespace?
34Which TWO actions are required when configuring an external OpenID Connect (OIDC) identity provider in OpenShift Container Platform?
35Which THREE restrictions or behaviors are enforced by the default restricted-v2 Security Context Constraint in OpenShift Container Platform?
36A 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?
37You are integrating an external LDAP identity provider. Which secret must be created to store the bind password for the LDAP server?
38You need to allow a specific service account to run pods as root. Which command should you use to associate the 'privileged' SCC with the 'default' service account in the 'web-apps' namespace?
39You 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?
40How do you view the currently active OAuth identity providers in an OpenShift cluster?
41Which tool should be used to troubleshoot why an SCC is being rejected for a pod?
42You need to terminate TLS for a route using a custom certificate. Which object must contain the TLS key and certificate?
43You want to ensure that all pods in a namespace are denied access to the host network. Which policy mechanism is most effective for this?
44Which SCC is assigned by default to authenticated users who are not service accounts?
45A developer needs to expose a service via a route with re-encryption. What is required in the Route configuration?
46You are hardening a cluster. Which Pod Security Standard level is the default in OpenShift 4.14 for new projects?
47A pod requires access to the hostPath volume. Which SCC field must be configured to allow this?
48When using OIDC for authentication, what does the 'issuer' field in the configuration represent?
49Where do you define the default image pull secrets for all service accounts in a namespace?
50Which command displays the SCCs currently assigned to a specific service account?
51A container needs to run as a specific non-root UID. Which SCC field configuration is needed?
52Which service account is used by default for pods that do not specify a service account in their manifest?
53When creating a custom SCC, what is the best practice for assigning it to users?
54You are troubleshooting a TLS certificate issue on a route. Which command shows the current certificate status and details?
55Which command removes an SCC from a service account?
56What happens if a pod does not match any SCC?
57You are configuring an OAuth identity provider using 'htpasswd'. Which secret must contain the file?
58Which TWO of the following are valid ways to secure a route?
59How can you view the list of all SCCs available in the cluster?
60You need to update the CA certificate used for the web console. Where is this configured?
61Which THREE of the following are required when configuring an OIDC identity provider?
62Which TWO service accounts have special roles in OpenShift projects regarding SCCs?
63Which THREE parameters are commonly found in the SCC 'spec' section?
64Which THREE fields are critical for controlling pod volume access in an SCC?
65Which TWO actions are necessary when migrating from Htpasswd to OIDC?
66Which TWO authentication methods are supported by the OpenShift OAuth server?
67Which THREE commands are used to manage service account secrets?
68Which THREE components are involved in TLS termination for routes?
69Which TWO security standards are natively tracked in OpenShift?
70Which TWO things must be configured to use a Private Image Registry?
The Security And SCC domain covers the key concepts tested in this area of the EX280 exam blueprint published by Red Hat. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all EX280 domains — no account required.
The Courseiva EX280 question bank contains 70 questions in the Security And SCC domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Security And SCC domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included