AZ-104 • Practice Test 33
Free AZ-104 practice test — 15 questions with explanations. Set 33. No signup required.
Based on the exhibit, which change should the administrator make so the application identity remains stable across VM redeployments without reapplying RBAC assignments?
Bicep snippet:
resource vm 'Microsoft.Compute/virtualMachines@2023-09-01' = {
name: 'appvm01'
location: resourceGroup().location
identity: {
type: 'SystemAssigned'
}
properties: {
hardwareProfile: {
vmSize: 'Standard_D2s_v5'
}
osProfile: {
computerName: 'appvm01'
}
}
}
Operational note:
- The VM is rebuilt every month from source control.
- The workload must read secrets from Key Vault and upload logs to Blob Storage.
- Recreating the VM must not require new role assignments for the workload identity.