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

Question 530

An optimizer wants to prepare instances based on demand forecasts rather than wait for saturation. The operations team considers Predictive scaling. Which explanation describes its function?

  1. Vertical scaling increases CPU or memory of an existing resource rather than adding replicas.
  2. Predictive scaling uses learned or forecast demand trends to provision capacity ahead of anticipated load.
  3. Scale bounds set resource floors and ceilings for availability, quotas or cost controls.
  4. Event-driven autoscaling responds to an event source or workload indicator rather than a calendar alone.

Explanation

Correct Answer

B:

This applies to the situation in which an optimizer wants to prepare instances based on demand forecasts rather than wait for saturation, by describing the distinctive operation of Predictive scaling; the operational boundary is that forecast error requires safe minimum capacity and monitoring.

Incorrect Answers

A:

That description belongs to Vertical instance scaling, which solves a different need; it does not describe Predictive scaling for the case in which an optimizer wants to prepare instances based on demand forecasts rather than wait for saturation. A limitation of that alternative, distinct from Predictive scaling, is that it may require restart and has instance-size ceilings.

C:

That description belongs to Autoscaling minimum and maximum bounds, which solves a different need; it does not describe Predictive scaling for the case in which an optimizer wants to prepare instances based on demand forecasts rather than wait for saturation. A limitation of that alternative, distinct from Predictive scaling, is that a maximum too low can cause capacity pressure during extreme demand.

D:

That description belongs to Event-driven scaling, which solves a different need; it does not describe Predictive scaling for the case in which an optimizer wants to prepare instances based on demand forecasts rather than wait for saturation. A limitation of that alternative, distinct from Predictive scaling, is that the event signal must map to actual processing capacity and downstream limits.

Question 531

An infrastructure template should be reviewed before merging into the release branch. Which deployment practice best meets this requirement?

  1. IaC parameter variables
  2. JSON structured configuration
  3. Secrets outside source control
  4. Drift detection
  5. Version-controlled infrastructure definitions

Explanation

Correct Answer

E:

When an infrastructure template should be reviewed before merging into the release branch, version control records code history and supports reviewed changes and rollback of configuration sources; the corresponding design boundary is that reverting a commit is not necessarily sufficient to undo every destructive infrastructure change.

Incorrect Answers

A:

Although variables allow one reviewed definition to accept environment-specific values without cloning entire templates, this does not replace version-controlled infrastructure definitions in a case where an infrastructure template should be reviewed before merging into the release branch; moreover, input validation and approved values still matter.

B:

When an infrastructure template should be reviewed before merging into the release branch, the needed mechanism is version-controlled infrastructure definitions, not this option: JSON encodes structured data with objects, arrays and explicit syntax, commonly for APIs and configuration files; also, JSON does not natively include comments and requires correct quoting and separators.

C:

For the situation where an infrastructure template should be reviewed before merging into the release branch, choosing this would miss the central need for version-controlled infrastructure definitions, because credentials should be injected from protected secret stores or short-lived identity mechanisms rather than embedded in code; note that marking an input sensitive does not guarantee secrets are absent from all state or logs.

D:

The situation in which an infrastructure template should be reviewed before merging into the release branch needs version-controlled infrastructure definitions; in contrast, drift detection compares actual resources with approved declared configuration to find out-of-band changes, with the additional constraint that detection alone may require a reviewed reconciliation plan rather than blind replacement.

Question 532

A live-event streaming service is connecting three different delivery components: (1) an HTTP ingress tier must split live and recorded requests into distinct backend pools; (2) global viewers should retrieve cacheable artwork at nearby edge locations; (3) private virtual networks belonging to many teams need centralized transit routing. Choose THREE design or architecture concepts that explain or address these distinct requirements.

  1. Application load balancer
  2. Border Gateway Protocol (BGP)
  3. Content delivery network (CDN)
  4. Transit gateway or hub routing
  5. Network load balancer
  6. Site-to-site virtual private network (VPN)

Explanation

Correct Answers

A:

For a situation where an HTTP ingress tier must split live and recorded requests into distinct backend pools, an application-layer load balancer can direct HTTP requests using hostnames, paths or other application attributes, although it must have healthy backends and is not a general-purpose data store.

C:

For a situation where global viewers should retrieve cacheable artwork at nearby edge locations, a geographically distributed cache serves eligible static or cacheable content closer to users, although it does not replace the authoritative origin or cure uncacheable write operations.

D:

For a situation where private virtual networks belonging to many teams need centralized transit routing, a central transit routing service connects multiple networks through a managed hub-and-spoke topology, although routes and attachment policies still need deliberate configuration.

Incorrect Answers

B:

For the combined case involving (1) an HTTP ingress tier must split live and recorded requests into distinct backend pools; (2) global viewers should retrieve cacheable artwork at nearby edge locations; (3) private virtual networks belonging to many teams need centralized transit routing, the requested set is Application load balancer and Content delivery network (CDN) and Transit gateway or hub routing, not this alternative: BGP exchanges reachability information and routing decisions between participating network routers; also, advertisements must be filtered and connectivity still requires correct firewall and return routes.

E:

For the combined case involving (1) an HTTP ingress tier must split live and recorded requests into distinct backend pools; (2) global viewers should retrieve cacheable artwork at nearby edge locations; (3) private virtual networks belonging to many teams need centralized transit routing, the requested set is Application load balancer and Content delivery network (CDN) and Transit gateway or hub routing, not this alternative: a network-layer load balancer distributes transport connections such as TCP or UDP with low protocol overhead; also, it usually does not interpret URL paths or application cookies for routing.

F:

For the combined case involving (1) an HTTP ingress tier must split live and recorded requests into distinct backend pools; (2) global viewers should retrieve cacheable artwork at nearby edge locations; (3) private virtual networks belonging to many teams need centralized transit routing, the requested set is Application load balancer and Content delivery network (CDN) and Transit gateway or hub routing, not this alternative: an encrypted tunnel carries traffic between existing networks over a shared Internet connection; also, throughput and latency still depend on Internet conditions and endpoint capacity.

Question 533

A disaster plan requires warm applications and synchronized data already online at a second location. Which cloud capability should be selected?

  1. Cold disaster recovery site
  2. Hot disaster recovery site
  3. Warm disaster recovery site
  4. Multi-region deployment

Explanation

Correct Answer

B:

Where a disaster plan requires warm applications and synchronized data already online at a second location, a hot site maintains ready infrastructure and typically current replicated data for rapid failover; implementation must also recognize that higher readiness normally increases ongoing cost and still requires failover testing.

Incorrect Answers

A:

For the situation where a disaster plan requires warm applications and synchronized data already online at a second location, choosing this would miss the central need for hot disaster recovery site, because a cold site provides a location and basic facilities but requires significant provisioning or restoration to become operational; note that it is generally unsuitable for very short RTO targets.

C:

Although a warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production, this does not replace hot disaster recovery site in a case where a disaster plan requires warm applications and synchronized data already online at a second location; moreover, its recovery time usually exceeds that of an already active hot site.

D:

When a disaster plan requires warm applications and synchronized data already online at a second location, the needed mechanism is hot disaster recovery site, not this option: running service components across distinct geographic regions can mitigate regional disasters; also, cross-region latency, data sovereignty, replication and failover design still matter.

Question 534

New project VPCs should attach to a shared network hub rather than form a peering mesh. An architect proposes Transit gateway or hub routing. Which statement accurately describes its role?

  1. Peering creates private network connectivity between two virtual networks subject to addressing and route rules.
  2. BGP exchanges reachability information and routing decisions between participating network routers.
  3. A central transit routing service connects multiple networks through a managed hub-and-spoke topology.
  4. A network-layer load balancer distributes transport connections such as TCP or UDP with low protocol overhead.

Explanation

Correct Answer

C:

This applies to the situation in which new project VPCs should attach to a shared network hub rather than form a peering mesh, by describing the distinctive operation of Transit gateway or hub routing; the operational boundary is that routes and attachment policies still need deliberate configuration.

Incorrect Answers

A:

That description belongs to VPC peering, which solves a different need; it does not describe Transit gateway or hub routing for the case in which new project VPCs should attach to a shared network hub rather than form a peering mesh. A limitation of that alternative, distinct from Transit gateway or hub routing, is that peering is generally not an automatic transitive network hub.

B:

That description belongs to Border Gateway Protocol (BGP), which solves a different need; it does not describe Transit gateway or hub routing for the case in which new project VPCs should attach to a shared network hub rather than form a peering mesh. A limitation of that alternative, distinct from Transit gateway or hub routing, is that advertisements must be filtered and connectivity still requires correct firewall and return routes.

