Question 1
Topic: Authentication Methods
Skill tested: Select and configure a machine authentication method that matches workload identity and operating constraints.
A payment service runs on short-lived virtual machines in a cloud environment. Each instance has a platform-issued identity, and the security team requires Vault to verify that identity rather than distribute a long-lived Vault token or shared secret. The service needs access only to a narrowly scoped policy. Which approach best meets these requirements?
A cloud auth method can authenticate a machine using its cloud-issued identity, avoiding a separate shared credential in the image or deployment configuration. The auth role can associate the authenticated identity with the least-privilege policy. Userpass is intended for username/password authentication and would require distributing a password. A long-lived token creates the credential-management risk the scenario excludes, while an instance name is not a secure authentication secret.