Courseiva

CCNA Vault Server Configuration Questions

22 questions · Vault Server Configuration topic · All types, answers revealed

1
Multi-Selecthard

Which THREE actions are permitted by the 'vault operator' command group?

Select 3 answers
A.Rekey the master key.
B.Create a user login.
C.Step down the active node.
D.Unseal the Vault server.
E.Create a new secret engine.
AnswersA, C, D

Standard operator task.

Why this answer

The 'vault operator' group handles core cluster management tasks like unsealing, rekeying, and Raft cluster maintenance.

2
MCQmedium

You are deploying a hardened production Vault cluster. Which setting in the 'listener' stanza is recommended to prevent cleartext communication?

A.tls_disable = true
B.proxy_protocol = true
C.tls_prefer_server_cipher_suites = false
D.tls_disable = false
AnswerD

Setting this to false ensures the listener requires TLS.

Why this answer

The 'tls_disable' parameter must be set to 'false' to enforce encrypted communication, which is a production hardening requirement.

3
MCQmedium

You are migrating from a file-based storage backend to Integrated Storage. What must you do before joining the new node to the cluster?

A.Run 'vault operator raft join'.
B.Disable TLS.
C.Delete the old configuration file.
D.Format the filesystem.
AnswerA

This is the required command to add a node to the Raft cluster.

Why this answer

You must ensure the storage stanza is correctly configured for 'raft' and the node has a unique 'node_id' to participate.

4
MCQmedium

When an audit log is configured, what happens if the audit device cannot write to its destination (e.g., disk is full)?

A.Vault alerts the admin via email.
B.Vault stops processing requests.
C.Vault ignores the error and continues.
D.Vault switches to a backup audit device.
AnswerB

Vault halts to maintain audit integrity.

Why this answer

By default, if Vault cannot write to the audit device, it will stop processing requests to ensure no un-audited operations occur.

5
Multi-Selectmedium

Which TWO settings are considered best practices for hardening a Vault production listener?

Select 2 answers
A.Use HTTP instead of HTTPS.
B.Disable audit logs.
C.Set tls_min_version to 'tls12'.
D.Set tls_disable to false.
E.Set cluster_addr to 0.0.0.0.
AnswersC, D

Enforces modern, secure TLS versions.

Why this answer

For production, you must enable TLS and restrict the listener address to secure interfaces, avoiding 0.0.0.0 if possible.

6
MCQhard

A Vault performance standby node receives a request. What happens if the request is a write operation?

A.The request is forwarded to the active node.
B.The request is rejected with a 403 error.
C.The node processes it locally.
D.The node triggers an election.
AnswerA

Performance standby nodes proxy write requests to the leader.

Why this answer

Performance standby nodes forward write operations to the active node because only the active node can write to the storage backend.

7
MCQmedium

When running Vault on a cloud provider, what is the best practice for storing the Vault configuration file?

A.Store it as a plaintext file in the root directory.
B.Hardcode the root token in the config file.
C.Use the 'vault write' command to update the config file.
D.Use a secure management system to populate config values.
AnswerD

This keeps sensitive configuration parameters secure.

Why this answer

Configuration files should not contain secrets. Using environment variables or a configuration management system to inject values at runtime is the preferred secure approach.

8
MCQhard

You need to rotate the Vault master key (rekey). Which command should be used if you want to change the key configuration (e.g., number of shares) while performing the rekey?

A.vault operator rekey -init
B.vault operator unseal
C.vault secrets tune
D.vault operator rotate
AnswerA

This initializes the rekey process allowing for new threshold/shares.

Why this answer

The 'vault operator rekey -init' command is used to start the process of changing the master key configuration.

9
Multi-Selecthard

Which THREE components are necessary to secure Vault communications?

Select 3 answers
A.An LDAP server.
B.TLS Certificate.
C.CA Certificate chain.
D.An external load balancer.
E.TLS Private Key.
AnswersB, C, E

Essential for encrypted transport.

Why this answer

Secure communication relies on TLS certificates, private keys, and properly configured CA chains to establish trust between clients and the server.

10
MCQmedium

How do you properly revoke a root token after it has been used to perform initialization tasks?

A.Use the 'vault token revoke' command.
B.Restart the server.
C.Overwrite it with a new token.
D.Delete the token file.
AnswerA

This command invalidates the token in the backend.

Why this answer

Once a root token has served its purpose, it should be revoked using 'vault token revoke -self' or by an administrator to adhere to the principle of least privilege.

11
MCQeasy

When initializing a Vault server, you choose to store the recovery keys. What is the main security advantage of using recovery keys alongside Auto-Unseal?

A.They provide a way to bypass authentication.
B.They increase the encryption strength of the data at rest.
C.They allow for root token regeneration in an emergency.
D.They are required for every client login.
AnswerC

Recovery keys are used for critical administrative tasks like root token generation.

Why this answer

Recovery keys allow for performing sensitive operations like root token generation and unseal key migration if the Auto-Unseal mechanism becomes unavailable.

12
MCQeasy

