IT Cert Ready

CompTIA

Cloud+

Exam code: CV0-004

Start practicing

About this certification

Cloud+ is a CompTIA certification. Exam code CV0-004. IT Cert Ready offers 1,215 practice questions with domain quizzes, full mock exams, and detailed explanations. Practice by official domain with 5 blueprint-aligned domains.

Official exam domain weights

Verified blueprint weights from the official exam outline.

  • Domain 1 · Cloud Architecture · 23%
  • Domain 2 · Cloud Operations · 19%
  • Domain 3 · Cloud Security · 19%
  • Domain 4 · DevOps Fundamentals · 17%
  • Domain 5 · Troubleshooting · 22%

Sample Cloud+ practice questions

Preview realistic multiple-choice items from the IT Cert Ready question bank. Expand each answer for the correct choice and explanation—the same format used in domain quizzes and mock exams.

  1. Sample question 1 · Troubleshooting (22%)

    Pinnacle Mutual, a small specialty insurance firm operating in a single region, recently migrated its policy administration workloads to a cloud provider using a GitOps model. During a scheduled DR tabletop, the team attempts to execute a rollback of the policy-rating microservice to the previous stable release after a simulated failed deployment. The rollback pipeline triggers but fails with: 'Image tag v2.1.4 not found in registry.' The team discovers that the container image registry has a 30-day retention policy that automatically purged the v2.1.4 image, which was 34 days old. The current broken deployment (v2.1.5) cannot process claims correctly, and the next stable image available is v2.0.9, which is 90 days old and predates a critical regulatory data-masking update. Given the registry retention gap and the regulatory constraint on the v2.0.9 image, which rollback strategy BEST balances operational recovery with compliance requirements?

    • A. Deploy v2.0.9 immediately to restore service availability, accepting the regulatory data-masking gap as a temporary risk until v2.1.4 can be rebuilt.
    • B. Rebuild the v2.1.4 image from the tagged Git commit in source control, push it to the registry with a protected retention policy, validate it in a staging environment, then deploy it as the rollback target.
    • C. Roll forward by hotfixing v2.1.5 in production directly without a staging validation step to minimize claims processing downtime.
    • D. Restore the v2.1.4 image from the cloud provider's object storage backup of the registry without verifying the image digest against the original build artifact.
    View answer & explanation

    Correct answer: B. Rebuild the v2.1.4 image from the tagged Git commit in source control, push it to the registry with a protected retention policy, validate it in a staging environment, then deploy it as the rollback target.

    [Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - Pipeline errors] Core Concept: Troubleshoot deployment and automation failures. centers on pipeline errors as defined in the official (ISC)² exam outline. Correct Answer (B): Rebuild the v2.1.4 image from the tagged Git commit in source control, push it to the registry with a protected retention policy, validate it in a staging environment, then deploy it as the rollback target. Why the other options are incorrect: Option A: Deploying v2.0.9 restores service availability but violates the regulatory data-masking requirement, creating a compliance exposure that may trigger regulatory penalties for Pinnacle Mutual during an already-scrutinized DR exercise. Option C: Hotfixing v2.1.5 directly in production without staging validation introduces additional risk to an already broken deployment and does not constitute a rollback — it is a forward fix that may compound the original defect if the root cause is not fully understood. Option D: Restoring an image from object storage without verifying the digest against the original build artifact cannot confirm the image has not been tampered with or corrupted, violating supply chain integrity principles and potentially deploying an unvalidated binary to production.

  2. Sample question 2 · Troubleshooting (22%)

    Crestwood University operates a large distributed cloud environment spanning three geographic regions to support its digital forensics graduate program. After a malware alert flagged anomalous outbound traffic from cloud-hosted lab instances, the security team initiates log correlation. An Infrastructure-as-Code (IaC) template is used to provision a centralized log-sink resource that will aggregate SIEM feeds from all three regions. When the IaC template is submitted to the deployment pipeline, validation fails with the error: 'Property "retentionDays" exceeds maximum allowed value for selected storage tier.' The template was authored by a junior engineer who copied retention settings from an internal wiki that referenced an outdated storage tier specification. The forensics team needs the log sink operational within two hours to meet the university's incident response SLA. Which troubleshooting step should the cloud engineer perform FIRST to resolve the IaC validation failure and meet the incident response timeline?

    • A. Revert the IaC template to the previous version stored in source control and redeploy without reviewing the retention configuration.
    • B. Review the IaC validation error output to identify the offending property, cross-reference the current storage tier's documented constraints, correct the retentionDays value in the template, and resubmit through the pipeline.
    • C. Bypass IaC validation by deploying the log sink manually through the cloud console and document the deviation in the change log.
    • D. Escalate the validation failure to the cloud vendor's support team and wait for their guidance before making any template changes.
    View answer & explanation

    Correct answer: B. Review the IaC validation error output to identify the offending property, cross-reference the current storage tier's documented constraints, correct the retentionDays value in the template, and resubmit through the pipeline.

    [Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - Pipeline errors] Core Concept: Troubleshoot deployment and automation failures. centers on pipeline errors as defined in the official (ISC)² exam outline. Correct Answer (B): Review the IaC validation error output to identify the offending property, cross-reference the current storage tier's documented constraints, correct the retentionDays value in the template, and resubmit through the pipeline. Why the other options are incorrect: Option A: Reverting to a previous template version without reviewing the retention configuration may reintroduce the same error if the prior version also referenced the outdated storage tier specification, and does not address the root cause. Option C: Bypassing IaC validation and deploying manually breaks infrastructure-as-code governance, creates configuration drift between the template and the live environment, and undermines auditability during an active forensic incident. Option D: Escalating to vendor support for a template authoring error that is fully resolvable by the engineering team wastes critical time during an active incident and is not appropriate when the error message and documentation provide sufficient remediation guidance.

  3. Sample question 3 · Troubleshooting (22%)

    Crestline Federal Savings, a mid-sized regional bank operating across four states, recently experienced a credential-theft phishing campaign targeting its DevOps team. Following the incident, the bank's cloud operations team attempted to redeploy its core account-management microservices using an automated CI/CD pipeline. During the deployment run, the pipeline fails at the 'infrastructure provisioning' stage with the error: 'Template validation failed: resource property SecurityGroupIngress contains an invalid CIDR block.' The security team suspects the phishing incident led to unauthorized modifications of the IaC templates stored in the shared repository. The pipeline has no automated template linting or policy-as-code gate configured prior to the provisioning stage. Which action should the cloud operations team take FIRST to safely resume deployments while addressing the root cause of the pipeline failure?

    • A. Manually correct the invalid CIDR block in the IaC template and immediately re-trigger the pipeline to restore service availability as quickly as possible.
    • B. Integrate an automated IaC validation gate with policy-as-code checks into the pipeline before the provisioning stage, audit the repository commit history for unauthorized changes since the phishing incident, and only redeploy from a verified clean template version.
    • C. Roll back the entire cloud environment to the last known-good snapshot and disable the CI/CD pipeline until a full forensic investigation is completed.
    • D. Rotate all DevOps team credentials, then re-run the existing pipeline without modification to determine whether the failure was credential-related rather than a template defect.
    View answer & explanation

    Correct answer: B. Integrate an automated IaC validation gate with policy-as-code checks into the pipeline before the provisioning stage, audit the repository commit history for unauthorized changes since the phishing incident, and only redeploy from a verified clean template version.

    [Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - Pipeline errors] Core Concept: Troubleshoot deployment and automation failures. centers on pipeline errors as defined in the official (ISC)² exam outline. Correct Answer (B): Integrate an automated IaC validation gate with policy-as-code checks into the pipeline before the provisioning stage, audit the repository commit history for unauthorized changes since the phishing incident, and only redeploy from a verified clean template version. Why the other options are incorrect: Option A: Manually patching the CIDR block and immediately re-triggering the pipeline treats only the visible symptom without investigating whether additional unauthorized changes exist in the template, leaving the bank exposed to further compromised deployments. Option C: A full environment rollback and pipeline shutdown is disproportionate at this stage; it halts all operations without first confirming the scope of template compromise, and a snapshot rollback does not address the pipeline's lack of validation controls. Option D: Rotating credentials is a necessary security step but does not resolve the IaC template validation error or determine whether the template itself was tampered with; re-running an unmodified pipeline will reproduce the same failure.

  4. Sample question 4 · Troubleshooting (22%)

    Coastal Fidelity Insurance, a large national carrier subject to state insurance department IT resilience mandates, is performing annual backup validation as part of its BCP program. During the exercise, the DevOps team attempts to spin up a replica claims-processing environment using an Ansible-based deployment pipeline. The pipeline fails at the 'provision database cluster' role with the error: 'Variable db_replica_count is undefined.' Investigation shows that a recent refactoring effort renamed the variable in the playbook but did not update the encrypted Ansible Vault secrets file used exclusively in the DR pipeline. The production pipeline uses a different secrets file and was unaffected. The compliance officer is present and notes that this gap means the DR runbook has never been successfully tested end-to-end. To address both the immediate pipeline failure and the underlying control gap identified during the backup validation exercise, which approach BEST resolves the situation?

    • A. Manually define the missing variable as an inline extra-var on the command line to complete the current exercise, then file a ticket to update the Vault file in the next sprint.
    • B. Halt the exercise, escalate to the CISO, and defer all remediation until a formal change advisory board meeting can be convened.
    • C. Update the DR Ansible Vault secrets file with the correctly named variable, re-run the pipeline to validate the fix end-to-end, and implement a pre-flight IaC validation stage that lints and dry-runs all playbooks against both secrets files before any future deployment.
    • D. Copy the production secrets file to the DR pipeline to unify variable definitions, then re-run the pipeline without further validation.
    View answer & explanation

    Correct answer: C. Update the DR Ansible Vault secrets file with the correctly named variable, re-run the pipeline to validate the fix end-to-end, and implement a pre-flight IaC validation stage that lints and dry-runs all playbooks against both secrets files before any future deployment.

    [Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - Pipeline errors] Core Concept: Troubleshoot deployment and automation failures. centers on pipeline errors as defined in the official (ISC)² exam outline. Correct Answer (C): Update the DR Ansible Vault secrets file with the correctly named variable, re-run the pipeline to validate the fix end-to-end, and implement a pre-flight IaC validation stage that lints and dry-runs all playbooks against both secrets files before any future deployment. Why the other options are incorrect: Option A: Using an inline extra-var is a temporary workaround that does not fix the Vault file, meaning the pipeline will fail again on the next unattended DR invocation; deferring the fix to a future sprint leaves the documented control gap open during a compliance-observed exercise. Option B: Halting and escalating without attempting remediation is disproportionate for a variable naming error that can be corrected by the DevOps team; it also delays the backup validation window and does not resolve the technical failure. Option D: Copying the production secrets file to the DR pipeline risks exposing production credentials in the DR context and may introduce other variable conflicts; it also does not address the root cause of the refactoring process failing to synchronize both secrets files.

  5. Sample question 5 · Troubleshooting (22%)

    Orindal Precision Components, a small aerospace-adjacent manufacturer in Southeast Asia, recently migrated its IT/OT boundary controls to a cloud-managed platform. A junior DevOps engineer committed an updated CloudFormation template to the main branch that was intended to add a dedicated WAP subnet with strict ACLs isolating it from the plant floor SCADA network. The template passed linting checks but contained a logical error: the ACL rules were defined with an incorrect CIDR block that overlapped with the SCADA subnet rather than isolating it. The stack deployed successfully, and the engineer closed the change ticket. Three days later, a security scan revealed that wireless clients could reach SCADA endpoints directly. The organization has no pre-deployment IaC validation stage beyond linting in its pipeline. Which pipeline enhancement would MOST effectively have prevented the security control failure at Orindal Precision Components before the CloudFormation stack was deployed to production?

    • A. Require two-engineer peer review of all CloudFormation template commits before merging to the main branch, with sign-off documented in the change management system.
    • B. Integrate a policy-as-code validation stage into the pipeline — using a tool such as a rules engine that evaluates IaC templates against defined network segmentation policies — that rejects any template where WAP subnet CIDR blocks overlap with protected OT/SCADA ranges before deployment is permitted.
    • C. Deploy the CloudFormation stack first to a non-production account and run a manual network reachability test between the WAP subnet and SCADA endpoints before promoting to production.
    • D. Enable AWS CloudTrail-equivalent audit logging on the cloud management platform so that all stack deployments are recorded and can be reviewed by the security team within 24 hours of deployment.
    View answer & explanation

    Correct answer: B. Integrate a policy-as-code validation stage into the pipeline — using a tool such as a rules engine that evaluates IaC templates against defined network segmentation policies — that rejects any template where WAP subnet CIDR blocks overlap with protected OT/SCADA ranges before deployment is permitted.

    [Domain 5 - Troubleshooting, Subtopic 5 - Troubleshooting - Area 1 - Pipeline errors] Core Concept: Troubleshoot deployment and automation failures. centers on pipeline errors as defined in the official (ISC)² exam outline. Correct Answer (B): Integrate a policy-as-code validation stage into the pipeline — using a tool such as a rules engine that evaluates IaC templates against defined network segmentation policies — that rejects any template where WAP subnet CIDR blocks overlap with protected OT/SCADA ranges before deployment is permitted. Why the other options are incorrect: Option A: Peer review is a valuable compensating control but is unreliable for catching subtle CIDR overlap errors — human reviewers frequently miss numerical range mistakes in network configurations, and this approach does not scale or provide consistent enforcement across all future deployments. Option C: Non-production testing with manual reachability checks is better than no testing, but it depends on the non-production environment accurately mirroring production CIDR assignments and requires manual execution, introducing human error and delay; it does not provide the automated, policy-enforced gate that prevents the error class from recurring. Option D: Audit logging records what happened after deployment and supports forensic investigation, but it provides no preventive control — the security gap would still exist for the 24-hour review window and potentially longer, which is unacceptable for OT network segmentation failures.

Cloud+ exam prep FAQ

What is the passing score for the Cloud+ exam?
Passing scores for Cloud+ are set by CompTIA and can change between exam versions. Check the latest official exam outline on the CompTIA website for the current passing standard.
How many questions are on the Cloud+ certification exam?
Official Cloud+ exam length and item types are defined by CompTIA. Review the current exam blueprint for the latest question counts and timing.
How do domain quizzes help with Cloud+ exam prep?
Domain quizzes on IT Cert Ready let you practice Cloud+ one blueprint domain at a time across 5 official exam domains. You get immediate feedback, detailed explanations, and can revisit weak areas before taking a full timed mock exam.
How many Cloud+ practice questions are on IT Cert Ready?
IT Cert Ready includes 1,215 published Cloud+ practice questions with domain quizzes, full-length mock exams, and answer explanations mapped to the official outline.