EX380 Red Hat Certified Specialist In OpenShift Automation And Integration Practice Questions
Prepare for EX380 with more than an answer.
- 1
A developer needs to configure a Canary deployment strategy where traffic is split based on HTTP headers rather than simple weight percentages. Which OpenShift component is best suited to implement this advanced traffic routing?
Show answer details
Correct answer: B
While the default OpenShift Router supports percentage-based traffic splitting, advanced routing based on request content (like HTTP headers, cookies, or user-agent) requires the capabilities of a Service Mesh like Istio (VirtualService).
- 2
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: A
The
Chart.yamlfile is the required definition file that contains the chart's metadata. - 3
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: B
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'. - 4
What is the primary function of the
kustomize edit set imagecommand?Show answer details
Correct answer: B
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. - 5
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.
- 6
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: B
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.
