Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free CompTIA Cloud+ (V4) CV0-004 Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 17 Total 254 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Cloud Architecture

Skill tested: Selects a hybrid cloud design that meets latency, residency, and burst-capacity requirements.

A manufacturer runs a latency-sensitive control application beside production equipment in its own data center. The application must continue operating during an internet outage, but its analytics tier needs substantially more compute capacity during monthly reporting. Some production data must remain on premises under a residency policy. The company can maintain a private network connection to a public cloud, but it cannot redesign the control application this year. Which architecture best meets these requirements?

Correct Answer: A. Keep the control tier on premises, retain required production data locally, and extend the analytics tier into public cloud for burst capacity.
Explanation:

A hybrid design preserves the control tier's local operation and keeps restricted production data on premises while allowing the analytics workload to use public-cloud capacity when needed. The private connection supports data exchange, but the design does not depend on internet availability for immediate equipment control. Moving both tiers to public cloud creates latency and outage dependencies; a second on-premises site does not provide the requested elastic analytics capacity; and routing control through the cloud conflicts with the requirement to operate during connectivity loss.

Question 2

New Single answer

Topic: Security

Skill tested: Applies least-privilege IAM roles and time-limited elevation for cloud administration.

A cloud operations team has four engineers who deploy approved infrastructure changes and one security lead who investigates incidents. The team currently shares a highly privileged account because deployments sometimes require network and compute changes. Auditors require individual attribution, and engineers must not retain broad administrative access between approved maintenance windows. The cloud platform supports role-based access control, identity federation, and temporary role elevation. Which approach best satisfies the requirements?

Correct Answer: B. Federate individual identities, grant narrowly scoped deployment roles, and require approved, time-limited elevation for exceptional administrative tasks.
Explanation:

Federated individual identities provide attribution, while scoped roles limit routine permissions to the resources and actions needed for deployments. Time-limited, approved elevation avoids leaving broad administrative privileges active between maintenance periods. Permanent subscription-wide access in A exceeds least privilege, and reviewing logs does not remove that exposure. A shared account in B weakens individual accountability even when rotated. Having one lead perform all changes creates an unnecessary bottleneck and still grants standing administrator privileges.

Question 3

New Multiple answers

Topic: Security

Skill tested: Hardens container image delivery through vulnerability scanning and immutable deployment references.

A payments team builds container images in a CI pipeline and deploys them to a managed Kubernetes cluster. A recent incident involved an image containing a known vulnerable operating-system package; a developer also changed a mutable image tag after approval, so production ran different content from the tested build. The team must reduce exposure without requiring engineers to rebuild images manually on production nodes. Which TWO controls most directly address these risks? Select TWO.

Correct Answer: A. Deploy approved images by immutable digest and verify that the deployed digest matches the release artifact.; B. Scan images for known vulnerabilities before release and block deployment when severity policy thresholds are exceeded.
Explanation:

Pre-release vulnerability scanning can identify known vulnerable packages before an image is promoted, with policy gates preventing unacceptable findings from reaching production. Referencing an immutable digest binds deployment to the exact content that was tested and approved, preventing a mutable tag from silently resolving to different image contents. Pulling a moving tag makes deployments less reproducible. Privileged containers increase impact if compromised, and developer authentication alone does not establish that an artifact is the approved, unchanged build.

Question 4

New Single answer

Topic: Security

Skill tested: Maps payment-data controls to PCI DSS scope and limits the cardholder data environment.

An online retailer is preparing a cloud-hosted checkout service for a PCI DSS assessment. Its current application servers process card numbers, while reporting services need only transaction totals and order references. The business wants to reduce the systems in the cardholder data environment without replacing its payment provider or weakening transaction security. Which change is the most appropriate first architectural step?

Correct Answer: A. Tokenize card data through the payment provider, prevent downstream services from receiving sensitive authentication data, and validate the resulting scope with the assessor.
Explanation:

Tokenization can keep primary account data out of downstream application and reporting flows, reducing the number of systems that store or process it. The retailer must still validate actual data flows and segmentation with its assessor; tokenization does not automatically remove every connected system from scope. Disk encryption in A is valuable but does not change which systems handle card data. A separate account does not itself remove scope, and a web application firewall is only one control, not a substitute for PCI DSS requirements.

Question 5

New Single answer

Topic: Troubleshooting

Skill tested: Diagnoses cloud deployment failures by comparing desired state, permissions, and resource dependencies.

A team deploys an infrastructure-as-code template that previously succeeded in a test account. In production, the deployment creates a virtual network and subnet, then fails when creating a virtual machine with an authorization error. The deployment identity can read existing resources and create compute instances, but its assigned role has no network-write permission. The template is otherwise unchanged, and operators are considering manual creation of the virtual machine to meet a deadline. What should they do next?

