RedHat EX380 Practice Exam Questions & Answers
RedHat EX380 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- EX380
- Full Name
- Red Hat Certified Advanced System Administrator in OpenShift
- Issuing Body
- Red Hat
- Question Format (Our Bank)
- Multiple Choice
- Full Question Set
- 42 questions Get All Questions
Free EX380 Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 7 Provision and inspect cluster logging Written answer
Task SIMULATION 27
Set up forwarding of logs to an external endpoint
Task Information: Set up Cluster Logging so that application logs are sent to an external output by means of a ClusterLogForwarder resource.
Plan your answer as you would in the exam, then compare it with the model answer
Check the logging namespace and its resources
oc get ns openshift-logging
oc -n openshift-logging get clusterlogforwarder
The ClusterLogForwarder defines the pipelines and outputs.
Create or modify the ClusterLogForwarder (sample layout)
Specify an output for the external system and a pipeline that selects application logs.
Apply it from the YAML file:
oc -n openshift-logging apply -f clusterlogforwarder.yaml
Confirm the collector pods are running correctly
oc -n openshift-logging get pods
Forwarding depends on the collectors, which may be vector or fluentd depending on the configuration.
Produce a sample log entry
oc -n openshift-logging run logger --image=busybox --restart=Never -- /bin/sh -c 'echo hello-forwarding; sleep 5'
This produces a recognizable message to look for at the external endpoint.
Verify that the logs reach the target
Run a search in your external system to locate hello-forwarding.
Question 2 Domain 7 Provision and inspect cluster logging Lab task
Task SIMULATION 12
Logging Configuration -- Set Up ClusterLogging Through the Web Console
Work out the steps and commands you would run, then compare them with the solution
Step 1: Sign in to the OpenShift web console.
The task specifies a GUI-based procedure.
Step 2: Go to Operators.
Installed logging components are handled by the operator framework.
Step 3: Open Installed Operators.
This displays the operators that are already deployed in the cluster.
Step 4: Choose Red Hat OpenShift Logging.
This operator administers the cluster logging stack and its custom resources.
Step 5: Open the ClusterLogging instance.
The SIMULATION task calls for modifying the existing ClusterLogging custom resource.
Step 6: Change to the YAML View.
This makes it possible to edit the logging custom resource specification directly.
Step 7: Modify the collection type so its value is vector.
This alters which log collector implementation is used.
Step 8: Click Save.
The operator will reconcile the resource and apply the revised collector configuration.
Detailed explanation:
The ClusterLogging custom resource governs how the logging stack behaves in OpenShift. Switching the collection type to vector changes which collector technology gathers node and container logs. On operator-managed platforms, editing the custom resource directly in YAML is the recommended approach for altering managed behavior, since the operator then applies and maintains the desired state. This task assesses both web console navigation skills and knowledge of where logging behavior is set. Saving the resource triggers reconciliation, a fundamental OpenShift operator pattern in which the declared configuration is read and enforced by the operator instead of through manual changes to individual pods.
Question 3 Domain 5 Implement OpenShift GitOps Lab task
Task SIMULATION 19
Configure tolerations for a deployment
Task Information: Modify the payments/api Deployment so that its pods tolerate the taint dedicated=payments:NoSchedule.
Work out the steps and commands you would run, then compare them with the solution
Apply the toleration by patching the deployment
oc -n payments patch deploy api --type=merge -p '{
'spec':{'template':{'spec':{'tolerations':[
{'key':'dedicated','operator':'Equal','value':'payments','effect':'NoSchedule'}
]}}}
}'
A toleration permits pods to be scheduled onto nodes that carry a matching taint.
Confirm the scheduling result
oc -n payments get pods -o wide
Get the complete EX380 question set
$20$40
Question 4 Domain 2 Back up and restore applications with OpenShift API for Data Protection (OADP) Lab task
Task SIMULATION 8
Kubeconfig Management -- Sign Off on CSR
Work out the steps and commands you would run, then compare them with the solution
Step 1: Locate the outstanding certificate signing request.
The lab refers to it as audit-csr.
Step 2: Execute the approval instruction:
oc adm certificate approve audit-csr
Step 3: Verify the approval.
The lab output displays:
certificatesigningrequest.certificates.k8s.io/audit-csr approved
Detailed explanation:
Within Kubernetes and OpenShift, a requester cannot use the signed certificate for authentication until the CSR has been approved. This Task approves the CSR called audit-csr, which probably relates to the audit user or service account access flow in the lab. Certificate-based authentication is frequently employed for kubeconfig access because it provides secure client identity without depending exclusively on tokens. Prior to approval, the cluster API cannot trust the certificate for authenticated operations. Administrative sign-off is therefore a gatekeeping measure that ensures only the intended certificate requests become valid credentials. This Task forms part of a wider kubeconfig workflow that proceeds with setting credentials and defining context.
Question 5 Domain 1 Configure and manage OpenShift Authentication and Identities Lab task
Task SIMULATION 10
Deploy the OADP Operator and confirm that the Velero components are operational
Task Details: Install the OADP operator, then check that the Velero pods and components are running.
Work out the steps and commands you would run, then compare them with the solution
Install OADP via the Web Console
Go to Operators, then OperatorHub, search for OADP or OpenShift API for Data Protection, and click Install
Check that the operator CSV is installed
oc get csv -A | grep -i -E 'oadp|data protection|velero'
This confirms the installation succeeded.
Check the pods in the OADP namespace (usually openshift-adp)
oc get pods -n openshift-adp
The Velero and OADP-related pods should be in the Running state.
Question 6 Domain 1 Configure and manage OpenShift Authentication and Identities Lab task
Task SIMULATION 5
Keep groups synchronized on a recurring basis (CronJob)
Task Information: Set up a CronJob that performs an LDAP group sync at a set interval, running under a service account that holds the necessary permissions.
Work out the steps and commands you would run, then compare them with the solution
Set up a dedicated namespace for the sync job
oc new-project id-sync
This keeps the automation components grouped together.
Provision a service account for the sync job
oc -n id-sync create sa group-sync
The CronJob executes using this SA identity.
Assign the cluster permissions required to manage groups
oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:id-sync:group-sync
Production environments should use narrower permissions, but lab tasks frequently allow cluster-admin to save time.
Make a ConfigMap for groupsync.yaml and Secret(s) for the bind password and CA
Attach them as volumes inside the job container.
Define the CronJob that performs the group sync
Command run inside the job:
oc adm groups sync --sync-config=/config/groupsync.yaml --confirm
The CronJob provides regular reconciliation with LDAP.
Check that the job runs
oc -n id-sync get cronjob
oc -n id-sync get jobs
oc -n id-sync logs job/<job-name>
Question 7 Domain 4 Manage workloads with pod scheduling Lab task
Task SIMULATION 14
Recover the application inside its original namespace
Task Information: Perform a restore using the orders-full backup and confirm that the application resources are brought back.
Work out the steps and commands you would run, then compare them with the solution
Initiate the restore process
velero restore create orders-restore --from-backup orders-full
Check the restore progress
velero restore get
velero restore describe orders-restore --details
Confirm the recovered resources
oc -n orders get all
oc -n orders get pvc
Verify that the deployments, pods, services and PVCs are present and that the pods reach the Running state.
Question 8 Domain 1 Configure and manage OpenShift Authentication and Identities Lab task
Task SIMULATION 8
Set up and consume a service account token through a kubeconfig file
Task Information: Make a service account named ci-bot inside the ci namespace, then build a kubeconfig file that logs in with that account's token.
Work out the steps and commands you would run, then compare them with the solution
Provision the namespace and the service account
oc new-project ci
oc -n ci create sa ci-bot
This service account will be used to provide access for automation.
Assign permissions (for instance, the edit role within the namespace)
oc -n ci policy add-role-to-user edit system:serviceaccount:ci:ci-bot
If no permissions are granted, the token will authenticate successfully, yet API requests will be rejected.
Issue the token via TokenRequest
TOKEN=$(oc -n ci create token ci-bot)
By default, OCP returns a token with a limited lifetime, which is recommended.
Build the kubeconfig with the token
oc config set-cluster lab --server='$(oc whoami --show-server)' \
--insecure-skip-tls-verify=true --kubeconfig=ci-bot.kubeconfig
oc config set-credentials ci-bot --token='$TOKEN' --kubeconfig=ci-bot.kubeconfig
oc config set-context ci --cluster=lab --user=ci-bot --namespace=ci \
--kubeconfig=ci-bot.kubeconfig
oc config use-context ci --kubeconfig=ci-bot.kubeconfig
The result is a standalone kubeconfig intended for CI automation.
Verify access
oc --kubeconfig=ci-bot.kubeconfig get pods
Question 9 Domain 6 Manage cluster monitoring and metrics Lab task
Task SIMULATION 1
Node Management: Delete the Taint from a Worker Node
Work out the steps and commands you would run, then compare them with the solution
Step 1: Sign in to the OpenShift web console using an account that holds sufficient cluster administrator rights.
This task is carried out in the GUI rather than the CLI. The lab hint specifies that it belongs on the worker node details page within the console.
Step 2: Go to Compute.
This section holds node-level resources, covering both control plane and worker nodes.
Step 3: Choose Nodes.
From here you can see every node currently registered with the cluster.
Step 4: Pick the target worker node.
Select the precise worker node named in the lab Task SIMULATION.
Step 5: Switch to the Details tab.
The taint settings are handled from the details view of the chosen node.
Step 6: Find the Taints section and select Edit.
A taint governs pod scheduling. When a worker carries a taint, pods lacking matching tolerations may be unable to schedule onto it.
Step 7: Delete the taint entry that is not wanted.
Once the taint is gone, the worker becomes available again for regular scheduling, subject to the remaining cluster policy.
Step 8: Select Save.
This applies the change so the node is updated and the scheduler can assess it without that taint.
Practice every EX380 question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the RedHat EX380 Exam Covers
Exam domains verified against the Official RedHat EX380 exam guide, last checked November 2026.
Domain 1 Configure and manage OpenShift Authentication and Identities
Integrate OpenShift with LDAP and Red Hat SSO OIDC (Keycloak) to support enterprise identity systems. Manage multiple identity providers, configure authentication, and synchronize OpenShift groups with scheduled maintenance and conflict resolution.
Domain 2 Back up and restore applications with OpenShift API for Data Protection (OADP)
Deploy the OADP operator and configure full application backups including data and resources. Use volume snapshots and schedule recurring backups, then restore applications when needed.
Above Practice Question from this Domain: Q4
Domain 3 Manage workloads with cluster partitioning
Dedicate cluster nodes to specific workloads using node pools and machine configurations. Work with the machine configuration operator and special purpose operators to partition cluster resources.
Domain 4 Manage workloads with pod scheduling
Configure pod placement using node labels, selectors, taints, tolerations, and affinity rules. Prevent workloads from running on dedicated nodes and configure pod disruption budgets for application resiliency.
Above Practice Question from this Domain: Q7
Domain 5 Implement OpenShift GitOps
Deploy the OpenShift GitOps operator and configure Argo CD with users, instances, and integrations. Create pipelines and repositories with Git, Helm, and Kustomize for cluster and application management.
Above Practice Question from this Domain: Q3
Domain 6 Manage cluster monitoring and metrics
Monitor cluster and application performance, troubleshoot availability issues, and configure alert silencing and notifications to maintain system health.
Above Practice Question from this Domain: Q9
EX380 Exam FAQ
Common questions about the exam itself
What background do I need before attempting EX380?
How long should I spend preparing for EX380?
Why is EX380 harder than EX280?
What is the exam format and what happens on exam day?
Which objective area do most candidates struggle with?
How does EX380 relate to other OpenShift certifications?
What happens if I fail EX380 and need to retake it?
How long does my EX380 certification stay valid?
What job roles does EX380 prepare me for?
Can I take EX380 without a prerequisite certification?
Other RedHat Exams
Free practice questions for more RedHat certification exams
