CompTIA CV0-004 (CompTIA Cloud+) Practice Test 74

Question 730

A deployment manifest uses nested keys and lists formatted with indentation. The migration team selects YAML structured configuration. Which statement best explains that approach?

  1. Version control records code history and supports reviewed changes and rollback of configuration sources.
  2. Configuration as code declares software and operating-system settings on already provisioned systems.
  3. JSON encodes structured data with objects, arrays and explicit syntax, commonly for APIs and configuration files.
  4. YAML expresses structured configuration in a human-readable indentation-based form.

Explanation

Correct Answer

D:

This applies to the situation in which a deployment manifest uses nested keys and lists formatted with indentation, by describing the distinctive operation of YAML structured configuration; the operational boundary is that indentation and scalar parsing mistakes can alter the intended data shape.

Incorrect Answers

A:

That description belongs to Version-controlled infrastructure definitions, which solves a different need; it does not describe YAML structured configuration for the case in which a deployment manifest uses nested keys and lists formatted with indentation. A limitation of that alternative, distinct from YAML structured configuration, is that reverting a commit is not necessarily sufficient to undo every destructive infrastructure change.

B:

That description belongs to Configuration as code (CaC), which solves a different need; it does not describe YAML structured configuration for the case in which a deployment manifest uses nested keys and lists formatted with indentation. A limitation of that alternative, distinct from YAML structured configuration, is that it complements but is distinct from creating network and compute resources.

C:

That description belongs to JSON structured configuration, which solves a different need; it does not describe YAML structured configuration for the case in which a deployment manifest uses nested keys and lists formatted with indentation. A limitation of that alternative, distinct from YAML structured configuration, is that JSON does not natively include comments and requires correct quoting and separators.

Question 731

A monitoring sensor should report intrusion attempts for human investigation. An analyst identifies Intrusion detection system (IDS). Which statement correctly characterizes this security concept?

  1. Security groups apply virtual firewall policies to cloud network interfaces, instances or similar scope.
  2. An inline IPS inspects suspicious traffic and can block matched or policy-violating flows.
  3. A WAF inspects HTTP and HTTPS requests for application-layer attack patterns and enforces web-specific rules.
  4. An IDS monitors traffic or events for signs of attacks and generates alerts without necessarily blocking packets.

Explanation

Correct Answer

D:

This applies to the situation in which a monitoring sensor should report intrusion attempts for human investigation, by describing the distinctive operation of Intrusion detection system (IDS); the operational boundary is that detection-only placement does not actively stop malicious flows.

Incorrect Answers

A:

That description belongs to Network security group (NSG), which solves a different need; it does not describe Intrusion detection system (IDS) for the case in which a monitoring sensor should report intrusion attempts for human investigation. A limitation of that alternative, distinct from Intrusion detection system (IDS), is that provider defaults and statefulness vary; rules alone do not create missing routes.

B:

That description belongs to Intrusion prevention system (IPS), which solves a different need; it does not describe Intrusion detection system (IDS) for the case in which a monitoring sensor should report intrusion attempts for human investigation. A limitation of that alternative, distinct from Intrusion detection system (IDS), is that improper signatures may block legitimate traffic and require tuning.

C:

That description belongs to Web application firewall (WAF), which solves a different need; it does not describe Intrusion detection system (IDS) for the case in which a monitoring sensor should report intrusion attempts for human investigation. A limitation of that alternative, distinct from Intrusion detection system (IDS), is that it does not replace OS patching or general-purpose firewalling for all protocols.

Question 732

A controlled offline appliance upgrade replaces software on the existing instance. The team adopts In-place deployment. Which practical constraint remains important?

  1. Temporary version coexistence requires interface compatibility and adequate spare capacity.
  2. Rollback may be slower or riskier than switching to an untouched parallel environment.
  3. Flags do not replace versioning, testing or a recoverable artifact.
  4. Passing a build alone does not show the new service serves traffic successfully.

Explanation

Correct Answer

B:

This is the limitation specific to In-place deployment in a situation where a controlled offline appliance upgrade replaces software on the existing instance; its underlying operation is that in-place updates modify the currently deployed application or host directly.

Incorrect Answers

A:

This qualification applies instead to Rolling deployment: rolling deployments replace instances in batches while retaining some old-version capacity to serve requests; it does not identify the defining limitation of In-place deployment when a controlled offline appliance upgrade replaces software on the existing instance.

C:

This qualification applies instead to Feature flag rollout: feature flags control exposure to functionality independently of binary deployment; it does not identify the defining limitation of In-place deployment when a controlled offline appliance upgrade replaces software on the existing instance.

D:

This qualification applies instead to Health-gated rollout: a rollout gate waits for functional or health criteria before advancing deployment to further instances; it does not identify the defining limitation of In-place deployment when a controlled offline appliance upgrade replaces software on the existing instance.

Question 733

A scheduled review must identify cloud resource settings that diverged from approved code. The migration team selects Drift detection. Which statement best explains that approach?

  1. Variables allow one reviewed definition to accept environment-specific values without cloning entire templates.
  2. State locking prevents concurrent infrastructure operations from racing to modify the same managed state.
  3. IaC uses declarative or programmatic definitions to provision and manage infrastructure reproducibly.
  4. Drift detection compares actual resources with approved declared configuration to find out-of-band changes.

Explanation

Correct Answer

D:

This applies to the situation in which a scheduled review must identify cloud resource settings that diverged from approved code, by describing the distinctive operation of Drift detection; the operational boundary is that detection alone may require a reviewed reconciliation plan rather than blind replacement.

Incorrect Answers

A:

That description belongs to IaC parameter variables, which solves a different need; it does not describe Drift detection for the case in which a scheduled review must identify cloud resource settings that diverged from approved code. A limitation of that alternative, distinct from Drift detection, is that input validation and approved values still matter.

B:

That description belongs to Infrastructure state locking, which solves a different need; it does not describe Drift detection for the case in which a scheduled review must identify cloud resource settings that diverged from approved code. A limitation of that alternative, distinct from Drift detection, is that state storage still needs encryption, access control and backups.

C:

That description belongs to Infrastructure as code (IaC), which solves a different need; it does not describe Drift detection for the case in which a scheduled review must identify cloud resource settings that diverged from approved code. A limitation of that alternative, distinct from Drift detection, is that state, drift and secrets handling must be managed throughout the workflow.

Question 734

A selected GPU instance family cannot be provisioned in the originally requested region. The team adopts Provisioning region eligibility. Which practical constraint remains important?

  1. Other configured network reservations and provider-reserved addresses reduce usable space.
  2. Load balancing and data consistency requirements remain part of the design.
  3. A GPU will not automatically improve ordinary single-threaded business code.
  4. Not all instance families or managed features are offered in every region.

Explanation

Correct Answer

D:

This is the limitation specific to Provisioning region eligibility in a situation where a selected GPU instance family cannot be provisioned in the originally requested region; its underlying operation is that region selection must satisfy residency, supported-service and disaster-design constraints.

Incorrect Answers

A:

This qualification applies instead to Provisioning IP address capacity: subnet CIDR allocation must leave enough usable addresses for expected instances and scaling; it does not identify the defining limitation of Provisioning region eligibility when a selected GPU instance family cannot be provisioned in the originally requested region.

B:

This qualification applies instead to Provisioning high-availability replicas: placing independent replicas in appropriate failure domains reduces single-instance outage risk; it does not identify the defining limitation of Provisioning region eligibility when a selected GPU instance family cannot be provisioned in the originally requested region.

C:

This qualification applies instead to Compute acceleration selection: specialized accelerators such as GPUs can speed workloads designed for parallel model or graphics processing; it does not identify the defining limitation of Provisioning region eligibility when a selected GPU instance family cannot be provisioned in the originally requested region.

Question 735

A log retention server writes long sequential files and does not need SSD-level random IOPS. The architecture uses Hard disk storage (HDD). Which limitation should the design review document?

  1. Retrieval delay makes it unsuitable for interactive request paths.
  2. Minimum retention rules or restore delays depend on provider and tier.
  3. It is not normally mounted as a low-latency raw block device for a database filesystem.
  4. Its seek latency is often poor for heavy random I/O patterns.

Explanation

Correct Answer

D:

This is the limitation specific to Hard disk storage (HDD) in a situation where a log retention server writes long sequential files and does not need SSD-level random IOPS; its underlying operation is that magnetic disk can offer economical capacity for mostly sequential or throughput-oriented workloads.

Incorrect Answers

A:

This qualification applies instead to Archive storage tier: an archival tier targets very infrequent access and often requires explicit restoration before objects can be read; it does not identify the defining limitation of Hard disk storage (HDD) when a log retention server writes long sequential files and does not need SSD-level random IOPS.

B:

This qualification applies instead to Cold storage tier: a cold storage tier reduces capacity charges for infrequently retrieved objects at the expense of access costs or retrieval characteristics; it does not identify the defining limitation of Hard disk storage (HDD) when a log retention server writes long sequential files and does not need SSD-level random IOPS.

C:

This qualification applies instead to Object storage: object storage exposes named objects with metadata via service APIs and suits large-scale unstructured data; it does not identify the defining limitation of Hard disk storage (HDD) when a log retention server writes long sequential files and does not need SSD-level random IOPS.

Question 736

A load balancer receives malformed responses from a backend application. The most likely diagnosis is HTTP 502 upstream error. Which qualification about this failure matters?

  1. Adding link bandwidth alone may not reduce propagation or service processing delay.
  2. Static routing changes do not increase the number of free leases.
  3. It points investigation toward gateway-backend communication rather than merely missing client credentials.
  4. More CPU on a server cannot increase an already saturated network circuit.

Explanation

Correct Answer

C:

This is the limitation specific to HTTP 502 upstream error in a situation where a load balancer receives malformed responses from a backend application; its underlying operation is that an HTTP 502 indicates that a gateway or proxy received an invalid response from an upstream server.

Incorrect Answers

A:

This qualification applies instead to Excessive network latency: high round-trip delay can degrade chatty applications even when available bandwidth is ample; it does not identify the defining limitation of HTTP 502 upstream error when a load balancer receives malformed responses from a backend application.

B:

This qualification applies instead to DHCP address pool exhaustion: a DHCP scope with no available leases cannot assign addresses to additional clients; it does not identify the defining limitation of HTTP 502 upstream error when a load balancer receives malformed responses from a backend application.

D:

This qualification applies instead to Bandwidth saturation: insufficient link capacity causes queues, lower throughput and possibly packet loss under demand; it does not identify the defining limitation of HTTP 502 upstream error when a load balancer receives malformed responses from a backend application.

Question 737

A Java source repository must produce a deployable application package. Engineers use Build-and-package stage. Which operational caveat should they account for?

  1. Successful packaging does not imply functional tests or secure release approval have passed.
  2. Repository ACLs and artifact provenance still need explicit governance.
  3. Appropriate automated quality and security gates are essential when there is no routine manual release step.
  4. Rebuilding independently in production can create version drift.

Explanation

Correct Answer

A:

This is the limitation specific to Build-and-package stage in a situation where a Java source repository must produce a deployable application package; its underlying operation is that a build stage transforms source into deployable binaries, container images or other versioned outputs.

Incorrect Answers

B:

This qualification applies instead to Private artifact repository: a private repository limits access to internal packages, images or build artifacts; it does not identify the defining limitation of Build-and-package stage when a Java source repository must produce a deployable application package.

C:

This qualification applies instead to Continuous deployment: continuous deployment automatically releases changes that pass required pipeline gates into production; it does not identify the defining limitation of Build-and-package stage when a Java source repository must produce a deployable application package.

D:

This qualification applies instead to Immutable build artifact: an immutable versioned artifact ensures the same tested binary, image or package is promoted between environments; it does not identify the defining limitation of Build-and-package stage when a Java source repository must produce a deployable application package.

Question 738

A marketing campaign has unpredictable duration and must avoid a multi-year commitment. Which cloud capability should be selected?

  1. Rightsizing
  2. Pay-as-you-go billing
  3. Spot or interruptible compute
  4. Dedicated host billing
  5. Reserved compute commitment

Explanation

Correct Answer

B:

