Question 1
Q1A financial services firm is deploying a new multi-tier application using VMware Aria Automation. The firm has a strict requirement that all database-tier virtual machines must reside on-premises in their vSphere environment for compliance reasons, while web and application tiers can be deployed to either AWS or Azure for scalability. An administrator needs to design a single cloud template that enforces this placement logic without manual intervention. Which combination of YAML properties in the cloud template is the most effective way to achieve this?
Show answer & explanation
Correct answer: C
The most effective method is to use a hard constraint with a positive tag for the database resource to force its placement on-premises. For the web and application tiers, a hard negative constraint (!) ensures they are explicitly forbidden from the on-premises environment, forcing them onto the public cloud endpoints. This approach is deterministic and directly enforces the compliance requirement without ambiguity. Soft constraints are not suitable for strict compliance, and having no constraints on the web/app tiers doesn't guarantee they won't be placed on-premises if capacity is available.