Red Hat Certified Specialist in OpenShift Virtualization Free Sample Questions

Description

Covers deploying the OpenShift Virtualization operator, provisioning and networking virtual machines, persistent storage, OADP backup and restore, VM templates, snapshots, and live migration.

12 free sample questions135 in the full practice test

Try simulator

EX316 Sample Questions

  1. Question 1

    Advanced

    Deploying OpenShift Virtualization · HyperConverged custom resource

    You are the lead architect for a financial institution deploying Red Hat OpenShift Virtualization. You need to configure the cluster to support high-performance trading workloads that require overcommitted memory resources while maintaining strict CPU pinning for deterministic performance. Which configuration in the HyperConverged Custom Resource (CR) best achieves this balance?

    Answer and explanation

    Correct answer: A

    The 'higherWorkloadDensity' feature gate (or configuring memory overcommit percentages directly in newer versions) allows for memory oversubscription at the cluster level. Combining this with dedicated CPU placement policies on specific VMs ensures that critical workloads get pinned CPUs while memory can still be optimized globally.

  2. Question 2

    Intermediate

    Deploying OpenShift Virtualization · OpenShift Virtualization components

    During a troubleshooting session, you observe that Virtual Machines are failing to start on a specific node. The virt-handler pod on that node is in a CrashLoopBackOff state. What is the primary role of the virt-handler component in the OpenShift Virtualization architecture?

    Answer and explanation

    Correct answer: B

    virt-handler is a DaemonSet that runs on every node. It acts similarly to the Kubelet but for VMs, communicating with the local libvirt instance to launch, monitor, and manage the lifecycle of the VM processes on that specific node.

  3. Question 3

    Intermediate

    Deploying OpenShift Virtualization · OLM-based operator deployment

    You need to deploy the OpenShift Virtualization operator in a restricted network environment (air-gapped). Which of the following pre-requisite steps is absolutely critical before creating the Subscription object?

    Answer and explanation

    Correct answer: D

    In an air-gapped environment, the cluster cannot pull images from Red Hat's public registries. You must mirror the operator content to a local registry and configure the cluster to redirect pull requests to this registry using ICSP or IDMS resources.

  4. Question 4

    Beginner

    Running and Accessing Virtual Machines · Console and SSH access

    A developer needs to access the text console of a Virtual Machine named db-server in the prod-db namespace to troubleshoot boot issues. The VM has no IP address assigned yet. Which command provides the most direct access to the serial console?

    Answer and explanation

    Correct answer: C

    The virtctl console command connects directly to the serial console of the VM instance. This is essential for troubleshooting boot issues where networking (SSH) or the graphical console (VNC) might not be fully functional or configured.

  5. Question 5

    Intermediate

    Running and Accessing Virtual Machines · Provision and manage VMs via web console and CLI

    You are creating a new Virtual Machine and want to upload a local RHEL 9 QCOW2 image directly to a DataVolume as part of the provisioning process. Which virtctl command structure achieves this?

    Answer and explanation

    Correct answer: D

    virtctl image-upload dv is the command to upload a local image file to a DataVolume (dv). You must specify the target DV name, size, local image path, and optionally the storage class. This creates the PVC and starts the upload pod automatically.

  6. Question 6

    Intermediate

    Running and Accessing Virtual Machines · VM lifecycle management

    You have a VirtualMachine resource named web-01. You notice there is also a VirtualMachineInstance object named web-01. You delete the VirtualMachineInstance object using oc delete vmi web-01. What is the expected outcome?

    Answer and explanation

    Correct answer: B

    The VirtualMachine (VM) resource is the authoritative state configuration. The VirtualMachineInstance (VMI) represents the running instance. If you delete the VMI while the VM resource is configured to run, the controller detects the discrepancy and spins up a new VMI instance to match the desired state.

Register free for 6 more questions

Or unlock all 135 EX316 questions with explanations, timed mode and flashcards.