Terraform Hashicorp Hcvao 002 Practice Test - Set 1

Test your knowledge with this Terraform Hashicorp Hcvao 002 mock exam. Get real-world IT questions and prepare for certification success.

HCVAO-002: HashiCorp Certified: Vault Associate - Exam Information

Exam Information

Exam Code

Terraform Hashicorp Hcvao 002

Exam Title

HCVAO-002: HashiCorp Certified: Vault Associate

Vendor

HashiCorp

Difficulty

Intermediate

Duration

1 Hour

Question Format

Multiple Choice

Last Updated

February 23, 2025

This certification validates your ability to secure, store, and access secrets and sensitive data using HashiCorp Vault.

Practice Test

Shop Best HCVAO-002: HashiCorp Certified: Vault Associate Resources Worldwide Amazon

1. What is HashiCorp Vault used for?

Managing secrets and sensitive data
Deploying cloud infrastructure
Monitoring network traffic
Creating containerized applications

2. Which authentication method is commonly used with HashiCorp Vault?

AppRole
OAuth2
LDAP
SAML

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

4. Which storage backend is supported by HashiCorp Vault?

Consul
MongoDB
Kafka
Redis

5. What command is used to initialize a new Vault server?

vault operator init
vault init
vault start
vault config

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

7. Which of the following authentication methods does Vault support?

GitHub
SSH
Docker
Kubernetes

8. What type of secrets can Vault manage?

Both static and dynamic secrets
Only static secrets
Only dynamic secrets
Only cloud provider 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

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

11. Which Vault feature allows automatic credential generation for databases?

Dynamic Secrets
Static Secrets
Secret Templating
Credential Caching

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

13. Which of the following is an example of a Vault secret engine?

AWS
Kubernetes
GitLab
Jenkins

14. What is the main function of Vault audit logs?

Tracking access and usage of secrets
Encrypting stored secrets
Validating policies
Unsealing Vault

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

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

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

18. Which command is used to seal Vault manually?

vault operator seal
vault shutdown
vault stop
vault terminate

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

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

21. What is the purpose of Vault's cubbyhole?

To store temporary secrets tied to a token's lifecycle
To cache frequently accessed secrets
To encrypt transit data
To manage authentication tokens

22. Which Vault command is used to enable a secrets engine?

vault secrets enable
vault engine enable
vault enable secrets
vault add engine

23. What is the purpose of Vault's response wrapping?

To securely deliver secrets to clients
To encrypt audit logs
To compress secret data
To authenticate API requests

24. Which of these is NOT a Vault authentication method?

OIDC
JWT
S3
Azure

25. What does Vault's PKI secrets engine provide?

Dynamic X.509 certificates
SSH key management
Password rotation
Cloud IAM credentials

26. Which command lists enabled secrets engines?

vault secrets list
vault list engines
vault engines
vault list secrets

27. What is the purpose of Vault's barrier?

To encrypt all data before storage
To prevent unauthorized API access
To isolate network traffic
To authenticate users

28. Which Vault feature allows automatic rotation of secrets?

Dynamic Secrets
Static Secrets
Transit Engine
Cubbyhole

29. What is the purpose of Vault's root token?

Initial superuser access with unlimited privileges
To encrypt the storage backend
To authenticate the Vault service
To seal the Vault

30. Which command checks the status of a Vault server?

vault status
vault health
vault info
vault check

31. What is Vault's KV secrets engine used for?

Storing key-value secrets
Managing encryption keys
Rotating database passwords
Generating SSH certificates

32. Which Vault replication mode provides read-only copies?

Performance Replication
Disaster Recovery Replication
Active-Active Replication
Standby Replication

33. What is the purpose of Vault's step-down command?

To transition from active to standby
To restart the Vault service
To reduce memory usage
To disable authentication

34. Which Vault feature provides encryption-as-a-service?

