New Year Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

HashiCorp HCVA0-003 - HashiCorp Certified: Vault Associate (003)Exam

Page: 5 / 9
Total 285 questions

You’ve hit the URL for the Vault UI, but you’re presented with this screen. Why doesn’t Vault present you with a way to log in?

A.

The Consul storage backend was not configured correctly

B.

Vault needs to be initialized before it can be used

C.

A Vault policy is preventing you from logging in

D.

The Vault configuration file has an incorrect configuration

How can Vault be used to programmatically obtain a generated code for MFA, somewhat similar to Google Authenticator?

A.

Cubbyhole

B.

The random byte generator

C.

TOTP secrets engine

D.

The identity secrets engine

Which scenario most strongly indicates a need to run a self-hosted Vault cluster instead of using HCP Vault Dedicated?

A.

Your organization doesn’t require any custom security policies or intricate network topologies

B.

You want to offload all operational tasks and rely on HashiCorp to manage patching, upgrades, and infrastructure

C.

You prefer a fully managed environment that is readily scalable with minimal configuration overhead

D.

You must maintain specific compliance or custom integration requirements that demand full control over the Vault environment, including infrastructure provisioning and plugin development

You want to encrypt a credit card number using the Transit secrets engine. You enter the following command and receive an error. What can you do to ensure that the credit card number is properly encrypted and the ciphertext is returned?

$ vault write -format=json transit/encrypt/creditcards plaintext="1234 5678 9101 1121"

Error: * illegal base64 data at input byte 4

A.

The plain text data needs to be encoded to base64

B.

The token used to issue the encryption request does not have the appropriate permissions

C.

Credit card numbers are not supported using the Transit secrets engine since it is considered sensitive data

D.

The credit card number should not include spaces

Given the following policy, which command below would not result in a permission denied error (select two)?

path "secret/*" { capabilities = ["create", "update"] allowed_parameters = { "student" = ["steve", "frank", "jamie", "susan", "gerry", "damien"] } }

path "secret/apps/*" { capabilities = ["read"] }

path "secret/apps/results" { capabilities = ["deny"] }

A.

vault kv put secret/apps/results student03=practice

B.

vault kv put secret/apps/app01 student=bryan

C.

vault kv put secret/common/results student=frank

D.

vault kv get secret/apps/api_key

Which of the following secrets engines does NOT issue a lease upon a read request?

A.

KV

B.

Consul

C.

Database

D.

AWS

During a service outage, you must ensure all current tokens and leases are copied to another Vault cluster for failover so applications don’t need to authenticate. How can you accomplish this?

A.

Have Vault write all the tokens and leases to a file so you have a second copy of them

B.

Configure all applications to use the auto-auth feature of the Vault Agent

C.

Configure Disaster Recovery replication and promote the secondary cluster during an outage

D.

Replicate to another cluster using Performance Replication and promote the secondary cluster during an outage

    A Jenkins server is using the following token to access Vault. Based on the lookup shown below, what type of token is this?$ vault token lookup hvs.FGP1A77Hxa1Sp6Pkp1yURcZB

     

    Key Value

    --- -----

    accessor RnH8jtgrxBrYanizlyJ7Y8R

    creation_time 1604604512

    creation_ttl 24h

    display_name token

    entity_id n/a

    expire_time 2025-11-06T14:28:32.8891566-05:00

    explicit_max_ttl 0s

    id hvs.FGP1A77Hxa1Sp6KRau5eNB

    issue_time 2025-11-06T14:28:32.8891566-05:00

    meta

    num_uses 0

    orphan false

    path auth/token/create

    period 24h

    policies [admin default]

    renewable true

    ttl 23h59m50s

    type service

A.

Periodic token

B.

Batch token

C.

Orphaned token

D.

Secondary token

How long does the Transit secrets engine store the resulting ciphertext by default?

A.

24 hours

B.

30 days

C.

32 days

D.

Transit does not store data

After issuing the command to delete a secret, you run a vault kv list command, but the path to the secret still seems to exist. What command would permanently delete the path from Vault?

A.

vault kv delete -force kv/applications/app01

B.

vault kv destroy -versions=1 kv/applications/app01

C.

vault kv metadata delete kv/applications/app01

D.

vault kv delete -all kv/applications/app01