Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

CompTIA CV0-004 Dumps 2026 with Free Practice Questions and Answers

12 original practice questions for the CompTIA Cloud+ (V4) exam, each with an answer and explanation.

Exam topics: Deployment, Cloud Architecture, DevOps Fundamentals, Operations and 2 more.

Formats: single answer, multiple answers, order list and drag and drop. A new question is added every 15 days.

CV0-004 Practice Set Details

Vendor
CompTIA
Exam Code
CV0-004
Questions On This Page
12
Exam Topics Covered
6 of 6
Question Types
4
Newest Question
New Question
Every 15 days
Full Question Set
254
Certification
CompTIA Cloud+
12 questions

CompTIA CV0-004 Exam Questions and Answers by Topic

Security

19% of the exam

2 practice questions on this topicWhat this topic covers

Question 1

Added

Multiple Answers

A company hosts a payment application in a cloud virtual network. The public load balancer must accept HTTPS from the internet, application instances must receive traffic only from that load balancer, and database access must be limited to the application tier. Administrators connect through a managed bastion service, and the organization must demonstrate least-privilege network access during a PCI DSS assessment. Which two controls best satisfy the requirements? (Choose two.)

Correct answer: A, E

The load balancer is the only tier that needs public HTTPS ingress; referencing its security group for application ingress limits that path to the intended source. Restricting database ingress to the application tier and removing public endpoints keeps the database private and narrows access. Key-based SSH does not justify exposing application instances to every address. Broad subnet rules weaken least privilege and complicate evidence. A bastion is for administrative access, not public database connectivity.

Question 2

Added

Single Answer

A security team discovers that a cloud access key used by an automation account was committed to a public repository. The key has permissions to create virtual machines and change firewall rules. The team has not yet found evidence of unauthorized use, but audit logs are available and production workloads depend on the account. The response must contain immediate exposure, preserve evidence, and restore automation with a safer credential pattern. What should the team do first?

Correct answer: A

Disabling the exposed key immediately stops further use, while reviewing audit logs preserves the opportunity to identify actions taken with it. Replacing it with short-lived, least-privilege credentials reduces both duration and impact of future credential exposure. Deleting a public commit does not reliably remove already copied secrets. Permission reduction leaves the compromised credential usable. Creating another long-lived key before revocation extends the exposure window and risks another leak.

Troubleshooting

12% of the exam

1 practice question on this topicWhat this topic covers

Question 3

Added

Order List

After a network change, users in one cloud subnet can reach an application by IP address but not by its fully qualified domain name. The authoritative DNS zone is hosted outside the cloud, and the application health check succeeds. The team must isolate the failure before changing production records. Arrange the diagnostic steps in the order they should be performed.

Drag the steps into the correct order, or use the arrows.

  1. Check resolver reachability and the subnet's DNS configuration
  2. Correct the identified DNS record or resolver-path issue and retest
  3. Compare the returned address with the application endpoint and expected record
  4. Query the configured resolver for the affected hostname
Correct answer:
  1. Query the configured resolver for the affected hostname
  2. Compare the returned address with the application endpoint and expected record
  3. Check resolver reachability and the subnet's DNS configuration
  4. Correct the identified DNS record or resolver-path issue and retest

Start by querying the resolver actually used by the affected subnet so the failure is reproduced through the same path as the users. Compare the answer with the known endpoint to distinguish a wrong record from a connectivity or resolution failure. Then inspect resolver reachability and subnet DNS settings based on that evidence. Apply the targeted correction only after identifying the fault, and retest name resolution and application access. Changing records before establishing the observed answer can introduce an unrelated production outage.

DevOps Fundamentals

10% of the exam

2 practice questions on this topicWhat this topic covers

Question 4

Added

Single Answer

