305-300 Full Virtualization Practice Question
You need to change the MAC address of a network interface for a virtual machine. Where is this configured?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Inside the <interface> tag of the VM XML
The MAC address is configured within the <interface> block of the domain XML.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Via the 'virsh set-mac' command
Why it's wrong here
No such command exists.
- ✗
In the qemu-system-x86_64 startup parameters
Why it's wrong here
MAC addresses are defined in the domain XML.
- ✗
In the host's /etc/network/interfaces
Why it's wrong here
This would affect the host, not the guest.
- ✓
Inside the <interface> tag of the VM XML
Why this is correct
The <mac address='...'/> element defines it.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
About these practice questions
One of 194 original 305-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official LPI exam blueprint
This 305-300 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 305-300 exam.