Courseiva
Compare and configure secrets enginesmediumMultiple SelectObjective-mapped

VA-003 Compare and configure secrets engines Practice Question

Which THREE steps are required to configure the database secrets engine for a MySQL database?

⚠ Common exam trap

HashiCorp often tests the distinction between required configuration steps and optional tuning or security enhancements, leading candidates to include steps like tuning TTL or generating certificates as mandatory when they are not.

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

Enabling the database secrets engine is the first required step because Vault secrets engines must be explicitly enabled at a mount path before they can be used. Without enabling the engine, no subsequent configuration (such as configuring connections or roles) is possible. This is done via the `vault secrets enable database` command or the equivalent API call.

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

    Why this is correct

    The engine must be enabled at a path (e.g., database/) before use.

  • Create a role that specifies the SQL statements for credential creation

    Why this is correct

    The role defines the TTL and SQL for creating and revoking users.

  • Generate a root certificate for the database

    Why it's wrong here

    The database secrets engine does not use certificates; PKI engine does.

  • Tune the mount to set default TTL for all roles

    Why it's wrong here

    Mount tuning is optional and not a required step for basic configuration.

  • Configure a connection with the MySQL plugin and connection details

    Why this is correct

    The connection defines how Vault connects to the database.

About these practice questions

One of 498 original VA-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

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.