A financial application team wants deployments to production to occur only after automated tests pass, while preserving a human approval step for regulated releases. The team uses Git for source control and Jenkins for its existing build pipeline. Developers currently copy build artifacts manually to production servers, so different environments sometimes receive different binaries. The change must retain an auditable record of what was tested and deployed, and the team is not authorized to replace Jenkins this quarter. Which pipeline design best addresses the problem?

Correct answer: C

Building once from a specific commit, testing that build, and publishing an immutable versioned artifact preserves a traceable relationship between tested and deployed software. Jenkins can then pause for the required human approval before promoting the same artifact. Building independently in each environment can produce different binaries. Manual copying remains error-prone and weakens artifact provenance. Workstation-based deployment bypasses controlled pipeline execution and makes the deployment harder to audit.

Question 5

Added

Drag And Drop

A platform team is documenting how cloud-native components should coordinate a service that processes uploaded documents. The design must respond to an upload without polling, run processing containers under centralized scheduling, and keep application code in a shared revision history. Match each requirement to the most appropriate mechanism.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Schedule and maintain container replicas across nodes
Start processing when a document is uploaded
Track and review changes to application code
Kubernetes orchestration
Event-driven trigger
Git source control
Correct answer:
  • Start processing when a document is uploaded → Event-driven trigger
  • Schedule and maintain container replicas across nodes → Kubernetes orchestration
  • Track and review changes to application code → Git source control

An event-driven trigger reacts to the upload event without requiring a polling loop. Kubernetes provides centralized scheduling and desired-state management for container replicas across nodes. Git records revisions and supports collaboration and review of application code. Using Git to schedule containers confuses source history with runtime orchestration. Kubernetes is not the source-control system, and an event trigger alone does not manage replica placement.

Operations

17% of the exam

2 practice questions on this topicWhat this topic covers

Question 6

Added

Single Answer

A SaaS provider operates a web service across two availability zones. The application is stateless and can scale horizontally, but the team sees response-time degradation during traffic spikes even when CPU utilization remains below its alert threshold. The database team reports rising connection counts, and the application has a fixed connection pool size per replica. The provider needs an early warning that captures user impact and helps distinguish a database saturation issue from a compute bottleneck. Which observability change is best?

Correct answer: D

Request latency and error rates measure user-visible service behavior, while database connection saturation helps identify the likely constrained dependency. Alerting against service objectives gives the team an actionable signal even when CPU is not high. Raising the CPU threshold can hide a separate bottleneck. Scaling replicas based on network throughput alone may worsen connection pressure because each replica has its own pool. Inventory reports do not provide timely performance or impact signals.

Question 7

Added

Single Answer

A healthcare provider stores encrypted virtual machine backups in cloud object storage. Its recovery plan requires protection from accidental deletion for 30 days and a quarterly restore test. The storage service supports object versioning and a retention lock, while the backup application can restore individual files or entire machines. The security team requires that operators cannot shorten the mandated retention period after it is set. Which configuration and operational practice best meet the requirements?

Correct answer: C

A retention lock enforces the required retention period against premature deletion or shortening, and restricted policy administration helps preserve that control. Quarterly restore tests verify recoverability rather than merely confirming that backup jobs completed. Versioning alone does not prevent an authorized administrator from deleting versions. A second copy in the same bucket and job-success checks do not establish recoverability. Expiration at 30 days removes data rather than protecting it for that period, and incident-only testing misses the required cadence.

Deployment

19% of the exam

3 practice questions on this topicWhat this topic covers

Question 8

Added

Single Answer

A retailer is migrating a three-tier application from a virtualized data center to cloud infrastructure before a seasonal launch in six weeks. The web and application tiers can be moved without code changes, but the database is 8 TB and requires a two-hour maintenance window. The target environment must be reproducible for testing, and the migration team has limited time to refactor. The database vendor supports native replication to the target database engine. Which plan best reduces cutover risk while meeting the timeline?

Correct answer: A

