EX316 Red Hat Certified Specialist in OpenShift Virtualization Practice Questions
Prepare for EX316 with more than an answer.
- Exam fee
- $500 USD
- Time limit
- 240 minutes
- Passing score
- 210 out of 300 (70%) (scale 0-300)
- Level
- Specialist
- Valid for
- 3 years
Domains covered on the exam 16
- Deploying OpenShift Virtualization6%
- Running and Accessing Virtual Machines8%
- Kubernetes Networking for Virtual Machines8%
- Connecting Virtual Machines to External Networks6%
- Kubernetes Storage for Virtual Machines7%
- Backup and Restore with OADP6%
- Virtual Machine Templates7%
- Virtual Machine Snapshots5%
- Migrating Virtual Machines from Compatible Hypervisors6%
- Cloning Virtual Machines6%
- Virtual Machine Live Migrations6%
- Node Maintenance and OpenShift Virtualization Updates6%
- VM Load Balancing with Kubernetes Networking6%
- Health Probes for Virtual Machines6%
- Preparing Virtual Machines for Node Failure7%
- Basic System Administration Tasks4%
- 1
When configuring a Virtual Machine to be accessible from outside the cluster using a Service, which Service
typeshould be used if you want to map a specific port on every node in the cluster to the VM?Show answer details
Correct answer: B
A
NodePortservice exposes the service on each Node's IP at a static port. This allows external traffic to access the VM by connecting to any node IP on that specific port. - 2
You are configuring a Virtual Machine interface to connect to the default pod network (masquerade mode). You want to ensure the VM's hostname is registered in the cluster DNS so other pods can reach it by name. What resource must be created to facilitate this DNS resolution?
Show answer details
Correct answer: A
In Kubernetes, DNS records are automatically created for Services. To make a VM resolvable by name (e.g.,
vm-name.namespace.svc), you must create a Service that selects the VM. The VM itself does not automatically get a stable DNS record just by existing. - 3
Which command is used to create a Service that exposes a Virtual Machine named
rhel9-serveron port 22 for SSH access?Show answer details
Correct answer: A
The
virtctl exposecommand is a convenience wrapper (similar tooc expose) specifically designed to create Services for VMs. - 4
You need to configure a Linux bridge on all worker nodes to allow VMs to connect directly to the physical network (VLAN 100). Which Custom Resource (CR) should you define to apply this network state configuration using the NMstate operator?
Show answer details
Correct answer: A
The
NodeNetworkConfigurationPolicy(NNCP) is the primary resource used by the NMstate operator to describe the desired network configuration (bridges, bonds, VLANs) that should be applied to nodes. - 5
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?
Show answer details
Correct answer: B
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.
- 6
During a troubleshooting session, you observe that Virtual Machines are failing to start on a specific node. The
virt-handlerpod on that node is in a CrashLoopBackOff state. What is the primary role of thevirt-handlercomponent in the OpenShift Virtualization architecture?Show answer details
Correct answer: C
virt-handleris 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.
