How do you define parameters in a custom VM template?
正解:
See the Explanation.
Explanation:
1. Under parameters:, define values:
- name: NAME
description: Name of the VM
required: true
2. Use valueFrom to substitute in the VM object:
metadata:
name: "${NAME}"
3. Allows dynamic value substitution.
4. Simplifies reuse.
5. Set multiple parameters (CPU, MEMORY, DISK, etc.).
質問 2:
How do you verify the performance of a VM disk (I/O benchmarking)?
正解:
See the Explanation.
Explanation:
1. Access the VM console: virtctl console <vm>
2. Run:
yum install -y fio
fio --name=test --size=1G --rw=randread --bs=4k --iodepth=64 --numjobs=4 --runtime=60
3. Evaluate read/write throughput and IOPS.
4. Test multiple storage classes if needed.
5. Tune disk type for better performance.
質問 3:
How do you create a snapshot of a stopped VM?
正解:
See the Explanation.
Explanation:
1. Stop the VM: virtctl stop test-vm
2. Create the VirtualMachineSnapshot resource (same YAML as Q2).
3. Wait for snapshot completion: oc get vmsnapshot -w
4. Once done, you can restart the VM.
5. Offline snapshots are faster and more consistent.
質問 4:
How do you update a VM's runStrategy using CLI?
正解:
See the Explanation.
Explanation:
1. Run:
oc patch vm <vm-name> --type='merge' -p '{"spec":{"runStrategy":"RerunOnFailure"}}'
2. Confirm update:
oc get vm <vm-name> -o jsonpath='{.spec.runStrategy}'
3. This strategy restarts the VM only on failure.
4. Useful for crash recovery.
5. Avoids restarts on manual shutdown.
質問 5:
How do you reboot the virtual machine from inside the guest OS?
正解:
See the Explanation.
Explanation:
1. Inside
VM: sudo
reboot
2. VM will shut down and restart.
3. From host:
virtctl restart <vm-name>
4. Confirm with oc get vmi
5. Useful during package updates.
質問 6:
How do you verify and update VM boot order after import?
正解:
See the Explanation.
Explanation:
1. Edit VM
YAML:
bootOrder: 1
2. Make sure correct disk has bootOrder set.
3. Remove bootOrder from non-bootable devices.
4. Reapply changes: oc apply -f vm.yaml
5. Restart VM and verify boot.
質問 7:
How do you confirm that OpenShift Virtualization components are healthy after update?
正解:
See the Explanation.
Explanation:
1. Check pods:
oc get pods -n openshift-cnv
2. Validate all are Running or Completed.
3. Check logs:
oc logs <pod-name> -n openshift-cnv
4. Verify version:
oc get kubevirt kubevirt -n openshift-cnv -o jsonpath='{.status.observedVersion}'
5. Monitor cluster activity to ensure stability.
1097 お客様のコメント





佐藤** -
簡単にEX316試験に合格することは信じられないです。ずっとEX316試験は難しいと思っています。しかし、EX316試験資料があったら、優しくなりました。