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

Question 190

A service migrates to new VMs but customer uploads must remain available. The operations team considers Persistent data life-cycle management. Which explanation describes its function?

  1. Ownership and expiration metadata help route maintenance and identify resources to review or retire.
  2. Decommissioning must revoke access, remove dependencies, handle data securely and stop billing.
  3. Persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned.
  4. Ephemeral compute instances should be recreated from a known-good image and externalized state.

Explanation

Correct Answer

C:

This applies to the situation in which a service migrates to new VMs but customer uploads must remain available, by describing the distinctive operation of Persistent data life-cycle management; the operational boundary is that deleting a compute resource must not inadvertently erase required records.

Incorrect Answers

A:

That description belongs to Asset ownership and life-cycle tagging, which solves a different need; it does not describe Persistent data life-cycle management for the case in which a service migrates to new VMs but customer uploads must remain available. A limitation of that alternative, distinct from Persistent data life-cycle management, is that tags are governance aids and require processes to act on them.

B:

That description belongs to Secure decommissioning, which solves a different need; it does not describe Persistent data life-cycle management for the case in which a service migrates to new VMs but customer uploads must remain available. A limitation of that alternative, distinct from Persistent data life-cycle management, is that deletion without retention and ownership review can destroy required records.

D:

That description belongs to Ephemeral workload replacement, which solves a different need; it does not describe Persistent data life-cycle management for the case in which a service migrates to new VMs but customer uploads must remain available. A limitation of that alternative, distinct from Persistent data life-cycle management, is that changes made only inside an instance may disappear on replacement.

Question 191

A planned service needs separate network segments for databases and public ingress. An architect proposes Subnet address planning. Which statement accurately describes its role?

  1. BGP exchanges reachability information and routing decisions between participating network routers.
  2. A geographically distributed cache serves eligible static or cacheable content closer to users.
  3. A network-layer load balancer distributes transport connections such as TCP or UDP with low protocol overhead.
  4. Subnetting partitions an address space into appropriately sized network segments.

Explanation

Correct Answer

D:

This applies to the situation in which a planned service needs separate network segments for databases and public ingress, by describing the distinctive operation of Subnet address planning; the operational boundary is that insufficient usable addresses and overlapping CIDRs can prevent workload placement or connectivity.

Incorrect Answers

A:

That description belongs to Border Gateway Protocol (BGP), which solves a different need; it does not describe Subnet address planning for the case in which a planned service needs separate network segments for databases and public ingress. A limitation of that alternative, distinct from Subnet address planning, is that advertisements must be filtered and connectivity still requires correct firewall and return routes.

B:

That description belongs to Content delivery network (CDN), which solves a different need; it does not describe Subnet address planning for the case in which a planned service needs separate network segments for databases and public ingress. A limitation of that alternative, distinct from Subnet address planning, is that it does not replace the authoritative origin or cure uncacheable write operations.

C:

That description belongs to Network load balancer, which solves a different need; it does not describe Subnet address planning for the case in which a planned service needs separate network segments for databases and public ingress. A limitation of that alternative, distinct from Subnet address planning, is that it usually does not interpret URL paths or application cookies for routing.

Question 192

A secret appears in CI logs available to unauthorized users. What is the most likely underlying problem?

  1. Deprecated TLS cipher suite
  2. Unauthorized software installation
  3. Insufficient resource authorization
  4. Privilege escalation detection
  5. Leaked credential incident

Explanation

Correct Answer

E:

When a secret appears in CI logs available to unauthorized users, compromised credentials require revocation, rotation, scope investigation and audit review; the corresponding design boundary is that merely deleting a source code copy does not invalidate a stolen working token.

Incorrect Answers

A:

When a secret appears in CI logs available to unauthorized users, the needed mechanism is leaked credential incident, not this option: legacy or disabled cipher suites can cause secure-handshake failure when client and server have no supported overlap; also, opening port 443 does not make incompatible cryptographic negotiations succeed.

B:

For the situation where a secret appears in CI logs available to unauthorized users, choosing this would miss the central need for leaked credential incident, 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.

C:

The situation in which a secret appears in CI logs available to unauthorized users needs leaked credential incident; in contrast, a valid identity can still receive 403-style authorization failures when it lacks a needed role or policy action, with the additional constraint that authentication success and resource authorization are different checks.

D:

Although privilege escalation occurs when a principal obtains more permissions than intended or exploits a path to a higher role, this does not replace leaked credential incident in a case where a secret appears in CI logs available to unauthorized users; moreover, monitoring should correlate role changes and suspicious effective permissions.

Question 193

A module should call the same checksum-verification operation for each artifact. Which cloud deployment consideration does this describe?

  1. Correct scripting data type
  2. Drift detection
  3. YAML structured configuration
  4. Reusable script function

Explanation

Correct Answer

D:

For a situation where a module should call the same checksum-verification operation for each artifact, a function packages a named set of steps that can be invoked with inputs from multiple locations, although functions do not automatically make side effects safe or idempotent.

Incorrect Answers

A:

For the situation where a module should call the same checksum-verification operation for each artifact, choosing this would miss the central need for reusable script function, because selecting numbers, strings, booleans or collections correctly prevents malformed parameters and comparisons; note that implicit coercion can lead to unintended conditions in provisioning logic.

B:

The situation in which a module should call the same checksum-verification operation for each artifact needs reusable script function; 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.

C:

Although YAML expresses structured configuration in a human-readable indentation-based form, this does not replace reusable script function in a case where a module should call the same checksum-verification operation for each artifact; moreover, indentation and scalar parsing mistakes can alter the intended data shape.

Question 194

Monthly bills reveal oversized memory allocation on a low-demand API server. Which cloud capability should be selected?

  1. Rightsizing
  2. Resource cost tagging
  3. Reserved compute commitment
  4. Dedicated host billing

Explanation

Correct Answer

A:

Where monthly bills reveal oversized memory allocation on a low-demand API server, rightsizing matches allocated CPU, memory and other resources to observed workload demand; implementation must also recognize that savings should be balanced against peaks, headroom and performance objectives.

Incorrect Answers

B:

Although consistent labels allow billing exports to attribute resource cost to projects or owners, this does not replace rightsizing in a case where monthly bills reveal oversized memory allocation on a low-demand API server; moreover, tags classify costs but do not automatically stop or optimize resources.

C:

When monthly bills reveal oversized memory allocation on a low-demand API server, the needed mechanism is rightsizing, not this option: reservation-style commitments exchange predictable usage over a term for lower effective pricing; also, unused commitment capacity can reduce savings if utilization falls.

D:

For the situation where monthly bills reveal oversized memory allocation on a low-demand API server, choosing this would miss the central need for rightsizing, 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.

Question 195

TLS handshake logs show no shared cipher between an application and its gateway. The team suspects Deprecated TLS cipher suite. Which explanation supports that diagnosis?

  1. Legacy or disabled cipher suites can cause secure-handshake failure when client and server have no supported overlap.
  2. An expired password, certificate or token can cause authentication failures despite valid routes and endpoints.
  3. An unpatched or misconfigured component can provide an attacker an entry point or unintended capabilities.
  4. A valid identity can still receive 403-style authorization failures when it lacks a needed role or policy action.

Explanation

Correct Answer

A:

This explains the situation in which TLS handshake logs show no shared cipher between an application and its gateway, by describing the distinctive operation of Deprecated TLS cipher suite; the operational boundary is that opening port 443 does not make incompatible cryptographic negotiations succeed.

Incorrect Answers

B:

That description belongs to Expired authentication credential, which solves a different need; it does not describe Deprecated TLS cipher suite for the case in which TLS handshake logs show no shared cipher between an application and its gateway. A limitation of that alternative, distinct from Deprecated TLS cipher suite, is that authorizing more resource actions does not make an invalid credential acceptable.

C:

That description belongs to Vulnerable software exploitation, which solves a different need; it does not describe Deprecated TLS cipher suite for the case in which TLS handshake logs show no shared cipher between an application and its gateway. A limitation of that alternative, distinct from Deprecated TLS cipher suite, is that changing an unrelated password may not remove the exploitable code path.

D:

That description belongs to Insufficient resource authorization, which solves a different need; it does not describe Deprecated TLS cipher suite for the case in which TLS handshake logs show no shared cipher between an application and its gateway. A limitation of that alternative, distinct from Deprecated TLS cipher suite, is that authentication success and resource authorization are different checks.

Question 196

A public endpoint sees enormous synchronized request floods from distributed addresses. An analyst identifies DDoS attack identification. Which statement correctly characterizes this security concept?

  1. Phishing lures users into revealing credentials or launching malicious actions through deceptive messages.
  2. Ransomware frequently causes mass file encryption or destructive changes accompanied by extortion behavior.
  3. DDoS is an attempt to overwhelm service or network capacity through traffic from many sources.
  4. Unexpected open management ports increase attack surface and should be monitored and closed when unauthorized.

Explanation

Correct Answer

C:

This applies to the situation in which a public endpoint sees enormous synchronized request floods from distributed addresses, by describing the distinctive operation of DDoS attack identification; the operational boundary is that traffic spikes can also be legitimate and require traffic-pattern analysis.

Incorrect Answers

A:

That description belongs to Phishing attack detection, which solves a different need; it does not describe DDoS attack identification for the case in which a public endpoint sees enormous synchronized request floods from distributed addresses. A limitation of that alternative, distinct from DDoS attack identification, is that blocking phishing messages does not eliminate all credential theft routes.

B:

That description belongs to Ransomware indicators, which solves a different need; it does not describe DDoS attack identification for the case in which a public endpoint sees enormous synchronized request floods from distributed addresses. A limitation of that alternative, distinct from DDoS attack identification, is that response requires containment and verified recovery, not just restarting hosts.

D:

That description belongs to Unnecessary exposed management ports, which solves a different need; it does not describe DDoS attack identification for the case in which a public endpoint sees enormous synchronized request floods from distributed addresses. A limitation of that alternative, distinct from DDoS attack identification, is that restricting a port does not by itself remove credential leaks or malware.

Question 197

Client stubs should invoke server-side operations through a formal service contract. The team selects Remote procedure call (RPC). Which statement best explains this DevOps capability?

  1. An idempotent consumer safely handles repeated message deliveries without applying the same business action twice.
  2. RPC invokes a procedure on another system as an operation, often with generated interfaces and typed requests.
  3. SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts.
  4. REST-style APIs expose resources using HTTP semantics such as methods, status codes and representations.

Explanation

Correct Answer

B:

This applies to the situation in which client stubs should invoke server-side operations through a formal service contract, by describing the distinctive operation of Remote procedure call (RPC); the operational boundary is that network failure and remote latency still exist despite local-call-like syntax.

Incorrect Answers

A:

That description belongs to Idempotent message consumer, which solves a different need; it does not describe Remote procedure call (RPC) for the case in which client stubs should invoke server-side operations through a formal service contract. A limitation of that alternative, distinct from Remote procedure call (RPC), is that delivery retries can occur even when a broker ordinarily attempts at-least-once processing.

C:

That description belongs to SOAP web service, which solves a different need; it does not describe Remote procedure call (RPC) for the case in which client stubs should invoke server-side operations through a formal service contract. A limitation of that alternative, distinct from Remote procedure call (RPC), is that it is heavier than many simple JSON-over-HTTP integrations.

D:

That description belongs to REST web service interface, which solves a different need; it does not describe Remote procedure call (RPC) for the case in which client stubs should invoke server-side operations through a formal service contract. A limitation of that alternative, distinct from Remote procedure call (RPC), is that REST does not require SOAP envelopes or a persistent WebSocket connection.

Question 198

