nerdexam
HashiCorpHashiCorp

TA-002-P · Question #127

TA-002-P Question #127: Real Exam Question with Answer & Explanation

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #127. The question stem and answer options stay visible for context.

Read, generate, and modify configuration

Question

Which one of the following will run echo 0 and echo 1 on a newly created host?

Options

  • Aprovisioner "local-exec" { command = "echo 0"
  • Bprovisioner "remote-exec" {
  • Cprovisioner "remote-exec" {
  • Dprovisioner "remote-exec" {

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#provisioners#remote-exec#local-exec#configuration
Full TA-002-P PracticeBrowse All TA-002-P Questions