Question 1
Topic: 1 Compare authentication methods
Skill tested: Selects an authentication method suited to noninteractive workloads and machine identity.
A deployment platform runs short-lived jobs in a cloud environment. Each job must authenticate to Vault without a human entering credentials, and the platform can provide a signed identity document that Vault can validate against the cloud provider. Operators want to avoid distributing long-lived Vault tokens or maintaining a separate username and password for every job. Which authentication approach is the best fit?
A cloud authentication method can validate a workload's provider-issued identity and issue a Vault token according to role bindings, avoiding a separately distributed static Vault credential. This suits noninteractive machine authentication. Userpass and LDAP are generally tied to user credentials and require managing accounts or passwords for workloads. Token authentication accepts an existing Vault token; sharing a long-lived token would undermine the stated goal and increase exposure.