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

Question 250

A sporadic event processor should avoid paying for idle virtual machines. The architecture uses Serverless workload execution. Which limitation should the design review document?

  1. More bandwidth does not automatically reduce round-trip time.
  2. It is different from bytes per second and must match request size and latency.
  3. Concurrency, execution duration and platform limits must fit the application.
  4. Application state and shared dependencies must support multiple active replicas.

Explanation

Correct Answer

C:

This is the limitation specific to Serverless workload execution in a situation where a sporadic event processor should avoid paying for idle virtual machines; its underlying operation is that managed serverless compute abstracts persistent server management for event-oriented or variable workloads.

Incorrect Answers

A:

This qualification applies instead to Network latency optimization: latency is the delay experienced by an operation or network request, often sensitive to distance and hop count; it does not identify the defining limitation of Serverless workload execution when a sporadic event processor should avoid paying for idle virtual machines.

B:

This qualification applies instead to Storage IOPS optimization: input/output operations per second measures how many storage requests a device or volume serves over time; it does not identify the defining limitation of Serverless workload execution when a sporadic event processor should avoid paying for idle virtual machines.

D:

This qualification applies instead to Horizontal compute scaling: horizontal scaling adds more workload instances to divide traffic or work; it does not identify the defining limitation of Serverless workload execution when a sporadic event processor should avoid paying for idle virtual machines.

Question 251

A batch container needs temporary sorting files that can be thrown away after completion. An architect proposes Ephemeral container filesystem. Which statement accurately describes its role?

  1. An orchestrator schedules replicas, reconciles desired state and supports service discovery or rolling updates.
  2. Port mapping publishes or forwards traffic from a host or service port to a container listening port.
  3. Persistent volumes keep application data independent of the life cycle of an individual container.
  4. An ephemeral container layer or temporary volume suits scratch data intentionally discarded with the workload.

Explanation

Correct Answer

D:

This applies to the situation in which a batch container needs temporary sorting files that can be thrown away after completion, by describing the distinctive operation of Ephemeral container filesystem; the operational boundary is that restart or replacement can erase this data and should not hold irreplaceable state.

Incorrect Answers

A:

That description belongs to Container orchestration, which solves a different need; it does not describe Ephemeral container filesystem for the case in which a batch container needs temporary sorting files that can be thrown away after completion. A limitation of that alternative, distinct from Ephemeral container filesystem, is that it requires control-plane and application-health configuration, not just building an image.

B:

That description belongs to Container port mapping, which solves a different need; it does not describe Ephemeral container filesystem for the case in which a batch container needs temporary sorting files that can be thrown away after completion. A limitation of that alternative, distinct from Ephemeral container filesystem, is that it does not by itself establish authorization, healthy processes or network routes.

C:

That description belongs to Persistent container volume, which solves a different need; it does not describe Ephemeral container filesystem for the case in which a batch container needs temporary sorting files that can be thrown away after completion. A limitation of that alternative, distinct from Ephemeral container filesystem, is that applications still need compatible access modes and backup protection.

Question 252

A small agency reserves space and network access but will install servers only after a disaster. An architect proposes Cold disaster recovery site. Which statement accurately describes its role?

  1. A cold site provides a location and basic facilities but requires significant provisioning or restoration to become operational.
  2. RTO is the maximum acceptable elapsed time before the service must be restored after disruption.
  3. A hot site maintains ready infrastructure and typically current replicated data for rapid failover.
  4. A warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production.

Explanation

Correct Answer

A:

This applies to the situation in which a small agency reserves space and network access but will install servers only after a disaster, by describing the distinctive operation of Cold disaster recovery site; the operational boundary is that it is generally unsuitable for very short RTO targets.

Incorrect Answers

B:

That description belongs to Recovery time objective (RTO), which solves a different need; it does not describe Cold disaster recovery site for the case in which a small agency reserves space and network access but will install servers only after a disaster. A limitation of that alternative, distinct from Cold disaster recovery site, is that RTO measures recovery duration, not the age of recoverable data.

C:

