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

Question 210

An application owner needs automated database engine patch maintenance. The architecture uses Provider-managed database. Which limitation should the design review document?

  1. Schema design, data protection and access configuration still require customer oversight.
  2. They are poorly matched to ad hoc joins or complex relational queries.
  3. Scaling patterns differ from flexible document or key-value stores.
  4. Complex cross-document joins and transactions may require special design.

Explanation

Correct Answer

A:

This is the limitation specific to Provider-managed database in a situation where an application owner needs automated database engine patch maintenance; its underlying operation is that a managed database offloads much infrastructure maintenance such as backups, patching or failover configuration to the provider.

Incorrect Answers

B:

This qualification applies instead to Key-value database: key-value stores provide fast lookups by a unique key and are suitable for simple session or cache data; it does not identify the defining limitation of Provider-managed database when an application owner needs automated database engine patch maintenance.

C:

This qualification applies instead to Relational database: relational databases use tables, schemas and transactional relationships suited to structured data and consistent joins; it does not identify the defining limitation of Provider-managed database when an application owner needs automated database engine patch maintenance.

D:

This qualification applies instead to Document-oriented NoSQL database: document stores manage flexible nested records without requiring a uniform relational schema; it does not identify the defining limitation of Provider-managed database when an application owner needs automated database engine patch maintenance.

Question 211

The new ransomware and disaster plan has two independent resilience requirements: (1) backup copies must remain available when the primary facility and its local storage are destroyed; (2) retained recovery points must resist deletion or overwriting during the mandatory retention period. Choose TWO operations controls or practices that explain or address these distinct requirements.

  1. Full backup
  2. Backup retention schedule
  3. Immutable backup retention
  4. Backup replication
  5. Off-site backup copy

Explanation

Correct Answers

C:

For a situation where retained recovery points must resist deletion or overwriting during the mandatory retention period, immutable backup storage prevents modification or deletion within a protected retention period, although authorized retention design and credential separation still matter.

E:

For a situation where backup copies must remain available when the primary facility and its local storage are destroyed, an off-site copy resides in a separate location or failure domain from the primary system, although physical or logical separation must match disaster and residency constraints.

Incorrect Answers

A:

For the combined case involving (1) backup copies must remain available when the primary facility and its local storage are destroyed; (2) retained recovery points must resist deletion or overwriting during the mandatory retention period, the requested set is Immutable backup retention and Off-site backup copy, not this alternative: a full backup captures the complete protected dataset at a backup point; also, large datasets can make frequent full copies expensive in time and storage.

B:

For the combined case involving (1) backup copies must remain available when the primary facility and its local storage are destroyed; (2) retained recovery points must resist deletion or overwriting during the mandatory retention period, the requested set is Immutable backup retention and Off-site backup copy, not this alternative: retention rules preserve recovery points for appropriate periods and prune expired copies; also, too-short schedules may fail legal or business recovery windows.

D:

For the combined case involving (1) backup copies must remain available when the primary facility and its local storage are destroyed; (2) retained recovery points must resist deletion or overwriting during the mandatory retention period, the requested set is Immutable backup retention and Off-site backup copy, not this alternative: replicating protected data creates another copy for resilience or recovery workflows; also, continuous replication can propagate deletions or corruption and is not a substitute for versioned backups.

Question 212

A team limits worker count to prevent exhausting a downstream database's connections. Which operational practice addresses the requirement?

  1. Autoscaling minimum and maximum bounds
  2. Horizontal autoscaling
  3. Safe scale-in and connection draining
  4. Autoscaling cooldown and stabilization

Explanation

Correct Answer

A:

Where a team limits worker count to prevent exhausting a downstream database's connections, scale bounds set resource floors and ceilings for availability, quotas or cost controls; implementation must also recognize that a maximum too low can cause capacity pressure during extreme demand.

Incorrect Answers

B:

For the situation where a team limits worker count to prevent exhausting a downstream database's connections, choosing this would miss the central need for autoscaling minimum and maximum bounds, because horizontal scaling adds or removes instances as demand changes and can distribute load across replicas; note that applications need suitable session handling and shared dependencies.

C:

The situation in which a team limits worker count to prevent exhausting a downstream database's connections needs autoscaling minimum and maximum bounds; in contrast, scale-in should stop new work and allow existing requests or jobs to finish before removing capacity, with the additional constraint that abrupt termination can drop sessions or lose in-flight tasks.

D:

Although cooldown or stabilization intervals prevent rapid scale reversals caused by short-lived metric changes, this does not replace autoscaling minimum and maximum bounds in a case where a team limits worker count to prevent exhausting a downstream database's connections; moreover, overly long cooldowns can delay response to genuine changes.

Question 213

A Python service uses a provider library to issue authenticated resource operations. An analyst identifies Cloud SDK and API automation. Which statement correctly characterizes this security concept?

  1. OIDC adds an identity layer on OAuth 2.0 and provides standardized ID tokens for application sign-in.
  2. A cloud CLI offers scripted management commands for administrators and automation systems.
  3. SDKs and provider APIs let programs manage cloud services through authenticated programmatic calls.
  4. A directory service centrally validates identities and can supply group or account attributes.

Explanation

Correct Answer

C:

This applies to the situation in which a Python service uses a provider library to issue authenticated resource operations, by describing the distinctive operation of Cloud SDK and API automation; the operational boundary is that tokens need limited permissions and secure handling.

Incorrect Answers

A:

That description belongs to OpenID Connect (OIDC), which solves a different need; it does not describe Cloud SDK and API automation for the case in which a Python service uses a provider library to issue authenticated resource operations. A limitation of that alternative, distinct from Cloud SDK and API automation, is that ID tokens are not interchangeable with access tokens for arbitrary API authorization.

B:

That description belongs to Cloud command-line interface (CLI), which solves a different need; it does not describe Cloud SDK and API automation for the case in which a Python service uses a provider library to issue authenticated resource operations. A limitation of that alternative, distinct from Cloud SDK and API automation, is that the CLI still relies on valid credentials, role authorization and current context.

D:

That description belongs to Directory-based identity authentication, which solves a different need; it does not describe Cloud SDK and API automation for the case in which a Python service uses a provider library to issue authenticated resource operations. A limitation of that alternative, distinct from Cloud SDK and API automation, is that directory login alone does not grant every cloud resource permission.

Question 214

A company shifts object datasets from one public-cloud vendor to another. The team adopts Cloud-to-cloud migration. Which practical constraint remains important?

  1. APIs, identity, network and data service differences can complicate portability.
  2. Dependencies and future review dates should be documented.
  3. Moving only one component without its dependencies can produce hidden failures.
  4. Arbitrary simultaneous moves can magnify outages and complicate rollback.

Explanation

Correct Answer

A:

This is the limitation specific to Cloud-to-cloud migration in a situation where a company shifts object datasets from one public-cloud vendor to another; its underlying operation is that cloud-to-cloud migration transfers workloads or data between distinct cloud provider environments.

Incorrect Answers

B:

This qualification applies instead to Retain migration strategy: retaining leaves a workload in its current environment when moving it is not yet justified; it does not identify the defining limitation of Cloud-to-cloud migration when a company shifts object datasets from one public-cloud vendor to another.

C:

This qualification applies instead to Application dependency mapping: dependency discovery identifies application calls, identity, data and network flows before migration sequencing; it does not identify the defining limitation of Cloud-to-cloud migration when a company shifts object datasets from one public-cloud vendor to another.

D:

This qualification applies instead to Migration-wave planning: migration waves group related workloads into ordered batches based on dependencies and business risk; it does not identify the defining limitation of Cloud-to-cloud migration when a company shifts object datasets from one public-cloud vendor to another.

Question 215

A custom driver compiled for one hypervisor may not function on the target platform. Which cloud deployment consideration does this describe?

  1. Refactor migration
  2. Migration platform compatibility testing
  3. Rehost migration
  4. Migration data seeding with delta sync

Explanation

Correct Answer

B:

Where a custom driver compiled for one hypervisor may not function on the target platform, compatibility checks confirm target runtimes, CPU architecture, drivers and external interfaces support the source workload; implementation must also recognize that matching a VM's nominal size does not guarantee driver or application support.

Incorrect Answers

A:

Although refactoring changes application code and internal design to exploit cloud-native capabilities, this does not replace migration platform compatibility testing in a case where a custom driver compiled for one hypervisor may not function on the target platform; moreover, development effort and regression risk are usually greater than for a direct rehost.

C:

For the situation where a custom driver compiled for one hypervisor may not function on the target platform, choosing this would miss the central need for migration platform compatibility testing, because rehosting moves an existing workload with minimal application architecture changes, often described as lift and shift; note that it may preserve legacy inefficiencies and operational responsibilities.

D:

The situation in which a custom driver compiled for one hypervisor may not function on the target platform needs migration platform compatibility testing; in contrast, bulk initial copies followed by incremental synchronization reduce final downtime for large data migrations, with the additional constraint that the last delta and consistency checkpoint must finish before authoritative cutover.

Question 216

An analytics job must keep a large in-memory dataset resident without swapping. The migration team selects Compute memory sizing. Which statement best explains that approach?

  1. Compute provisioning must satisfy peak memory working sets and runtime headroom.
  2. Private subnets and restricted endpoints limit data-tier exposure to authorized application networks.
  3. Encryption configuration and key control need to meet the workload's data-handling policy.
  4. Region selection must satisfy residency, supported-service and disaster-design constraints.

Explanation

Correct Answer

A:

This applies to the situation in which an analytics job must keep a large in-memory dataset resident without swapping, by describing the distinctive operation of Compute memory sizing; the operational boundary is that CPU count alone cannot resolve out-of-memory termination.

Incorrect Answers

B:

That description belongs to Provisioning private database access, which solves a different need; it does not describe Compute memory sizing for the case in which an analytics job must keep a large in-memory dataset resident without swapping. A limitation of that alternative, distinct from Compute memory sizing, is that private placement does not replace authentication, encryption or host patching.

C:

That description belongs to Provisioning compliant encryption, which solves a different need; it does not describe Compute memory sizing for the case in which an analytics job must keep a large in-memory dataset resident without swapping. A limitation of that alternative, distinct from Compute memory sizing, is that encryption alone does not establish correct authorization or retention settings.

D:

That description belongs to Provisioning region eligibility, which solves a different need; it does not describe Compute memory sizing for the case in which an analytics job must keep a large in-memory dataset resident without swapping. A limitation of that alternative, distinct from Compute memory sizing, is that not all instance families or managed features are offered in every region.

Question 217

A repository policy demands review sign-off on changes submitted from feature branches. The team selects Pull request review. Which statement best explains this DevOps capability?

  1. A revert creates a new change that undoes a prior commit while preserving project history.
  2. Code review evaluates proposed code changes for correctness, security, maintainability and standards.
  3. A commit records a local repository snapshot and message in the version history.
  4. A pull request proposes integrating changes and creates an auditable discussion and review workflow.

Explanation

Correct Answer

D:

This applies to the situation in which a repository policy demands review sign-off on changes submitted from feature branches, by describing the distinctive operation of Pull request review; the operational boundary is that opening a pull request does not automatically merge or test every change.

Incorrect Answers

A:

That description belongs to Version revert strategy, which solves a different need; it does not describe Pull request review for the case in which a repository policy demands review sign-off on changes submitted from feature branches. A limitation of that alternative, distinct from Pull request review, is that reverting source does not automatically reverse external database mutations or deployed state.

B:

That description belongs to Code review, which solves a different need; it does not describe Pull request review for the case in which a repository policy demands review sign-off on changes submitted from feature branches. A limitation of that alternative, distinct from Pull request review, is that review helps but cannot replace automated tests or runtime verification.

C:

That description belongs to Git commit, which solves a different need; it does not describe Pull request review for the case in which a repository policy demands review sign-off on changes submitted from feature branches. A limitation of that alternative, distinct from Pull request review, is that a commit does not automatically publish changes to a remote repository.

Question 218

An engineer needs a fast local file restore after accidental deletion. What operational capability is needed?

  1. Backup replication
  2. On-site backup repository
  3. Off-site backup copy
  4. Backup recoverability testing

Explanation

Correct Answer

B:

Where an engineer needs a fast local file restore after accidental deletion, on-site backups near the protected systems can support fast local restores and short transfer paths; implementation must also recognize that they alone do not protect against a site-wide disaster.

Incorrect Answers

A:

The situation in which an engineer needs a fast local file restore after accidental deletion needs on-site backup repository; in contrast, replicating protected data creates another copy for resilience or recovery workflows, with the additional constraint that continuous replication can propagate deletions or corruption and is not a substitute for versioned backups.

C:

When an engineer needs a fast local file restore after accidental deletion, the needed mechanism is on-site backup repository, not this option: an off-site copy resides in a separate location or failure domain from the primary system; also, physical or logical separation must match disaster and residency constraints.

D:

For the situation where an engineer needs a fast local file restore after accidental deletion, choosing this would miss the central need for on-site backup repository, because a restore test validates that backups can produce usable data and a working service within expected conditions; note that a successful backup-job message does not prove restoration will work.

Question 219

A cluster must automatically place workloads and keep a specified replica count running. An architect proposes Container orchestration. Which statement accurately describes its role?

  1. A registry stores, versions and distributes container images for deployment systems.
  2. An ephemeral container layer or temporary volume suits scratch data intentionally discarded with the workload.
  3. Port mapping publishes or forwards traffic from a host or service port to a container listening port.
  4. An orchestrator schedules replicas, reconciles desired state and supports service discovery or rolling updates.

Explanation

Correct Answer

D:

This applies to the situation in which a cluster must automatically place workloads and keep a specified replica count running, by describing the distinctive operation of Container orchestration; the operational boundary is that it requires control-plane and application-health configuration, not just building an image.

Incorrect Answers

A:

That description belongs to Container image registry, which solves a different need; it does not describe Container orchestration for the case in which a cluster must automatically place workloads and keep a specified replica count running. A limitation of that alternative, distinct from Container orchestration, is that access control and image trust are separate requirements from merely storing artifacts.

B:

That description belongs to Ephemeral container filesystem, which solves a different need; it does not describe Container orchestration for the case in which a cluster must automatically place workloads and keep a specified replica count running. A limitation of that alternative, distinct from Container orchestration, is that restart or replacement can erase this data and should not hold irreplaceable state.

C:

That description belongs to Container port mapping, which solves a different need; it does not describe Container orchestration for the case in which a cluster must automatically place workloads and keep a specified replica count running. A limitation of that alternative, distinct from Container orchestration, is that it does not by itself establish authorization, healthy processes or network routes.

Question 220

An API has long inactive periods and brief high traffic bursts. An architect proposes Serverless workload execution. Which statement accurately describes its role?

  1. Latency is the delay experienced by an operation or network request, often sensitive to distance and hop count.
  2. Managed serverless compute abstracts persistent server management for event-oriented or variable workloads.
  3. Input/output operations per second measures how many storage requests a device or volume serves over time.
  4. Horizontal scaling adds more workload instances to divide traffic or work.

Explanation

Correct Answer

B:

This applies to the situation in which an API has long inactive periods and brief high traffic bursts, by describing the distinctive operation of Serverless workload execution; the operational boundary is that concurrency, execution duration and platform limits must fit the application.

Incorrect Answers

A:

That description belongs to Network latency optimization, which solves a different need; it does not describe Serverless workload execution for the case in which an API has long inactive periods and brief high traffic bursts. A limitation of that alternative, distinct from Serverless workload execution, is that more bandwidth does not automatically reduce round-trip time.

C:

That description belongs to Storage IOPS optimization, which solves a different need; it does not describe Serverless workload execution for the case in which an API has long inactive periods and brief high traffic bursts. A limitation of that alternative, distinct from Serverless workload execution, is that it is different from bytes per second and must match request size and latency.

D:

That description belongs to Horizontal compute scaling, which solves a different need; it does not describe Serverless workload execution for the case in which an API has long inactive periods and brief high traffic bursts. A limitation of that alternative, distinct from Serverless workload execution, is that application state and shared dependencies must support multiple active replicas.

CompTIA Cloud+ (CV0-004) Practice Tests