EX316 無料問題集「RedHat Red Hat Certified Specialist in OpenShift Virtualization」

How do you configure a VM to start only on-demand using Manual run strategy?
正解:
See the Explanation.
Explanation:
1. Modify VM YAML:
spec:
runStrategy: Manual
2. Save and apply.
3. Start manually
using: virtctl start
<vm-name>
4. VM will not auto-restart on failure.
5. Useful for test/development workloads.
How do you instantiate a VM from a template using CLI?
正解:
See the Explanation.
Explanation:
1. Run:
oc process -n openshift <template-name> \
-p NAME=test-vm -p MEMORY=2Gi -p CPU=2 \
| oc apply -f -
2. Replace parameters as needed.
3. Wait for VM to appear: oc get vm
4. Start the VM if not auto-started.
How do you back up only specific virtual machine resources?
正解:
See the Explanation.
Explanation:
1. Use Velero CLI with specific resource types:
velero backup create vm-only --include-resources virtualmachines,dvs,pv,pvc --wait
2. Add --selector if narrowing by label.
3. Confirm selective backup worked via velero backup describe.
How do you configure a watchdog device for a VM?
正解:
See the Explanation.
Explanation:
1. Edit VM YAML and add:
domain:
devices:
watchdog:
i6300esb: {}
2. Start the VM and verify
with: ls /dev/watchdog*
3. Install watchdog inside the VM.
4. Start it: systemctl start watchdog
5. Protects against internal guest hangs.
How do you detach a Multus interface from a VM safely?
正解:
See the Explanation.
Explanation:
1. Stop VM: virtctl stop <vm>
2. Edit VM spec to remove the multus network and bridge interface.
3. Apply change: oc apply -f vm.yaml
4. Start VM: virtctl start <vm>
5. Confirm with ip a that interface is removed.
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.
How do you check the CDI cloning mechanism is functioning properly?
正解:
See the Explanation.
Explanation:
1. Run:
oc get dv -w
2. Confirm phase transitions: Pending ImportScheduled Succeeded
3. Check CDI pods:
oc get pods -l app=containerized-data-importer
4. Inspect logs:
oc logs <importer-pod-name>
5. Validate cloneType is used when referencing PVCs.
How do you simulate a VM deletion before restore?
正解:
See the Explanation.
Explanation:
1. Stop the VM: virtctl stop <vm-name>
2. Delete the VM: oc delete vm <vm-name>
3. Optionally, delete the DataVolume or PVC:
oc delete dv <dv-name>
oc delete pvc <pvc-name>
4. Now VM is removed, ready to restore.
5. Confirm with oc get vm, dv, pvc.
How do you use a ReadOnlyMany PVC in a VM for shared reference data?
正解:
See the Explanation.
Explanation:
1. Ensure storage class supports ReadOnlyMany.
2. Create a PVC with accessModes: ReadOnlyMany
3. Mount inside VM YAML:
disks:
- name: shared
cdrom: {}
volumes:
- name: shared
persistentVolumeCla
im:
claimName: readonly-pvc
4. Start VM and mount disk as read-only.
5. Verify from OS that it is not writable.
How do you configure the DataProtectionApplication (DPA) custom resource?
正解:
See the Explanation.
Explanation:
1. Define the DPA CR:
apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
name: dpa
namespace: oadp-operator
spec:
configuration:
velero:
defaultPlugins:
- aws
- csi
backupLocati
ons:
- velero: provider:
aws bucket:
oadp-backup
config:
region: us-east-1
s3Url: https://<s3-
endpoint> credential:
key: cloud
name: cloud-credentials
2. Apply the DPA CR.
3. Check Velero pod is running: oc get pods -n oadp-operator
How do you cancel an ongoing VM migration?
正解:
See the Explanation.
Explanation:
1. List current migrations: oc get vmim
2. Delete the migration object:
oc delete vmim <migration-name>
3. The VM will continue to run on the original node.
4. Use oc get vmi to confirm no change.
5. Canceling is useful during capacity or network issues.
How do you back up a virtual machine disk by exporting a PVC?
正解:
See the Explanation.
Explanation:
1. Snapshot PVC using CSI snapshot (if enabled).
2. Export PVC using rsync/restic/Velero or by cloning to backup namespace.
3. For manual backup: use kubectl cp or mount PVC to a pod and archive.
4. Store off-cluster if required.
5. Reimport later into new DV.

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