4. Which scripting formats are used for EC2 user data in Linux and Windows environments?
For Linux: Shell scripts (e.g., Bash starting with #!/bin/bash) or cloud-config directives (YAML) are used.
For Windows: PowerShell scripts wrapped in tags or Command Prompt/Batch scripts wrapped in tags are used.