Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 211


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

Show Answer
Correct Answer: A

The module source path specified as source = './modules/consul' indicates a local module. This means that the module is located within the local filesystem relative to the root module. The other options specify remote modules: source = 'git::ssh://[email protected]:hashicorp/example.git' uses a Git URL, source = 'github.com/hashicorp/example' indicates a module hosted on GitHub, and source = 'hashicorp/consul/aws' uses a standard address for a module hosted remotely in the Terraform registry.

Discussion

7 comments
Sign in to comment
InformationOverloadOption: A
Jan 15, 2023

A - since its local path

gekkehenkOption: A
Jan 14, 2023

The specification of a path, indentiefies a local module. The others specify a remote path. Therefore A is the right answer.

resnefOption: A
Jan 14, 2023

question says "remote" , hence A

resnef
Jan 14, 2023

not remote = local

Agil09Option: A
Jan 20, 2023

A correct

ArizonaClassicsOption: A
Jan 14, 2023

I would go for A see https://developer.hashicorp.com/terraform/language/modules/sources

EdileimigOption: A
Jan 14, 2023

A is right answer

SilentHOption: A
Apr 24, 2024

Honestly, is Examtopics trying to troll us with their answers?