mediummulti selectObjective-mapped

An administrator wants to deploy the same set of Azure VMs every sprint from source control and make code reviews capture every infrastructure change. Which three approaches meet this requirement? Select three.

Question 1mediummulti select
Full question →

An administrator wants to deploy the same set of Azure VMs every sprint from source control and make code reviews capture every infrastructure change. Which three approaches meet this requirement? Select three.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Store a Bicep file in source control and use it as the deployment definition.

Bicep is a declarative infrastructure-as-code language that works well with source control and code review. It makes the deployment definition readable, repeatable, and versioned alongside application code.

B

Best answer

Store an ARM template JSON file in source control and deploy that template consistently.

ARM templates are also declarative and can be reviewed and versioned in source control. They provide a repeatable deployment model that is well suited to standardized VM deployments.

C

Best answer

Use Azure PowerShell or Azure CLI to deploy the checked-in template from the repository.

Deployment through Azure PowerShell or Azure CLI still follows an infrastructure-as-code workflow when the template itself is stored in source control. The command layer simply executes the reviewed definition in a consistent way.

D

Distractor review

Create the VMs manually in the Azure portal each sprint and document the clicks afterward.

Manual portal deployment is not source-controlled and is difficult to review or reproduce exactly. It is the opposite of a repeatable infrastructure-as-code process.

E

Distractor review

Export the resources after deployment and treat the export as the only authoritative source.

Exports can help with discovery, but they are not a strong primary design for repeatable deployment workflows. The repository should be the source of truth, not an after-the-fact export.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Store a Bicep file in source control and use it as the deployment definition. — Repeatable VM deployment from source control is best achieved with declarative infrastructure-as-code. Bicep and ARM templates are both suitable artifacts to version in a repository, and Azure PowerShell or Azure CLI can be used to deploy those reviewed templates consistently. This approach makes infrastructure changes visible in code review and ensures the same result across sprints. Why others are wrong: Manual portal deployment is not repeatable or reviewable in a dependable way. Treating an export as the only source of truth usually creates drift and obscures intent. The requirement is a code-based delivery process, not a click-based administrative workflow.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.