When a marketing campaign has unpredictable duration and must avoid a multi-year commitment, on-demand usage pricing charges for consumed resources without a long usage commitment; the corresponding design boundary is that unit rates can be less favorable than reservations for steady baseline demand.

Incorrect Answers

A:

The situation in which a marketing campaign has unpredictable duration and must avoid a multi-year commitment needs pay-as-you-go billing; in contrast, rightsizing matches allocated CPU, memory and other resources to observed workload demand, with the additional constraint that savings should be balanced against peaks, headroom and performance objectives.

C:

When a marketing campaign has unpredictable duration and must avoid a multi-year commitment, the needed mechanism is pay-as-you-go billing, not this option: interruptible surplus compute can reduce price for restartable tasks that tolerate preemption; also, it is inappropriate as the sole capacity for strict availability requirements.

D:

For the situation where a marketing campaign has unpredictable duration and must avoid a multi-year commitment, choosing this would miss the central need for pay-as-you-go billing, because a dedicated physical host reserves host-level tenancy and may meet special licensing or isolation requirements; note that dedicated capacity can be underutilized and is not automatically required for data privacy.

E:

The situation in which a marketing campaign has unpredictable duration and must avoid a multi-year commitment needs pay-as-you-go billing; in contrast, reservation-style commitments exchange predictable usage over a term for lower effective pricing, with the additional constraint that unused commitment capacity can reduce savings if utilization falls.

Question 739

Security teams want centrally governed inter-network transit for many cloud environments. The architecture uses Transit gateway or hub routing. Which limitation should the design review document?

  1. Peering is generally not an automatic transitive network hub.
  2. Routes and attachment policies still need deliberate configuration.
  3. A dedicated path may still need encryption and redundancy; it is not an IAM control.
  4. It does not replace the authoritative origin or cure uncacheable write operations.

Explanation

Correct Answer

B:

This is the limitation specific to Transit gateway or hub routing in a situation where security teams want centrally governed inter-network transit for many cloud environments; its underlying operation is that a central transit routing service connects multiple networks through a managed hub-and-spoke topology.

Incorrect Answers

A:

This qualification applies instead to VPC peering: peering creates private network connectivity between two virtual networks subject to addressing and route rules; it does not identify the defining limitation of Transit gateway or hub routing when security teams want centrally governed inter-network transit for many cloud environments.

C:

This qualification applies instead to Dedicated private cloud connection: a provider-supported dedicated circuit supplies a more predictable private network path than general Internet transport; it does not identify the defining limitation of Transit gateway or hub routing when security teams want centrally governed inter-network transit for many cloud environments.

D:

This qualification applies instead to Content delivery network (CDN): a geographically distributed cache serves eligible static or cacheable content closer to users; it does not identify the defining limitation of Transit gateway or hub routing when security teams want centrally governed inter-network transit for many cloud environments.

Question 740

A workload profile indicates memory pressure rather than processor saturation. The team adopts Compute memory sizing. Which practical constraint remains important?

  1. Not all instance families or managed features are offered in every region.
  2. A budget alert alone is not a hard spending cap for all cloud services.
  3. CPU count alone cannot resolve out-of-memory termination.
  4. Allocated capacity alone does not guarantee the necessary IOPS tier.

Explanation

Correct Answer

C:

This is the limitation specific to Compute memory sizing in a situation where a workload profile indicates memory pressure rather than processor saturation; its underlying operation is that compute provisioning must satisfy peak memory working sets and runtime headroom.

Incorrect Answers

A:

This qualification applies instead to Provisioning region eligibility: region selection must satisfy residency, supported-service and disaster-design constraints; it does not identify the defining limitation of Compute memory sizing when a workload profile indicates memory pressure rather than processor saturation.

B:

This qualification applies instead to Provisioning cost guardrails: budgets, quotas and resource policies can constrain accidental or unauthorized spending; it does not identify the defining limitation of Compute memory sizing when a workload profile indicates memory pressure rather than processor saturation.

D:

This qualification applies instead to Provisioning for IOPS: disk provisioning must meet small-operation rate requirements for latency-sensitive storage workloads; it does not identify the defining limitation of Compute memory sizing when a workload profile indicates memory pressure rather than processor saturation.

CompTIA Cloud+ (CV0-004) Practice Tests