That description belongs to Hot disaster recovery site, which solves a different need; it does not describe Cold disaster recovery site for the case in which a small agency reserves space and network access but will install servers only after a disaster. A limitation of that alternative, distinct from Cold disaster recovery site, is that higher readiness normally increases ongoing cost and still requires failover testing.

D:

That description belongs to Warm disaster recovery site, which solves a different need; it does not describe Cold disaster recovery site for the case in which a small agency reserves space and network access but will install servers only after a disaster. A limitation of that alternative, distinct from Cold disaster recovery site, is that its recovery time usually exceeds that of an already active hot site.

Question 253

A payment event may arrive twice and must not charge the customer twice. What pipeline or automation capability should the team use?

  1. Idempotent message consumer
  2. Remote procedure call (RPC)
  3. REST web service interface
  4. SOAP web service

Explanation

Correct Answer

A:

For a situation where a payment event may arrive twice and must not charge the customer twice, an idempotent consumer safely handles repeated message deliveries without applying the same business action twice, although delivery retries can occur even when a broker ordinarily attempts at-least-once processing.

Incorrect Answers

B:

The situation in which a payment event may arrive twice and must not charge the customer twice needs idempotent message consumer; in contrast, RPC invokes a procedure on another system as an operation, often with generated interfaces and typed requests, with the additional constraint that network failure and remote latency still exist despite local-call-like syntax.

C:

Although REST-style APIs expose resources using HTTP semantics such as methods, status codes and representations, this does not replace idempotent message consumer in a case where a payment event may arrive twice and must not charge the customer twice; moreover, REST does not require SOAP envelopes or a persistent WebSocket connection.

D:

When a payment event may arrive twice and must not charge the customer twice, the needed mechanism is idempotent message consumer, not this option: SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts; also, it is heavier than many simple JSON-over-HTTP integrations.

Question 254

A private-cloud fabric separates tenant IP spaces while sharing physical routing infrastructure. An architect proposes Overlay networking. Which statement accurately describes its role?

  1. NAS provides file-level access from storage servers over network file protocols.
  2. An overlay creates logical network segments on top of an existing physical transport fabric.
  3. Affinity or anti-affinity rules influence which physical hosts run related virtual machines.
  4. A host cluster coordinates multiple hypervisor hosts to improve availability and resource placement.

Explanation

Correct Answer

B:

This applies to the situation in which a private-cloud fabric separates tenant IP spaces while sharing physical routing infrastructure, by describing the distinctive operation of Overlay networking; the operational boundary is that encapsulation adds overhead and the underlay must remain reachable.

Incorrect Answers

A:

That description belongs to Network-attached storage (NAS), which solves a different need; it does not describe Overlay networking for the case in which a private-cloud fabric separates tenant IP spaces while sharing physical routing infrastructure. A limitation of that alternative, distinct from Overlay networking, is that file sharing is distinct from raw block LUN presentation.

C:

That description belongs to Host affinity rules, which solves a different need; it does not describe Overlay networking for the case in which a private-cloud fabric separates tenant IP spaces while sharing physical routing infrastructure. A limitation of that alternative, distinct from Overlay networking, is that hard rules may reduce scheduling flexibility when capacity is constrained.

D:

That description belongs to Virtualization host clustering, which solves a different need; it does not describe Overlay networking for the case in which a private-cloud fabric separates tenant IP spaces while sharing physical routing infrastructure. A limitation of that alternative, distinct from Overlay networking, is that guest application resilience and shared storage prerequisites still matter.

Question 255

Several universities jointly operate cloud services under shared research policies. Which cloud deployment consideration does this describe?

  1. Multicloud architecture
  2. Community cloud deployment
  3. Public cloud model
  4. Hybrid cloud deployment
  5. Hosted private cloud

Explanation

Correct Answer

B:

When several universities jointly operate cloud services under shared research policies, a community cloud is shared by organizations with a common mission or set of governance requirements; the corresponding design boundary is that the participant group differs from an unrestricted public multitenant customer base.

Incorrect Answers

A:

Although multicloud uses cloud services from more than one distinct provider, this does not replace community cloud deployment in a case where several universities jointly operate cloud services under shared research policies; moreover, multiple providers alone do not imply a private-cloud component or automatic portability.

C:

For the situation where several universities jointly operate cloud services under shared research policies, choosing this would miss the central need for community cloud deployment, because public cloud services are offered through provider-operated infrastructure shared among customer tenants with logical isolation; note that tenant privacy depends on configuration and contractual guarantees, not physical ownership of the hardware.

D:

The situation in which several universities jointly operate cloud services under shared research policies needs community cloud deployment; in contrast, hybrid architecture connects private/on-premises resources and public cloud components into a coordinated environment, with the additional constraint that data movement, identity and network design can become more complex.

E:

Although a hosted private environment provides infrastructure dedicated to an organization at a third-party facility, this does not replace community cloud deployment in a case where several universities jointly operate cloud services under shared research policies; moreover, exclusive tenancy does not automatically mean the organization controls the building.

Question 256

A mobile client fetches a customer resource using an HTTP GET request. The team selects REST web service interface. Which statement best explains this DevOps capability?

  1. REST-style APIs expose resources using HTTP semantics such as methods, status codes and representations.
  2. Publish-subscribe systems emit events for independent subscribers without direct synchronous calls to each recipient.
  3. SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts.
  4. WebSockets maintain a full-duplex connection for ongoing client-server messages.

Explanation

Correct Answer

A:

This applies to the situation in which a mobile client fetches a customer resource using an HTTP GET request, by describing the distinctive operation of REST web service interface; the operational boundary is that REST does not require SOAP envelopes or a persistent WebSocket connection.

Incorrect Answers

B:

That description belongs to Event-driven publish-subscribe integration, which solves a different need; it does not describe REST web service interface for the case in which a mobile client fetches a customer resource using an HTTP GET request. A limitation of that alternative, distinct from REST web service interface, is that consumers still need ordering, idempotency and failure handling where required.

C:

That description belongs to SOAP web service, which solves a different need; it does not describe REST web service interface for the case in which a mobile client fetches a customer resource using an HTTP GET request. A limitation of that alternative, distinct from REST web service interface, is that it is heavier than many simple JSON-over-HTTP integrations.

D:

That description belongs to WebSocket bidirectional channel, which solves a different need; it does not describe REST web service interface for the case in which a mobile client fetches a customer resource using an HTTP GET request. A limitation of that alternative, distinct from REST web service interface, is that they need connection management and do not automatically guarantee durable message storage.

Question 257

A release must be built and validated automatically but production deployment awaits approval. What pipeline or automation capability should the team use?

  1. Security scanning pipeline gate
  2. Continuous delivery gate
  3. Continuous deployment
  4. Integration testing in CI/CD

Explanation

Correct Answer

B:

Where a release must be built and validated automatically but production deployment awaits approval, continuous delivery prepares tested releases for deployment, often with an explicit approval before production; implementation must also recognize that delivery readiness differs from automatically deploying every change without approval.

Incorrect Answers

A:

For the situation where a release must be built and validated automatically but production deployment awaits approval, choosing this would miss the central need for continuous delivery gate, because security checks in the pipeline can reject builds with prohibited vulnerabilities, leaked secrets or unsafe configuration; note that scanning is evidence, not a guarantee against every unknown threat.

C:

Although continuous deployment automatically releases changes that pass required pipeline gates into production, this does not replace continuous delivery gate in a case where a release must be built and validated automatically but production deployment awaits approval; moreover, appropriate automated quality and security gates are essential when there is no routine manual release step.

D:

When a release must be built and validated automatically but production deployment awaits approval, the needed mechanism is continuous delivery gate, not this option: integration tests verify interactions among combined components, APIs and dependencies beyond isolated unit logic; also, mocks may miss real network, schema and permission failures.

Question 258

A transactional database stalls under thousands of tiny random disk reads. What mechanism does this situation call for?

  1. Serverless workload execution
  2. Horizontal compute scaling
  3. Network latency optimization
  4. Storage IOPS optimization

