Chapter 6

  1. True. ARM templates allow you to specify the end state for all resources in an Azure resource group. Applying an ARM template will always result in the creation of missing resources and updates for existing resources. If a deployment mode of complete is specified, even resources not in the template will be removed.
  2. The correct answer is number 2. Modules, Run As accounts, and variables are all constructs that were discussed in Chapter 6, Infrastructure and Configuration as Code.
  3. False. ARM template parameters allow the referencing of values in an Azure Key Vault, so as to prevent users from having to enter secrets or other sensitive information in source control. At the time of deployment, the secrets are retrieved and used within Azure, provided the identity that starts the operation has access to that key vault.
  4. True. You can define one or more schedules within an Azure Automation Account and then link these to a Runbook.
  5. Many benefits can be expected when practicing infrastructure as code. Two oft cited examples are the prevention of configuration drift and the ability to create new environments on demand. Configuration drift is prevented by reapplying the same infrastructure specification to an environment at a schedule. Environments on demand can be used to quickly create a new test environment, performing tests and then removing the environment again. This allows for more repeatable test results and, possibly, savings in terms of testing infrastructure.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.98.13