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

Question 70

Product catalog attributes vary widely from item to item and change frequently. An architect proposes Document-oriented NoSQL database. Which statement accurately describes its role?

  1. Relational databases use tables, schemas and transactional relationships suited to structured data and consistent joins.
  2. Key-value stores provide fast lookups by a unique key and are suitable for simple session or cache data.
  3. Document stores manage flexible nested records without requiring a uniform relational schema.
  4. A managed database offloads much infrastructure maintenance such as backups, patching or failover configuration to the provider.

Explanation

Correct Answer

C:

This applies to the situation in which product catalog attributes vary widely from item to item and change frequently, by describing the distinctive operation of Document-oriented NoSQL database; the operational boundary is that complex cross-document joins and transactions may require special design.

Incorrect Answers

A:

That description belongs to Relational database, which solves a different need; it does not describe Document-oriented NoSQL database for the case in which product catalog attributes vary widely from item to item and change frequently. A limitation of that alternative, distinct from Document-oriented NoSQL database, is that scaling patterns differ from flexible document or key-value stores.

B:

That description belongs to Key-value database, which solves a different need; it does not describe Document-oriented NoSQL database for the case in which product catalog attributes vary widely from item to item and change frequently. A limitation of that alternative, distinct from Document-oriented NoSQL database, is that they are poorly matched to ad hoc joins or complex relational queries.

D:

That description belongs to Provider-managed database, which solves a different need; it does not describe Document-oriented NoSQL database for the case in which product catalog attributes vary widely from item to item and change frequently. A limitation of that alternative, distinct from Document-oriented NoSQL database, is that schema design, data protection and access configuration still require customer oversight.

Question 71

An inventory should correlate machine images with deployed applications before patch prioritization. Which security control or security concept best applies?

  1. Asset vulnerability inventory
  2. Post-remediation verification
  3. Common Vulnerabilities and Exposures (CVE)
  4. Contextual vulnerability risk assessment

Explanation

Correct Answer

A:

Where an inventory should correlate machine images with deployed applications before patch prioritization, asset identification ties discovered vulnerabilities to the actual software versions and deployed resources; implementation must also recognize that untracked images and abandoned instances can hide exposure.

Incorrect Answers

B:

When an inventory should correlate machine images with deployed applications before patch prioritization, the needed mechanism is asset vulnerability inventory, not this option: verification rescans or tests affected assets to prove the vulnerability is no longer present or reachable; also, change tickets alone do not prove successful remediation.

C:

For the situation where an inventory should correlate machine images with deployed applications before patch prioritization, choosing this would miss the central need for asset vulnerability inventory, because a CVE identifier references a publicly cataloged vulnerability to aid consistent tracking across tools and vendors; note that a CVE ID alone does not specify exploitability in a particular environment.

D:

The situation in which an inventory should correlate machine images with deployed applications before patch prioritization needs asset vulnerability inventory; in contrast, risk assessment combines severity with exploitability, exposure, asset value and compensating defenses, with the additional constraint that a numeric base score alone cannot describe all business impact.

Question 72

An infrastructure team wants a pool of hosts for resilient VM placement. Which cloud design or component is most appropriate?

  1. Virtualization host clustering
  2. VM cloning
  3. Host affinity rules
  4. Network-attached storage (NAS)

Explanation

Correct Answer

A:

When an infrastructure team wants a pool of hosts for resilient VM placement, a host cluster coordinates multiple hypervisor hosts to improve availability and resource placement; the corresponding design boundary is that guest application resilience and shared storage prerequisites still matter.

Incorrect Answers

B:

For the situation where an infrastructure team wants a pool of hosts for resilient VM placement, choosing this would miss the central need for virtualization host clustering, because cloning creates a new virtual machine from an existing VM or template state; note that identity conflicts and configuration customization need attention in the copy.

C:

The situation in which an infrastructure team wants a pool of hosts for resilient VM placement needs virtualization host clustering; in contrast, affinity or anti-affinity rules influence which physical hosts run related virtual machines, with the additional constraint that hard rules may reduce scheduling flexibility when capacity is constrained.

D:

Although NAS provides file-level access from storage servers over network file protocols, this does not replace virtualization host clustering in a case where an infrastructure team wants a pool of hosts for resilient VM placement; moreover, file sharing is distinct from raw block LUN presentation.

