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

Question 110

A newly introduced service port is not allowed by the workload's network firewall rules. The team suspects Blocked security-group port. Which explanation supports that diagnosis?

  1. Absent or incorrect route-table entries prevent packets from reaching a network or intended next hop.
  2. Cached DNS answers can preserve obsolete addresses until their time-to-live or resolver state expires.
  3. Insufficient link capacity causes queues, lower throughput and possibly packet loss under demand.
  4. Network policies can reject the required source, destination or port even when IP routing is correct.

Explanation

Correct Answer

D:

This explains the situation in which a newly introduced service port is not allowed by the workload's network firewall rules, by describing the distinctive operation of Blocked security-group port; the operational boundary is that opening every port would expand attack surface unnecessarily.

Incorrect Answers

A:

That description belongs to Missing destination route, which solves a different need; it does not describe Blocked security-group port for the case in which a newly introduced service port is not allowed by the workload's network firewall rules. A limitation of that alternative, distinct from Blocked security-group port, is that firewall allow rules do not compensate for missing forwarding information.

B:

That description belongs to Stale DNS caching, which solves a different need; it does not describe Blocked security-group port for the case in which a newly introduced service port is not allowed by the workload's network firewall rules. A limitation of that alternative, distinct from Blocked security-group port, is that the current authoritative record may already be correct.

C:

That description belongs to Bandwidth saturation, which solves a different need; it does not describe Blocked security-group port for the case in which a newly introduced service port is not allowed by the workload's network firewall rules. A limitation of that alternative, distinct from Blocked security-group port, is that more CPU on a server cannot increase an already saturated network circuit.

Question 111

A distributed service calls a defined remote method with typed parameters. Which integration or operations tool fits this need?

  1. SOAP web service
  2. Idempotent message consumer
  3. GraphQL query API
  4. Remote procedure call (RPC)

Explanation

Correct Answer

D:

When a distributed service calls a defined remote method with typed parameters, RPC invokes a procedure on another system as an operation, often with generated interfaces and typed requests; the corresponding design boundary is that network failure and remote latency still exist despite local-call-like syntax.

Incorrect Answers

A:

Although SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts, this does not replace remote procedure call (rpc) in a case where a distributed service calls a defined remote method with typed parameters; moreover, it is heavier than many simple JSON-over-HTTP integrations.

B:

When a distributed service calls a defined remote method with typed parameters, the needed mechanism is remote procedure call (rpc), not this option: an idempotent consumer safely handles repeated message deliveries without applying the same business action twice; also, delivery retries can occur even when a broker ordinarily attempts at-least-once processing.

C:

For the situation where a distributed service calls a defined remote method with typed parameters, choosing this would miss the central need for remote procedure call (rpc), because GraphQL lets clients request specific fields from a typed API schema in a single query; note that field-level authorization and query complexity limits remain necessary.

Question 112

A regional outage must not make the only recoverable backup unavailable. Which mechanism should the operations team use?

  1. On-site backup repository
  2. Off-site backup copy
  3. Backup retention schedule
  4. Incremental backup

Explanation

Correct Answer

B:

For a situation where a regional outage must not make the only recoverable backup unavailable, an off-site copy resides in a separate location or failure domain from the primary system, although physical or logical separation must match disaster and residency constraints.

Incorrect Answers

A:

When a regional outage must not make the only recoverable backup unavailable, the needed mechanism is off-site backup copy, not this option: on-site backups near the protected systems can support fast local restores and short transfer paths; also, they alone do not protect against a site-wide disaster.

C:

The situation in which a regional outage must not make the only recoverable backup unavailable needs off-site backup copy; in contrast, retention rules preserve recovery points for appropriate periods and prune expired copies, with the additional constraint that too-short schedules may fail legal or business recovery windows.

D:

Although an incremental backup captures changes since the most recent backup of the applicable chain, this does not replace off-site backup copy in a case where a regional outage must not make the only recoverable backup unavailable; moreover, restoration may require the full baseline plus several increments in order.

Question 113

Customers complain of delays although average API latency remains low. Which mechanism should the operations team use?

  1. Synthetic availability checks
  2. Centralized log collection
  3. Log aggregation pipeline
  4. High-percentile latency monitoring

Explanation

Correct Answer

D:

Where customers complain of delays although average API latency remains low, tail-latency percentiles reveal the experience of slower requests hidden by mean response time; implementation must also recognize that enough samples and appropriate aggregation are needed for meaningful percentiles.

Incorrect Answers

A:

For the situation where customers complain of delays although average API latency remains low, choosing this would miss the central need for high-percentile latency monitoring, because synthetic monitoring performs scheduled probes or transactions to verify externally observed service availability; note that a passing simple health URL does not necessarily prove all business transactions work.

B:

The situation in which customers complain of delays although average API latency remains low needs high-percentile latency monitoring; in contrast, central collection gathers events from distributed applications and infrastructure into a searchable analysis location, with the additional constraint that it requires appropriate permissions, timestamps and consistent ingestion coverage.

C:

Although a log ingestion pipeline parses, enriches and routes records before they become searchable, this does not replace high-percentile latency monitoring in a case where customers complain of delays although average API latency remains low; moreover, malformed parsing or dropped events can create blind spots.

Question 114

Packets from a private subnet reach no on-premises CIDR despite allowed firewall traffic. What mechanism does this situation call for?

  1. Network route tables
  2. VPC peering
  3. Subnet address planning
  4. Application load balancer

Explanation

Correct Answer

A:

When packets from a private subnet reach no on-premises CIDR despite allowed firewall traffic, route tables determine the next hop for traffic toward particular destination networks; the corresponding design boundary is that an allow rule alone cannot deliver packets if no valid forward and return route exists.

Incorrect Answers

B:

Although peering creates private network connectivity between two virtual networks subject to addressing and route rules, this does not replace network route tables in a case where packets from a private subnet reach no on-premises CIDR despite allowed firewall traffic; moreover, peering is generally not an automatic transitive network hub.

C:

When packets from a private subnet reach no on-premises CIDR despite allowed firewall traffic, the needed mechanism is network route tables, not this option: subnetting partitions an address space into appropriately sized network segments; also, insufficient usable addresses and overlapping CIDRs can prevent workload placement or connectivity.

D:

For the situation where packets from a private subnet reach no on-premises CIDR despite allowed firewall traffic, choosing this would miss the central need for network route tables, because an application-layer load balancer can direct HTTP requests using hostnames, paths or other application attributes; note that it must have healthy backends and is not a general-purpose data store.

Question 115

A cluster needs historical memory pressure trends to plan capacity. Which operations approach is best suited to this situation?

  1. Resource utilization metrics
  2. Observability dashboard
  3. Alert deduplication and grouping
  4. High-percentile latency monitoring

Explanation

Correct Answer

A:

For a situation where a cluster needs historical memory pressure trends to plan capacity, time-series metrics show numerical behavior such as CPU, memory, latency and throughput over time, although a single average can hide instance skew or short spikes.

Incorrect Answers

B:

When a cluster needs historical memory pressure trends to plan capacity, the needed mechanism is resource utilization metrics, not this option: dashboards combine selected metrics or logs to convey operational state and trends; also, a dashboard is a view; it does not automatically collect missing telemetry or remediate faults.

C:

For the situation where a cluster needs historical memory pressure trends to plan capacity, choosing this would miss the central need for resource utilization metrics, because grouping related alerts reduces noise by consolidating signals from the same underlying failure; note that excessive suppression can hide independent incidents if grouping criteria are too broad.

D:

The situation in which a cluster needs historical memory pressure trends to plan capacity needs resource utilization metrics; in contrast, tail-latency percentiles reveal the experience of slower requests hidden by mean response time, with the additional constraint that enough samples and appropriate aggregation are needed for meaningful percentiles.

Question 116

A remote datacenter needs an encrypted network tunnel to cloud resources for an initial migration. What mechanism does this situation call for?

  1. Site-to-site virtual private network (VPN)
  2. Dedicated private cloud connection
  3. Content delivery network (CDN)
  4. Network load balancer

Explanation

Correct Answer

A:

Where a remote datacenter needs an encrypted network tunnel to cloud resources for an initial migration, an encrypted tunnel carries traffic between existing networks over a shared Internet connection; implementation must also recognize that throughput and latency still depend on Internet conditions and endpoint capacity.

Incorrect Answers

B:

For the situation where a remote datacenter needs an encrypted network tunnel to cloud resources for an initial migration, choosing this would miss the central need for site-to-site virtual private network (vpn), because a provider-supported dedicated circuit supplies a more predictable private network path than general Internet transport; note that a dedicated path may still need encryption and redundancy; it is not an IAM control.

C:

The situation in which a remote datacenter needs an encrypted network tunnel to cloud resources for an initial migration needs site-to-site virtual private network (vpn); in contrast, a geographically distributed cache serves eligible static or cacheable content closer to users, with the additional constraint that it does not replace the authoritative origin or cure uncacheable write operations.

D:

Although a network-layer load balancer distributes transport connections such as TCP or UDP with low protocol overhead, this does not replace site-to-site virtual private network (vpn) in a case where a remote datacenter needs an encrypted network tunnel to cloud resources for an initial migration; moreover, it usually does not interpret URL paths or application cookies for routing.

Question 117

An application upgrade must keep database state independent of replaceable compute nodes. Which operations approach is best suited to this situation?

  1. Persistent data life-cycle management
  2. Rolling maintenance for availability
  3. Patch validation staging
  4. Asset ownership and life-cycle tagging

Explanation

Correct Answer

A:

When an application upgrade must keep database state independent of replaceable compute nodes, persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned; the corresponding design boundary is that deleting a compute resource must not inadvertently erase required records.

Incorrect Answers

B:

The situation in which an application upgrade must keep database state independent of replaceable compute nodes needs persistent data life-cycle management; in contrast, rolling maintenance updates nodes sequentially to keep sufficient replicas serving during changes, with the additional constraint that workloads must tolerate concurrent versions and graceful traffic draining.

C:

Although updates should be tested in representative nonproduction environments before broad rollout when risk warrants, this does not replace persistent data life-cycle management in a case where an application upgrade must keep database state independent of replaceable compute nodes; moreover, a passing unit test alone may not cover real dependency behavior.

D:

When an application upgrade must keep database state independent of replaceable compute nodes, the needed mechanism is persistent data life-cycle management, not this option: ownership and expiration metadata help route maintenance and identify resources to review or retire; also, tags are governance aids and require processes to act on them.

Question 118

An application must leave its current hyperscaler without returning to on-premises infrastructure. The migration team selects Cloud-to-cloud migration. Which statement best explains that approach?

  1. Compatibility checks confirm target runtimes, CPU architecture, drivers and external interfaces support the source workload.
  2. Repatriation moves workload capacity from public cloud back to private or on-premises infrastructure.
  3. Cloud-to-cloud migration transfers workloads or data between distinct cloud provider environments.
  4. Dependency discovery identifies application calls, identity, data and network flows before migration sequencing.

Explanation

Correct Answer

C:

This applies to the situation in which an application must leave its current hyperscaler without returning to on-premises infrastructure, by describing the distinctive operation of Cloud-to-cloud migration; the operational boundary is that APIs, identity, network and data service differences can complicate portability.

Incorrect Answers

A:

That description belongs to Migration platform compatibility testing, which solves a different need; it does not describe Cloud-to-cloud migration for the case in which an application must leave its current hyperscaler without returning to on-premises infrastructure. A limitation of that alternative, distinct from Cloud-to-cloud migration, is that matching a VM's nominal size does not guarantee driver or application support.

B:

That description belongs to Cloud repatriation, which solves a different need; it does not describe Cloud-to-cloud migration for the case in which an application must leave its current hyperscaler without returning to on-premises infrastructure. A limitation of that alternative, distinct from Cloud-to-cloud migration, is that the destination must support the performance, skills and capital requirements.

D:

That description belongs to Application dependency mapping, which solves a different need; it does not describe Cloud-to-cloud migration for the case in which an application must leave its current hyperscaler without returning to on-premises infrastructure. A limitation of that alternative, distinct from Cloud-to-cloud migration, is that moving only one component without its dependencies can produce hidden failures.

Question 119

An engineer finalizes edits locally but has not yet synchronized with the shared repository. What pipeline or automation capability should the team use?

  1. Version revert strategy
  2. Git commit
  3. Git merge
  4. Git push

Explanation

Correct Answer

B:

Where an engineer finalizes edits locally but has not yet synchronized with the shared repository, a commit records a local repository snapshot and message in the version history; implementation must also recognize that a commit does not automatically publish changes to a remote repository.

Incorrect Answers

A:

Although a revert creates a new change that undoes a prior commit while preserving project history, this does not replace git commit in a case where an engineer finalizes edits locally but has not yet synchronized with the shared repository; moreover, reverting source does not automatically reverse external database mutations or deployed state.

C:

For the situation where an engineer finalizes edits locally but has not yet synchronized with the shared repository, choosing this would miss the central need for git commit, because merging integrates the histories and content changes from separate branches; note that conflicts may need resolution and tests after combining changes.

D:

The situation in which an engineer finalizes edits locally but has not yet synchronized with the shared repository needs git commit; in contrast, pushing transfers local commits and updated references to a remote Git repository, with the additional constraint that a push does not itself mean a change has been reviewed or merged into the default branch.

Question 120

A new read-only service needs production-shaped requests without customer-facing response changes. Which implementation approach is appropriate?

  1. Blue-green deployment
  2. In-place deployment
  3. Traffic mirroring or shadow testing
  4. Rolling deployment

Explanation

Correct Answer

C:

When a new read-only service needs production-shaped requests without customer-facing response changes, shadow testing copies production requests to a new service without using its responses for users; the corresponding design boundary is that side effects and sensitive payloads must be controlled to avoid duplicate transactions.

Incorrect Answers

A:

When a new read-only service needs production-shaped requests without customer-facing response changes, the needed mechanism is traffic mirroring or shadow testing, not this option: blue-green keeps two production-capable environments and switches traffic between versions for rapid rollback; also, parallel capacity costs more and data schema changes must be compatible.

B:

For the situation where a new read-only service needs production-shaped requests without customer-facing response changes, choosing this would miss the central need for traffic mirroring or shadow testing, because in-place updates modify the currently deployed application or host directly; note that rollback may be slower or riskier than switching to an untouched parallel environment.

D:

Although rolling deployments replace instances in batches while retaining some old-version capacity to serve requests, this does not replace traffic mirroring or shadow testing in a case where a new read-only service needs production-shaped requests without customer-facing response changes; moreover, temporary version coexistence requires interface compatibility and adequate spare capacity.

CompTIA Cloud+ (CV0-004) Practice Tests