Question 1
A financial services client has implemented ServiceNow CPG to manage their AWS and Azure environments. They have a strict compliance requirement that any new virtual machine provisioned with the tag 'CostCenter:Trading' must automatically be assigned to a specific, pre-approved network security group and have a maximum lease duration of 90 days. What is the most efficient way to enforce this multi-faceted requirement within CPG?
Answer and explanation
Correct answer: C
This is the most efficient and declarative approach. CPG is designed to handle such requirements through the combination of Resource Profiles (for resource attributes like network settings) and Policies (for conditional enforcement based on metadata like tags). A policy can enforce the application of a specific profile, which in turn defines the technical specifications and lease terms, avoiding the need for complex custom scripting.