Red HatFree

Red Hat Certified Specialist in OpenShift Automation and Integration Free Practice Questions

This practice bank exercises foundational knowledge of OpenShift resources and automation. It covers build and deployment strategies, configuration management, security, and CI/CD pipelines. Users must decide between similar resource types (e.g., Job vs. Deployment) and understand CLI commands for troubleshooting. The bank tests practical decision-making for tasks like exposing services, managing permissions, and applying configurations across namespaces. Mastery of these concepts is essential for automating application lifecycle in OpenShift environments.

15
practice questions
20
recall cards
15
explanations
0
sign-ups required
Exam-focused analysis

What this Red Hat Certified Specialist in OpenShift Automation and Integration practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Resource Selection and Use Cases

This section assesses the ability to choose the correct OpenShift resource for specific scenarios, such as building images, creating temporary test environments, exposing services externally, or running batch tasks. It requires understanding the primary purpose and lifecycle of each resource.

  • BuildConfig automates container image creation from source code.
  • Templates create parameterized, ephemeral environments for testing.
  • Routes expose services externally via hostnames with load balancing.
  • Jobs run short-lived, batch-oriented tasks to completion.

Configuration and Security Management

This section focuses on managing application configuration and enforcing security. It covers ConfigMaps for non-confidential data, ServiceAccounts for pod identity, PodSecurityAdmission for restricting pod capabilities, and Cluster-level policies for consistent governance across namespaces.

  • ConfigMaps decouple configuration from container images.
  • ServiceAccounts provide identity for workloads to access the API.
  • PodSecurityAdmission enforces security restrictions on pods.
  • ClusterPolicy applies configuration changes to multiple namespaces.

Deployment and Lifecycle Automation

This section evaluates knowledge of deployment strategies and lifecycle automation. It includes rolling deployments for zero-downtime updates, ImageStreams for triggering builds when images change, Operators for automating complex applications, and OpenShift Pipelines for CI/CD workflows.

  • Rolling strategy incrementally replaces pods for zero-downtime.
  • ImageStreams track image tags and trigger automated rebuilds.
  • Operators manage lifecycles of stateful applications.
  • OpenShift Pipelines (Tekton) automate build, test, and deploy.

CLI and Monitoring Commands

This section tests proficiency with essential OpenShift CLI commands for provisioning, monitoring, and troubleshooting. It emphasizes rapid application creation, build status inspection, and permission verification, which are critical for day-to-day operations.

  • oc new-app creates an application from source or image in one step.
  • oc describe build provides detailed status of a specific build.
  • oc policy can-i checks user permissions for actions in a project.
  • oc get and oc logs are used for general monitoring.
Active recall deck

Practice Red Hat Certified Specialist in OpenShift Automation and Integration with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Static practice bank

Start the 15-question diagnostic

The complete question bank is embedded in this pre-rendered page. There is no database request or second content download when you begin.

Question 1 of 15

What is the primary purpose of a BuildConfig in OpenShift?

Show hint

Understand core OpenShift application build mechanisms

1 correct answers

Study workflow

Turn one Red Hat Certified Specialist in OpenShift Automation and Integration attempt into a study plan

  1. 1

    Provision an Application with oc new-app

    Use `oc new-app` to quickly create an application from a Git repository or container image. Specify the source with `--code`, and optionally add labels with `-l`. The command automatically creates a BuildConfig, Deployment, and Service. Verify with `oc get pods` and `oc get svc`.

  2. 2

    Create a ConfigMap and Inject into a Pod

    Create a ConfigMap from a file or literal using `oc create configmap my-config --from-file=config.properties`. In a deployment, reference the ConfigMap as a volume or environment variable via the pod spec. This decouples configuration from the image.

  3. 3

    Set Up a Rolling Deployment Strategy

    Edit a Deployment's spec.strategy to `type: RollingUpdate`. Configure `maxSurge` and `maxUnavailable` to control the pace. This ensures pods are replaced incrementally, maintaining availability. Test by updating the image and watch with `oc rollout status deployment/myapp`.

  4. 4

    Use an ImageStream to Trigger a Build

    Create an ImageStream with `oc create imagestream myis`. Then in a BuildConfig, set `output.to.kind: ImageStreamTag` and `triggers.imageChange`. When the upstream image updates, the BuildConfig automatically starts a new build and deployment.

  5. 5

    Check Permissions with oc policy can-i

    Run `oc policy can-i create pods` to verify if the current user can create pods in the active project. You can also specify a namespace with `-n`. This command helps debug RBAC issues before troubleshooting workloads.

FAQ

Questions about this exam practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the difference between a BuildConfig and an ImageStream in OpenShift?+

A BuildConfig defines how to build a container image from source code (e.g., S2I or Docker). An ImageStream tracks image tags and can trigger new builds or deployments when the upstream image changes. They often work together: the BuildConfig outputs to an ImageStream, which then triggers deployments.

How does the Rolling deployment strategy ensure zero-downtime?+

The Rolling strategy incrementally replaces old pods with new ones, keeping a minimum number of available pods. By controlling `maxSurge` (extra pods) and `maxUnavailable` (allowed unavailable pods), it ensures the application remains accessible during the update.

Why would you use a Template instead of manually creating resources?+

Templates parameterize resource definitions, allowing you to create multiple environments (dev, test, prod) with different settings from a single definition. This reduces manual effort and ensures consistency across deployments.

What is the purpose of a ServiceAccount?+

A ServiceAccount provides an identity for processes running in a pod. It allows the pod to authenticate to the Kubernetes API and perform authorized actions. Roles and RoleBindings grant specific permissions to ServiceAccounts, enabling fine-grained access control.

How do OpenShift Pipelines differ from traditional Jenkins pipelines?+

OpenShift Pipelines are based on Tekton and run as Kubernetes CRDs, making them cloud-native and declarative. They offer better integration with OpenShift resources, serverless execution of tasks, and easier scaling compared to a standalone Jenkins server.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.