EX180 Sample Questions

EX180 Sample Questions & Answers

Questions span four evenly weighted areas: externalizing configuration and provisioning storage, health probes with resource limits and autoscaling, deploying apps from container images and templates, and managing OpenShift through the CLI and web console.

Launch the full EX180 simulator →

Showing 6 of 12 free samples.

  1. Question 1Advanced

    Manage OpenShift Container Platform · Inspect Kubernetes resources using both the CLI and the Web UI

    You are troubleshooting a pod named payment-gateway-7b99c5 that is stuck in a CrashLoopBackOff state. You need to identify the specific exit code of the last terminated container and the exact reason it failed. Which CLI command will provide this detailed historical status information?

    Show answer & explanation

    Correct answer: A

    The oc describe pod command provides a detailed, human-readable overview of the pod's lifecycle. Under the 'Containers' section, it shows the 'State' (current) and 'Last State' (previous), which includes the exact Exit Code and Reason for the termination that caused the CrashLoopBackOff. While oc logs --previous shows the logs, it does not explicitly state the container exit code.

    flowchart TD A[Pod in CrashLoopBackOff] --> B{What information is needed?} B -->|Application Output| C[oc logs --previous] B -->|Exit Code & State| D[oc describe pod] D --> E[Look at 'Last State' section]
  2. Question 2IntermediateSelect 2

    Manage OpenShift Container Platform · Inspect Kubernetes resources using both the CLI and the Web UI

    A developer needs to export the current configuration of an OpenShift Service named frontend-svc into a YAML file to store in version control, but they want to exclude cluster-specific metadata (like resourceVersion and uid). Which TWO commands or combinations can achieve this? (Select TWO)

    Show answer & explanation

    Correct answers: A, D

    oc get svc frontend-svc -o yaml prints the whole Service as YAML. The yq del(...) filter then removes cluster-set fields such as resourceVersion and uid, so the saved file is clean.

    oc get svc frontend-svc -o yaml saves the whole Service as YAML. You then delete cluster-set fields such as resourceVersion, uid and status by hand. The old oc export command no longer exists.

  3. Question 3Beginner

    Manage OpenShift Container Platform · Collect cluster support data from an OpenShift cluster for Red Hat support

    A cluster administrator is experiencing intermittent network connectivity issues across multiple worker nodes in an OpenShift 4.22 cluster. They decide to open a support case with Red Hat. Which command is specifically designed to collect the comprehensive diagnostic data required by Red Hat Support?

    Show answer & explanation

    Correct answer: C

    oc adm must-gather collects the data that Red Hat Support needs. It runs a pod that gathers resource definitions and service logs from the whole cluster. You compress the output directory and attach it to the case.

  4. Question 4Intermediate

    Manage OpenShift Container Platform · Collect cluster support data from an OpenShift cluster for Red Hat support

    Red Hat Support has asked you to provide diagnostic data specifically for the OpenShift Virtualization component, rather than the default cluster data. How do you instruct the must-gather tool to collect data using a specialized container image?

    Show answer & explanation

    Correct answer: A

    The --image flag makes must-gather run a feature image instead of the default one. The OpenShift Virtualization image collects that component's resources and logs. must-gather has no --component or --plugin flag.

  5. Question 5Beginner

    Manage OpenShift Container Platform · Inspect Kubernetes resources using both the CLI and the Web UI

    True or False: The oc describe command outputs the exact raw YAML manifest of a resource as it is stored in the etcd database, making it the best command to use when backing up a resource configuration.

    Show answer & explanation

    Correct answer: A

    False. The oc describe command formats the resource data into a human-readable summary and aggregates related information (like recent events). To get the raw YAML manifest as stored in the API/etcd for backup purposes, you must use oc get -o yaml.

  6. Question 6Advanced

    Manage OpenShift Container Platform · Collect cluster support data from an OpenShift cluster for Red Hat support

    LogiTrans Inc. is operating a production OpenShift 4.22 cluster. They are utilizing Red Hat OpenShift Service Mesh. Recently, the telemetry data is not appearing in the Kiali console. The administrator needs to open a support ticket.

    flowchart LR A[OpenShift Cluster] --> B[Service Mesh Operator] B --> C[Istio Control Plane] B --> D[Kiali Console] D -.->|Missing Data| E[Red Hat Support]

    The administrator runs the standard oc adm must-gather command, but Red Hat support responds that the specific Service Mesh diagnostic logs are missing. What is the most optimal way to resolve this and provide the correct data?

    Show answer & explanation

    Correct answer: A

    The default oc adm must-gather command collects base cluster data. For layered products and specific operators like OpenShift Service Mesh, Red Hat provides specialized must-gather images. By passing the --image flag with the Service Mesh must-gather image, the tool will execute scripts specifically designed to pull Istio, Kiali, and Jaeger telemetry logs, configurations, and state data needed by support.

Ready for the real thing?

The full EX180 simulator has every exam-style question, timed mode, and instant scoring.

Go to the EX180 simulator →