Courseiva

EX280 · domain

Security And SCC

Practise Red Hat Certified OpenShift Administrator (EX280, OpenShift Container Platform 4.14+) (EX280) Security And SCC practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

70 questions20 easy26 medium24 hard

Focused practice

Practice Security And SCC questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Security And SCC

Security And SCC questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Security And SCC exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Question index

All Security And SCC questions (70)

Click any question to see the full explanation, or start a practice session above.

1

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?

Easy
2

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?

Medium
3

Which THREE commands are used to manage service account secrets?

Hard
4

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?

Easy
5

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?

Hard
6

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?

Hard
7

An 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)

Hard
8

An 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?

Medium
9

Which TWO methods can an administrator use to inspect or troubleshoot Security Context Constraint (SCC) assignments for a specific ServiceAccount in a namespace?

Medium
10

An administrator needs to view the current list of active Security Context Constraints installed in an OpenShift cluster. Which command should be executed?

Easy
11

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?

Medium
12

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?

Medium
13

You need to update the CA certificate used for the web console. Where is this configured?

Hard
14

An administrator is configuring authentication in OpenShift. Which TWO of the following identity provider types are natively supported by the OpenShift OAuth server? (Choose TWO)

Medium
15

You are integrating an external LDAP identity provider. Which secret must be created to store the bind password for the LDAP server?

Hard
16

Which THREE fields are critical for controlling pod volume access in an SCC?

Easy
17

An 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)

Medium
18

An 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)

Hard
19

Which TWO authentication methods are supported by the OpenShift OAuth server?

Medium
20

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

Medium
21

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?

Medium
22

What happens if a pod does not match any SCC?

Medium
23

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)

Hard
24

Which TWO of the following are valid ways to secure a route?

Medium
25

A 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?

Easy
26

Which THREE parameters are commonly found in the SCC 'spec' section?

Medium
27

When configuring an OAuth identity provider of type HTPasswd, which object type must be created to store the username and hashed password pairs?

Easy
28

Which TWO service accounts have special roles in OpenShift projects regarding SCCs?

Easy
29

Which tool should be used to troubleshoot why an SCC is being rejected for a pod?

Medium
30

You 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?

Easy
31

An 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?

Easy
32

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

Hard
33

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?

Hard
34

Which TWO actions are necessary when migrating from Htpasswd to OIDC?

Hard
35

Which command displays the SCCs currently assigned to a specific service account?

Easy
36

A container needs to run as a specific non-root UID. Which SCC field configuration is needed?

Medium
37

You are configuring an OAuth identity provider using 'htpasswd'. Which secret must contain the file?

Hard
38

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?

Hard
39

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

Hard
40

Which service account is used by default for pods that do not specify a service account in their manifest?

Easy
41

You are troubleshooting a TLS certificate issue on a route. Which command shows the current certificate status and details?

Hard
42

How do you view the currently active OAuth identity providers in an OpenShift cluster?

Easy
43

Which THREE components are involved in TLS termination for routes?

Medium
44

How can you view the list of all SCCs available in the cluster?

Easy
45

Which THREE of the following are required when configuring an OIDC identity provider?

Hard
46

Where do you define the default image pull secrets for all service accounts in a namespace?

Easy
47

An 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?

Easy
48

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

Easy
49

A developer needs to expose a service via a route with re-encryption. What is required in the Route configuration?

Hard
50

When creating a custom SCC, what is the best practice for assigning it to users?

Medium
51

An 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?

Hard
52

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?

Medium
53

An 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?

Medium
54

An administrator is securing routes in an OpenShift cluster. Which THREE TLS termination types are supported natively by OpenShift Routes? (Choose THREE)

Hard
55

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?

Medium
56

When using OIDC for authentication, what does the 'issuer' field in the configuration represent?

Hard
57

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?

Medium
58

An 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)

Medium
59

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?

Hard
60

An 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?

Medium
61

Which TWO security standards are natively tracked in OpenShift?

Easy
62

Which SCC is assigned by default to authenticated users who are not service accounts?

Easy
63

An 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)

Medium
64

Which TWO actions are required when configuring an external OpenID Connect (OIDC) identity provider in OpenShift Container Platform?

Medium
65

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?

Hard
66

Which command removes an SCC from a service account?

Easy
67

A 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?

Easy
68

You need to terminate TLS for a route using a custom certificate. Which object must contain the TLS key and certificate?

Hard
69

A 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?

Medium
70

Which TWO things must be configured to use a Private Image Registry?

Hard

Frequently asked questions

What does the Security And SCC domain cover on the EX280 exam?
Security And SCC questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 70 Security And SCC questions in the EX280 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Security And SCC questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
redhat-ex280 REDHAT-EX280 security and scc Practice Questions