VCP-CMA 2024 Question 199
Single answerAn administrator is configuring a VMware Cloud environment for a development team. The team requires virtual machines (VMs) with specific hardware configurations to run their workloads. To ensure these requirements are met, the administrator decides to use constraint tags. However, the administrator notices that some VMs are being deployed to hosts that do not meet the hardware requirements. What could be the cause of this issue?
- A
The constraint tags were applied to the wrong resource group.
- B
The capability tags were applied to the hosts, but no constraint tags were added to the deployment templates.
- C
The constraint tags and capability tags were configured correctly, but the VMs were deployed using a custom placement policy.
- D
The capability tags were applied to the wrong cluster.
Show answer and explanation
Correct answer: B
Explanation
In VMware Cloud environments, capability and constraint tags are used to ensure that workloads are deployed on appropriate resources. Capability tags are applied to infrastructure resources (e.g., clusters, hosts), while constraint tags are applied to workloads or deployment templates. If constraint tags are not specified in the deployment templates, the system cannot match the workloads to resources with the correct capability tags. This results in VMs being deployed to unsuitable hosts, as described in the scenario.
- A. Incorrect.
If the constraint tags are correctly assigned to the deployment templates but are applied to the wrong resource group, the placement logic will not function as intended. However, the question does not mention an issue with resource groups.
- B. Correct.
If the capability tags are applied to the hosts, but constraint tags are missing from the deployment templates, the system cannot match the requirements during placement. This is the most likely cause of the issue.
- C. Incorrect.
While a custom placement policy can override default placement logic, the question does not mention the use of custom placement policies, making this option unlikely.
- D. Incorrect.
If the capability tags are applied to the wrong cluster, it could cause deployment issues. However, the question does not provide information suggesting misconfigured clusters.