Which command is used to check the health status of a Vault node?

A.vault monitor
B.vault health
C.vault status
D.vault inspect
AnswerC

This is the standard command for checking node status.

Why this answer

The 'vault status' command provides the current health, seal status, and active/standby role of the node.

13
MCQhard

What is the consequence of setting 'cluster_name' in the Vault HCL configuration?

A.It forces a cluster election.
B.It identifies the cluster in audit logs and replication.
C.It encrypts the communication between nodes.
D.It sets the license key.
AnswerB

This provides clear identification for audit tracking.

Why this answer

The 'cluster_name' field is used to identify the cluster, which is particularly useful for performance replication and audit logs to distinguish between multiple clusters.

14
Multi-Selecthard

Which THREE factors influence the choice of a 'secret engine' configuration?

Select 3 answers
A.The path where the engine is mounted.
B.The default and max lease TTL values.
C.The engine version (if applicable).
D.The number of audit logs.
E.The underlying operating system.
AnswersA, B, C

Determines the namespace/location.

Why this answer

Secret engine configuration depends on the type of data (KV, Dynamic), the required lease TTL, and the access control policies applied to the path.

15
Multi-Selectmedium

Which TWO features are part of the 'Vault Enterprise' offering and directly relate to server configuration?

Select 2 answers
A.Audit logging.
B.Performance Replication.
C.KV Secret Engine.
D.HSM Seal Wrapping.
E.Token management.
AnswersB, D

Enterprise-only replication feature.

Why this answer

Performance replication and HSM support are key enterprise features that require specific configuration blocks in the Vault HCL file.

16
Multi-Selecthard

Which THREE items must be configured to enable Auto-Unseal using a cloud provider KMS?

Select 3 answers
A.A cluster of at least 5 nodes.
B.The KMS Key ID or ARN.
C.Cloud provider IAM role with decrypt permissions.
D.A local unseal key file.
E.A 'seal' stanza in the Vault configuration.
AnswersB, C, E

Required to identify the master key.

Why this answer

Auto-unseal requires a cloud-specific configuration block, appropriate IAM permissions for the Vault instance, and a valid key ID/ARN.

17
MCQeasy

What is the purpose of the 'cluster_addr' in the Vault server configuration?

A.To mount storage backends.
B.To allow communication between Vault cluster nodes.
C.To handle client API requests.
D.To communicate with external secret engines.
AnswerB

It defines the address used for internal cluster traffic.

Why this answer

The 'cluster_addr' is used for communication between nodes in a Vault cluster (e.g., for Raft replication).

18
MCQmedium

You are configuring a production Vault cluster using Integrated Storage. What is the most critical configuration parameter that must be set in the 'storage' stanza to ensure the node can correctly identify and join the existing Raft cluster during a bootstrap operation?

A.path
B.api_addr
C.retry_join
D.node_id
AnswerD

The node_id provides a unique identifier for the node within the Raft configuration.

Why this answer

The 'node_id' is required for every node in a Raft cluster to uniquely identify itself to other peers in the integrated storage configuration.

19
MCQeasy

What is the primary function of the 'ui = true' configuration setting?

A.Enable command-line interface tools.
B.Enable the web-based graphical interface.
C.Enable auto-unseal.
D.Increase API throughput.
AnswerB

This enables the built-in Vault UI.

Why this answer

Setting 'ui = true' enables the Vault Web UI, allowing users to interact with Vault via a browser.

20
MCQhard

When configuring an audit device, which configuration parameter is essential for high-availability auditing?

A.file_path
B.audit_non_blocking
C.There is no specific parameter; use multiple devices.
D.tcp_addr
AnswerC

Vault supports multiple audit devices to ensure logging reliability.

Why this answer

For high-availability, you should configure multiple audit devices. If one fails, Vault stops processing requests if 'log_raw' is not configured correctly or if the audit device is not robust.

21
MCQhard

A Vault cluster is configured with Auto-Unseal using AWS KMS. The underlying KMS key is rotated. What action is required to ensure Vault continues to operate without interruption?

A.Update the 'kms_key_id' in the configuration file.
B.Restart the Vault process to reload the KMS configuration.
C.Run vault operator rekey to update the master key.
D.No action is required, assuming IAM permissions are correctly maintained.
AnswerD

Vault uses the KMS key ID to request decryption; key rotation happens transparently if the policy permits.

Why this answer

Vault's Auto-Unseal configuration automatically handles the KMS key rotation if the IAM policy allows the 'decrypt' action on the new key version.

22
Multi-Selectmedium

Which TWO items are required to successfully join a new node to an existing Integrated Storage cluster?

Select 2 answers
A.A backup of the previous storage.
B.The leader's API address.
C.A cluster join token.
D.A list of all other cluster nodes.
E.The root unseal key.
AnswersB, C

Needed to establish initial contact.

Why this answer

To join a Raft cluster, the new node needs the 'leader_api_addr' of the existing cluster and an authentication token to authorize the join.

Ready to test yourself?

Try a timed practice session using only Vault Server Configuration questions.