nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #93

Which of the following module source paths does not specify a remote module?

The correct answer is A. Source = "module/consul''. The module source path that does not specify a remote module is source = "module/consul". This specifies a local module, which is a module that is stored in a subdirectory of the current working directory. The other options are all examples of remote modules, which are modules…

Interact with Terraform modules

Question

Which of the following module source paths does not specify a remote module?

Options

  • ASource = "module/consul''
  • BSource = `'githhub.comicrop/example''
  • CSource =''[email protected]:hasicrop/example.git''
  • DSource = `'hasicrop/consul/aws''

How the community answered

(68 responses)
  • A
    84% (57)
  • B
    10% (7)
  • C
    4% (3)
  • D
    1% (1)

Explanation

The module source path that does not specify a remote module is source = "module/consul". This specifies a local module, which is a module that is stored in a subdirectory of the current working directory. The other options are all examples of remote modules, which are modules that are stored outside of the current working directory and can be accessed by various protocols, such as Git, HTTP, or the Terraform Registry. Remote modules are useful for sharing and reusing code across different configurations and environments.

Topics

#module source#local modules#remote modules#module paths

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice