Question 379 of 499
Operations and SupporthardMultiple ChoiceObjective-mapped

Quick Answer

The correct action is to resize the non-compliant VMs to t2.medium. This is necessary because the environment’s compliance policy mandates that all VMs must be of the t2.medium instance type, but the exhibit shows two VMs running as t2.large and t2.xlarge, which are out of policy. Resizing directly remediates the violation by aligning the instance types with the defined standard, ensuring the cloud environment meets its compliance requirements without unnecessary deletion or ignoring the check. On the CompTIA Cloud+ CV0-004 exam, this scenario tests your understanding of how to enforce cloud compliance policies through resource modification rather than termination, a common trap where candidates might mistakenly delete VMs or skip the check. A helpful memory tip is “Resize to comply, don’t delete or deny”—when a policy specifies a required size, adjust the instance to match, as deletion is only for unused or unauthorized resources.

CV0-004 Operations and Support Practice Question

This CV0-004 practice question tests your understanding of operations and support. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

[admin@controller ~]$ cldctl config verify --icm policy.json
Policy: policy.json
Check: vm-sizes
Result: 2 out of 10 VMs do not comply: vm-01 (t2.large), vm-07 (t2.xlarge)
Expected size: t2.medium

Refer to the exhibit. What action should the administrator take to bring the environment into compliance?

Question 1hardmultiple choice
Full question →

Exhibit

[admin@controller ~]$ cldctl config verify --icm policy.json
Policy: policy.json
Check: vm-sizes
Result: 2 out of 10 VMs do not comply: vm-01 (t2.large), vm-07 (t2.xlarge)
Expected size: t2.medium

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

Resize the non-compliant VMs to t2.medium.

Option C is correct because the exhibit shows that the environment has a compliance policy requiring all VMs to be of type t2.medium, but two VMs are running as t2.large and t2.xlarge. Resizing the non-compliant VMs to t2.medium brings them into alignment with the policy, ensuring the environment meets the defined compliance standard. This action directly remediates the violation without unnecessary deletion or ignoring the check.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Modify the policy file to accept t2.large and t2.xlarge.

    Why it's wrong here

    Modifying the policy defeats the purpose of compliance.

  • Ignore the compliance check because it is advisory.

    Why it's wrong here

    Compliance checks are typically mandatory; ignoring them could lead to violations.

  • Resize the non-compliant VMs to t2.medium.

    Why this is correct

    Resizing brings VMs into compliance with the existing policy.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Delete the non-compliant VMs.

    Why it's wrong here

    Deleting VMs unnecessarily disrupts services; resizing is more appropriate.

Common exam traps

Common exam trap: answer the scenario, not the keyword

CompTIA often tests the misconception that compliance checks are merely advisory warnings, but in reality, they are enforceable policies that require active remediation to avoid audit failures or security risks.

Detailed technical explanation

How to think about this question

In AWS, instance types define CPU, memory, and networking capacity; resizing a VM (e.g., from t2.large to t2.medium) can be performed via the AWS Management Console, CLI, or API using the 'modify-instance-attribute' command or by stopping the instance and changing its type. Compliance policies in tools like AWS Config or third-party governance platforms evaluate resource configurations against rules, and remediation actions such as resizing are automated via AWS Systems Manager Automation or custom Lambda functions. This ensures that non-compliant resources are corrected without manual intervention, maintaining operational continuity.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CV0-004 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CV0-004 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CV0-004 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CV0-004 question test?

Operations and Support — This question tests Operations and Support — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Resize the non-compliant VMs to t2.medium. — Option C is correct because the exhibit shows that the environment has a compliance policy requiring all VMs to be of type t2.medium, but two VMs are running as t2.large and t2.xlarge. Resizing the non-compliant VMs to t2.medium brings them into alignment with the policy, ensuring the environment meets the defined compliance standard. This action directly remediates the violation without unnecessary deletion or ignoring the check.

What should I do if I get this CV0-004 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.