Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free RedHat Red Hat Certified Specialist in OpenShift Automation and Integration EX380 Exam Questions

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 7 Total 42 questions

Want more questions? Get Premium Access.

Question 1

New Multiple answers

Topic: Configure and manage OpenShift Authentication and Identities

Skill tested: Configures LDAP-backed identity and synchronizes directory groups for OpenShift RBAC.

A research organization uses LDAP as its authoritative identity source. Users can authenticate through an existing LDAP identity provider, but project administrators need membership in directory-managed groups to receive namespace roles. The security team requires that group membership be refreshed on demand without granting the synchronizing account cluster-wide administrative privileges. Which two actions should the platform engineer take? Select TWO.

Correct Answer: B. Configure LDAP group synchronization with a sync configuration that maps LDAP group membership to OpenShift groups, and run the supported group synchronization command when a refresh is required.; E. Create an LDAP group synchronization configuration and grant the operator account the permissions required to manage the target OpenShift groups, then run synchronization using that configuration.
Explanation:

LDAP authentication and group synchronization are separate concerns. A group synchronization configuration specifies how LDAP groups and members map to OpenShift groups; the supported synchronization command applies that mapping, including for an on-demand refresh. The identity used to perform synchronization needs sufficient permissions to manage the target groups, but does not inherently require cluster-admin. Manually maintained groups are not refreshed from LDAP, identity-provider mapping settings do not replace group synchronization, and granting cluster-admin to the bind account is excessive.

Question 2

New Single answer

Topic: Configure and manage OpenShift Authentication and Identities

Skill tested: Diagnoses LDAP group synchronization conflicts by inspecting mappings and sync inputs.

After an LDAP directory reorganization, a synchronized OpenShift group still contains several former employees. A new synchronization completes successfully, but those memberships remain. The sync configuration derives group names from a directory attribute, and the team suspects that two LDAP records now resolve to the same OpenShift group name. The organization must preserve unrelated OpenShift groups and avoid deleting all synchronized groups as a first troubleshooting step. What should the administrator do FIRST?

Correct Answer: B. Inspect the synchronization configuration and generated group mapping, then use the synchronization dry-run or review output to identify the conflicting LDAP group records before applying a corrected mapping.
Explanation:

A successful sync does not prove that the intended LDAP records map unambiguously to the intended OpenShift groups. Inspecting the sync configuration and mapping output first reveals collisions or stale source membership without disrupting unrelated groups. A controlled correction can then be synchronized. Deleting every group is unnecessarily destructive, OAuth identity mapping does not define LDAP group synchronization, and OAuth identities are not the source of LDAP group membership.

Question 3

New Multiple answers

Topic: Configure and manage OpenShift Authentication and Identities

Skill tested: Creates scoped kubeconfig credentials using a user token or client certificate.

A release engineer needs a portable kubeconfig for a temporary deployment user. The user must access one project only, and the credentials must not expose an administrator's token. The environment supports bearer-token authentication, and the security team also wants to understand the certificate-based alternative. Which TWO practices meet these requirements? Select TWO.

Correct Answer: C. Use a client certificate and private key associated with the intended user, configure the API server certificate authority in the kubeconfig, and grant that user only the required project role.; E. Create a dedicated user identity, grant it only the required role in the target project, and configure the kubeconfig with that user's issued bearer token and the cluster endpoint.
Explanation:

A kubeconfig identifies the API server, trusted certificate authority, and credential used by the client; authorization is separately controlled through RBAC. A dedicated user's bearer token with a project-scoped role meets the least-privilege requirement. A client certificate and key can provide an alternative user credential when the certificate identity is recognized and appropriately authorized. Changing the namespace does not reduce cluster-admin privileges, tokens require a real identity and permissions, and passwords are not bearer tokens; omitting server verification weakens security.

Question 4

New Single answer

Topic: Back up and restore applications with OpenShift API for Data Protection (OADP)

Skill tested: Configures OADP backup scope and volume protection for an application.

