Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Recommend a configuration management technology for application infrastructure

A worked example

Single answer

Operations engineers currently create the resources for an application by working through Azure portal wizards separately for the development, staging, and production environments. You need to recommend a replacement that meets these requirements:

  • Deployments must be automated, with no manual steps.
  • The team must maintain one definition for all three environments, with only values such as the VM size differing between them.
  • Azure Resource Manager must create resources in the correct dependency order without the team writing the order.

What should you recommend?

Choose one answer
Why

An ARM template with parameters lets one definition serve development, staging and production while values such as VM size change per environment. Resource Manager handles dependency ordering, so the team does not script the sequence. Deployment from the template is automated, unlike portal wizards. Separate templates per environment break the single-definition requirement.

  • Not correct: A single Azure CLI script that runs the create commands in a fixed sequence. Azure CLI scripts are imperative and depend on explicit ordering of operations. The script author writes the order instead of Resource Manager working it out from dependencies.
  • Not correct: A runbook document that lists the portal wizard steps for each environment. Working through portal wizards is the manual, error-prone process that ARM templates replace. It leaves manual steps in every deployment.
  • Correct: A single ARM template that uses parameters, with a parameter file per environment. Template parameters allow one template to create several versions of the infrastructure, such as small VMs in development and large VMs in production. Resource Manager also maps dependencies and creates resources in the right order.
  • Not correct: A separate ARM template file for each environment, each with its own values. Separate files per environment create duplication. Parameters are what let the team keep one template instead of a file per environment.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free