Version-controlled IaC makes the target repeatable, while native replication can keep the large database synchronized before the bounded cutover. Moving the stateless tiers first and validating them reduces the work left for the maintenance window. A simultaneous rehost concentrates migration and validation risk into that window. A full refactor is incompatible with the six-week timeline and limited refactoring capacity. File export and copy create a longer outage and lack the benefit of continuous synchronization.

Question 9

Added

Order List

An engineering team must create a repeatable cloud environment for a new service. The service depends on a network, a managed database, and application instances, and the instances must not be exposed until their dependencies are ready. The team will use IaC and a deployment pipeline. Arrange the steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Deploy application instances after dependency health checks pass
  2. Review the IaC plan and approve the proposed changes
  3. Commit the reviewed IaC configuration to source control
  4. Apply the configuration to provision the network and database
Correct answer:
  1. Review the IaC plan and approve the proposed changes
  2. Commit the reviewed IaC configuration to source control
  3. Apply the configuration to provision the network and database
  4. Deploy application instances after dependency health checks pass

The team first reviews the proposed plan so unintended resource changes are caught before deployment. Committing the approved configuration establishes a versioned, auditable source of truth. Applying it then creates the network and database dependencies. Application instances should be deployed only after health checks confirm those dependencies are ready. Applying before review risks unintended changes, and deploying instances earlier violates the requirement to wait for dependencies.

Question 10

Added

Multiple Answers

A research group is moving a legacy workload into a public cloud. Its application servers are stateless, but a local directory contains user uploads and the application stores database connection details in a configuration file. The migration must preserve user data, avoid exposing secrets in source control, and keep the existing application code unchanged during the first release. The team can use a scheduled maintenance window and has verified that the target storage supports the required file semantics. Which two actions should the team take? (Choose two.)

Correct answer: A, E

Copying uploads to the compatible target file service preserves user data, and validating counts and checksums provides evidence before cutover. A managed secrets service keeps credentials out of source control while allowing deployment-time injection without changing application code. Restricting repository access does not make committed credentials safe. Hard-coding secrets in an image exposes them wherever the image is distributed. Ephemeral instance storage can be lost when instances are replaced and therefore does not preserve uploads.

Cloud Architecture

23% of the exam

2 practice questions on this topicWhat this topic covers

Question 11

Added

Single Answer

A media company runs a latency-sensitive rendering service on a private VMware cluster. Demand spikes unpredictably during regional events, but source footage is subject to a contract requiring it to remain in the company's data center. The rendering application can process proxy copies in a public cloud, and the company already has a private WAN connection to its chosen provider. The finance team wants to avoid paying for idle public capacity, while operations needs the same deployment workflow in both environments. Which architecture best meets these requirements?

Correct answer: C

A hybrid design keeps the contract-restricted source footage on premises while using public capacity for burstable proxy work. The existing private connection supports the required data path, and public resources can be provisioned for event demand rather than kept idle. Adding private hosts preserves locality but incurs peak-capacity costs. Moving everything to one public region violates the footage restriction. Multi-cloud deployment also replicates restricted data and adds operational complexity without solving a stated requirement.

Question 12

Added

Single Answer

A customer-facing API has unpredictable traffic, and its three stateless application replicas run in containers across a managed Kubernetes cluster. A scheduled report generator also runs in a container, but it executes for about four minutes once each night and has no need to retain local state. The platform team wants to reduce idle compute charges without changing application behavior or adopting a new orchestration platform. Persistent databases are already hosted separately. Which change is the best fit for the report generator?

Correct answer: A

An event-triggered serverless container job can start for the nightly run and release its compute afterward, which suits a short, stateless task and avoids idle worker capacity. A fixed worker and Deployment keep infrastructure allocated between runs. A sidecar would run repeatedly alongside API replicas and could execute the report more than once. Moving report logic into the database changes its execution model and unnecessarily couples compute work to the data tier.

More CompTIA Practice Questions

Get the Full CompTIA CV0-004 Dumps as PDF and Practice Test

12 questions are free on this page and the full set has 254. It comes as a PDF and an online practice test, with 90 days of free updates.