CV0-003 · Question #832
A systems administrator is trying to connect to a remote KVM host. The command line appears as follows: After logging in to the remote server, the administrator verifies the daemon is running. Which o
The correct answer is B. Running the command with elevated privileges. Because the administrator already authenticated and logged in via SSH, port 22 is open and credentials are valid, so the next step is to retry the KVM/libvirt command with elevated privileges.
Question
A systems administrator is trying to connect to a remote KVM host. The command line appears as follows:
After logging in to the remote server, the administrator verifies the daemon is running. Which of the following should the administrator try NEXT?
Options
- AOpening port 22 on the firewall
- BRunning the command with elevated privileges
- CChecking if the SSH password is correct
- DEnsuring the private key was properly imported
How the community answered
(38 responses)- A5% (2)
- B82% (31)
- C3% (1)
- D11% (4)
Why each option
Because the administrator already authenticated and logged in via SSH, port 22 is open and credentials are valid, so the next step is to retry the KVM/libvirt command with elevated privileges.
Port 22 does not need to be opened because the administrator already logged in to the remote server over SSH, proving port 22 is accessible.
Connecting to the libvirt daemon (virsh or a similar KVM management tool) requires either root privileges or membership in the libvirt/kvm group. Since the administrator has already logged in successfully, SSH access and credentials are confirmed working. Running the management command with sudo or as a privileged user is the logical next troubleshooting step when the daemon is confirmed running but the connection is still refused.
The SSH password cannot be the issue because the administrator explicitly already logged in successfully before encountering the problem.
The private key import is not relevant because the administrator has already authenticated and established a session on the remote host.
Concept tested: KVM/libvirt daemon privilege requirements
Source: https://libvirt.org/auth.html
Topics
Community Discussion
No community discussion yet for this question.