Transit Secrets Engine
KV Secrets Engine
PKI Secrets Engine
AWS Secrets Engine

35. What is the purpose of Vault's agent?

To automate client-side operations
To monitor Vault performance
To replicate secrets
To authenticate servers

36. Which command is used to renew a Vault token?

vault token renew
vault renew token
vault extend token
vault refresh token

37. What is the purpose of Vault's namespace feature?

To provide isolated environments within a Vault installation
To categorize secrets
To organize audit logs
To separate authentication methods

38. Which Vault command is used to view policy rules?

vault policy read
vault read policy
vault show policy
vault get policy

39. What is the purpose of Vault's seal?

To make the Vault inaccessible and encrypted
To stop the Vault service
To revoke all tokens
To disable authentication

40. Which Vault feature allows generating AWS IAM credentials?

AWS Secrets Engine
Cloud Secrets Engine
IAM Secrets Engine
Dynamic Credentials Engine

41. What is the purpose of Vault's token hierarchy?

To enable token creation with limited permissions
To organize tokens by expiration time
To categorize tokens by authentication method
To encrypt token storage

42. Which command is used to configure Vault's audit devices?

vault audit enable
vault enable audit
vault config audit
vault add audit

43. What is the purpose of Vault's Shamir's Secret Sharing?

To split the master key into multiple parts
To encrypt secrets in transit
To authenticate cluster members
To replicate secrets

44. Which Vault feature provides SSH certificate management?

SSH Secrets Engine
PKI Secrets Engine
Transit Secrets Engine
Cert Secrets Engine

45. What is the purpose of Vault's rekey operation?

To change the master key shares
To rotate encryption keys
To renew all tokens
To reset authentication methods

46. Which command is used to view Vault's server configuration?

vault read sys/config/state
vault config show
vault get config
vault server info

47. What is the purpose of Vault's response wrapping TTL?

To set a time limit for retrieving wrapped secrets
To control token expiration
To limit lease durations
To schedule secret rotation

48. Which Vault feature provides database credential rotation?

Database Secrets Engine
Dynamic Secrets Engine
Credential Manager
Rotation Secrets Engine

49. What is the purpose of Vault's seal threshold?

The minimum number of unseal keys required
The maximum time before auto-sealing
The number of failed attempts before sealing
The minimum server resources required

50. Which command is used to generate a root token?

vault operator generate-root
vault token create root
vault generate root-token
vault create root

51. What is the purpose of Vault's plugin system?

To extend Vault's functionality with custom components
To manage UI extensions
To authenticate plugins
To encrypt plugin communications

52. Which Vault feature provides Active Directory integration?

AD Secrets Engine
LDAP Authentication
Windows Secrets Engine
Domain Controller Integration

53. What is the purpose of Vault's recovery keys?

To recover from a seal when unseal keys are lost
To restore deleted secrets
To recover expired tokens
To decrypt backup files

54. Which command is used to view Vault's license?

vault read sys/license
vault license show
vault get license
vault show license

55. What is the purpose of Vault's quotas?

To limit resource usage
To restrict secret access
To control authentication attempts
To manage storage capacity

56. Which Vault feature provides Azure cloud integration?

Azure Secrets Engine
Cloud Secrets Engine
Microsoft Authentication
Dynamic Azure Credentials

57. What is the purpose of Vault's HA storage backend?

To support clustered deployments
To encrypt stored data
To replicate secrets
To authenticate cluster members

58. Which command is used to check Vault's seal status?

vault status
vault seal status
vault check seal
vault get seal

59. What is the purpose of Vault's control groups?

To require multiple approvals for sensitive operations
To organize policies
To manage authentication methods
To control replication

60. Which Vault feature provides Google Cloud integration?

GCP Secrets Engine
Cloud Secrets Engine
Google Authentication
Dynamic GCP Credentials

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:

© 2025 ITCertRocket.com - Hands-On IT Lab Exercises & Certification Prep. All rights reserved.