Contoso runs existing Windows Server Azure VMs that host factory automation software. The software requires a Contoso-specific registry DWORD value. You will deliver this value with a custom Azure Machine Configuration package and a policy that deploys its guest assignment.
Requirements:
- The deployed configuration must set the value, not only report it.
- The VMs that already exist must be brought into compliance as part of the rollout.
- If an administrator later changes the value inside the guest OS, the value must be corrected at the next guest evaluation without running another Azure Policy remediation task.
The prerequisite initiative is already deployed. The policy assignment's managed identity holds the required roles, and the VMs can download any package you publish.
Which deployment approach meets all the requirements?
Choose one answer.
- Audit package; DeployIfNotExists policy with ApplyAndAutoCorrect; initial remediation task for existing VMs
- AuditAndSet package; DeployIfNotExists policy with ApplyAndAutoCorrect; policy evaluation, no remediation task
- AuditAndSet package; DeployIfNotExists policy with ApplyAndMonitor; initial remediation task for existing VMs
- AuditAndSet package; DeployIfNotExists policy with ApplyAndAutoCorrect; initial remediation task for existing VMs