VAULT-ASSOCIATE-002 · Question #87
An organization wants to authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret. The only authentication method which they can use in this case is AWS.
The correct answer is B. False. It is false that AWS is the only authentication method an EC2 instance can use with Vault; other methods like AppRole are also viable.
Question
Options
- ATrue
- BFalse
How the community answered
(40 responses)- A5% (2)
- B95% (38)
Why each option
It is false that AWS is the *only* authentication method an EC2 instance can use with Vault; other methods like AppRole are also viable.
This statement is false because Vault offers multiple authentication methods, such as AppRole, which are suitable for machine-to-machine authentication for EC2 instances, not just the AWS auth method.
While the AWS authentication method is commonly used for EC2 instances to authenticate with Vault by leveraging AWS IAM roles, it is not the *only* option. AppRole is another robust authentication method that could be used, where an EC2 instance securely fetches a RoleID and SecretID to authenticate, providing flexibility in authentication strategy.
Concept tested: Vault authentication methods for compute instances
Source: https://developer.hashicorp.com/vault/docs/auth/aws
Topics
Community Discussion
No community discussion yet for this question.