Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the HashiCorp Security Automation Certification HCVA0-003 Questions and answers with ValidTests

Exam HCVA0-003 All Questions
Exam HCVA0-003 Premium Access

View all detail and faqs for the HCVA0-003 exam

Viewing page 7 out of 9 pages
Viewing questions 61-70 out of questions
Questions # 61:

Which two interfaces automatically assume the token for subsequent requests after successfully authenticating? (Select two)

Options:

A.

CLI

B.

API

C.

UI

Expert Solution
Questions # 62:

Holly has discovered that a highly privileged dynamic credential with a very long lease time was created, which could negatively impact the organization’s security. What command can Holly use to invalidate the credential so it can’t be used without affecting other credentials?

Options:

A.

vault lease revoke aws/creds/admin/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83

B.

Holly would need to delete the credential on the cloud platform directly

C.

vault lease revoke -all

D.

vault lease revoke aws/creds/admin/*

Expert Solution
Questions # 63:

You have a long-running app that cannot handle a regeneration of a token or secret. What type of token should be created for this application in order to authenticate and interact with Vault?

Options:

A.

Service Token with Use Limit

B.

Periodic Service Token

C.

Batch Token

D.

Orphan Token

Expert Solution
Questions # 64:

Which of the following statements best describes the difference between static and dynamic credentials in a secrets management system?

Options:

A.

They are functionally identical—the only difference is what secrets engine creates them.

B.

Static credentials only apply to specific use cases, while dynamic credentials can be used everywhere.

C.

Static credentials often remain persistent for long periods of time, while dynamic are short-lived and auto-rotated.

D.

Static credentials are ephemeral and rotated frequently, while dynamic credentials remain unchanged indefinitely.

Expert Solution
Questions # 65:

Christy has created a token and needs to use that token to access Vault. What command can she use to authenticate and access secrets stored in Vault?

$ vault token create -policy=christy

Key Value

--- -----

token hvs.hxDIPd8RPVtxu4AzSGS1lArP

token_accessor AxwxpDs6LbdFQbWGmBDnwIK3

token_duration 24h

token_renewable true

token_policies ["christy" "default"]

identity_policies []

policies ["christy" "default"]

Options:

A.

vault login hvs.hxDIPd8RPVtxu4AzSGS1lArP

B.

vault login -method=password

C.

vault login -method=token christy

D.

vault login -accessor=AxwxpDs6LbdFQbWGmBDnwIK3

Expert Solution
Questions # 66:

An application is trying to use a dynamic secret in which the lease has expired. What can be done in order for the application to successfully request data from Vault?

Options:

A.

Try the expired secret in hopes it hasn’t been deleted yet

B.

Perform a lease renewal

C.

Request a new secret and associated lease

D.

Request the TTL be extended for the secret lease

Expert Solution
Questions # 67:

Which of the following unseal options can automatically unseal Vault upon the start of the Vault service? (Select four)

Options:

A.

HSM

B.

Azure KMS

C.

AWS KMS

D.

Transit

E.

Key Shards

Expert Solution
Questions # 68:

Which auth method is ideal for machine-to-machine authentication?

Options:

A.

Okta

B.

UserPass

C.

GitHub

D.

AppRole

Expert Solution
Questions # 69:

You are working on a new project and need to retrieve a secret from Vault. You log into the Vault UI and browse to the path where the secret is stored. Based on the screenshot below, what is true about the secrets stored in this path? (Select four)

Question # 69

Options:

A.

The secrets are stored in a KV v1 secrets engine

B.

The user does not have permission to delete the secret

C.

The secrets are stored in a KV v2 secrets engine

D.

The secrets engine is mounted at the path developers/

E.

There are four previous versions of the secret

F.

The user has additional permissions on the path beyond just list and read

Expert Solution
Questions # 70:

Your organization uses a CI/CD pipeline to deploy its applications on Azure. During testing, you generate new credentials to validate Vault can create new credentials. The result of this command is below:

text

CollapseWrapCopy

$ vault read azure/creds/bryan-krausen

Key Value

--- -----

lease_id azure/creds/bryan-krausen/9eed0373-ca92-99b6-b914-779b7bb0e1d9

lease_duration 60m

lease_renewable true

client_id 532bf678-ee4e-6be1-116b-4e4221e445dd

client_secret be60395b-4e6b-2b7e-a4b3-c449a5c00973

What commands can be used to revoke this secret after you have finished testing? (Select three)

Options:

A.

vault lease revoke azure/

B.

vault lease revoke -prefix azure/

C.

vault lease revoke azure/creds/bryan-krausen/9eed0373-ca92-99b6-b914-779b7bb0e1d9

D.

vault lease revoke azure/creds/bryan-krausen

E.

vault lease revoke -prefix azure/creds/bryan-krausen

Expert Solution
Viewing page 7 out of 9 pages
Viewing questions 61-70 out of questions