Courseiva
easyMultiple ChoiceObjective-mapped

CV0-004 Practice Question: After deploying a new cloud application, users…

After deploying a new cloud application, users report that they cannot connect to the application. The cloud administrator checks the security group rules and finds that the inbound rule for HTTP traffic is missing. What is the best practice to prevent this issue in future deployments?

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 an Infrastructure as Code (IaC) template to define security group rules.

The best practice to prevent missing security group rules is to use Infrastructure as Code (IaC) templates (Option B). IaC allows you to define security group rules declaratively, ensuring consistency and enabling version control and automated validation before deployment. Manual checklists (Option A) are error-prone and rely on human memory. Cloning a security group (Option C) does not guarantee the cloned group has the correct rules and does not address the root cause of inconsistent configurations. Allowing all traffic by default (Option D) is insecure and violates the principle of least privilege. By using IaC, you enforce security configurations programmatically, reducing the risk of misconfigurations.

Answer analysis

Option-by-option breakdown

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

  • Create a checklist for manual review before each deployment.

    Why it's wrong here

    Manual processes are prone to omission.

  • Use an Infrastructure as Code (IaC) template to define security group rules.

    Why this is correct

    IaC forces explicit, reviewable configuration.

  • Clone a security group that already has the correct rules.

    Why it's wrong here

    Cloning propagates any existing misconfigurations.

  • Configure the security group to allow all traffic by default.

    Why it's wrong here

    Security risk.

About these practice questions

One of 977 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 →

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.