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

Question 610

A disaster-rebuild exercise finds one deployment concern and one governance concern: (1) the entire network and server environment must be reproducible from checked-in definitions; (2) unauthorized changes made directly in the cloud must be detected against those definitions. Choose TWO deployment or migration practices that explain or address these distinct requirements.

  1. Version-controlled infrastructure definitions
  2. Infrastructure as code (IaC)
  3. Infrastructure policy and validation tests
  4. Drift detection
  5. Reusable script function

Explanation

Correct Answers

B:

For a situation where the entire network and server environment must be reproducible from checked-in definitions, IaC uses declarative or programmatic definitions to provision and manage infrastructure reproducibly, although state, drift and secrets handling must be managed throughout the workflow.

D:

For a situation where unauthorized changes made directly in the cloud must be detected against those definitions, drift detection compares actual resources with approved declared configuration to find out-of-band changes, although detection alone may require a reviewed reconciliation plan rather than blind replacement.

Incorrect Answers

A:

For the combined case involving (1) the entire network and server environment must be reproducible from checked-in definitions; (2) unauthorized changes made directly in the cloud must be detected against those definitions, the requested set is Infrastructure as code (IaC) and Drift detection, not this alternative: version control records code history and supports reviewed changes and rollback of configuration sources; also, reverting a commit is not necessarily sufficient to undo every destructive infrastructure change.

C:

For the combined case involving (1) the entire network and server environment must be reproducible from checked-in definitions; (2) unauthorized changes made directly in the cloud must be detected against those definitions, the requested set is Infrastructure as code (IaC) and Drift detection, not this alternative: automated validation can reject malformed or noncompliant infrastructure before applying changes; also, static checks do not replace runtime behavior testing and access review.

E:

For the combined case involving (1) the entire network and server environment must be reproducible from checked-in definitions; (2) unauthorized changes made directly in the cloud must be detected against those definitions, the requested set is Infrastructure as code (IaC) and Drift detection, not this alternative: a function packages a named set of steps that can be invoked with inputs from multiple locations; also, functions do not automatically make side effects safe or idempotent.

Question 611

A creative application requests multiple draft product descriptions from structured attributes. Which cloud design or component is most appropriate?

  1. Generative AI
  2. Optical character recognition
  3. Speech-to-text recognition
  4. IoT gateway and edge aggregation

Explanation

Correct Answer

A:

Where a creative application requests multiple draft product descriptions from structured attributes, generative models produce new text or other content based on prompts and learned patterns; implementation must also recognize that outputs require review for factual accuracy, privacy and policy compliance.

Incorrect Answers

B:

When a creative application requests multiple draft product descriptions from structured attributes, the needed mechanism is generative ai, not this option: text recognition extracts characters from scanned images or photographs; also, it does not automatically translate language or understand document intent.

C:

For the situation where a creative application requests multiple draft product descriptions from structured attributes, choosing this would miss the central need for generative ai, because speech recognition transforms spoken audio into written words; note that it differs from text-to-speech synthesis and sentiment classification.

D:

The situation in which a creative application requests multiple draft product descriptions from structured attributes needs generative ai; in contrast, an IoT gateway bridges sensors to networks or cloud services and can aggregate, filter or translate telemetry, with the additional constraint that gateway placement and network protocols must satisfy device security and offline requirements.

Question 612

Two private clouds both use 10.5.0.0/16 and cannot establish intended routing. The team suspects Overlapping CIDR networks. Which explanation supports that diagnosis?

  1. DNS failures prevent clients from resolving hostnames to usable addresses even when IP connectivity exists.
  2. Absent or incorrect route-table entries prevent packets from reaching a network or intended next hop.
  3. Overlapping IP address ranges create ambiguous routing or peering conflicts between connected networks.
  4. Network policies can reject the required source, destination or port even when IP routing is correct.

Explanation

Correct Answer

C:

This explains the situation in which two private clouds both use 10.5.0.0/16 and cannot establish intended routing, by describing the distinctive operation of Overlapping CIDR networks; the operational boundary is that an allow-all firewall rule cannot distinguish duplicate destination address spaces.

Incorrect Answers

A:

That description belongs to DNS name resolution failure, which solves a different need; it does not describe Overlapping CIDR networks for the case in which two private clouds both use 10.5.0.0/16 and cannot establish intended routing. A limitation of that alternative, distinct from Overlapping CIDR networks, is that changing firewall ports does not repair a missing or incorrect DNS record.

B:

That description belongs to Missing destination route, which solves a different need; it does not describe Overlapping CIDR networks for the case in which two private clouds both use 10.5.0.0/16 and cannot establish intended routing. A limitation of that alternative, distinct from Overlapping CIDR networks, is that firewall allow rules do not compensate for missing forwarding information.

D:

That description belongs to Blocked security-group port, which solves a different need; it does not describe Overlapping CIDR networks for the case in which two private clouds both use 10.5.0.0/16 and cannot establish intended routing. A limitation of that alternative, distinct from Overlapping CIDR networks, is that opening every port would expand attack surface unnecessarily.

Question 613

An order API must accept requests even when the invoicing service is briefly unavailable. Which cloud design or component is most appropriate?

  1. Fan-out messaging pattern
  2. Managed cloud service
  3. Loosely coupled messaging
  4. Microservices decomposition

Explanation

Correct Answer

C:

For a situation where an order API must accept requests even when the invoicing service is briefly unavailable, asynchronous queues or events can decouple services so producers need not wait for consumers, although consumers still need retries, idempotency and failure handling.

Incorrect Answers

A:

For the situation where an order API must accept requests even when the invoicing service is briefly unavailable, choosing this would miss the central need for loosely coupled messaging, because fan-out delivers one event to multiple independent consumers for separate processing; note that delivery semantics and subscriber failures must be managed per consumer.

B:

The situation in which an order API must accept requests even when the invoicing service is briefly unavailable needs loosely coupled messaging; in contrast, using provider-managed capabilities can reduce the team's responsibility for maintaining undifferentiated platform components, with the additional constraint that data, configuration and application-level controls remain tenant responsibilities.

D:

When an order API must accept requests even when the invoicing service is briefly unavailable, the needed mechanism is loosely coupled messaging, not this option: microservices divide functionality into independently deployable services with defined APIs; also, distributed calls add observability and operational complexity.

Question 614

Storage egress deviates sharply from typical weekday demand. The operations team considers Monitoring baseline and anomaly detection. Which explanation describes its function?

  1. Traces connect operations and spans across service boundaries to show an end-to-end request path.
  2. Grouping related alerts reduces noise by consolidating signals from the same underlying failure.
  3. Historical baselines provide expected behavior so deviations can signal unexpected incidents.
  4. Time-series metrics show numerical behavior such as CPU, memory, latency and throughput over time.

Explanation

Correct Answer

C:

This applies to the situation in which storage egress deviates sharply from typical weekday demand, by describing the distinctive operation of Monitoring baseline and anomaly detection; the operational boundary is that seasonality and legitimate releases can change baseline patterns.

Incorrect Answers

A:

That description belongs to Distributed tracing, which solves a different need; it does not describe Monitoring baseline and anomaly detection for the case in which storage egress deviates sharply from typical weekday demand. A limitation of that alternative, distinct from Monitoring baseline and anomaly detection, is that instrumentation and context propagation are needed; isolated log lines cannot alone reconstruct latency contributions.

B:

That description belongs to Alert deduplication and grouping, which solves a different need; it does not describe Monitoring baseline and anomaly detection for the case in which storage egress deviates sharply from typical weekday demand. A limitation of that alternative, distinct from Monitoring baseline and anomaly detection, is that excessive suppression can hide independent incidents if grouping criteria are too broad.

D:

That description belongs to Resource utilization metrics, which solves a different need; it does not describe Monitoring baseline and anomaly detection for the case in which storage egress deviates sharply from typical weekday demand. A limitation of that alternative, distinct from Monitoring baseline and anomaly detection, is that a single average can hide instance skew or short spikes.

Question 615

A subnet cannot reach a remote datacenter CIDR despite an established VPN tunnel. The most likely diagnosis is Missing destination route. Which qualification about this failure matters?

  1. Opening every port would expand attack surface unnecessarily.
  2. The return route is as important as the forward route for successful communication.
  3. Firewall allow rules do not compensate for missing forwarding information.
  4. An allow-all firewall rule cannot distinguish duplicate destination address spaces.