Explanation

Correct Answer

D:

When a transactional database stalls under thousands of tiny random disk reads, input/output operations per second measures how many storage requests a device or volume serves over time; the corresponding design boundary is that it is different from bytes per second and must match request size and latency.

Incorrect Answers

A:

The situation in which a transactional database stalls under thousands of tiny random disk reads needs storage iops optimization; in contrast, managed serverless compute abstracts persistent server management for event-oriented or variable workloads, with the additional constraint that concurrency, execution duration and platform limits must fit the application.

B:

Although horizontal scaling adds more workload instances to divide traffic or work, this does not replace storage iops optimization in a case where a transactional database stalls under thousands of tiny random disk reads; moreover, application state and shared dependencies must support multiple active replicas.

C:

When a transactional database stalls under thousands of tiny random disk reads, the needed mechanism is storage iops optimization, not this option: latency is the delay experienced by an operation or network request, often sensitive to distance and hop count; also, more bandwidth does not automatically reduce round-trip time.

Question 259

A confidential object bucket was accidentally configured for public listing. Which security issue or safeguard should the team identify?

  1. Managed secrets storage and rotation
  2. Private storage permissions
  3. API request protection and rate limits
  4. Encryption at rest

Explanation

Correct Answer

B:

For a situation where a confidential object bucket was accidentally configured for public listing, storage ACLs and IAM policies restrict which principals can read, write or list cloud objects and files, although encryption alone is insufficient if an anonymous principal has read permission.

Incorrect Answers

A:

Although a secrets manager stores sensitive credentials centrally and supports controlled retrieval and rotation, this does not replace private storage permissions in a case where a confidential object bucket was accidentally configured for public listing; moreover, secrets must not be exposed through logs, unrestricted identities or copied into source code.

C:

For the situation where a confidential object bucket was accidentally configured for public listing, choosing this would miss the central need for private storage permissions, because API controls restrict abusive requests through authentication, authorization, input validation and suitable throttling; note that rate limiting alone cannot repair broken authorization or injection weaknesses.

D:

The situation in which a confidential object bucket was accidentally configured for public listing needs private storage permissions; in contrast, at-rest encryption protects stored data if underlying media or storage copies are exposed without authorized keys, with the additional constraint that it does not prevent an already authorized account from reading data through the service.

Question 260

A service must constrain both primary and secondary storage to approved geographic sites. An analyst identifies Data locality and residency. Which statement correctly characterizes this security concept?

  1. Data sovereignty addresses which legal jurisdiction's rules govern data based on residency and processing arrangements.
  2. Classification labels data by sensitivity and business value so appropriate safeguards can be assigned.
  3. A litigation hold preserves relevant information despite ordinary deletion schedules during legal proceedings.
  4. Data locality specifies where information physically resides or is processed under applicable policy.

Explanation

Correct Answer

D:

This applies to the situation in which a service must constrain both primary and secondary storage to approved geographic sites, by describing the distinctive operation of Data locality and residency; the operational boundary is that backups, caches and support operations may use separate locations.

Incorrect Answers

A:

That description belongs to Data sovereignty, which solves a different need; it does not describe Data locality and residency for the case in which a service must constrain both primary and secondary storage to approved geographic sites. A limitation of that alternative, distinct from Data locality and residency, is that a nearby region does not automatically satisfy a specific national legal obligation.

B:

That description belongs to Data classification policy, which solves a different need; it does not describe Data locality and residency for the case in which a service must constrain both primary and secondary storage to approved geographic sites. A limitation of that alternative, distinct from Data locality and residency, is that classification is useful only when enforced through access, handling and retention controls.

C:

That description belongs to Litigation hold, which solves a different need; it does not describe Data locality and residency for the case in which a service must constrain both primary and secondary storage to approved geographic sites. A limitation of that alternative, distinct from Data locality and residency, is that it applies to identified material and does not substitute for all routine backup obligations.

CompTIA Cloud+ (CV0-004) Practice Tests