CompTIA DataSys+ (DS0-001)Database DeploymentMedium
A database administrator is planning the deployment of a new PostgreSQL database on a virtual machine (VM). The application using this database is mission-critical and requires consistent, high-performance I/O and CPU resources. To prevent resource contention with other VMs on the same host, what configuration should the administrator implement?
- AImplement VM resource reservations.
- BIncrease the VM's swap space.
- CConfigure a dedicated network adapter for the VM.
- DDisable CPU and memory ballooning.
Show answer & explanationAnswer & explanation
Correct answer: A. Implement VM resource reservations.
VM resource reservations guarantee a minimum allocation of CPU, memory, or I/O resources to a specific VM, preventing other VMs from consuming those resources and ensuring consistent performance for critical applications like databases.
Why the other options are wrong
- B. Increasing swap space can lead to performance degradation due to disk I/O, not improved consistency.
- C. A dedicated network adapter can improve network performance but does not address CPU, memory, or disk I/O contention.
- D. Ballooning dynamically reclaims unused memory, disabling it might prevent resource sharing when needed but doesn't guarantee a minimum.
VM Resource Reservation
VM resource reservation is a virtualization feature that guarantees a specific amount of CPU, memory, or storage I/O resources for a virtual machine, ensuring consistent performance by preventing resource contention.
- Guarantees minimum resources (CPU, RAM, I/O).
- Prevents resource contention with other VMs.
- Critical for performance-sensitive applications like databases.
Memory trick: Reserving VM resources is like booking a private booth for your database – no sharing, no waiting.