Correct Answer: B. Grant the deployment identity the least-privileged network permissions required, then rerun the deployment and inspect its result.
Explanation:

The failure identifies an authorization gap: the deployment identity lacks permission to write the network resource. Granting only the required network actions at the appropriate scope addresses the cause while preserving controlled, repeatable deployment. Manual creation in B introduces configuration drift and does not fix the pipeline. Increasing instance size is unrelated to authorization. Deleting successfully created resources and rerunning with unchanged permissions will reproduce the same failure.

Question 6

New Multiple answers

Topic: Troubleshooting

Skill tested: Troubleshoots private-service reachability using route, DNS, and security-policy evidence.

After a network change, application instances in a private subnet cannot reach a managed database through its private endpoint. The database reports healthy, and instances can reach other internal services. The endpoint has a private IP in the expected network, but the application resolves the database's public service address. A route table was recently replaced, and a security rule was also tightened. Which TWO checks should the operator perform first to isolate the likely connectivity failure? Select TWO.

Correct Answer: C. Verify that private DNS resolution maps the database name to the endpoint's private address from the affected subnet.; E. Inspect effective routes and security rules for a permitted path from the application subnet to the endpoint on the database port.
Explanation:

The observed public-address resolution strongly suggests a private DNS association or record problem, so resolution should be checked from the affected subnet. Because a route table and security policy changed, the operator should also confirm the effective route and permitted port path to the endpoint. Scaling the database does not resolve name or network-path failures. Recreating a healthy database is unjustified, while disabling all rules is unsafe and would not identify the specific missing control.

Question 7

New Single answer

Topic: DevOps Fundamentals

Skill tested: Implements gated CI/CD promotion with versioned artifacts and traceable source revisions.

A software group builds an application in Jenkins and deploys it to development, staging, and production. A recurring incident occurs when teams rebuild the application separately for each environment; the production binary sometimes differs from the one validated in staging. The organization requires traceability to a source revision and a human approval before production deployment. Which pipeline design best addresses the problem?

Correct Answer: D. Build once from a recorded commit, publish a versioned immutable artifact, promote that artifact through environments, and gate production with approval.
Explanation:

A single build tied to a specific source commit produces an artifact that can be tested and promoted without rebuilding, reducing the chance of environment-specific differences. Versioning the artifact supports traceability, and an approval gate enforces the production change requirement. Separate builds in A can produce different binaries despite sharing a branch name. Pulling from a development workspace lacks controlled promotion, and manual copying without versioning weakens repeatability and auditability.

Question 8

New Single answer

Topic: DevOps Fundamentals

Skill tested: Uses infrastructure-as-code version control practices to review and safely apply configuration changes.

A platform team manages cloud network and compute resources with version-controlled infrastructure code. Engineers often apply local changes directly to production, after which the repository no longer reflects the deployed environment. The team needs peer review, a predictable change preview, and a repeatable deployment process. Emergency changes must remain possible, but they should not create persistent drift. Which workflow is best?

Correct Answer: C. Require changes through reviewed commits, generate and inspect an execution plan, apply the approved change, and reconcile emergency changes back into code promptly.
Explanation:

A reviewed, version-controlled workflow provides peer scrutiny and a record of intended changes. Previewing the execution plan exposes proposed additions, modifications, and deletions before application. Reconciling emergency changes into code restores the repository as the authoritative desired state and limits drift. Direct edits without prompt reconciliation repeat the current problem. A shared folder lacks reliable change history and review, while a blanket freeze could prevent necessary emergency remediation.

Question 9

New Multiple answers

Topic: Operations

Skill tested: Designs backup recovery points and tests restoration against business recovery objectives.

A service stores customer records in a cloud-managed relational database. The business requires recovery to a point within the previous 15 minutes after accidental deletion and restoration of service within four hours after a regional failure. Backups must be protected from routine application credentials, and the operations team has never demonstrated a restore. Which TWO actions best address the requirements? Select TWO.

Correct Answer: A. Enable a backup or transaction-log recovery capability with a recovery-point interval that meets the 15-minute objective.; B. Maintain protected, recoverable copies in a separate failure domain and regularly test restoration against the four-hour recovery-time objective.
Explanation:

A recovery mechanism with sufficiently frequent point-in-time protection addresses the 15-minute recovery-point objective. Copies protected from routine application credentials and placed in a separate failure domain support recovery from broader incidents; regular restore exercises verify that the four-hour recovery-time objective is achievable. Weekly exports exceed the permitted data-loss window and same-instance storage shares failure risk. Replication can reproduce accidental deletion and may not cover regional loss. Application credentials should not be able to destroy recovery copies.

Question 10

New Single answer

Topic: Operations

Skill tested: Uses service telemetry and correlated signals to distinguish capacity saturation from dependency failure.

