You are using the Vault userpass auth method mounted at auth/userpass. How do you create a new user named "sally" with password "h0wN0wB4r0wnC0w"? This new user will need the power-users policy.
A
B
C
D
What command creates a secret with the key "my-password" and the value "53cr3t" at path "my-secrets" within the KV secrets engine mounted at "secret"?
Avault kv put secret/my-secrets/my-password 53cr3t
Dvault kv put secret/my-secrets my-password-53cr3t
What can be used to limit the scope of a credential breach?
AStorage of secrets in a distributed ledger
BEnable audit logging
CUse of a short-lived dynamic secrets
DSharing credentials between applications
What environment variable overrides the CLI’s default Vault server address?
AVAULT_ADDR
BVAULT_HTTP_ADDRESS
CVAULT_ADDRESS
DVAULT_HTTPS_ADDRESS
Which of the following statements describe the CLI command below?
$ vault login -method=ldap username=mitchellh
AGenerates a token which is response wrapped
BYou will be prompted to enter the password
CBy default, the generated token is valid for 24 hours
DFails because the password is not provided
The following three policies exist in Vault What do these policies allow an organization to do? app.hcl
callcenter.hcl
rewrap.hcl
ASeparates permissions allowed on actions associated with the transit secret engine
BNothing, as the minimum permissions to perform useful tasks are not present
CEncrypt decrypt, and rewrap data using the transit engine all in one policy
DCreate a transit encryption key for encrypting, decrypting, and rewrapping encrypted data
Your DevOps team would like to provision VMs in GCP via a CICD pipeline. They would like to integrate Vault to protect the credentials used by the tool. Which secrets engine would you recommend?
AGoogle Cloud Secrets Engine
BIdentity secrets engine
CKey/Value secrets engine version 2
DSSH secrets engine
Which of these is not a benefit of dynamic secrets?
ASupports systems which do not natively provide a method of expiring credentials
BMinimizes damage of credentials leaking
CEnsures that administrators can see every password used
DReplaces cumbersome password rotation tools and practices
Which of the following cannot define the maximum time-to-live (TTL) for a token?
ABy the authentication method
BBy the client system
CBy the mount endpoint configuration
DA parent token TTL
ESystem max TTL
What are orphan tokens?
AOrphan tokens are tokens with a use limit so you can set the number of uses when you create them
BOrphan tokens are not children of their parent; therefore, orphan tokens do not expire when their parent does
COrphan tokens are tokens with no policies attached
DOrphan tokens do not expire when their own max TTL is reached
To give a role the ability to display or output all of the end points under the /secrets/apps/* end point it would need to have which capability set?
Aupdate
Bread
Csudo
Dlist
ENone of the above
The vault lease renew command increments the lease time from:
AThe current time
BThe end of the lease
You have been tasked with writing a policy that will allow read permissions for all secrets at path secret/bar. The users that are assigned this policy should also be able to list the secrets. What should this policy look like?
A
B
C
D
When using Integrated Storage, which of the following should you do to recover from possible data loss?
AFailover to a standby node
BUse snapshot
CUse audit logs
DUse server logs
How many Shamir’s key shares are required to unseal a Vault instance?
AAll key shares
BA quorum of key shares
COne or more keys
DThe threshold number of key shares
Which of these are a benefit of using the Vault Agent?
AVault Agent allows for centralized configuration of application secrets engines
BVault Agent will auto-discover which authentication mechanism to use
CVault Agent will enforce minimum levels of encryption an application can use
DVault Agent will manage the lifecycle of cached tokens and leases automatically
Which of the following describes usage of an identity group?
ALimit the policies that would otherwise apply to an entity in the group
BWhen they want to revoke the credentials for a whole set of entities simultaneously
CAudit token usage
DConsistently apply the same set of policies to a collection of entities
Vault supports which type of configuration for source limited token?
ACloud-bound tokens
BDomain-bound tokens
CCIDR-bound tokens
DCertificate-bound tokens
Where does the Vault Agent store its cache?
AIn a file encrypted using the Vault transit secret engine