Chapter 5: Automation and Scripting
- A. The
echo
command is used to send output from a Bash script. The other options are not valid commands. - A. Ansible is agentless, using SSH and Python for orchestration. Puppet does have an agentless mode but typically uses agents for orchestration. The others are not valid orchestration packages.
- B. The
env
command executes a command and enables a custom environment for that command execution. Theset
command changes environment variables but does not change variables for the single command execution, as specified in the scenario. The other options are not valid commands. - B. The
pull
command in git fetches the changes and incorporates them into the current working copy. Thefetch
command only retrieves but does not incorporate the changes. The other options are not validgit
subcommands. - B. Infrastructure as code typically means managing infrastructure components using some of the same tools that developers would use, such as source code management...