LPIC-3 Exam 304 (Virtualization and High Availability) — Question 10
What is the effect of running the virsh vcpupin CLUSNODE-2 4 2 command?
Answer options
- A. It sets the affinity of virtual CPU 4 of virtual machine CLUSNODE-2 to physical processor 2.
- B. It reduces the number of virtual CPUs in CLUSNODE-2 from 4 to 2.
- C. It increases the number of virtual CPUs in CLUSNODE-2 from 2 to 4.
- D. It sets the affinity for all virtual CPUs of virtual machine CLUSNODE-2 to the physical processors 2 and 4.
Correct answer: A
Explanation
The command 'virsh vcpupin CLUSNODE-2 4 2' specifically sets the affinity of virtual CPU 4 to physical processor 2, making option A the correct choice. Options B and C incorrectly describe changes to the number of virtual CPUs, which the command does not affect. Option D inaccurately suggests that it applies to all virtual CPUs rather than just virtual CPU 4.