1. What is HashiCorp Vault used for?
Managing secrets and sensitive data
Deploying cloud infrastructure
Monitoring network traffic
Creating containerized applications
Show Answer
✅ Correct Answer: Managing secrets and sensitive data
2. Which authentication method is commonly used with HashiCorp Vault?
Show Answer
✅ Correct Answer: AppRole
3. What is the purpose of Vault policies?
To define access control rules
To encrypt stored secrets
To enable dynamic secrets
To configure Vault networking
Show Answer
✅ Correct Answer: To define access control rules
4. Which storage backend is supported by HashiCorp Vault?
Consul
MongoDB
Kafka
Redis
Show Answer
✅ Correct Answer: Consul
5. What command is used to initialize a new Vault server?
vault operator init
vault init
vault start
vault config
Show Answer
✅ Correct Answer: vault operator init
6. What is the purpose of Vault’s unsealing process?
To decrypt the Vault’s encryption key
To restart Vault services
To configure Vault authentication
To back up Vault data
Show Answer
✅ Correct Answer: To decrypt the Vault’s encryption key
7. Which of the following authentication methods does Vault support?
GitHub
SSH
Docker
Kubernetes
Show Answer
✅ Correct Answer: GitHub
8. What type of secrets can Vault manage?
Both static and dynamic secrets
Only static secrets
Only dynamic secrets
Only cloud provider secrets
Show Answer
✅ Correct Answer: Both static and dynamic secrets
9. How does Vault handle secret expiration?
By using lease durations and TTLs
By manually deleting secrets
By using audit logs
By rotating encryption keys
Show Answer
✅ Correct Answer: By using lease durations and TTLs
10. What is a Vault token?
A credential for accessing Vault
An API key for Vault’s backend
A method to encrypt Vault data
A logging mechanism for Vault
Show Answer
✅ Correct Answer: A credential for accessing Vault
11. Which Vault feature allows automatic credential generation for databases?
Dynamic Secrets
Static Secrets
Secret Templating
Credential Caching
Show Answer
✅ Correct Answer: Dynamic Secrets
12. What is the primary benefit of using Transit Secrets Engine?
Encrypting and decrypting data without storing it
Storing long-term secrets
Managing API keys
Providing cloud storage access
Show Answer
✅ Correct Answer: Encrypting and decrypting data without storing it
13. Which of the following is an example of a Vault secret engine?
AWS
Kubernetes
GitLab
Jenkins
Show Answer
✅ Correct Answer: AWS
14. What is the main function of Vault audit logs?
Tracking access and usage of secrets
Encrypting stored secrets
Validating policies
Unsealing Vault
Show Answer
✅ Correct Answer: Tracking access and usage of secrets
15. How can you revoke a Vault token?
Using the "vault token revoke" command
Using the "vault policy delete" command
By restarting Vault
By unsealing Vault
Show Answer
✅ Correct Answer: Using the "vault token revoke" command
16. What is a Vault lease?
A time-limited access permission
A permanent storage unit for secrets
A Vault storage backend
A type of encryption key
Show Answer
✅ Correct Answer: A time-limited access permission
17. What is the primary role of Vault’s Identity Secrets Engine?
Managing and verifying user identities
Encrypting API keys
Rotating database credentials
Generating SSH certificates
Show Answer
✅ Correct Answer: Managing and verifying user identities
18. Which command is used to seal Vault manually?
vault operator seal
vault shutdown
vault stop
vault terminate
Show Answer
✅ Correct Answer: vault operator seal
19. Which Vault feature allows users to access secrets with short-lived tokens?
Identity-based Access Management
Static Secrets Engine
Cloud-based Authentication
Long-Term Secret Storage
Show Answer
✅ Correct Answer: Identity-based Access Management
20. What is the purpose of a Vault replication setup?
To ensure high availability and disaster recovery
To create multiple secret engines
To encrypt stored secrets
To manage Vault user authentication
Show Answer
✅ Correct Answer: To ensure high availability and disaster recovery
The Terraform Hashicorp Hcvao 002 certification is a globally recognized credential for IT professionals.
This practice test helps you prepare by covering key topics like hardware, networking, troubleshooting, and security.
Want more practice? Check out our other mock exams: