Courseiva
DeploymenthardMultiple SelectObjective-mapped

CV0-004 Deployment Practice Question

A cloud team uses Azure Bicep for deploying resources. They need to create a modular deployment that includes a virtual network and a subnet. Which THREE best practices should they follow when authoring Bicep files? (Choose three.)

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

Use modules to encapsulate and reuse resource definitions.

Using parameters for configurable values, using modules for reuse, and using symbolic names for resource references are best practices.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use hard-coded resource names to ensure consistency.

    Why it's wrong here

    Hard-coded names reduce reusability.

  • Use modules to encapsulate and reuse resource definitions.

    Why this is correct

    Modules promote modularity.

  • Use symbolic names for resources to reference them elsewhere in the file.

    Why this is correct

    Symbolic names allow dependencies and property references.

  • Use parameters for configurable values like address prefixes.

    Why this is correct

    Parameters make templates reusable.

  • Define all resources in a single file for simplicity.

    Why it's wrong here

    Single file is not modular; split into modules.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

Courseiva writes every CV0-004 question from scratch — 977 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.