MultipleChoice
What is the result of the following terraform function call?
zipmap(['a', 'b'], [1, 2])
OptionsMultipleChoice
In the example below, where is the value of the DNS record's IP address originating from?
1. resource 'aws_route53_record' 'www' {
2. zone_id = aws_route53_zone.primary.zone_id
4. type = 'A'
5. ttl = '300'
6. records = [module.web_server.instance_ip_addr]
7. }
OptionsMultipleChoice
What Terraform feature is shown in the example below?
1. resource 'aws_security_group' 'example' {
2. name = 'sg-app-web-01'
3. dynamic 'ingress' {
4. for_each = var.service_ports
5. content {
6. from_port = ingress.value
7. to_port = ingress.value
8. protocol = 'tcp'
9. }
10. }
11. }
OptionsMultipleChoice
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.
5. Code: 400. Errors:
6.
7. * illegal base64 data at input byte 4
OptionsMultipleChoice
You've logged into the Vault CLI and attempted to enable an auth method, but received this error message. What can be done to resolve the error and configure Vault?
Options