2V0-620 · Question #2
An administrator wants to add a web server to an existing multi-tier application consisting of three virtual machines: A web server A database server An application server The web server should be add
The correct answer is A. Create a virtual machine alarm with an action to run a script that starts a new instance of the web. A virtual machine alarm monitoring VM-level CPU and memory metrics with a script action is the correct way to trigger automated scaling based on per-VM utilization thresholds.
Question
An administrator wants to add a web server to an existing multi-tier application consisting of three virtual machines:
A web server A database server An application server The web server should be added to the application when the primary web server reaches:
70% vCPU utilization 55% active memory Which option will achieve this result?
Options
- ACreate a virtual machine alarm with an action to run a script that starts a new instance of the web
- BCreate a host cpu and memory alarm with an action to run a script that starts a new instance of
- CConfigure HA application monitoring for the web server and set it to trigger deployment of a new
- DConfigure Fault Tolerance on the virtual machine and leave the secondary machine disabled until
How the community answered
(64 responses)- A72% (46)
- B16% (10)
- C8% (5)
- D5% (3)
Why each option
A virtual machine alarm monitoring VM-level CPU and memory metrics with a script action is the correct way to trigger automated scaling based on per-VM utilization thresholds.
A virtual machine alarm directly monitors the specific VM's vCPU utilization and active memory - the metrics specified in the requirement (70% vCPU, 55% active memory) - and the alarm action can execute a script that provisions and powers on a new web server instance, matching the stated thresholds precisely.
A host-level CPU and memory alarm monitors aggregate host resource usage, not the individual virtual machine's utilization, so it cannot accurately detect when a single web server VM crosses the specified thresholds.
HA application monitoring is designed to detect application heartbeat failures and restart VMs, not to trigger scale-out deployments based on utilization percentage thresholds.
Fault Tolerance creates a continuously synchronized secondary VM that takes over instantly on primary failure - it does not add capacity based on utilization thresholds and cannot be left disabled as a standby scaling resource.
Concept tested: VM alarm actions for threshold-based automated scaling
Source: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.monitoring.doc/GUID-9272E3B2-6A7F-427B-994C-B15FF8CADC25.html
Topics
Community Discussion
No community discussion yet for this question.