A cloud-hosted API has intermittent latency spikes. CPU utilization remains below 40%, and the load balancer reports healthy instances. During each spike, request traces show delays while waiting for a downstream database, but the existing dashboard displays only aggregate API latency and instance CPU. The team wants to identify whether the issue is database saturation, connection-pool exhaustion, or a network delay before increasing capacity. What is the best next observability improvement?

Correct Answer: A. Collect correlated traces and metrics for database latency, connection-pool utilization, and network timing, with timestamps and request identifiers.
Explanation:

The traces already point to a downstream wait, so correlated dependency telemetry can distinguish slow database execution from pool exhaustion or network delay. Request identifiers and aligned timestamps help connect API spans with database and network metrics. Adding API instances may not help if the bottleneck is downstream and could increase database demand. Disabling tracing removes useful evidence, while lower CPU alerts do not address the observed dependency latency.

Question 11

New Single answer

Topic: Deployment

Skill tested: Plans workload migration using dependency discovery, capacity validation, and staged cutover.

A company plans to migrate a three-tier application from a virtualized data center to cloud virtual machines. The application includes an undocumented licensing service, a database with strict maintenance windows, and batch jobs that run overnight. The cloud environment is available, but the organization cannot tolerate an untested production cutover or a prolonged outage. What should the migration team do first?

Correct Answer: B. Perform application and dependency discovery, validate sizing and licensing, and develop a staged migration and rollback plan.
Explanation:

Discovery is necessary to identify dependencies such as licensing, database connections, and scheduled batch processing before selecting migration waves and cutover timing. Capacity and licensing validation reduce the risk of an unusable or noncompliant target. A staged plan with rollback addresses the prohibition on an untested cutover and prolonged outage. Moving only the web tier without dependency mapping is risky; copying disks and switching DNS skips validation; and a complete container refactor adds scope without being required for migration.

Question 12

New Multiple answers

Topic: Deployment

Skill tested: Structures reusable IaC modules with environment-specific inputs and controlled secret handling.

An engineering organization provisions similar cloud environments for development and production using infrastructure as code. The current files duplicate network definitions, contain plaintext database passwords, and require manual edits before each deployment. Production changes require review, while development must remain inexpensive. Which TWO improvements best address maintainability and security while preserving environment-specific configuration? Select TWO.

Correct Answer: C. Create reusable modules for common infrastructure and supply validated environment-specific parameters through controlled configuration.; D. Retrieve secrets from an approved secrets-management service at deployment or runtime, with access limited to authorized identities.
Explanation:

Reusable modules reduce duplicated definitions, while validated parameters allow the same design to represent environment-specific requirements such as lower development capacity. Secrets should not be embedded in source control; a secrets-management service with restricted identity-based access avoids exposing credentials in repository history. A single production-sized configuration ignores cost requirements. Direct console changes make deployed state diverge from the code and undermine repeatable provisioning.

Question 13

New Single answer

Topic: Deployment

Skill tested: Selects a migration transfer strategy based on dataset size, bandwidth, and outage constraints.

A research organization must migrate 80 TB of archival data to cloud object storage. Its current internet connection has limited upload capacity, and the source system can tolerate only a brief final synchronization window. The destination must be verified before the source is decommissioned. The provider offers both online transfer tools and a secure physical data-transfer appliance. Which approach is most appropriate?

Correct Answer: A. Use an available physical transfer appliance for the bulk dataset, verify the imported data, and use online synchronization for changes before cutover.
Explanation:

A physical transfer appliance can move a large initial dataset without consuming the constrained network for the entire bulk transfer. Verifying the imported data and then synchronizing changes online supports a short final cutover while preserving confidence in the destination. Sending all data during the brief window is unlikely to meet the bandwidth constraint. Compression may help but cannot be assumed to make the transfer feasible. Moving compute without a data synchronization plan leaves the workload incomplete.

Question 14

New Single answer

Topic: Cloud Architecture

Skill tested: Chooses shared-responsibility and connectivity controls for a multi-cloud deployment.

A company operates customer-facing services in two public clouds to meet a contractual resilience requirement. The services exchange limited data over encrypted private connectivity, and each cloud has separate identity and network control planes. The company wants to reduce the chance that a compromised credential in one environment can alter resources in the other, while keeping failover possible. Which design choice is most appropriate?

Correct Answer: C. Federate access from a central identity source using distinct, least-privileged roles in each cloud, and keep inter-cloud connectivity narrowly scoped and monitored.
Explanation:

Separate, least-privileged roles reduce the blast radius of a compromised identity, while federation can support centralized identity governance without reusing a powerful credential across providers. Narrowly scoped, monitored connectivity preserves the required data exchange and failover path without granting unrestricted reachability. Shared administrator credentials magnify cross-cloud impact. Encryption protects data in transit but does not authorize network access, and blindly copying policies ignores provider-specific permission semantics.