Drag steps to the numbered slots on the right, or tap a step then tap a slot.
VA-003 Compare and configure secrets engines Practice Question
Drag and drop the steps to configure Vault's database secrets engine with PostgreSQL into the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Enable the database secrets engine, then configure the PostgreSQL connection, then create a role, then generate credentials, and finally revoke the lease.
The correct sequence for configuring Vault's database secrets engine with PostgreSQL is: first enable the secrets engine, then configure the database connection, then create a role that defines the credential generation parameters, then generate credentials, and finally revoke the lease when done. This order ensures all prerequisites are met at each step.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable the database secrets engine, then configure the PostgreSQL connection, then create a role, then generate credentials, and finally revoke the lease.
Why this is correct
This is the correct order because the secrets engine must be enabled before any configuration, then the connection is configured, a role is created to define the credentials, credentials are generated, and finally the lease is revoked when no longer needed.
- ✗
Configure the PostgreSQL connection, then enable the database secrets engine, then create a role, then generate credentials, and finally revoke the lease.
Why it's wrong here
This is incorrect because the database secrets engine must be enabled before configuring the connection; otherwise, there is no path to configure.
- ✗
Create a role, then configure the PostgreSQL connection, then enable the database secrets engine, then generate credentials, and finally revoke the lease.
Why it's wrong here
This is incorrect because the connection must be configured before a role can be created, as the role references the connection.
- ✗
Generate credentials, then create a role, then configure the PostgreSQL connection, then enable the database secrets engine, and finally revoke the lease.
Why it's wrong here
This is incorrect because the secrets engine, connection, and role must all be set up before credentials can be generated.
Go deeper
Related to this question
About these practice questions
Courseiva writes every VA-003 question from scratch — 498 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This VA-003 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the VA-003 exam.