Red Hat Certified Specialist In OpenShift Automation And Integration Free Sample Questions

12 free sample questions120 in the full practice test

Try simulator

EX380 Sample Questions

  1. Question 1

    Intermediate

    GitOps Workflows · Sync Waves and Hooks

    A DevOps engineer is configuring OpenShift GitOps to manage a complex application stack. The requirement is to ensure that the database manifests are applied and healthy before the application deployment manifests are applied. Which feature of Argo CD should be utilized to define this ordering?

    Answer and explanation

    Correct answer: B

    Sync Waves allow you to order how manifests are applied by annotating them with 'argocd.argoproj.io/sync-wave'. Lower values are applied first. Argo CD waits for the health status of the previous wave before proceeding to the next.

  2. Question 2

    Beginner

    Application Deployment · Kustomize Management

    You are creating a Kustomize overlay for a production environment. The base deployment.yaml specifies 2 replicas, but production requires 10. Which Kustomize instruction is the most appropriate to achieve this change without duplicating the entire deployment manifest?

    Answer and explanation

    Correct answer: C

    Kustomize provides a top-level 'replicas' list in kustomization.yaml that specifically targets resources by name and updates their replica count. This is cleaner and more explicit than generic patching for this specific use case.

  3. Question 3

    Intermediate

    Jenkins Integration · Pipeline Configuration

    When integrating Jenkins with OpenShift, you want to ensure that the Jenkins agent pods created during a build pipeline have specific resource limits defined to prevent them from consuming too much cluster capacity. How should this be configured in the Jenkinsfile?

    Answer and explanation

    Correct answer: B

    In the Kubernetes plugin for Jenkins (used in OpenShift), you define the agent environment using podTemplate. Within this template, you specify the container specs, including CPU and memory requests and limits.

  4. Question 4

    Advanced

    Application Deployment · Helm Management

    A team is using Helm to manage application deployments on OpenShift. They need to ensure that a specific 'ConfigMap' is not overwritten during a helm upgrade if the file has been modified manually by operations staff for emergency hotfixes. Which Helm resource policy annotation should be added to the ConfigMap template?

    Answer and explanation

    Correct answer: C

    The annotation helm.sh/resource-policy: keep instructs Helm to skip deleting or modifying this resource during an upgrade or uninstall operation. It 'abandons' the resource management while leaving it in the cluster.

  5. Question 5

    Intermediate

    Deployment Techniques · Blue/Green Deployment

    Which of the following scenarios describes a valid use case for implementing a Blue/Green deployment strategy using OpenShift Routes?

    Answer and explanation

    Correct answer: D

    Blue/Green deployment involves running two identical environments. One is live (Blue) and one is idle (Green). The cutover is instantaneous and achieved by updating the Router configuration to point to the Green service instead of Blue.

  6. Question 6

    AdvancedMultiple answers

    GitOps Workflows · ApplicationSets

    Select TWO correct statements regarding the configuration of OpenShift GitOps (Argo CD) ApplicationSets. (Select TWO)

    Answer and explanation

    Correct answers: A, B

    The List generator is one of the simplest generators, allowing explicit definition of parameters (like cluster URL and cluster name) to create Applications.

    The Cluster generator queries the Argo CD cluster secrets and generates parameters for each registered cluster, enabling automatic multi-cluster deployments.

Register free for 6 more questions

Or unlock all 120 EX380 questions with explanations, timed mode and flashcards.