RedHat - Big Savings Alert – Don’t Miss This Deal - Ends In 1d 00h 00m 00s Coupon code: 26Y30OFF
  1. Home
  2. RedHat
  3. EX380 Exam
  4. Free EX380 Questions

Free Practice Questions for RedHat EX380 Exam

Pass4Future also provide interactive practice exam software for preparing RedHat Red Hat Certified Specialist in OpenShift Automation and Integration (EX380) Exam effectively. You are welcome to explore sample free RedHat EX380 Exam questions below and also try RedHat EX380 Exam practice test software.

Page:    1 / 14   
Total 42 questions

Question 1

SIMULATION

Task SIMULATION 25

Create an Argo CD Application (OpenShift GitOps)

Task Information: Create an Argo CD Application that syncs from Git into namespace gitops-demo with automated sync enabled.



Answer : A

Create target namespace

oc new-project gitops-demo

Destination must exist (unless Argo is configured to auto-create).

Create Application manifest

apiVersion: argoproj.io/v1alpha1

kind: Application

metadata:

name: demo-app

namespace: openshift-gitops

spec:

project: default

source:

repoURL: https://git.example.com/org/repo.git

targetRevision: main

path: manifests/demo

destination:

server: https://kubernetes.default.svc

namespace: gitops-demo

syncPolicy:

automated:

prune: true

selfHeal: true

automated: enables auto sync.

prune: removes deleted objects from Git.

selfHeal: corrects drift.

Apply Application

oc apply -f demo-app.yaml

Verify sync health

oc -n openshift-gitops get application demo-app -o yaml | grep -i -E 'sync|health' -n

oc -n gitops-demo get all

==========


Page:    1 / 14   
Total 42 questions