D:

That description belongs to Network load balancer, which solves a different need; it does not describe Transit gateway or hub routing for the case in which new project VPCs should attach to a shared network hub rather than form a peering mesh. A limitation of that alternative, distinct from Transit gateway or hub routing, is that it usually does not interpret URL paths or application cookies for routing.

Question 535

New virtual desktops obtain no IPv4 lease while existing clients still work. The team suspects DHCP address pool exhaustion. Which explanation supports that diagnosis?

  1. Private instances commonly require a configured NAT path to initiate Internet access without public inbound addresses.
  2. A DHCP scope with no available leases cannot assign addresses to additional clients.
  3. When outbound and return packets follow incompatible paths, stateful devices can drop responses or sessions fail.
  4. NTP keeps system clocks aligned to reduce timestamp, certificate and token-validation problems.

Explanation

Correct Answer

B:

This explains the situation in which new virtual desktops obtain no IPv4 lease while existing clients still work, by describing the distinctive operation of DHCP address pool exhaustion; the operational boundary is that static routing changes do not increase the number of free leases.

Incorrect Answers

A:

That description belongs to Missing NAT egress gateway, which solves a different need; it does not describe DHCP address pool exhaustion for the case in which new virtual desktops obtain no IPv4 lease while existing clients still work. A limitation of that alternative, distinct from DHCP address pool exhaustion, is that NAT does not grant IAM permissions or fix DNS independently.

C:

That description belongs to Asymmetric return routing, which solves a different need; it does not describe DHCP address pool exhaustion for the case in which new virtual desktops obtain no IPv4 lease while existing clients still work. A limitation of that alternative, distinct from DHCP address pool exhaustion, is that the return route is as important as the forward route for successful communication.

D:

That description belongs to NTP clock synchronization, which solves a different need; it does not describe DHCP address pool exhaustion for the case in which new virtual desktops obtain no IPv4 lease while existing clients still work. A limitation of that alternative, distinct from DHCP address pool exhaustion, is that time sync does not repair missing DNS or blocked application ports.

Question 536

Staging and production must run the exact same container digest. Engineers use Immutable build artifact. Which operational caveat should they account for?

  1. Rebuilding independently in production can create version drift.
  2. Mocks may miss real network, schema and permission failures.
  3. Successful packaging does not imply functional tests or secure release approval have passed.
  4. Repository ACLs and artifact provenance still need explicit governance.

Explanation

Correct Answer

A:

This is the limitation specific to Immutable build artifact in a situation where staging and production must run the exact same container digest; its underlying operation is that an immutable versioned artifact ensures the same tested binary, image or package is promoted between environments.

Incorrect Answers

B:

This qualification applies instead to Integration testing in CI/CD: integration tests verify interactions among combined components, APIs and dependencies beyond isolated unit logic; it does not identify the defining limitation of Immutable build artifact when staging and production must run the exact same container digest.

C:

This qualification applies instead to Build-and-package stage: a build stage transforms source into deployable binaries, container images or other versioned outputs; it does not identify the defining limitation of Immutable build artifact when staging and production must run the exact same container digest.

D:

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 Immutable build artifact when staging and production must run the exact same container digest.

Question 537

An automation script calls a discontinued service endpoint that previously worked. The most likely diagnosis is Deprecated API version. Which qualification about this failure matters?

  1. An authenticated session is not necessarily authorized for every API action.
  2. Adding permissions will not repair invalid JSON, YAML or unsupported parameters.
  3. A platform feature being available does not guarantee old client tooling understands it.
  4. The correct fix is usually a supported API or provider definition, not broader IAM rights.

Explanation

Correct Answer

D:

This is the limitation specific to Deprecated API version in a situation where an automation script calls a discontinued service endpoint that previously worked; its underlying operation is that an outdated API or resource schema version may be removed and reject previously working requests.

Incorrect Answers

A:

This qualification applies instead to Provisioning authorization failure: a principal lacking required permissions receives an authorization error during resource creation; it does not identify the defining limitation of Deprecated API version when an automation script calls a discontinued service endpoint that previously worked.

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 Deprecated API version when an automation script calls a discontinued service endpoint that previously worked.

C:

This qualification applies instead to Stale deployment provider definition: outdated infrastructure tooling providers or resource definitions may not recognize new properties or supported service versions; it does not identify the defining limitation of Deprecated API version when an automation script calls a discontinued service endpoint that previously worked.