A stateful service is deployed in a dedicated namespace. Its recovery plan requires a backup that contains Kubernetes resources and persistent volume data, with the volume data protected by a supported volume snapshot mechanism. The cluster has an installed OADP operator and a configured object-storage location; the storage platform supports CSI snapshots. Which approach most directly satisfies the requirement?

Correct Answer: A. Create a Velero backup that includes the namespace resources and configure the applicable volume snapshot integration and backup storage location; verify that the PVC data is captured through the supported snapshot path.
Explanation:

An application recovery backup must protect both the API resources and the persistent data. OADP uses Velero backup resources and configured storage integrations; with compatible CSI snapshot support, the backup must be configured to capture volume data through that mechanism. Exporting manifests records PVC definitions, not the files stored in their volumes. Backing up only PVCs omits application resources, while excluding snapshots leaves the required data unprotected.

Question 5

New Multiple answers

Topic: Back up and restore applications with OpenShift API for Data Protection (OADP)

Skill tested: Plans scheduled OADP backups and restores an exported application backup safely.

A platform team must retain recurring backups of a production namespace and later restore an exported backup bundle into a recovery namespace for validation. The application uses persistent data, and the recovery exercise must not overwrite the production namespace. OADP and its backup storage location are already configured. Which TWO actions are appropriate? Select TWO.

Correct Answer: B. Create a restore from the selected backup and specify the supported namespace mapping to the recovery namespace, then inspect restore status and restored resources.; E. Create a scheduled backup with a namespace-scoped selection and the required volume-data protection, then verify that the resulting backup completes successfully.
Explanation:

A scheduled backup provides recurring protection, but it must include the selected namespace's resources and the required persistent-volume data, and its completion should be verified. A restore can use namespace mapping to place backed-up resources into a separate recovery namespace, allowing validation without modifying production. Restoring over production violates the stated isolation constraint. A namespace object alone is not an application backup, and namespace remapping is an explicit restore decision rather than an automatic behavior.

Question 6

New Single answer

Topic: Manage workloads with cluster partitioning

Skill tested: Constrains a workload to a labeled dedicated node pool using selectors.

A payment-processing service must run only on a dedicated set of worker nodes. The cluster already has a separate pool of general-purpose workers, and the operations team needs an auditable scheduling rule that remains effective after pods are rescheduled. Nodes in the dedicated pool can be labeled consistently. Which configuration is the best fit?

Correct Answer: A. Add a matching node selector to the workload pod template and apply the corresponding label to every node in the dedicated pool.
Explanation:

A node selector on the pod template requires the scheduler to place the pod only on nodes carrying the specified label. Applying the label consistently to the dedicated pool makes the rule durable across rescheduling while remaining straightforward to audit. Preferred affinity is a preference, not a hard restriction. Anti-affinity against unrelated workloads does not positively identify eligible dedicated nodes, and pinning node names is brittle when nodes are replaced or unavailable.

Question 7

New Multiple answers

Topic: Manage workloads with pod scheduling

Skill tested: Combines taints, tolerations, and required node affinity for workload placement.

A machine-learning team has a GPU node pool tainted to repel ordinary workloads. Its inference deployment must run only on labeled GPU nodes; unrelated workloads must remain unable to schedule there. The team also wants the pods to tolerate the pool's maintenance-related NoSchedule taint, but it does not want a soft placement preference that could place inference pods elsewhere. Which TWO configuration changes satisfy these requirements? Select TWO.

Correct Answer: A. Add required node affinity matching the GPU-node label to the inference pod template.; D. Add a toleration matching the GPU pool's relevant NoSchedule taint to the inference pod template.
Explanation:

A toleration allows the inference pods to be considered for nodes carrying the matching NoSchedule taint; it does not itself force placement there. Required node affinity supplies the hard positive constraint that limits the pods to labeled GPU nodes. Removing the taint would admit unrelated workloads, and preferred affinity can permit placement elsewhere. Broad tolerations and soft placement preferences neither preserve isolation nor enforce the stated requirement.

Question 8

New Single answer

Topic: Manage workloads with pod scheduling