A high-volume order database needs more random operations per second than its disk provides. Which implementation approach is appropriate?

  1. Provisioning for IOPS
  2. Provisioning for network throughput
  3. Provisioning IP address capacity
  4. Provisioning region eligibility

Explanation

Correct Answer

A:

When a high-volume order database needs more random operations per second than its disk provides, disk provisioning must meet small-operation rate requirements for latency-sensitive storage workloads; the corresponding design boundary is that allocated capacity alone does not guarantee the necessary IOPS tier.

Incorrect Answers

B:

Although network sizing must provide sufficient sustained transfer capacity for the intended application flow, this does not replace provisioning for iops in a case where a high-volume order database needs more random operations per second than its disk provides; moreover, fast storage cannot compensate for a saturated network interface.

C:

When a high-volume order database needs more random operations per second than its disk provides, the needed mechanism is provisioning for iops, not this option: subnet CIDR allocation must leave enough usable addresses for expected instances and scaling; also, other configured network reservations and provider-reserved addresses reduce usable space.

D:

For the situation where a high-volume order database needs more random operations per second than its disk provides, choosing this would miss the central need for provisioning for iops, because region selection must satisfy residency, supported-service and disaster-design constraints; note that not all instance families or managed features are offered in every region.

Question 199

A container image contains a vulnerable dependency with a fixed supported version available. Which security issue or safeguard should the team identify?

  1. Vulnerability remediation
  2. Post-remediation verification
  3. Authenticated vulnerability assessment
  4. Vulnerability scanning scope

Explanation

Correct Answer

A:

For a situation where a container image contains a vulnerable dependency with a fixed supported version available, remediation removes or reduces an identified flaw through patches, configuration fixes or component replacement, although a scan finding remains open until the corrective change is validated.

Incorrect Answers

B:

When a container image contains a vulnerable dependency with a fixed supported version available, the needed mechanism is vulnerability remediation, 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 a container image contains a vulnerable dependency with a fixed supported version available, choosing this would miss the central need for vulnerability remediation, because credentialed scans inspect installed packages and configuration that unauthenticated external probes may miss; note that scanner credentials need least privilege and careful secret handling.

D:

The situation in which a container image contains a vulnerable dependency with a fixed supported version available needs vulnerability remediation; in contrast, a scan scope defines authorized systems, cloud accounts, networks and asset classes to assess, with the additional constraint that missing ephemeral instances or unsupported targets can create false confidence in coverage.

Question 200

A recovery exercise must measure how quickly the application returns to usable service. Which cloud design or component is most appropriate?

  1. Warm disaster recovery site
  2. Recovery point objective (RPO)
  3. Recovery time objective (RTO)
  4. Edge computing
  5. Cold disaster recovery site

Explanation

Correct Answer

C:

Where a recovery exercise must measure how quickly the application returns to usable service, RTO is the maximum acceptable elapsed time before the service must be restored after disruption; implementation must also recognize that RTO measures recovery duration, not the age of recoverable data.

Incorrect Answers

A:

When a recovery exercise must measure how quickly the application returns to usable service, the needed mechanism is recovery time objective (rto), not this option: a warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production; also, its recovery time usually exceeds that of an already active hot site.

B:

For the situation where a recovery exercise must measure how quickly the application returns to usable service, choosing this would miss the central need for recovery time objective (rto), because RPO states the maximum acceptable amount of data loss expressed as a time interval; note that it does not indicate how long restarting the service may take.

D:

Although processing near sensors or users reduces round-trip delay and dependence on distant central services, this does not replace recovery time objective (rto) in a case where a recovery exercise must measure how quickly the application returns to usable service; moreover, edge nodes still require synchronization, security and operational management.

E:

When a recovery exercise must measure how quickly the application returns to usable service, the needed mechanism is recovery time objective (rto), not this option: a cold site provides a location and basic facilities but requires significant provisioning or restoration to become operational; also, it is generally unsuitable for very short RTO targets.

CompTIA Cloud+ (CV0-004) Practice Tests