Question 538

A gaming kiosk requires low-latency processing at the point of interaction rather than every request traveling to a central region. Which architecture concept best fits?

  1. Cold disaster recovery site
  2. Edge computing
  3. Multi-region deployment
  4. Recovery time objective (RTO)

Explanation

Correct Answer

B:

For a situation where a gaming kiosk requires low-latency processing at the point of interaction rather than every request traveling to a central region, processing near sensors or users reduces round-trip delay and dependence on distant central services, although edge nodes still require synchronization, security and operational management.

Incorrect Answers

A:

The situation in which a gaming kiosk requires low-latency processing at the point of interaction rather than every request traveling to a central region needs edge computing; in contrast, a cold site provides a location and basic facilities but requires significant provisioning or restoration to become operational, with the additional constraint that it is generally unsuitable for very short RTO targets.

C:

When a gaming kiosk requires low-latency processing at the point of interaction rather than every request traveling to a central region, the needed mechanism is edge computing, not this option: running service components across distinct geographic regions can mitigate regional disasters; also, cross-region latency, data sovereignty, replication and failover design still matter.

D:

For the situation where a gaming kiosk requires low-latency processing at the point of interaction rather than every request traveling to a central region, choosing this would miss the central need for edge computing, because RTO is the maximum acceptable elapsed time before the service must be restored after disruption; note that RTO measures recovery duration, not the age of recoverable data.

Question 539

A workload must run within a country's boundary and use a supported managed service. Which cloud deployment consideration does this describe?

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

Explanation

Correct Answer

A:

Where a workload must run within a country's boundary and use a supported managed service, region selection must satisfy residency, supported-service and disaster-design constraints; implementation must also recognize that not all instance families or managed features are offered in every region.

Incorrect Answers

B:

When a workload must run within a country's boundary and use a supported managed service, the needed mechanism is provisioning region eligibility, not this option: compute provisioning must satisfy peak memory working sets and runtime headroom; also, CPU count alone cannot resolve out-of-memory termination.

C:

For the situation where a workload must run within a country's boundary and use a supported managed service, choosing this would miss the central need for provisioning region eligibility, 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.

D:

The situation in which a workload must run within a country's boundary and use a supported managed service needs provisioning region eligibility; in contrast, private subnets and restricted endpoints limit data-tier exposure to authorized application networks, with the additional constraint that private placement does not replace authentication, encryption or host patching.

E:

Although network sizing must provide sufficient sustained transfer capacity for the intended application flow, this does not replace provisioning region eligibility in a case where a workload must run within a country's boundary and use a supported managed service; moreover, fast storage cannot compensate for a saturated network interface.

Question 540

A shopping site needs a rule to block common malicious URL payloads. Which security control or security concept best applies?

  1. Endpoint detection and response (EDR)
  2. Intrusion prevention system (IPS)
  3. Web application firewall (WAF)
  4. Network access control list (network ACL)
  5. Egress network filtering

Explanation

Correct Answer

C:

When a shopping site needs a rule to block common malicious URL payloads, a WAF inspects HTTP and HTTPS requests for application-layer attack patterns and enforces web-specific rules; the corresponding design boundary is that it does not replace OS patching or general-purpose firewalling for all protocols.

Incorrect Answers

A:

When a shopping site needs a rule to block common malicious URL payloads, the needed mechanism is web application firewall (waf), not this option: endpoint protection monitors host processes and behaviors to detect or contain malicious activity; also, it does not replace network security, backups or patched applications.

B:

For the situation where a shopping site needs a rule to block common malicious URL payloads, choosing this would miss the central need for web application firewall (waf), because an inline IPS inspects suspicious traffic and can block matched or policy-violating flows; note that improper signatures may block legitimate traffic and require tuning.

D:

Although network ACLs filter network traffic at an associated network boundary or subnet scope using defined rules, this does not replace web application firewall (waf) in a case where a shopping site needs a rule to block common malicious URL payloads; moreover, stateful versus stateless behavior differs by provider and should be verified.

E:

When a shopping site needs a rule to block common malicious URL payloads, the needed mechanism is web application firewall (waf), not this option: outbound firewall policies restrict which external destinations workloads can contact; also, they do not replace detection of application compromise or data classification.

CompTIA Cloud+ (CV0-004) Practice Tests