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

    Using oc get -o yaml combined with a YAML processor like yq is the standard modern approach to strip cluster-specific metadata, as the old oc export command has been deprecated and removed from OpenShift 4.x CLIs.

    Using oc get svc frontend-svc -o yaml will export the resource, though it requires manual cleanup of cluster-specific metadata (since oc export is deprecated/removed in newer OCP versions). Another valid approach is using oc get with the --export flag (if supported in the specific CLI version) or parsing with tools like yq or jq.

  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

    The oc adm must-gather command is the standard OpenShift utility used to collect comprehensive diagnostic information (logs, resource definitions, cluster state) across the entire cluster. This data is packaged into a tarball that can be attached to a Red Hat Support ticket.

  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: D

    You can target specific cluster components or operators by passing the --image flag to oc adm must-gather. This instructs the command to spin up a pod using that specific image, which contains specialized scripts to gather logs and resources relevant only to that component (like OpenShift Virtualization, Service Mesh, etc.).

  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: C

    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 →