Skill tested: Uses a PodDisruptionBudget to limit voluntary unavailability during maintenance.

A service has four replicas distributed across eligible nodes, and its availability policy requires at least three pods to remain available during voluntary node maintenance. An administrator plans to drain a node and wants Kubernetes to reject a voluntary eviction when it would breach that policy. Which configuration should the service owner create?

Correct Answer: C. A PodDisruptionBudget selecting the service pods with `minAvailable: 3`.
Explanation:

A PodDisruptionBudget with `minAvailable: 3` expresses the required availability floor for voluntary disruptions and can cause an eviction to be denied when it would violate that floor. `maxUnavailable: 3` permits too many unavailable pods for a four-replica service. A Deployment rollout setting governs rollout behavior rather than replacing the PDB's eviction protection, and a readiness probe reports pod readiness rather than constraining voluntary disruption.

Question 9

New Single answer

Topic: Implement OpenShift GitOps

Skill tested: Configures an Argo CD Application to reconcile Git-managed Kubernetes resources.

A team manages a service's manifests in Git and has installed the OpenShift GitOps operator. Engineers must be able to review desired changes through Git, while Argo CD automatically repairs manual changes made to the live deployment. The repository contains a Kustomize overlay for the production environment. Which configuration is most appropriate?

Correct Answer: D. Create an Argo CD Application pointing to the repository, production overlay path, destination cluster and namespace; enable automated synchronization with self-healing.
Explanation:

An Argo CD Application declares the Git source path, destination, and synchronization policy. Pointing it at the production Kustomize overlay makes that overlay the desired state; automated synchronization applies committed changes, while self-healing reconciles drift caused by manual live edits. Disabling automation does not meet the requested automatic repair, live resources are not the Git source of truth, and competing controllers can create conflicting reconciliation.

Question 10

New Multiple answers

Topic: Manage cluster monitoring and metrics

Skill tested: Uses Prometheus metrics and alert controls to isolate an unhealthy application resource.

A customer-facing service begins returning elevated error rates. The cluster monitoring stack is healthy, but the operations team must determine whether the issue is concentrated in one workload and temporarily silence a known alert during an approved maintenance window. They must not disable alert rules cluster-wide or alter application replicas before identifying the failing component. Which TWO actions are appropriate? Select TWO.

Correct Answer: B. Create a time-bounded alert silence with matchers specific to the maintenance alert and its relevant labels.; C. Use the monitoring interfaces or PromQL to compare the relevant error or availability metric across the service's pods and namespaces, then correlate the result with the affected workload.
Explanation:

Comparing application metrics by relevant labels helps isolate whether elevated errors originate from a specific pod or workload before taking corrective action. A narrowly matched, time-bounded silence suppresses notifications for the approved maintenance condition without deleting the rule or disabling monitoring. Deleting a rule creates a lasting monitoring gap; scaling all workloads is disruptive and not diagnostic; disabling the monitoring operator removes visibility across the cluster.

Question 11

New Multiple answers

Topic: Provision and inspect cluster logging

Skill tested: Troubleshoots Vector and Loki ingestion using component logs and log queries.

A cluster logging deployment uses Vector to collect logs and Loki as the log store. Application and node logs have stopped appearing in queries, although workloads continue to run. An external aggregator still receives logs from another source, and the team needs to identify whether collection, forwarding, or storage is failing before changing configuration. Which TWO steps are the best initial actions? Select TWO.

Correct Answer: A. Query Loki for recent records across the affected namespace and inspect the logging components' status and logs to determine whether ingestion reaches the store.; B. Inspect the Vector collector pod status and logs, then check the relevant node service logs for collection or transport errors.
Explanation:

The failure can occur at collection, transport, or storage, so inspect Vector and node-level logs for collection or forwarding errors and query Loki while checking the logging components' health. These observations help locate the failing stage before changing configuration. Recreating the logging resource discards useful evidence and may worsen the outage. External forwarding does not inherently prevent local Loki ingestion, and an empty query does not prove application containers stopped emitting logs.