Question 1single_choice
Design and implement authentication and authorization methods / part 1
A release publisher runs on an Azure VM and reads secrets from a production Azure Key Vault. The publisher VM is replaced during each rollout. In a rehearsal, the replacement VM obtained a Key Vault token using its system-assigned managed identity, but the vault denied the read. The replacement VM had a different principal ID, and the role assignment that grants the publisher read access still named the outgoing VM's principal.
The release team can authorize a publisher principal during this migration. Future deployments can configure managed identities on replacement VMs but cannot change production vault role assignments.
A separate verifier runs on a disposable Azure VM and reads secrets from a test vault. Its provisioning workflow can grant each verifier the required read access. Each verifier must have its own principal, and Azure must delete that principal automatically when its VM is deleted. Both vaults use Azure role-based access control, and both workloads support either managed identity type.
Which identity design meets both workloads' requirements? Choose ONE.
Choose one answer. Your answer is checked immediately.