Explanation

Correct Answer

C:

This is the limitation specific to Missing destination route in a situation where a subnet cannot reach a remote datacenter CIDR despite an established VPN tunnel; its underlying operation is that absent or incorrect route-table entries prevent packets from reaching a network or intended next hop.

Incorrect Answers

A:

This qualification applies instead to Blocked security-group port: network policies can reject the required source, destination or port even when IP routing is correct; it does not identify the defining limitation of Missing destination route when a subnet cannot reach a remote datacenter CIDR despite an established VPN tunnel.

B:

This qualification applies instead to Asymmetric return routing: when outbound and return packets follow incompatible paths, stateful devices can drop responses or sessions fail; it does not identify the defining limitation of Missing destination route when a subnet cannot reach a remote datacenter CIDR despite an established VPN tunnel.

D:

This qualification applies instead to Overlapping CIDR networks: overlapping IP address ranges create ambiguous routing or peering conflicts between connected networks; it does not identify the defining limitation of Missing destination route when a subnet cannot reach a remote datacenter CIDR despite an established VPN tunnel.

Question 616

New VM deployments fail across an account while existing VMs remain reachable. The most likely diagnosis is Control-plane service outage. Which qualification about this failure matters?

  1. The correct fix is usually a supported API or provider definition, not broader IAM rights.
  2. Adding permissions will not repair invalid JSON, YAML or unsupported parameters.
  3. Data-plane status and management-plane status must be checked separately.
  4. Infrastructure creation success must be distinguished from application readiness.

Explanation

Correct Answer

C:

This is the limitation specific to Control-plane service outage in a situation where new VM deployments fail across an account while existing VMs remain reachable; its underlying operation is that an outage in a cloud management service can block creation or modification even when running resources continue serving.

Incorrect Answers

A:

This qualification applies instead to Deprecated API version: an outdated API or resource schema version may be removed and reject previously working requests; it does not identify the defining limitation of Control-plane service outage when new VM deployments fail across an account while existing VMs remain reachable.

B:

This qualification applies instead to Malformed resource configuration: invalid schema fields or syntax cause deployment tools or cloud APIs to reject a resource definition; it does not identify the defining limitation of Control-plane service outage when new VM deployments fail across an account while existing VMs remain reachable.

D:

This qualification applies instead to Bootstrap or cloud-init failure: post-provision startup scripts can fail after the VM or instance itself has been created successfully; it does not identify the defining limitation of Control-plane service outage when new VM deployments fail across an account while existing VMs remain reachable.

Question 617

An organization needs to prevent resource actions even when a principal has another allow grant. The security review identifies IAM deny policy. Which related caveat is most accurate?

  1. It does not replace OS patching or general-purpose firewalling for all protocols.
  2. Improper signatures may block legitimate traffic and require tuning.
  3. IAM controls resource API rights, not transport-level packet routing.
  4. Accurate classification and policy scope determine effectiveness.

Explanation

Correct Answer

C:

This is the limitation specific to IAM deny policy in a situation where an organization needs to prevent resource actions even when a principal has another allow grant; its underlying operation is that explicit deny or restrictive IAM policies can block prohibited resource actions despite other grants when the platform's policy model supports them.

Incorrect Answers

A:

This qualification applies instead to Web application firewall (WAF): a WAF inspects HTTP and HTTPS requests for application-layer attack patterns and enforces web-specific rules; it does not identify the defining limitation of IAM deny policy when an organization needs to prevent resource actions even when a principal has another allow grant.

B:

This qualification applies instead to Intrusion prevention system (IPS): an inline IPS inspects suspicious traffic and can block matched or policy-violating flows; it does not identify the defining limitation of IAM deny policy when an organization needs to prevent resource actions even when a principal has another allow grant.

D:

This qualification applies instead to Data loss prevention (DLP): DLP policies detect or restrict sensitive information leaving approved channels or destinations; it does not identify the defining limitation of IAM deny policy when an organization needs to prevent resource actions even when a principal has another allow grant.

