Courseiva
hardMultiple ChoiceObjective-mapped

CV0-004 Practice Question: During a security audit, an organization…

During a security audit, an organization discovers their cloud-based database is accessible from any public IP address due to a firewall rule allowing 0.0.0.0/0 on port 3306 (MySQL). The database must remain accessible to remote developers working from home. What is the most effective remediation?

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

Change the firewall rule to allow only specific known developer IP ranges.

Restricting to specific trusted IP ranges reduces exposure while maintaining remote access.

Answer analysis

Option-by-option breakdown

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

  • Remove the firewall rule entirely and rely on database IAM authentication.

    Why it's wrong here

    This would block all remote access, breaking functionality.

  • Enable encryption in transit using TLS and keep the rule as is.

    Why it's wrong here

    Encryption does not address the network exposure.

  • Change the firewall rule to allow only specific known developer IP ranges.

    Why this is correct

    This minimizes attack surface while preserving access.

  • Move the database to a private subnet without a NAT gateway.

    Why it's wrong here

    This would make the database inaccessible from the internet without a VPN.

About these practice questions

This CV0-004 question is part of Courseiva's 977-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.