In regards to using a K/V v2 secrets engine, select the three correct statements below: (select three)
Correct Answer: A,D,E
The kv delete command is like a soft delete which deletes the data for the provided path in the key/value secrets engine. If using K/V Version 2, its versioned data will not be fully removed, but marked as deleted and will no longer be available for normal get requests. The kv destroy command permanently removes the specified versions' data from the key/value secrets engine. If no key exists at the path, no action is taken. It does not deletes all versions of a secret. The kv metadata delete command deletes all versions and metadata for the provided key.
Question 62
True or False: A list(...) may contain a number of values of the same type while an object(...) can contain a number of values of different types.
Correct Answer: A
A collection type allows multiple values of one other type to be grouped together as a single value. This includes a list, map, and set. A structural type allows multiple values of several distinct types to be grouped together as a single value. This includes object and tuple.
Question 63
Anyone can publish and share modules on the Terraform Public Module Registry, and meeting the requirements for publishing a module is extremely easy. Select from the following list all valid requirements. (select three)
Correct Answer: A,B,D
The list below contains all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy. The list may appear long only to ensure we're detailed, but adhering to the requirements should happen naturally. GitHub. The module must be on GitHub and must be a public repo. This is only a requirement for the public registry. If you're using a private registry, you may ignore this requirement. Named terraform-<PROVIDER>-<NAME>. Module repositories must use this three-part name format, where <NAME> reflects the type of infrastructure the module manages, and <PROVIDER> is the main provider where it creates that infrastructure. The <NAME> segment can contain additional hyphens. Examples: terraform-google-vault or terraform-aws-ec2-instance. Repository description. The GitHub repository description is used to populate the short description of the module. This should be a simple one-sentence description of the module. Standard module structure. The module must adhere to the standard module structure. This allows the registry to inspect your module and generate documentation, track resource usage, parse submodules and examples, and more. x.y.z tags for releases. The registry uses tags to identify module versions. Release tag names must be a semantic version, which can optionally be prefixed with a v. For example, v1.0.4 and 0.9.2. To publish a module initially, at least one release tag must be present. Tags that don't look like version numbers are ignored. https://www.terraform.io/docs/registry/modules/publish.html#requirements
Question 64
Using multi-cloud and provider-agnostic tools provides which of the following benefits? (select two)
Correct Answer: A,C
Using a tool like Terraform can be advantageous for organizations deploying workloads across multiple public and private cloud environments. Operations teams only need to learn a single tool, single language, and can use the same tooling to enable a DevOps-like experience and workflows.
Question 65
During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Correct Answer: D
If a resource successfully creates but fails during provisioning, Terraform will error and mark the resource as "tainted". A resource that is tainted has been physically created, but can't be considered safe to use since provisioning failed. Terraform also does not automatically roll back and destroy the resource during the apply when the failure happens, because that would go against the execution plan: the execution plan would've said a resource will be created, but does not say it will ever be deleted.