TA-002-P · Question #258
Which of the following connection types are supported by the remote-exec provisioner? (select two)
The correct answer is A. WinRM E. ssh. The Terraform remote-exec provisioner connects to a remote resource and executes scripts or commands. It supports exactly two connection types: SSH (for Linux/Unix-based systems) and WinRM (Windows Remote Management, for Windows-based systems). UDP, SMB, and RDP are not supported
Question
Which of the following connection types are supported by the remote-exec provisioner? (select two)
Options
- AWinRM
- BUDP
- CSMB
- DRDP
- Essh
How the community answered
(55 responses)- A93% (51)
- B2% (1)
- C2% (1)
- D4% (2)
Explanation
The Terraform remote-exec provisioner connects to a remote resource and executes scripts or commands. It supports exactly two connection types: SSH (for Linux/Unix-based systems) and WinRM (Windows Remote Management, for Windows-based systems). UDP, SMB, and RDP are not supported connection types for this provisioner. SSH is the default and most common; WinRM is used when targeting Windows instances.
Topics
Community Discussion
No community discussion yet for this question.