What is the proper command to enable the AWS secrets engine at the default path?
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?
1. $ vault write -format=json transit/encrypt/creditcards plaintext="1234 5678 9101 1121"
2. Error writing data to transit/encrypt/orders: Error making API request.
3.
4. URL: PUT http://10.25.16.165:8200/v1/transit/encrypt/creditcards
5. Code: 400. Errors:
6.
7. * illegal base64 data at input byte 4
A user has logged into the Vault user interface but cannot browse to a secret located at kv/applications/app3, however, the policy the user is bound by permits read permission to the secret.
Because of the read permission, the user should be able to read the secret in the Vault UI.
True or False:
Multiple providers can be declared within a single Terraform configuration file.
Which of the following settings are configured using the configuration file? (select three)
Which type of Vault replication copies all data from Vault, including K/V data, policies, and client tokens?
When creating a dynamic secret in Vault, Vault returns what value that can be used to renew or revoke the lease?
What is the result of the following terraform function call?
zipmap(["a", "b"], [1, 2])
Which of the following cloud providers are not supported by Vault secrets engines?
In the following code snippet, the block type is identified by which string?
1. resource "aws_instance" "db" {
2. ami = "ami-123456"
3. instance_type = "t2.micro"
4. }
Why might a user opt to include the following snippet in their configuration file?
1. terraform {
2. required_version = ">= 0.12"
3. }
What is the best and easiest way for Terraform to read and write secrets from HashiCorp Vault?
Given the Terraform configuration below, in which order will the resources be created?
1. resource "aws_instance" "web_server" {
2. ami = "i-abdce12345"
3. instance_type = "t2.micro"
4. }
5. resource "aws_eip" "web_server_ip" {
6. vpc = true
7. instance = aws_instance.web_server.id
8. }
What feature of Terraform Cloud and/or Terraform Enterprise can you publish and maintain a set of custom modules which can be used within your organization?
Vault's User Interface (UI) needs to be enabled in the command line before it can be used.
Which of the following Vault features is available only in the Enterprise version? (select three)
What are the primary benefits of running Vault in a production deployment over dev server mode? (select two)
When multiple arguments with single-line values appear on consecutive lines at the same nesting level, HashiCorp recommends that you:
Terraform Enterprise (also referred to as pTFE) requires what type of backend database for a clustered deployment?
When a primary Vault cluster fails, Vault will automatically promote a secondary cluster to ensure maximum uptime.