Question 73

A load balancer should drain old connections before an autoscaled node terminates. What operational capability is needed?

  1. Vertical instance scaling
  2. Autoscaling cooldown and stabilization
  3. Event-driven scaling
  4. Safe scale-in and connection draining

Explanation

Correct Answer

D:

For a situation where a load balancer should drain old connections before an autoscaled node terminates, scale-in should stop new work and allow existing requests or jobs to finish before removing capacity, although abrupt termination can drop sessions or lose in-flight tasks.

Incorrect Answers

A:

For the situation where a load balancer should drain old connections before an autoscaled node terminates, choosing this would miss the central need for safe scale-in and connection draining, because vertical scaling increases CPU or memory of an existing resource rather than adding replicas; note that it may require restart and has instance-size ceilings.

B:

The situation in which a load balancer should drain old connections before an autoscaled node terminates needs safe scale-in and connection draining; in contrast, cooldown or stabilization intervals prevent rapid scale reversals caused by short-lived metric changes, with the additional constraint that overly long cooldowns can delay response to genuine changes.

C:

Although event-driven autoscaling responds to an event source or workload indicator rather than a calendar alone, this does not replace safe scale-in and connection draining in a case where a load balancer should drain old connections before an autoscaled node terminates; moreover, the event signal must map to actual processing capacity and downstream limits.

Question 74

A financial service needs geographic failover rather than merely surviving a rack or zone fault. Which architecture concept best fits?

  1. Cold disaster recovery site
  2. Hot disaster recovery site
  3. Multi-region deployment
  4. Warm disaster recovery site
  5. Cloud bursting
  6. Recovery point objective (RPO)

Explanation

Correct Answer

C:

Where a financial service needs geographic failover rather than merely surviving a rack or zone fault, running service components across distinct geographic regions can mitigate regional disasters; implementation must also recognize that cross-region latency, data sovereignty, replication and failover design still matter.

Incorrect Answers

A:

The situation in which a financial service needs geographic failover rather than merely surviving a rack or zone fault needs multi-region deployment; 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.

B:

Although a hot site maintains ready infrastructure and typically current replicated data for rapid failover, this does not replace multi-region deployment in a case where a financial service needs geographic failover rather than merely surviving a rack or zone fault; moreover, higher readiness normally increases ongoing cost and still requires failover testing.

D:

For the situation where a financial service needs geographic failover rather than merely surviving a rack or zone fault, choosing this would miss the central need for multi-region deployment, because a warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production; note that its recovery time usually exceeds that of an already active hot site.

E:

The situation in which a financial service needs geographic failover rather than merely surviving a rack or zone fault needs multi-region deployment; in contrast, cloud bursting extends a primary environment temporarily into elastic cloud capacity during demand spikes, with the additional constraint that applications must support the connectivity, state and portability needed to span environments.

F:

Although RPO states the maximum acceptable amount of data loss expressed as a time interval, this does not replace multi-region deployment in a case where a financial service needs geographic failover rather than merely surviving a rack or zone fault; moreover, it does not indicate how long restarting the service may take.

Question 75

A container listens internally on 8080 but clients must reach a published host port. Which cloud capability should be selected?

  1. Container port mapping
  2. Ephemeral container filesystem
  3. Persistent container volume
  4. Standalone container runtime

Explanation

Correct Answer

A:

When a container listens internally on 8080 but clients must reach a published host port, port mapping publishes or forwards traffic from a host or service port to a container listening port; the corresponding design boundary is that it does not by itself establish authorization, healthy processes or network routes.

Incorrect Answers

B:

When a container listens internally on 8080 but clients must reach a published host port, the needed mechanism is container port mapping, not this option: an ephemeral container layer or temporary volume suits scratch data intentionally discarded with the workload; also, restart or replacement can erase this data and should not hold irreplaceable state.

C:

For the situation where a container listens internally on 8080 but clients must reach a published host port, choosing this would miss the central need for container port mapping, because persistent volumes keep application data independent of the life cycle of an individual container; note that applications still need compatible access modes and backup protection.

D:

The situation in which a container listens internally on 8080 but clients must reach a published host port needs container port mapping; in contrast, a standalone runtime launches individual container processes without a multi-node scheduler, with the additional constraint that it lacks automatic cluster placement and desired replica reconciliation.

Question 76

An HTTPS load balancer cannot connect to its backend because a group rule lacks the target port. What is the most likely underlying problem?

  1. Blocked security-group port
  2. Missing destination route
  3. HTTP 502 upstream error
  4. DNS name resolution failure
  5. Excessive network latency

Explanation

Correct Answer

A:

For a situation where an HTTPS load balancer cannot connect to its backend because a group rule lacks the target port, network policies can reject the required source, destination or port even when IP routing is correct, although opening every port would expand attack surface unnecessarily.

Incorrect Answers

B:

For the situation where an HTTPS load balancer cannot connect to its backend because a group rule lacks the target port, choosing this would miss the central need for blocked security-group port, because absent or incorrect route-table entries prevent packets from reaching a network or intended next hop; note that firewall allow rules do not compensate for missing forwarding information.

C:

The situation in which an HTTPS load balancer cannot connect to its backend because a group rule lacks the target port needs blocked security-group port; in contrast, an HTTP 502 indicates that a gateway or proxy received an invalid response from an upstream server, with the additional constraint that it points investigation toward gateway-backend communication rather than merely missing client credentials.

D:

Although DNS failures prevent clients from resolving hostnames to usable addresses even when IP connectivity exists, this does not replace blocked security-group port in a case where an HTTPS load balancer cannot connect to its backend because a group rule lacks the target port; moreover, changing firewall ports does not repair a missing or incorrect DNS record.

E:

When an HTTPS load balancer cannot connect to its backend because a group rule lacks the target port, the needed mechanism is blocked security-group port, not this option: high round-trip delay can degrade chatty applications even when available bandwidth is ample; also, adding link bandwidth alone may not reduce propagation or service processing delay.

Question 77

A cloud network funnels RDP management through an audited gateway instance. Which security practice is most directly relevant?

  1. Security audit trail
  2. Bastion host for administration
  3. Directory-based identity authentication
  4. OpenID Connect (OIDC)
  5. Remote Desktop Protocol (RDP)

Explanation

Correct Answer

B:

Where a cloud network funnels RDP management through an audited gateway instance, a hardened bastion provides a controlled entry point for management access to private workloads; implementation must also recognize that authentication and target-host authorization remain necessary behind the bastion.

Incorrect Answers

A:

For the situation where a cloud network funnels RDP management through an audited gateway instance, choosing this would miss the central need for bastion host for administration, because an audit trail records who performed actions, when and against which resources for accountability; note that logs must be protected, retained and correlated with authenticated identities.

C:

Although a directory service centrally validates identities and can supply group or account attributes, this does not replace bastion host for administration in a case where a cloud network funnels RDP management through an audited gateway instance; moreover, directory login alone does not grant every cloud resource permission.

D:

When a cloud network funnels RDP management through an audited gateway instance, the needed mechanism is bastion host for administration, not this option: OIDC adds an identity layer on OAuth 2.0 and provides standardized ID tokens for application sign-in; also, ID tokens are not interchangeable with access tokens for arbitrary API authorization.

E:

For the situation where a cloud network funnels RDP management through an audited gateway instance, choosing this would miss the central need for bastion host for administration, because RDP provides interactive graphical remote administration, commonly for Windows workloads; note that exposing RDP directly to the Internet raises brute-force and access risks.

Question 78

A hospital's disaster-recovery exercise has three acceptance tests: (1) a new critical database needs one complete backup baseline; (2) a citywide outage must not remove the last usable backup copy; (3) the restored database and application must pass functional transactions before approval. Choose THREE operations controls or practices that explain or address these distinct requirements.

  1. Recovery key escrow and access
  2. Full backup
  3. Off-site backup copy
  4. Backup recoverability testing
  5. Immutable backup retention
  6. Incremental backup

Explanation

Correct Answers

B:

When a new critical database needs one complete backup baseline, a full backup captures the complete protected dataset at a backup point; the corresponding design boundary is that large datasets can make frequent full copies expensive in time and storage.

C:

When a citywide outage must not remove the last usable backup copy, an off-site copy resides in a separate location or failure domain from the primary system; the corresponding design boundary is that physical or logical separation must match disaster and residency constraints.

D:

When the restored database and application must pass functional transactions before approval, a restore test validates that backups can produce usable data and a working service within expected conditions; the corresponding design boundary is that a successful backup-job message does not prove restoration will work.

Incorrect Answers

A:

For the combined case involving (1) a new critical database needs one complete backup baseline; (2) a citywide outage must not remove the last usable backup copy; (3) the restored database and application must pass functional transactions before approval, the requested set is Full backup and Off-site backup copy and Backup recoverability testing, not this alternative: recovery processes must preserve authorized access to encryption keys, credentials and backup metadata; also, having encrypted backup bytes without usable keys can make recovery impossible.

E:

For the combined case involving (1) a new critical database needs one complete backup baseline; (2) a citywide outage must not remove the last usable backup copy; (3) the restored database and application must pass functional transactions before approval, the requested set is Full backup and Off-site backup copy and Backup recoverability testing, not this alternative: immutable backup storage prevents modification or deletion within a protected retention period; also, authorized retention design and credential separation still matter.

F:

For the combined case involving (1) a new critical database needs one complete backup baseline; (2) a citywide outage must not remove the last usable backup copy; (3) the restored database and application must pass functional transactions before approval, the requested set is Full backup and Off-site backup copy and Backup recoverability testing, not this alternative: an incremental backup captures changes since the most recent backup of the applicable chain; also, restoration may require the full baseline plus several increments in order.

Question 79

An audit detects large egress from a subnet that normally has almost no outbound traffic. Which fault or misconfiguration best explains the symptoms?

  1. Privilege escalation detection
  2. Suspicious exfiltration traffic
  3. Unauthorized software installation
  4. Expired authentication credential

Explanation

Correct Answer

B:

For a situation where an audit detects large egress from a subnet that normally has almost no outbound traffic, unusual outbound data transfers can indicate abuse of privileges or compromised applications, although a traffic anomaly requires investigation and is not proof of a particular attacker alone.

Incorrect Answers

A:

Although privilege escalation occurs when a principal obtains more permissions than intended or exploits a path to a higher role, this does not replace suspicious exfiltration traffic in a case where an audit detects large egress from a subnet that normally has almost no outbound traffic; moreover, monitoring should correlate role changes and suspicious effective permissions.

C:

For the situation where an audit detects large egress from a subnet that normally has almost no outbound traffic, choosing this would miss the central need for suspicious exfiltration traffic, because unexpected software in a cloud workload can violate policy or introduce persistence and malicious behavior; note that a successful installation does not imply the software is approved or benign.

D:

The situation in which an audit detects large egress from a subnet that normally has almost no outbound traffic needs suspicious exfiltration traffic; in contrast, an expired password, certificate or token can cause authentication failures despite valid routes and endpoints, with the additional constraint that authorizing more resource actions does not make an invalid credential acceptable.

Question 80

A deployment template suddenly fails because a resource field has been removed. What is the most likely underlying problem?

  1. API rate throttling
  2. Control-plane service outage
  3. Stale deployment provider definition
  4. Deprecated API version

Explanation

Correct Answer

D:

Where a deployment template suddenly fails because a resource field has been removed, an outdated API or resource schema version may be removed and reject previously working requests; implementation must also recognize that the correct fix is usually a supported API or provider definition, not broader IAM rights.

Incorrect Answers

A:

When a deployment template suddenly fails because a resource field has been removed, the needed mechanism is deprecated api version, not this option: API throttling restricts request frequency and may require exponential backoff with jitter and bounded retries; also, retrying instantly in a tight loop can worsen throttling.

B:

For the situation where a deployment template suddenly fails because a resource field has been removed, choosing this would miss the central need for deprecated api version, because an outage in a cloud management service can block creation or modification even when running resources continue serving; note that data-plane status and management-plane status must be checked separately.

C:

The situation in which a deployment template suddenly fails because a resource field has been removed needs deprecated api version; in contrast, outdated infrastructure tooling providers or resource definitions may not recognize new properties or supported service versions, with the additional constraint that a platform feature being available does not guarantee old client tooling understands it.

CompTIA Cloud+ (CV0-004) Practice Tests