EX380 Red Hat Certified Specialist In OpenShift Automation And Integration Practice Questions
Prepare for EX380 with more than an answer.
- 1
You are creating a new Helm chart. Which file must be present in the root directory of the chart to define metadata such as the chart name, version, and description?
Show answer details
Correct answer: B
The
Chart.yamlfile is the required definition file that contains the chart's metadata. - 2
A Case Study: 'FinTechCorp' is migrating to OpenShift. They require a GitOps workflow where changes to the 'staging' branch automatically deploy to the Staging namespace, but changes to the 'main' branch require manual approval before syncing to Production.
How should the Argo CD Application for Production be configured to meet this requirement?
Show answer details
Correct answer: D
To require manual approval (or manual action) for syncing to Production, the
automatedsync policy should be omitted or disabled. This ensures that while Argo CD detects changes, it waits for a human to click 'Sync'. - 3
What is the primary function of the
kustomize edit set imagecommand?Show answer details
Correct answer: C
This command modifies the
kustomization.yamlfile, adding or updating an entry in theimageslist. This is commonly used in CI/CD pipelines to update the image tag to the build version. - 4
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?
Show answer details
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.
- 5
You are creating a Kustomize overlay for a production environment. The base
deployment.yamlspecifies 2 replicas, but production requires 10. Which Kustomize instruction is the most appropriate to achieve this change without duplicating the entire deployment manifest?Show answer details
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.
- 6
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?
Show answer details
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.
