Courseiva
hardMultiple Choice

CV0-004 Practice Question: Is migrating a legacy application to the cloud

An organization is migrating a legacy application to the cloud. The application writes logs to a local file system. The cloud architect recommends using a centralized logging service. Which of the following BEST explains why this change is important?

⚠ Common exam trap

CV0-004 often tests the misconception that compliance or cost is the primary reason for centralized logging, when the fundamental cloud-native reason is instance ephemerality and the need for durable, externalized log storage.

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

✓

Because cloud instances are ephemeral and local logs would be lost if instances terminate

Cloud instances are ephemeral, meaning they can be terminated, replaced, or scaled down at any time, and any logs stored only on the local file system are lost when the instance goes away. Centralized logging ensures logs persist independently of instance lifecycle, which is critical for troubleshooting, auditing, and compliance. This is the most direct and fundamental reason to move logs off local storage in the cloud.

Answer analysis

Option-by-option breakdown

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

  • ✗

    To meet regulatory compliance requirements for log retention

    Why it's wrong here

    Retention is a policy applied to wherever logs live; a local file system can satisfy retention rules if preserved, so compliance is not the reason centralisation matters. It is tempting because centralised services do offer retention controls, and that would be correct if the stem asked about audit evidence or mandated retention periods.

  • ✗

    To reduce storage costs by using object storage for logs

    Why it's wrong here

    Object storage is a storage-tier choice, not a centralisation mechanism; it does nothing to aggregate logs from ephemeral instances or enable cross-instance querying. It is tempting because log archives are cheap in object storage, and that would be the right answer if the requirement were long-term retention cost rather than centralised visibility.

  • ✓

    Because cloud instances are ephemeral and local logs would be lost if instances terminate

    Why this is correct

    Cloud instances are ephemeral: a local log file resides only on that instance's disk and disappears when the instance terminates or is replaced. Centralised logging persists entries independently of instance lifecycle, satisfying the durability requirement the legacy local-file approach cannot meet.

  • ✗

    To encrypt log data at rest and in transit

    Why it's wrong here

    Encryption at rest and in transit is a property of the storage and transport configuration, achievable with local files and TLS without any centralised service. It is tempting because centralised logging platforms enable encryption by default, and that would be the answer if the requirement were protecting log confidentiality rather than consolidating them.

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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

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.