Question 618

A network design allows only application-tier subnets to reach database listeners. Which cloud deployment consideration does this describe?

  1. Provisioning private database access
  2. Provisioning for network throughput
  3. Compute memory sizing
  4. Provisioning high-availability replicas

Explanation

Correct Answer

A:

When a network design allows only application-tier subnets to reach database listeners, private subnets and restricted endpoints limit data-tier exposure to authorized application networks; the corresponding design boundary is that private placement does not replace authentication, encryption or host patching.

Incorrect Answers

B:

Although network sizing must provide sufficient sustained transfer capacity for the intended application flow, this does not replace provisioning private database access in a case where a network design allows only application-tier subnets to reach database listeners; moreover, fast storage cannot compensate for a saturated network interface.

C:

When a network design allows only application-tier subnets to reach database listeners, the needed mechanism is provisioning private database access, not this option: compute provisioning must satisfy peak memory working sets and runtime headroom; also, CPU count alone cannot resolve out-of-memory termination.

D:

For the situation where a network design allows only application-tier subnets to reach database listeners, choosing this would miss the central need for provisioning private database access, because placing independent replicas in appropriate failure domains reduces single-instance outage risk; note that load balancing and data consistency requirements remain part of the design.

Question 619

A batch app is rewritten to use event-triggered functions rather than a nightly VM. The migration team selects Refactor migration. Which statement best explains that approach?

  1. Retaining leaves a workload in its current environment when moving it is not yet justified.
  2. Cloud-to-cloud migration transfers workloads or data between distinct cloud provider environments.
  3. Refactoring changes application code and internal design to exploit cloud-native capabilities.
  4. Rehosting moves an existing workload with minimal application architecture changes, often described as lift and shift.

Explanation

Correct Answer

C:

This applies to the situation in which a batch app is rewritten to use event-triggered functions rather than a nightly VM, by describing the distinctive operation of Refactor migration; the operational boundary is that development effort and regression risk are usually greater than for a direct rehost.

Incorrect Answers

A:

That description belongs to Retain migration strategy, which solves a different need; it does not describe Refactor migration for the case in which a batch app is rewritten to use event-triggered functions rather than a nightly VM. A limitation of that alternative, distinct from Refactor migration, is that dependencies and future review dates should be documented.

B:

That description belongs to Cloud-to-cloud migration, which solves a different need; it does not describe Refactor migration for the case in which a batch app is rewritten to use event-triggered functions rather than a nightly VM. A limitation of that alternative, distinct from Refactor migration, is that APIs, identity, network and data service differences can complicate portability.

D:

That description belongs to Rehost migration, which solves a different need; it does not describe Refactor migration for the case in which a batch app is rewritten to use event-triggered functions rather than a nightly VM. A limitation of that alternative, distinct from Refactor migration, is that it may preserve legacy inefficiencies and operational responsibilities.

Question 620

An inventory app enforces foreign keys between purchases and stock entries. What mechanism does this situation call for?

  1. Key-value database
  2. Document-oriented NoSQL database
  3. Provider-managed database
  4. Relational database

Explanation

Correct Answer

D:

Where an inventory app enforces foreign keys between purchases and stock entries, relational databases use tables, schemas and transactional relationships suited to structured data and consistent joins; implementation must also recognize that scaling patterns differ from flexible document or key-value stores.

Incorrect Answers

A:

When an inventory app enforces foreign keys between purchases and stock entries, the needed mechanism is relational database, not this option: key-value stores provide fast lookups by a unique key and are suitable for simple session or cache data; also, they are poorly matched to ad hoc joins or complex relational queries.

B:

For the situation where an inventory app enforces foreign keys between purchases and stock entries, choosing this would miss the central need for relational database, because document stores manage flexible nested records without requiring a uniform relational schema; note that complex cross-document joins and transactions may require special design.

C:

The situation in which an inventory app enforces foreign keys between purchases and stock entries needs relational database; in contrast, a managed database offloads much infrastructure maintenance such as backups, patching or failover configuration to the provider, with the additional constraint that schema design, data protection and access configuration still require customer oversight.

CompTIA Cloud+ (CV0-004) Practice Tests