CV0-004 Troubleshooting Practice Question
A company is implementing a cloud governance strategy. They need to ensure that all resources are tagged with cost center and environment, and any untagged resources are automatically remediated. Which of the following best practices should be applied?
⚠ Common exam trap
A common mix-up: candidates confuse manual audit processes (Option C) with automated governance, failing to recognize that policy-as-code provides the required automatic remediation in real-time.
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 policy-as-code to enforce tagging and automatically apply tags to untagged resources
Policy-as-code (e.g., Azure Policy, AWS Config Rules, or Open Policy Agent) allows you to define tagging requirements declaratively and automatically remediate non-compliant resources. This approach enforces governance in real-time without manual intervention, ensuring all resources are tagged with cost center and environment as specified.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Implement role-based access control to restrict resource creation
Why it's wrong here
RBAC governs who may perform actions, not resource metadata; it cannot detect or remediate untagged resources. It is tempting because access control underpins governance, and it would be correct if the requirement were limiting who can create resources, rather than enforcing tag compliance.
- ✗
Set up budget alerts to notify when costs exceed thresholds
Why it's wrong here
Budget alerts only notify on spending thresholds; they neither inspect tags nor remediate untagged resources. It is tempting because tagging supports cost allocation and budgets are a governance staple, but the requirement is tag enforcement, which Azure Policy with a deny or modify effect performs.
- ✗
Create a manual audit process to check tags weekly
Why it's wrong here
A weekly manual audit detects untagged resources after the fact and cannot remediate automatically, so it fails the stated requirement. It is tempting because audits are a recognised governance control and would suit periodic assurance reporting, but automation demands policy-driven evaluation and enforcement.
- ✓
Use policy-as-code to enforce tagging and automatically apply tags to untagged resources
Why this is correct
Policy-as-code evaluates resource definitions against tagging rules and triggers automatic remediation, applying missing cost centre and environment tags. This enforces the governance requirement continuously rather than relying on manual audits, satisfying the automatic remediation constraint.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CV0-004 question from scratch — 834 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 →
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.