Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Pass Using HCVA0-003 Exam Dumps

Page: 24 / 24
Total 324 questions

HashiCorp Certified: Vault Associate (003) Exam Questions and Answers

Question 93

Which of the following is true about the token authentication method in Vault? (Select three)

Options:

A.

The token auth method is automatically enabled in Vault and cannot be disabled

B.

External authentication mechanisms, such as GitHub, are used to dynamically create tokens

C.

The token auth method is used as the first method of authentication for Vault for a newly initialized Vault node/cluster

D.

Tokens cannot be used directly; they must be used in conjunction with one of Vault’s many auth methods

Question 94

You are using the Vault API to test authentication before modifying your CI/CD pipeline to properly authenticate to Vault. You manually authenticate to Vault and receive the response below. Based on the provided options, which of the following are true? (Select four)

    $ curl \

    --request POST \

    --data @payload.json \

    | jq

     

    *******************************************************************************

    ******* RESPONSE BELOW ********************************************************

    *******************************************************************************

     

    {

    " request_id " : " f758e8da-11b6-8341-d404-56f0c370a7fa " ,

    " lease_id " : " " ,

    " renewable " : false,

    " lease_duration " : 0,

    " data " : null,

    " wrap_info " : null,

    " warnings " : null,

    " auth " : {

    " client_token " : " hvs.CbzCNJCVWt63jyzyaJakgDwz " ,

    " accessor " : " rffwXzKFcxvaQi6Vgo8tY4Lt " ,

    " policies " : [

    " training " ,

    " default "

    ],

    " token_policies " : [

    " training " ,

    " default "

    ],

    " metadata " : {

    " username " : " bryan.krausen "

    },

    " lease_duration " : 84600,

    " renewable " : true,

    " entity_id " : " f1795f6a-c576-d619-b2d5-74c0aee08edb " ,

    " token_type " : " service " ,

    " orphan " : true

    }

    }

Options:

A.

The token required to retrieve a secret is hvs.CbzCNJCVWt63jyzyaJakgDwz

B.

The returned token is a batch token

C.

The user needs to retrieve .auth.client_token in order to perform other actions

D.

The accessor will be used to authenticate to Vault to retrieve secrets

E.

The user is using the userpass auth method

F.

The user’s password is stored in a file named payload.json

Question 95

By default, what methods of authentication does Vault support? (Select four)

Options:

A.

SSH

B.

Kubernetes

C.

VMware

D.

LDAP

E.

AppRole

F.

JWT

Question 96

You are configuring your application to retrieve a new PKI certificate upon provisioning. The Vault admins have given you an AppRole role-id and secret-id to inject into the CI/CD pipeline job that provisions your app. The application uses the credentials to successfully authenticate to Vault using the API. Which of the following is true about the step next required after authenticating to Vault?

Options:

A.

The client token needs to be retrieved from the API response before requesting the new PKI certificate

B.

The initial API response should include the new PKI certificate and no further action is required

C.

The app still needs to use the role-id and secret-id to request the new PKI certificate via API

D.

Now that the app is authenticated, it can simply make another API request for the PKI certificate

Page: 24 / 24
Total 324 questions