Vault configuration files can be written in what languages? (select two)
A. XML
B. JSON
C. YAML
D. HCL
Which of the following cloud providers are not supported by Vault secrets engines?
A. Oracle
B. Azure
C. AWS
D. GCP
E. AliCloud
In regards to the transit secrets engine, which of the following is true given the following command and output: (select three)
1.
$ vault write encryption/encrypt/creditcard plaintext=$(base64 <<< "1234 5678 9101 1121")
2.
Key Value
3.
--- ----
4.
ciphertext vault:v3:cZNHVx+sxdMErXRSuDa1q/pz49fXTn1PScKfhf+PIZPvy8xKfkytpwKcbC0fF2U=
A. there are at least three data keys associated with this keyring
B. the name of the keyring used to encrypt the data is creditcard
C. the data was written to the encryption path, which is provided by default when enabling the transit secrets engine
D. the transit secrets engine is mounted at the encryption path
In a Consul cluster, participating nodes can be only one of two types. Select the valid types. (select two)
A. follower
B. secondary
C. active
D. primary
E. leader
F. passive
You've decided to use AWS KMS to automatically unseal Vault on private EC2 instances. After deploying your Vault cluster, and running vault operator init, Vault responds with an error and cannot be unsealed. You've determined that the subnet you've deployed Vault into doesn't have internet access. What can you do to enable Vault to communicate with AWS KMS in the most secure way?
A. ask the networking team to provide Vault with inbound access from the internet
B. deploy Vault in a public subnet and provide the Vault nodes with public IP addresses
C. add a VPC endpoint
D. change the permissions on the Internet Gateway to allow the Vault nodes to communicate over the Internet
What type of policy is shown below?
1.
key_prefix "vault/" {
2.
policy = "write"
3.
}
4.
node_prefix "" {
5.
policy = "write"
6.
}
7.
service "vault" {
8.
policy = "write"
9.
}
10.
agent_prefix "" {
11.
policy = "write"
12.
}
13.
session_prefix "" {
14.
policy = "write"
15.
}
A. Vault policy allowing access to certain paths
B. Consul ACL policy for a Vault node
C. Consul configuration policy to enable Consul features
D. Vault token policy is written for a user
True or False: Provisioners should only be used as a last resort.
A. true B. false
A "backend" in Terraform determines how the state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?
A. terraform enterprise
B. s3
C. github
D. consul
E. artifactory
Complete the following sentence:
The terraform state command can be used to ____
A. view the entire state file
B. modify the current state, such as removing items
C. refresh the existing state
D. there is no such command