CV0-004 Deployment Practice Question
A cloud engineer is writing a Bicep file to deploy Azure resources. Bicep is a domain-specific language (DSL) that transpiles to ARM templates. Which of the following is a benefit of using Bicep over ARM JSON templates?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Bicep reduces code verbosity and supports modules
Bicep provides a simpler syntax with less boilerplate, modularity, and reusable modules. It reduces complexity compared to raw ARM JSON.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Bicep automatically manages state
Why it's wrong here
Bicep is stateless: it transpiles to ARM JSON, and deployment state remains in Azure Resource Manager, not in Bicep itself. State management belongs to tools such as Terraform, whose state file tracks deployed resources and would be the right answer where drift tracking across providers is required.
- ✓
Bicep reduces code verbosity and supports modules
Why this is correct
Bicep's declarative syntax removes much of ARM JSON's boilerplate, such as repeated parameters and nested resource declarations, and supports modules for reusable, composable deployments. This directly satisfies the stem's requirement for a benefit over ARM JSON templates.
- ✗
Bicep is natively executed by Azure Resource Manager
Why it's wrong here
Azure Resource Manager executes the ARM JSON that Bicep transpiles into, not Bicep directly; the CLI performs the transpilation first. Native ARM execution is the property of ARM JSON templates themselves, which would be the answer if direct deployment without a build step were required.
- ✗
Bicep supports imperative scripting
Why it's wrong here
Bicep is declarative, describing the desired end state that ARM reconciles; it has no imperative scripting constructs. Imperative scripting suits procedural tasks such as Azure CLI or PowerShell runbooks, where ordered commands execute sequentially rather than declaring resource definitions.
About these practice questions
One of 834 original CV0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.