VCP-CMA 2024 Question 197
Single answerAn administrator is tasked with configuring a vSphere environment to ensure that specific workloads are deployed only on hosts with GPUs for intensive graphic processing. The administrator decides to use capability and constraint tags within VMware vRealize Automation. What is the correct sequence of actions to achieve this?
- A
Create a capability tag for GPU on the appropriate hosts and assign a constraint tag to the workloads.
- B
Create a constraint tag for GPU on the appropriate hosts and assign a capability tag to the workloads.
- C
Create both capability and constraint tags for GPU on the appropriate hosts.
- D
Assign the same tag to both the workloads and the hosts to ensure compatibility.
Show answer and explanation
Correct answer: A
Explanation
In vRealize Automation, capability tags are used to define specific features or attributes of resources (e.g., GPU capability on hosts), while constraint tags are used to define placement requirements for workloads. To ensure that workloads requiring GPUs are deployed appropriately, the administrator must assign a capability tag (e.g., 'GPU') to the hosts and a matching constraint tag to the workloads.
- A. Correct.
Correct. Capability tags are applied to resources (e.g., hosts with GPUs), and constraint tags are applied to workloads to ensure placement on compatible resources.
- B. Incorrect.
Incorrect. Constraint tags are applied to workloads, not hosts. Capability tags must be applied to resources (e.g., hosts).
- C. Incorrect.
Incorrect. Applying both types of tags to hosts is not the correct method. Capability tags describe host features, and constraint tags are used to match workloads to those features.
- D. Incorrect.
Incorrect. Assigning the same tag to both workloads and hosts does not adhere to the capability-constraint model in vRealize Automation.