Question 400
The operations team identifies: A server bootstrap script always writes a hardcoded hostname to every new VM. What principle is most relevant?
Explanation
Correct Answer
This case distinguishes Variables separate reusable logic from per-host data. Apply the targeted change, Parameterize identity using validated variables or instance metadata, then check whether Newly provisioned hosts receive unique approved names.
Incorrect Answers
The alternative concerns scripting conditionals and exit codes determine reliable automation outcomes. It would fit an incident such as a bash service restart loop ignores each command exit code and reports success for failed hosts, while the stated case calls for parameterize identity using validated variables or instance metadata.
That choice addresses a different condition: a powershell inventory script deletes vm records after a filter unexpectedly returns an empty list. It is linked to automated loops can amplify mistakes when data is missing. In this case, variables separate reusable logic from per-host data; use parameterize identity using validated variables or instance metadata instead.
This alternative addresses the separate case “A login script fails on some systems because an environment variable name differs by operating system”. The technical explanation is Script environments and shells do not expose identical variables. The deciding requirement here is “Variables separate reusable logic from per-host data”.